feat: create calendar event by DialogFlow Fullfilment#111
Merged
pr-Mais merged 10 commits intoFirebaseExtended:@invertase/dialogflowfrom Nov 30, 2022
Merged
feat: create calendar event by DialogFlow Fullfilment#111pr-Mais merged 10 commits intoFirebaseExtended:@invertase/dialogflowfrom
pr-Mais merged 10 commits intoFirebaseExtended:@invertase/dialogflowfrom
Conversation
Ehesp
reviewed
Nov 26, 2022
| const dialogflow = DialogFlow.v2beta1; | ||
| const sessionClient = new dialogflow.SessionsClient({ | ||
| projectId: config.projectId, | ||
| ...(fs.existsSync(config.servicePath) && { keyFilename: config.servicePath }), |
Member
There was a problem hiding this comment.
This needs to be removed for the extension - might have to provide an auth client instance.
Ehesp
reviewed
Nov 26, 2022
|
|
||
| var dateTimeEnd = new Date(dateTime.getTime() + DEFAULT_DURATION * 60000); | ||
|
|
||
| var event = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Welcome to the Experimental Extensions repo! If this PR adds a new extension,
thank you, and please make sure you follow the steps below! Otherwise, you can
disregard this message.
[firebase-product]-[action]-[noun], likestorage-resize-imagesmy-new-extension/)namefield ofmy-new-extension/functions/package.jsonnamefield ofmy-new-extension/extension.yamlpackagesarray of thelerna.jsonfile in therepository's root
generate-readmescript tomy-new-extension/functions/package.jsonthat matches the otherextensions in the repository
npm installnpm run generate-readmesnpm run format