Round out webhookKey support in cli, docs, and Config (#1936)
This commit is contained in:
committed by
Florent Vilmart
parent
181b12771d
commit
17374eff8d
@@ -28,6 +28,7 @@ export class Config {
|
|||||||
this.javascriptKey = cacheInfo.javascriptKey;
|
this.javascriptKey = cacheInfo.javascriptKey;
|
||||||
this.dotNetKey = cacheInfo.dotNetKey;
|
this.dotNetKey = cacheInfo.dotNetKey;
|
||||||
this.restAPIKey = cacheInfo.restAPIKey;
|
this.restAPIKey = cacheInfo.restAPIKey;
|
||||||
|
this.webhookKey = cacheInfo.webhookKey;
|
||||||
this.fileKey = cacheInfo.fileKey;
|
this.fileKey = cacheInfo.fileKey;
|
||||||
this.facebookAppIds = cacheInfo.facebookAppIds;
|
this.facebookAppIds = cacheInfo.facebookAppIds;
|
||||||
this.allowClientClassCreation = cacheInfo.allowClientClassCreation;
|
this.allowClientClassCreation = cacheInfo.allowClientClassCreation;
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ addParseCloud();
|
|||||||
// "clientKey": optional key from Parse dashboard
|
// "clientKey": optional key from Parse dashboard
|
||||||
// "dotNetKey": optional key from Parse dashboard
|
// "dotNetKey": optional key from Parse dashboard
|
||||||
// "restAPIKey": optional key from Parse dashboard
|
// "restAPIKey": optional key from Parse dashboard
|
||||||
|
// "webhookKey": optional key from Parse dashboard
|
||||||
// "javascriptKey": optional key from Parse dashboard
|
// "javascriptKey": optional key from Parse dashboard
|
||||||
// "push": optional key from configure push
|
// "push": optional key from configure push
|
||||||
// "sessionLength": optional length in seconds for how long Sessions should be valid for
|
// "sessionLength": optional length in seconds for how long Sessions should be valid for
|
||||||
|
|||||||
@@ -86,6 +86,10 @@ export default {
|
|||||||
env: "PARSE_SERVER_DOT_NET_KEY",
|
env: "PARSE_SERVER_DOT_NET_KEY",
|
||||||
help: "Key for Unity and .Net SDK"
|
help: "Key for Unity and .Net SDK"
|
||||||
},
|
},
|
||||||
|
"webhookKey": {
|
||||||
|
env: "PARSE_SERVER_WEBHOOK_KEY",
|
||||||
|
help: "Key sent with outgoing webhook calls"
|
||||||
|
},
|
||||||
"cloud": {
|
"cloud": {
|
||||||
env: "PARSE_SERVER_CLOUD_CODE_MAIN",
|
env: "PARSE_SERVER_CLOUD_CODE_MAIN",
|
||||||
help: "Full path to your cloud code main.js"
|
help: "Full path to your cloud code main.js"
|
||||||
|
|||||||
Reference in New Issue
Block a user