Open valgaze opened 4 years ago
Eject to cloud code
Transpile step
Will need to rejigger entry point-- most important thing is mapping of intentName (case-sensitive) to handler
Issue: what is most convenient form for cloud-code ejection + also local dev.
ex.
module.exports = [ {name: 'intent abc', handler: require('./../a.js')}, {name: 'intent ced', handler: require('./../b.js')}, ]
For local emulation w/ clou functions
df f: https://f6d4576e.ngrok.io/project-id/region-us-central1/functionName
config
{ port: 5001, webhook: '/', }
Eject to cloud code
Transpile step
Will need to rejigger entry point-- most important thing is mapping of intentName (case-sensitive) to handler
Issue: what is most convenient form for cloud-code ejection + also local dev.
ex.