-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactions.json
44 lines (44 loc) · 1.01 KB
/
actions.json
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
{
"$schema": "./schema.json",
"icon": "https://strike.oranj.co/hello-strike.png",
"homepage": "https://strike.oranj.co",
"label": "Simple ownership",
"title": "Simple ownership",
"description": "demo canister integration with STRIKE",
"canisterId": "ea6rm-nyaaa-aaaak-ak2wa-cai",
"actions": [
{
"label": "Hello",
"method": "hello",
"type": "query",
"uiParameters": [],
"input": [],
"inputParameters": [],
"output": ["Text"]
},
{
"label": "Get owner",
"method": "get_owner",
"type": "query",
"uiParameters": [],
"input": [],
"inputParameters": [],
"output": ["Principal"]
},
{
"label": "Set owner",
"method": "set_owner",
"type": "update",
"uiParameters": [
{
"name": "owner",
"label": "Enter a new owner",
"candidType": "Principal"
}
],
"input": ["Principal"],
"inputParameters": ["{owner}"],
"output": []
}
]
}