コメントアウト, 追加

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