mirror of
https://github.com/r-ca/kidshift-skills.git
synced 2024-10-26 01:24:03 +00:00
コメントアウト, 追加
This commit is contained in:
parent
9bfa72cfc2
commit
1f2c13c4e2
29
src/index.ts
29
src/index.ts
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user