コメントアウト, 追加

This commit is contained in:
ろむねこ 2024-07-16 10:29:41 +09:00
parent 9bfa72cfc2
commit 1f2c13c4e2
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -42,19 +42,19 @@ const HelloWorldIntentHandler = {
}
};
// const KidShiftAuthIntentHandler = {
// canHandle(handlerInput: Alexa.HandlerInput) {
// return Alexa.getRequestType(handlerInput.requestEnvelope) === 'KidShiftAuthIntentHandler';
// },
// handle(handlerInput: Alexa.HandlerInput) {
// // TODO: impl
// const speakOutput = 'AuthHandler placeholder message';
//
// return handlerInput.responseBuilder
// .speak(speakOutput)
// .getResponse();
// }
// };
const KidShiftAuthIntentHandler = {
canHandle(handlerInput: Alexa.HandlerInput) {
return Alexa.getRequestType(handlerInput.requestEnvelope) === 'KidShiftAuthIntentHandler';
},
handle(handlerInput: Alexa.HandlerInput) {
// TODO: impl
const speakOutput = 'AuthHandler placeholder message';
return handlerInput.responseBuilder
.speak(speakOutput)
.getResponse();
}
};
const HelpIntentHandler = {
canHandle(handlerInput: Alexa.HandlerInput) {
@ -148,7 +148,8 @@ exports.handler = Alexa.SkillBuilders.custom()
CancelAndStopIntentHandler,
FallbackIntentHandler,
SessionEndedRequestHandler,
IntentReflectorHandler)
IntentReflectorHandler,
KidShiftAuthIntentHandler)
.addErrorHandlers(
ErrorHandler)
.withPersistenceAdapter(new DynamoDBPersistantAttributesAdapter.DynamoDbPersistenceAdapter({