-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnode definition.jsonc
78 lines (78 loc) · 1.61 KB
/
node definition.jsonc
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"type": "native", // native | WASM | custom
"data": {
"node_definition_version": "0.1",
"unique_id": "",
"node_id": "mint-token",
"version": "0.1",
"display_name": "Mint Token",
"description": "Create a token",
"width": 0, // add non zero to override front-end
"height": 0,
"backgroundColorDark": "#000000",
"backgroundColor": "#fff"
},
// node outputs
"tags": [],
"related_to": [
{
"id": "",
"type": "",
"relationship": ""
}
],
"resources": {
"source_code_url": "",
"documentation_url": ""
},
"usage": {
"license": "Apache-2.0",
"license_url": "",
"pricing": {
"currency": "USDC",
"purchase_price": 0,
"price_per_run": 0,
"custom": {
"unit": "monthly",
"value": "0"
}
}
},
"authors": [
{
"name": "Space Operator",
"contact": ""
}
],
"design": {
"width": 0,
"height": 0,
"icon_url": "",
"backgroundColorDark": "#000000",
"backgroundColor": "#fff"
},
"options": {}
},
"sources": [
{
"name": "token_pubkey",
"type": "string",
"defaultValue": "", // might allow flow simulation without a run
"tooltip": ""
}
],
// node inputs
"targets": [
{
"name": "token_name",
"type_bounds": ["string"],
"required": true,
"defaultValue": "",
"tooltip": "",
"passthrough": true
}
],
// node inputs form - for static entry
"targets_form.json_schema": {},
"targets_form.ui_schema": {}
}