@giteeteam/apps-manifest 0.7.7 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +2 -2
- package/lib/index.js +20 -20
- package/lib/manifest.d.ts +64 -64
- package/lib/manifest.js +126 -126
- package/lib/schema/all.json +34 -34
- package/lib/schema/app.json +21 -21
- package/lib/schema/dependVersion.json +6 -6
- package/lib/schema/locales.json +6 -6
- package/lib/schema/messageQueues.json +31 -31
- package/lib/schema/modules/custom-field/field.json +19 -19
- package/lib/schema/modules/custom-field/proxima-field.json +19 -19
- package/lib/schema/modules/custom-field/type.json +18 -18
- package/lib/schema/modules/custom-item-type/base.json +16 -16
- package/lib/schema/modules/frontend/base.json +25 -25
- package/lib/schema/modules/frontend/workspacePage.json +28 -28
- package/lib/schema/modules/function/base.json +15 -15
- package/lib/schema/modules/index.json +180 -138
- package/lib/schema/modules/proxima-workflow/condition.json +39 -0
- package/lib/schema/modules/proxima-workflow/post-function.json +36 -0
- package/lib/schema/modules/proxima-workflow/resource.json +15 -0
- package/lib/schema/modules/proxima-workflow/validator.json +56 -0
- package/lib/schema/modules/trigger/base.json +26 -26
- package/lib/schema/modules/trigger/webtrigger.json +15 -15
- package/lib/schema/resources.json +27 -27
- package/lib/schema/storage.json +92 -70
- package/lib/schema/tables.json +151 -151
- package/lib/types.d.ts +130 -130
- package/lib/types.js +2 -2
- package/lib/validate.d.ts +75 -75
- package/lib/validate.js +231 -223
- package/package.json +5 -3
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"$id": "http://proxima.com/schemas/modules/custom-field/proxima-field.json",
|
|
4
|
-
"additionalProperties": true,
|
|
5
|
-
"properties": {
|
|
6
|
-
"key": {
|
|
7
|
-
"type": "string"
|
|
8
|
-
},
|
|
9
|
-
"name": {
|
|
10
|
-
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"fieldType": {
|
|
13
|
-
"type": "string"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"required": [
|
|
17
|
-
"key", "name", "fieldType"
|
|
18
|
-
]
|
|
19
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"$id": "http://proxima.com/schemas/modules/custom-field/proxima-field.json",
|
|
4
|
+
"additionalProperties": true,
|
|
5
|
+
"properties": {
|
|
6
|
+
"key": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"name": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"fieldType": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"key", "name", "fieldType"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"$id": "http://proxima.com/schemas/modules/custom-field/type.json",
|
|
4
|
-
"properties": {
|
|
5
|
-
"key": {
|
|
6
|
-
"type": "string"
|
|
7
|
-
},
|
|
8
|
-
"name": {
|
|
9
|
-
"type": "string"
|
|
10
|
-
},
|
|
11
|
-
"resource": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"required": [
|
|
16
|
-
"key", "name"
|
|
17
|
-
]
|
|
18
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"$id": "http://proxima.com/schemas/modules/custom-field/type.json",
|
|
4
|
+
"properties": {
|
|
5
|
+
"key": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"name": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"resource": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": [
|
|
16
|
+
"key", "name"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"$id": "http://proxima.com/schemas/modules/custom-item-type/base.json",
|
|
4
|
-
"additionalProperties": true,
|
|
5
|
-
"properties": {
|
|
6
|
-
"key": {
|
|
7
|
-
"type": "string"
|
|
8
|
-
},
|
|
9
|
-
"name": {
|
|
10
|
-
"type": "string"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"required": [
|
|
14
|
-
"key", "name"
|
|
15
|
-
]
|
|
16
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"$id": "http://proxima.com/schemas/modules/custom-item-type/base.json",
|
|
4
|
+
"additionalProperties": true,
|
|
5
|
+
"properties": {
|
|
6
|
+
"key": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"name": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"required": [
|
|
14
|
+
"key", "name"
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"$id": "http://proxima.com/schemas/modules/frontend/base.json",
|
|
4
|
-
"additionalProperties": true,
|
|
5
|
-
"properties": {
|
|
6
|
-
"key": {
|
|
7
|
-
"type": "string"
|
|
8
|
-
},
|
|
9
|
-
"resource": {
|
|
10
|
-
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"title": {
|
|
13
|
-
"type": "string"
|
|
14
|
-
},
|
|
15
|
-
"loadType": {
|
|
16
|
-
"type": "string"
|
|
17
|
-
},
|
|
18
|
-
"route": {
|
|
19
|
-
"type": "string"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": [
|
|
23
|
-
"key", "resource", "title"
|
|
24
|
-
]
|
|
25
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"$id": "http://proxima.com/schemas/modules/frontend/base.json",
|
|
4
|
+
"additionalProperties": true,
|
|
5
|
+
"properties": {
|
|
6
|
+
"key": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"resource": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"title": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"loadType": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"route": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": [
|
|
23
|
+
"key", "resource", "title"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"$id": "http://proxima.com/schemas/modules/frontend/workspacePage.json",
|
|
4
|
-
"additionalProperties": true,
|
|
5
|
-
"properties": {
|
|
6
|
-
"key": {
|
|
7
|
-
"type": "string"
|
|
8
|
-
},
|
|
9
|
-
"resource": {
|
|
10
|
-
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"title": {
|
|
13
|
-
"type": "string"
|
|
14
|
-
},
|
|
15
|
-
"loadType": {
|
|
16
|
-
"type": "string"
|
|
17
|
-
},
|
|
18
|
-
"route": {
|
|
19
|
-
"type": "string"
|
|
20
|
-
},
|
|
21
|
-
"type": {
|
|
22
|
-
"type": "string"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"required": [
|
|
26
|
-
"key", "title"
|
|
27
|
-
]
|
|
28
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"$id": "http://proxima.com/schemas/modules/frontend/workspacePage.json",
|
|
4
|
+
"additionalProperties": true,
|
|
5
|
+
"properties": {
|
|
6
|
+
"key": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"resource": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"title": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"loadType": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"route": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"type": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": [
|
|
26
|
+
"key", "title"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"$id": "http://proxima.com/schemas/modules/function/base.json",
|
|
4
|
-
"properties": {
|
|
5
|
-
"key": {
|
|
6
|
-
"type": "string"
|
|
7
|
-
},
|
|
8
|
-
"handler": {
|
|
9
|
-
"type": "string"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"required": [
|
|
13
|
-
"key", "handler"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"$id": "http://proxima.com/schemas/modules/function/base.json",
|
|
4
|
+
"properties": {
|
|
5
|
+
"key": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"handler": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": [
|
|
13
|
+
"key", "handler"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -1,138 +1,180 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "http://proxima.com/schemas/modules/index.json",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"patternProperties": {
|
|
5
|
-
"^(adminPage|itemPanel|itemActivity|appPage|viewAction)$": {
|
|
6
|
-
"type": "array",
|
|
7
|
-
"uniqueItems": true,
|
|
8
|
-
"uniqueItemProperties": [
|
|
9
|
-
"key"
|
|
10
|
-
],
|
|
11
|
-
"minItems": 1,
|
|
12
|
-
"items": {
|
|
13
|
-
"$ref": "frontend/base.json"
|
|
14
|
-
},
|
|
15
|
-
"errorMessage": {
|
|
16
|
-
"uniqueItemProperties": "key must be unique"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"^(workspacePage)$": {
|
|
20
|
-
"type": "array",
|
|
21
|
-
"uniqueItems": true,
|
|
22
|
-
"uniqueItemProperties": [
|
|
23
|
-
"key"
|
|
24
|
-
],
|
|
25
|
-
"minItems": 1,
|
|
26
|
-
"items": {
|
|
27
|
-
"$ref": "frontend/workspacePage.json"
|
|
28
|
-
},
|
|
29
|
-
"errorMessage": {
|
|
30
|
-
"uniqueItemProperties": "key must be unique"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"^(webtrigger)$": {
|
|
34
|
-
"type": "array",
|
|
35
|
-
"uniqueItems": true,
|
|
36
|
-
"uniqueItemProperties": [
|
|
37
|
-
"key"
|
|
38
|
-
],
|
|
39
|
-
"minItems": 1,
|
|
40
|
-
"items": {
|
|
41
|
-
"$ref": "trigger/webtrigger.json"
|
|
42
|
-
},
|
|
43
|
-
"errorMessage": {
|
|
44
|
-
"uniqueItemProperties": "key must be unique"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"^(trigger)$": {
|
|
48
|
-
"type": "array",
|
|
49
|
-
"uniqueItems": true,
|
|
50
|
-
"uniqueItemProperties": [
|
|
51
|
-
"key"
|
|
52
|
-
],
|
|
53
|
-
"minItems": 1,
|
|
54
|
-
"items": {
|
|
55
|
-
"$ref": "trigger/base.json"
|
|
56
|
-
},
|
|
57
|
-
"errorMessage": {
|
|
58
|
-
"uniqueItemProperties": "key must be unique"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"^(function)$": {
|
|
62
|
-
"type": "array",
|
|
63
|
-
"uniqueItems": true,
|
|
64
|
-
"uniqueItemProperties": [
|
|
65
|
-
"key"
|
|
66
|
-
],
|
|
67
|
-
"minItems": 1,
|
|
68
|
-
"items": {
|
|
69
|
-
"$ref": "function/base.json"
|
|
70
|
-
},
|
|
71
|
-
"errorMessage": {
|
|
72
|
-
"uniqueItemProperties": "key must be unique"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"^(customFieldType|proxima:FieldType)$": {
|
|
76
|
-
"type": "array",
|
|
77
|
-
"uniqueItems": true,
|
|
78
|
-
"uniqueItemProperties": [
|
|
79
|
-
"key",
|
|
80
|
-
"name"
|
|
81
|
-
],
|
|
82
|
-
"minItems": 1,
|
|
83
|
-
"items": {
|
|
84
|
-
"$ref": "custom-field/type.json"
|
|
85
|
-
},
|
|
86
|
-
"errorMessage": {
|
|
87
|
-
"uniqueItemProperties": "key and name must be unique"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"^(customField)$": {
|
|
91
|
-
"type": "array",
|
|
92
|
-
"uniqueItems": true,
|
|
93
|
-
"uniqueItemProperties": [
|
|
94
|
-
"key",
|
|
95
|
-
"name"
|
|
96
|
-
],
|
|
97
|
-
"minItems": 1,
|
|
98
|
-
"items": {
|
|
99
|
-
"$ref": "custom-field/field.json"
|
|
100
|
-
},
|
|
101
|
-
"errorMessage": {
|
|
102
|
-
"uniqueItemProperties": "key and name must be unique"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"^(proxima:CustomField)$": {
|
|
106
|
-
"type": "array",
|
|
107
|
-
"uniqueItems": true,
|
|
108
|
-
"uniqueItemProperties": [
|
|
109
|
-
"key",
|
|
110
|
-
"name"
|
|
111
|
-
],
|
|
112
|
-
"minItems": 1,
|
|
113
|
-
"items": {
|
|
114
|
-
"$ref": "custom-field/proxima-field.json"
|
|
115
|
-
},
|
|
116
|
-
"errorMessage": {
|
|
117
|
-
"uniqueItemProperties": "key and name must be unique"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
"^(customItemType|proxima:ItemType)$": {
|
|
121
|
-
"type": "array",
|
|
122
|
-
"uniqueItems": true,
|
|
123
|
-
"uniqueItemProperties": [
|
|
124
|
-
"key",
|
|
125
|
-
"name"
|
|
126
|
-
],
|
|
127
|
-
"minItems": 1,
|
|
128
|
-
"items": {
|
|
129
|
-
"$ref": "custom-item-type/base.json"
|
|
130
|
-
},
|
|
131
|
-
"errorMessage": {
|
|
132
|
-
"uniqueItemProperties": "key and name must be unique"
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
1
|
+
{
|
|
2
|
+
"$id": "http://proxima.com/schemas/modules/index.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"patternProperties": {
|
|
5
|
+
"^(adminPage|itemPanel|itemActivity|appPage|viewAction)$": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"uniqueItems": true,
|
|
8
|
+
"uniqueItemProperties": [
|
|
9
|
+
"key"
|
|
10
|
+
],
|
|
11
|
+
"minItems": 1,
|
|
12
|
+
"items": {
|
|
13
|
+
"$ref": "frontend/base.json"
|
|
14
|
+
},
|
|
15
|
+
"errorMessage": {
|
|
16
|
+
"uniqueItemProperties": "key must be unique"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"^(workspacePage)$": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"uniqueItems": true,
|
|
22
|
+
"uniqueItemProperties": [
|
|
23
|
+
"key"
|
|
24
|
+
],
|
|
25
|
+
"minItems": 1,
|
|
26
|
+
"items": {
|
|
27
|
+
"$ref": "frontend/workspacePage.json"
|
|
28
|
+
},
|
|
29
|
+
"errorMessage": {
|
|
30
|
+
"uniqueItemProperties": "key must be unique"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"^(webtrigger)$": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"uniqueItems": true,
|
|
36
|
+
"uniqueItemProperties": [
|
|
37
|
+
"key"
|
|
38
|
+
],
|
|
39
|
+
"minItems": 1,
|
|
40
|
+
"items": {
|
|
41
|
+
"$ref": "trigger/webtrigger.json"
|
|
42
|
+
},
|
|
43
|
+
"errorMessage": {
|
|
44
|
+
"uniqueItemProperties": "key must be unique"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"^(trigger)$": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"uniqueItems": true,
|
|
50
|
+
"uniqueItemProperties": [
|
|
51
|
+
"key"
|
|
52
|
+
],
|
|
53
|
+
"minItems": 1,
|
|
54
|
+
"items": {
|
|
55
|
+
"$ref": "trigger/base.json"
|
|
56
|
+
},
|
|
57
|
+
"errorMessage": {
|
|
58
|
+
"uniqueItemProperties": "key must be unique"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"^(function)$": {
|
|
62
|
+
"type": "array",
|
|
63
|
+
"uniqueItems": true,
|
|
64
|
+
"uniqueItemProperties": [
|
|
65
|
+
"key"
|
|
66
|
+
],
|
|
67
|
+
"minItems": 1,
|
|
68
|
+
"items": {
|
|
69
|
+
"$ref": "function/base.json"
|
|
70
|
+
},
|
|
71
|
+
"errorMessage": {
|
|
72
|
+
"uniqueItemProperties": "key must be unique"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"^(customFieldType|proxima:FieldType)$": {
|
|
76
|
+
"type": "array",
|
|
77
|
+
"uniqueItems": true,
|
|
78
|
+
"uniqueItemProperties": [
|
|
79
|
+
"key",
|
|
80
|
+
"name"
|
|
81
|
+
],
|
|
82
|
+
"minItems": 1,
|
|
83
|
+
"items": {
|
|
84
|
+
"$ref": "custom-field/type.json"
|
|
85
|
+
},
|
|
86
|
+
"errorMessage": {
|
|
87
|
+
"uniqueItemProperties": "key and name must be unique"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"^(customField)$": {
|
|
91
|
+
"type": "array",
|
|
92
|
+
"uniqueItems": true,
|
|
93
|
+
"uniqueItemProperties": [
|
|
94
|
+
"key",
|
|
95
|
+
"name"
|
|
96
|
+
],
|
|
97
|
+
"minItems": 1,
|
|
98
|
+
"items": {
|
|
99
|
+
"$ref": "custom-field/field.json"
|
|
100
|
+
},
|
|
101
|
+
"errorMessage": {
|
|
102
|
+
"uniqueItemProperties": "key and name must be unique"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"^(proxima:CustomField)$": {
|
|
106
|
+
"type": "array",
|
|
107
|
+
"uniqueItems": true,
|
|
108
|
+
"uniqueItemProperties": [
|
|
109
|
+
"key",
|
|
110
|
+
"name"
|
|
111
|
+
],
|
|
112
|
+
"minItems": 1,
|
|
113
|
+
"items": {
|
|
114
|
+
"$ref": "custom-field/proxima-field.json"
|
|
115
|
+
},
|
|
116
|
+
"errorMessage": {
|
|
117
|
+
"uniqueItemProperties": "key and name must be unique"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"^(customItemType|proxima:ItemType)$": {
|
|
121
|
+
"type": "array",
|
|
122
|
+
"uniqueItems": true,
|
|
123
|
+
"uniqueItemProperties": [
|
|
124
|
+
"key",
|
|
125
|
+
"name"
|
|
126
|
+
],
|
|
127
|
+
"minItems": 1,
|
|
128
|
+
"items": {
|
|
129
|
+
"$ref": "custom-item-type/base.json"
|
|
130
|
+
},
|
|
131
|
+
"errorMessage": {
|
|
132
|
+
"uniqueItemProperties": "key and name must be unique"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"proxima:workflowCondition": {
|
|
136
|
+
"type": "array",
|
|
137
|
+
"uniqueItems": true,
|
|
138
|
+
"uniqueItemProperties": [
|
|
139
|
+
"key"
|
|
140
|
+
],
|
|
141
|
+
"minItems": 1,
|
|
142
|
+
"items": {
|
|
143
|
+
"$ref": "proxima-workflow/condition.json"
|
|
144
|
+
},
|
|
145
|
+
"errorMessage": {
|
|
146
|
+
"uniqueItemProperties": "key must be unique"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"proxima:workflowValidator": {
|
|
150
|
+
"type": "array",
|
|
151
|
+
"uniqueItems": true,
|
|
152
|
+
"uniqueItemProperties": [
|
|
153
|
+
"key"
|
|
154
|
+
],
|
|
155
|
+
"minItems": 1,
|
|
156
|
+
"items": {
|
|
157
|
+
"$ref": "proxima-workflow/validator.json"
|
|
158
|
+
},
|
|
159
|
+
"errorMessage": {
|
|
160
|
+
"uniqueItemProperties": "key must be unique"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"proxima:workflowPostFunction": {
|
|
164
|
+
"type": "array",
|
|
165
|
+
"uniqueItems": true,
|
|
166
|
+
"uniqueItemProperties": [
|
|
167
|
+
"key"
|
|
168
|
+
],
|
|
169
|
+
"minItems": 1,
|
|
170
|
+
"items": {
|
|
171
|
+
"$ref": "proxima-workflow/post-function.json"
|
|
172
|
+
},
|
|
173
|
+
"errorMessage": {
|
|
174
|
+
"uniqueItemProperties": "key must be unique"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"additionalProperties": true,
|
|
179
|
+
"minProperties": 1
|
|
180
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"$id": "http://proxima.com/schemas/modules/proxima-workflow/condition.json",
|
|
4
|
+
"properties": {
|
|
5
|
+
"key": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"title": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"description": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"expression": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"errorMessage": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"resource": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"loadType": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"create": {
|
|
27
|
+
"$ref": "resource.json"
|
|
28
|
+
},
|
|
29
|
+
"edit": {
|
|
30
|
+
"$ref": "resource.json"
|
|
31
|
+
},
|
|
32
|
+
"view": {
|
|
33
|
+
"$ref": "resource.json"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"key"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"$id": "http://proxima.com/schemas/modules/proxima-workflow/post-function.json",
|
|
4
|
+
"properties": {
|
|
5
|
+
"key": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"title": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"description": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"function": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"resource": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"loadType": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"create": {
|
|
24
|
+
"$ref": "resource.json"
|
|
25
|
+
},
|
|
26
|
+
"edit": {
|
|
27
|
+
"$ref": "resource.json"
|
|
28
|
+
},
|
|
29
|
+
"view": {
|
|
30
|
+
"$ref": "resource.json"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": [
|
|
34
|
+
"key", "function"
|
|
35
|
+
]
|
|
36
|
+
}
|