-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewCollection.json
More file actions
47 lines (47 loc) · 1.5 KB
/
newCollection.json
File metadata and controls
47 lines (47 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[
{
"name": "JSObject1",
"pageId": "Gallery",
"body": "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\t//write code here\n\t},\n\tmyFun2: async () => {\n\t\t//use async-await or promises\n\t}\n}",
"variables": [
{
"name": "myVar1",
"value": []
},
{
"name": "myVar2",
"value": {}
}
],
"actions": [
{
"name": "myFun1",
"pageId": "Gallery",
"executeOnLoad": false,
"actionConfiguration": {
"body": "() => {\n\t\t//write code here\n\t}",
"isAsync": false,
"timeoutInMillisecond": 0,
"jsArguments": []
},
"clientSideExecution": true
},
{
"name": "myFun2",
"pageId": "Gallery",
"executeOnLoad": false,
"actionConfiguration": {
"body": "async () => {\n\t\t//use async-await or promises\n\t}",
"isAsync": true,
"timeoutInMillisecond": 0,
"jsArguments": []
},
"clientSideExecution": true
}
],
"applicationId": "dalee",
"pluginType": "JS",
"_id": "63fcd9e24fe6cc79294a96f4",
"id": "63fcd9e24fe6cc79294a96f4"
}
]