@giteeteam/apps-manifest 0.7.4 → 0.7.5
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.
|
@@ -0,0 +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
|
+
}
|
|
@@ -9,12 +9,9 @@
|
|
|
9
9
|
"key"
|
|
10
10
|
],
|
|
11
11
|
"minItems": 1,
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"$ref": "frontend/base.json"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
12
|
+
"items": {
|
|
13
|
+
"$ref": "frontend/base.json"
|
|
14
|
+
},
|
|
18
15
|
"errorMessage": {
|
|
19
16
|
"uniqueItemProperties": "key must be unique"
|
|
20
17
|
}
|
|
@@ -26,12 +23,9 @@
|
|
|
26
23
|
"key"
|
|
27
24
|
],
|
|
28
25
|
"minItems": 1,
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"$ref": "frontend/workspacePage.json"
|
|
33
|
-
}
|
|
34
|
-
],
|
|
26
|
+
"items": {
|
|
27
|
+
"$ref": "frontend/workspacePage.json"
|
|
28
|
+
},
|
|
35
29
|
"errorMessage": {
|
|
36
30
|
"uniqueItemProperties": "key must be unique"
|
|
37
31
|
}
|
|
@@ -43,12 +37,9 @@
|
|
|
43
37
|
"key"
|
|
44
38
|
],
|
|
45
39
|
"minItems": 1,
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"$ref": "trigger/webtrigger.json"
|
|
50
|
-
}
|
|
51
|
-
],
|
|
40
|
+
"items": {
|
|
41
|
+
"$ref": "trigger/webtrigger.json"
|
|
42
|
+
},
|
|
52
43
|
"errorMessage": {
|
|
53
44
|
"uniqueItemProperties": "key must be unique"
|
|
54
45
|
}
|
|
@@ -60,12 +51,9 @@
|
|
|
60
51
|
"key"
|
|
61
52
|
],
|
|
62
53
|
"minItems": 1,
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"$ref": "trigger/base.json"
|
|
67
|
-
}
|
|
68
|
-
],
|
|
54
|
+
"items": {
|
|
55
|
+
"$ref": "trigger/base.json"
|
|
56
|
+
},
|
|
69
57
|
"errorMessage": {
|
|
70
58
|
"uniqueItemProperties": "key must be unique"
|
|
71
59
|
}
|
|
@@ -77,12 +65,12 @@
|
|
|
77
65
|
"key"
|
|
78
66
|
],
|
|
79
67
|
"minItems": 1,
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
68
|
+
"items": {
|
|
69
|
+
"$ref": "function/base.json"
|
|
70
|
+
},
|
|
71
|
+
"errorMessage": {
|
|
72
|
+
"uniqueItemProperties": "key must be unique"
|
|
73
|
+
}
|
|
86
74
|
},
|
|
87
75
|
"^(customFieldType|proxima:FieldType)$": {
|
|
88
76
|
"type": "array",
|
|
@@ -92,17 +80,14 @@
|
|
|
92
80
|
"name"
|
|
93
81
|
],
|
|
94
82
|
"minItems": 1,
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
"$ref": "custom-field/type.json"
|
|
99
|
-
}
|
|
100
|
-
],
|
|
83
|
+
"items": {
|
|
84
|
+
"$ref": "custom-field/type.json"
|
|
85
|
+
},
|
|
101
86
|
"errorMessage": {
|
|
102
87
|
"uniqueItemProperties": "key and name must be unique"
|
|
103
88
|
}
|
|
104
89
|
},
|
|
105
|
-
"^(customField
|
|
90
|
+
"^(customField)$": {
|
|
106
91
|
"type": "array",
|
|
107
92
|
"uniqueItems": true,
|
|
108
93
|
"uniqueItemProperties": [
|
|
@@ -110,12 +95,24 @@
|
|
|
110
95
|
"name"
|
|
111
96
|
],
|
|
112
97
|
"minItems": 1,
|
|
113
|
-
"
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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"
|
|
118
111
|
],
|
|
112
|
+
"minItems": 1,
|
|
113
|
+
"items": {
|
|
114
|
+
"$ref": "custom-field/proxima-field.json"
|
|
115
|
+
},
|
|
119
116
|
"errorMessage": {
|
|
120
117
|
"uniqueItemProperties": "key and name must be unique"
|
|
121
118
|
}
|
|
@@ -128,12 +125,9 @@
|
|
|
128
125
|
"name"
|
|
129
126
|
],
|
|
130
127
|
"minItems": 1,
|
|
131
|
-
"
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
"$ref": "custom-item-type/base.json"
|
|
135
|
-
}
|
|
136
|
-
],
|
|
128
|
+
"items": {
|
|
129
|
+
"$ref": "custom-item-type/base.json"
|
|
130
|
+
},
|
|
137
131
|
"errorMessage": {
|
|
138
132
|
"uniqueItemProperties": "key and name must be unique"
|
|
139
133
|
}
|
package/lib/schema/storage.json
CHANGED
package/lib/validate.js
CHANGED
|
@@ -18,6 +18,7 @@ const webtrigger_json_1 = __importDefault(require("./schema/modules/trigger/webt
|
|
|
18
18
|
const base_json_3 = __importDefault(require("./schema/modules/function/base.json"));
|
|
19
19
|
const field_json_1 = __importDefault(require("./schema/modules/custom-field/field.json"));
|
|
20
20
|
const type_json_1 = __importDefault(require("./schema/modules/custom-field/type.json"));
|
|
21
|
+
const proxima_field_json_1 = __importDefault(require("./schema/modules/custom-field/proxima-field.json"));
|
|
21
22
|
const base_json_4 = __importDefault(require("./schema/modules/custom-item-type/base.json"));
|
|
22
23
|
const resources_json_1 = __importDefault(require("./schema/resources.json"));
|
|
23
24
|
const tables_json_1 = __importDefault(require("./schema/tables.json"));
|
|
@@ -99,6 +100,7 @@ const validateFactory = (schema) => {
|
|
|
99
100
|
field_json_1.default,
|
|
100
101
|
type_json_1.default,
|
|
101
102
|
base_json_4.default,
|
|
103
|
+
proxima_field_json_1.default,
|
|
102
104
|
resources_json_1.default,
|
|
103
105
|
tables_json_1.default,
|
|
104
106
|
locales_json_1.default,
|