update to file based function inputs
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,python,pycharm
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,python,pycharm
|
||||
|
||||
function_inputs.json
|
||||
|
||||
**/.env
|
||||
**/.envrc
|
||||
|
||||
|
||||
Vendored
+1
-6
@@ -12,12 +12,7 @@
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": true,
|
||||
"envFile": "${workspaceFolder}/.env",
|
||||
"args": [
|
||||
"run",
|
||||
"{\"projectId\": \"843d07eb10\", \"modelId\": \"base design\", \"versionId\": \"2a32ccfee1\", \"speckleServerUrl\": \"https://latest.speckle.systems\"}",
|
||||
// make sure to use camelCase for variable names
|
||||
"{\"forbiddenSpeckleType\": \"Objects.Geometry.Brep\"}"
|
||||
]
|
||||
"args": ["run", "function_inputs.json"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"speckleToken": "YOUR SPEKCLE TOKEN",
|
||||
"functionInputs": {
|
||||
"whisperMessage": "you are doing something weird",
|
||||
"forbiddenSpeckleType": ""
|
||||
},
|
||||
"automationRunData": {
|
||||
"project_id": "project id",
|
||||
"model_id": "model id",
|
||||
"branch_name": "branch name",
|
||||
"version_id": "version id",
|
||||
"speckle_server_url": "https://latest.speckle.systems",
|
||||
"automation_id": "automation id",
|
||||
"automation_revision_id": "automation revision id",
|
||||
"automation_run_id": "automation run id",
|
||||
"function_id": "function id",
|
||||
"function_name": "function name",
|
||||
"function_logo": null
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user