codify-schemas 1.0.19 → 1.0.21
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/dist/config-file-schema.json +2 -2
- package/dist/index.d.ts +160 -188
- package/dist/index.js +22 -22
- package/dist/index.js.map +1 -1
- package/dist/ipc-message-schema.json +1 -1
- package/dist/messages/apply-request-data-schema.json +1 -1
- package/dist/messages/apply-response-data-schema.json +1 -1
- package/dist/messages/error-response-data-schema.json +1 -1
- package/dist/messages/plan-request-data-schema.json +2 -2
- package/dist/messages/plan-response-data-schema.json +1 -1
- package/dist/messages/validate-request-data-schema.json +2 -2
- package/dist/messages/validate-response-data-schema.json +1 -1
- package/dist/project-schema.json +1 -1
- package/dist/resource-schema.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +22 -22
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://www.codify.com/config-file-schema.json",
|
|
4
4
|
"title": "Config file Schema",
|
|
5
5
|
"type": "array",
|
|
6
6
|
"items": {
|
|
7
|
-
"
|
|
7
|
+
"$ref": "resource-schema.json"
|
|
8
8
|
}
|
|
9
9
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,235 +1,207 @@
|
|
|
1
1
|
declare const ConfigFileSchema: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
allOf: {
|
|
9
|
-
$ref: string;
|
|
10
|
-
}[];
|
|
11
|
-
};
|
|
2
|
+
$schema: string;
|
|
3
|
+
$id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
type: string;
|
|
6
|
+
items: {
|
|
7
|
+
$ref: string;
|
|
12
8
|
};
|
|
13
9
|
};
|
|
14
10
|
declare const ProjectSchema: {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
type: string;
|
|
36
|
-
};
|
|
11
|
+
$schema: string;
|
|
12
|
+
$id: string;
|
|
13
|
+
title: string;
|
|
14
|
+
type: string;
|
|
15
|
+
properties: {
|
|
16
|
+
type: {
|
|
17
|
+
description: string;
|
|
18
|
+
type: string;
|
|
19
|
+
const: string;
|
|
20
|
+
};
|
|
21
|
+
version: {
|
|
22
|
+
description: string;
|
|
23
|
+
type: string;
|
|
24
|
+
pattern: string;
|
|
25
|
+
};
|
|
26
|
+
plugins: {
|
|
27
|
+
type: string;
|
|
28
|
+
patternProperties: {
|
|
29
|
+
".*": {
|
|
30
|
+
type: string;
|
|
37
31
|
};
|
|
38
32
|
};
|
|
39
|
-
description: {
|
|
40
|
-
description: string;
|
|
41
|
-
type: string;
|
|
42
|
-
};
|
|
43
33
|
};
|
|
44
|
-
|
|
45
|
-
|
|
34
|
+
description: {
|
|
35
|
+
description: string;
|
|
36
|
+
type: string;
|
|
37
|
+
};
|
|
46
38
|
};
|
|
39
|
+
additionalProperties: boolean;
|
|
40
|
+
required: string[];
|
|
47
41
|
};
|
|
48
42
|
declare const ResourceSchema: {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
43
|
+
$schema: string;
|
|
44
|
+
$id: string;
|
|
45
|
+
title: string;
|
|
46
|
+
type: string;
|
|
47
|
+
properties: {
|
|
48
|
+
type: {
|
|
49
|
+
description: string;
|
|
50
|
+
type: string;
|
|
51
|
+
pattern: string;
|
|
52
|
+
};
|
|
53
|
+
name: {
|
|
54
|
+
description: string;
|
|
55
|
+
type: string;
|
|
56
|
+
pattern: string;
|
|
57
|
+
};
|
|
58
|
+
dependsOn: {
|
|
59
|
+
type: string;
|
|
60
|
+
items: {
|
|
66
61
|
type: string;
|
|
67
|
-
items: {
|
|
68
|
-
type: string;
|
|
69
|
-
};
|
|
70
|
-
uniqueItems: boolean;
|
|
71
62
|
};
|
|
63
|
+
uniqueItems: boolean;
|
|
72
64
|
};
|
|
73
|
-
required: string[];
|
|
74
65
|
};
|
|
66
|
+
required: string[];
|
|
75
67
|
};
|
|
76
68
|
declare const IpcMessageSchema: {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
description: string;
|
|
94
|
-
};
|
|
69
|
+
$schema: string;
|
|
70
|
+
$id: string;
|
|
71
|
+
title: string;
|
|
72
|
+
type: string;
|
|
73
|
+
properties: {
|
|
74
|
+
cmd: {
|
|
75
|
+
description: string;
|
|
76
|
+
type: string;
|
|
77
|
+
};
|
|
78
|
+
status: {
|
|
79
|
+
description: string;
|
|
80
|
+
type: string;
|
|
81
|
+
enum: string[];
|
|
82
|
+
};
|
|
83
|
+
data: {
|
|
84
|
+
description: string;
|
|
95
85
|
};
|
|
96
|
-
required: string[];
|
|
97
86
|
};
|
|
87
|
+
required: string[];
|
|
98
88
|
};
|
|
99
89
|
declare const ApplyRequestDataSchema: {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
format: string;
|
|
111
|
-
};
|
|
90
|
+
$schema: string;
|
|
91
|
+
$id: string;
|
|
92
|
+
title: string;
|
|
93
|
+
description: string;
|
|
94
|
+
type: string;
|
|
95
|
+
properties: {
|
|
96
|
+
planId: {
|
|
97
|
+
description: string;
|
|
98
|
+
type: string;
|
|
99
|
+
format: string;
|
|
112
100
|
};
|
|
113
|
-
required: string[];
|
|
114
|
-
additionalProperties: boolean;
|
|
115
101
|
};
|
|
102
|
+
required: string[];
|
|
103
|
+
additionalProperties: boolean;
|
|
116
104
|
};
|
|
117
105
|
declare const ApplyResponseDataSchema: {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
type: string;
|
|
123
|
-
};
|
|
106
|
+
$schema: string;
|
|
107
|
+
$id: string;
|
|
108
|
+
title: string;
|
|
109
|
+
type: string;
|
|
124
110
|
};
|
|
125
111
|
declare const ErrorResponseDataSchema: {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
type: string;
|
|
135
|
-
};
|
|
112
|
+
$schema: string;
|
|
113
|
+
$id: string;
|
|
114
|
+
title: string;
|
|
115
|
+
type: string;
|
|
116
|
+
properties: {
|
|
117
|
+
reason: {
|
|
118
|
+
description: string;
|
|
119
|
+
type: string;
|
|
136
120
|
};
|
|
137
|
-
required: string[];
|
|
138
|
-
additionalProperties: boolean;
|
|
139
121
|
};
|
|
122
|
+
required: string[];
|
|
123
|
+
additionalProperties: boolean;
|
|
140
124
|
};
|
|
141
125
|
declare const PlanRequestDataSchema: {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
allOf: {
|
|
147
|
-
$ref: string;
|
|
148
|
-
}[];
|
|
149
|
-
};
|
|
126
|
+
$schema: string;
|
|
127
|
+
$id: string;
|
|
128
|
+
title: string;
|
|
129
|
+
$ref: string;
|
|
150
130
|
};
|
|
151
131
|
declare const PlanResponseDataSchema: {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
description: string;
|
|
196
|
-
};
|
|
132
|
+
$schema: string;
|
|
133
|
+
$id: string;
|
|
134
|
+
title: string;
|
|
135
|
+
type: string;
|
|
136
|
+
properties: {
|
|
137
|
+
planId: {
|
|
138
|
+
description: string;
|
|
139
|
+
type: string;
|
|
140
|
+
format: string;
|
|
141
|
+
};
|
|
142
|
+
operation: {
|
|
143
|
+
description: string;
|
|
144
|
+
type: string;
|
|
145
|
+
enum: string[];
|
|
146
|
+
};
|
|
147
|
+
resourceType: {
|
|
148
|
+
description: string;
|
|
149
|
+
type: string;
|
|
150
|
+
};
|
|
151
|
+
resourceName: {
|
|
152
|
+
description: string;
|
|
153
|
+
type: string[];
|
|
154
|
+
};
|
|
155
|
+
parameters: {
|
|
156
|
+
description: string;
|
|
157
|
+
type: string;
|
|
158
|
+
items: {
|
|
159
|
+
type: string;
|
|
160
|
+
properties: {
|
|
161
|
+
name: {
|
|
162
|
+
description: string;
|
|
163
|
+
type: string;
|
|
164
|
+
};
|
|
165
|
+
operation: {
|
|
166
|
+
description: string;
|
|
167
|
+
type: string;
|
|
168
|
+
enum: string[];
|
|
169
|
+
};
|
|
170
|
+
previousValue: {
|
|
171
|
+
description: string;
|
|
172
|
+
};
|
|
173
|
+
newValue: {
|
|
174
|
+
description: string;
|
|
197
175
|
};
|
|
198
|
-
required: string[];
|
|
199
176
|
};
|
|
177
|
+
required: string[];
|
|
200
178
|
};
|
|
201
179
|
};
|
|
202
|
-
required: string[];
|
|
203
|
-
additionalProperties: boolean;
|
|
204
180
|
};
|
|
181
|
+
required: string[];
|
|
182
|
+
additionalProperties: boolean;
|
|
205
183
|
};
|
|
206
184
|
declare const ValidateRequestDataSchema: {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
allOf: {
|
|
217
|
-
$ref: string;
|
|
218
|
-
}[];
|
|
219
|
-
};
|
|
185
|
+
$schema: string;
|
|
186
|
+
$id: string;
|
|
187
|
+
title: string;
|
|
188
|
+
type: string;
|
|
189
|
+
properties: {
|
|
190
|
+
configs: {
|
|
191
|
+
type: string;
|
|
192
|
+
items: {
|
|
193
|
+
$ref: string;
|
|
220
194
|
};
|
|
221
195
|
};
|
|
222
|
-
required: never[];
|
|
223
|
-
additionalProperties: boolean;
|
|
224
196
|
};
|
|
197
|
+
required: never[];
|
|
198
|
+
additionalProperties: boolean;
|
|
225
199
|
};
|
|
226
200
|
declare const ValidateResponseDataSchema: {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
type: string;
|
|
232
|
-
};
|
|
201
|
+
$schema: string;
|
|
202
|
+
$id: string;
|
|
203
|
+
title: string;
|
|
204
|
+
type: string;
|
|
233
205
|
};
|
|
234
206
|
export { ConfigFileSchema, ProjectSchema, ResourceSchema, IpcMessageSchema, ApplyRequestDataSchema, ApplyResponseDataSchema, ErrorResponseDataSchema, PlanRequestDataSchema, PlanResponseDataSchema, ValidateRequestDataSchema, ValidateResponseDataSchema, };
|
|
235
207
|
export * from './types/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
const ConfigFileSchema = await import('./config-file-schema.json', {
|
|
1
|
+
const ConfigFileSchema = (await import('./config-file-schema.json', {
|
|
2
2
|
assert: { type: 'json' }
|
|
3
|
-
});
|
|
4
|
-
const ProjectSchema = await import('./project-schema.json', {
|
|
3
|
+
})).default;
|
|
4
|
+
const ProjectSchema = (await import('./project-schema.json', {
|
|
5
5
|
assert: { type: 'json' }
|
|
6
|
-
});
|
|
7
|
-
const ResourceSchema = await import('./resource-schema.json', {
|
|
6
|
+
})).default;
|
|
7
|
+
const ResourceSchema = (await import('./resource-schema.json', {
|
|
8
8
|
assert: { type: 'json' }
|
|
9
|
-
});
|
|
10
|
-
const IpcMessageSchema = await import('./ipc-message-schema.json', {
|
|
9
|
+
})).default;
|
|
10
|
+
const IpcMessageSchema = (await import('./ipc-message-schema.json', {
|
|
11
11
|
assert: { type: 'json' }
|
|
12
|
-
});
|
|
13
|
-
const ApplyRequestDataSchema = await import('./messages/apply-request-data-schema.json', {
|
|
12
|
+
})).default;
|
|
13
|
+
const ApplyRequestDataSchema = (await import('./messages/apply-request-data-schema.json', {
|
|
14
14
|
assert: { type: 'json' }
|
|
15
|
-
});
|
|
16
|
-
const ApplyResponseDataSchema = await import('./messages/apply-response-data-schema.json', {
|
|
15
|
+
})).default;
|
|
16
|
+
const ApplyResponseDataSchema = (await import('./messages/apply-response-data-schema.json', {
|
|
17
17
|
assert: { type: 'json' }
|
|
18
|
-
});
|
|
19
|
-
const ErrorResponseDataSchema = await import('./messages/error-response-data-schema.json', {
|
|
18
|
+
})).default;
|
|
19
|
+
const ErrorResponseDataSchema = (await import('./messages/error-response-data-schema.json', {
|
|
20
20
|
assert: { type: 'json' }
|
|
21
|
-
});
|
|
22
|
-
const PlanRequestDataSchema = await import('./messages/plan-request-data-schema.json', {
|
|
21
|
+
})).default;
|
|
22
|
+
const PlanRequestDataSchema = (await import('./messages/plan-request-data-schema.json', {
|
|
23
23
|
assert: { type: 'json' }
|
|
24
|
-
});
|
|
25
|
-
const PlanResponseDataSchema = await import('./messages/plan-response-data-schema.json', {
|
|
24
|
+
})).default;
|
|
25
|
+
const PlanResponseDataSchema = (await import('./messages/plan-response-data-schema.json', {
|
|
26
26
|
assert: { type: 'json' }
|
|
27
|
-
});
|
|
28
|
-
const ValidateRequestDataSchema = await import('./messages/validate-request-data-schema.json', {
|
|
27
|
+
})).default;
|
|
28
|
+
const ValidateRequestDataSchema = (await import('./messages/validate-request-data-schema.json', {
|
|
29
29
|
assert: { type: 'json' }
|
|
30
|
-
});
|
|
31
|
-
const ValidateResponseDataSchema = await import('./messages/validate-response-data-schema.json', {
|
|
30
|
+
})).default;
|
|
31
|
+
const ValidateResponseDataSchema = (await import('./messages/validate-response-data-schema.json', {
|
|
32
32
|
assert: { type: 'json' }
|
|
33
|
-
});
|
|
33
|
+
})).default;
|
|
34
34
|
export { ConfigFileSchema, ProjectSchema, ResourceSchema, IpcMessageSchema, ApplyRequestDataSchema, ApplyResponseDataSchema, ErrorResponseDataSchema, PlanRequestDataSchema, PlanResponseDataSchema, ValidateRequestDataSchema, ValidateResponseDataSchema, };
|
|
35
35
|
export * from './types/index.js';
|
|
36
36
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG,MAAM,MAAM,CAAC,2BAA2B,EAAE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG,CAAC,MAAM,MAAM,CAAC,2BAA2B,EAAE;IAClE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAC,CAAC,OAAO,CAAC;AACZ,MAAM,aAAa,GAAG,CAAC,MAAM,MAAM,CAAC,uBAAuB,EAAE;IAC3D,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAC,CAAC,OAAO,CAAC;AACZ,MAAM,cAAc,GAAG,CAAC,MAAM,MAAM,CAAC,wBAAwB,EAAE;IAC7D,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAC,CAAC,OAAO,CAAC;AACZ,MAAM,gBAAgB,GAAG,CAAC,MAAM,MAAM,CAAC,2BAA2B,EAAE;IAClE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAC,CAAC,OAAO,CAAC;AACZ,MAAM,sBAAsB,GAAG,CAAC,MAAM,MAAM,CAAC,2CAA2C,EAAE;IACxF,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAC,CAAC,OAAO,CAAC;AACZ,MAAM,uBAAuB,GAAG,CAAC,MAAM,MAAM,CAAC,4CAA4C,EAAE;IAC1F,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAC,CAAC,OAAO,CAAC;AACZ,MAAM,uBAAuB,GAAG,CAAC,MAAM,MAAM,CAAC,4CAA4C,EAAE;IAC1F,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAC,CAAC,OAAO,CAAC;AACZ,MAAM,qBAAqB,GAAG,CAAC,MAAM,MAAM,CAAC,0CAA0C,EAAE;IACtF,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAC,CAAC,OAAO,CAAC;AACZ,MAAM,sBAAsB,GAAG,CAAC,MAAM,MAAM,CAAC,2CAA2C,EAAE;IACxF,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAC,CAAC,OAAO,CAAA;AACX,MAAM,yBAAyB,GAAG,CAAC,MAAM,MAAM,CAAC,8CAA8C,EAAE;IAC9F,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAC,CAAC,OAAO,CAAC;AACZ,MAAM,0BAA0B,GAAG,CAAC,MAAM,MAAM,CAAC,+CAA+C,EAAE;IAChG,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAC,CAAC,OAAO,CAAC;AAEZ,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,GAC3B,CAAA;AAED,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://www.codify.com/apply-request-data-schema.json",
|
|
4
4
|
"title": "Apply Request Schema Data",
|
|
5
5
|
"description": "Apply the previously generated plan. The plan must already be generated in order for apply to work.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://www.codify.com/plan-request-data-schema.json",
|
|
4
4
|
"title": "Plan Request Schema Data",
|
|
5
|
-
"
|
|
5
|
+
"$ref": "resource-schema.json"
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://www.codify.com/validate-request-data-schema.json",
|
|
4
4
|
"title": "Validate Request Schema Data",
|
|
5
5
|
"type": "object",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"configs": {
|
|
8
8
|
"type": "array",
|
|
9
9
|
"items": {
|
|
10
|
-
"
|
|
10
|
+
"$ref": "resource-schema.json"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
},
|
package/dist/project-schema.json
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
const ConfigFileSchema = await import('./config-file-schema.json', {
|
|
1
|
+
const ConfigFileSchema = (await import('./config-file-schema.json', {
|
|
2
2
|
assert: { type: 'json'}
|
|
3
|
-
})
|
|
4
|
-
const ProjectSchema = await import('./project-schema.json', {
|
|
3
|
+
})).default;
|
|
4
|
+
const ProjectSchema = (await import('./project-schema.json', {
|
|
5
5
|
assert: { type: 'json'}
|
|
6
|
-
})
|
|
7
|
-
const ResourceSchema = await import('./resource-schema.json', {
|
|
6
|
+
})).default;
|
|
7
|
+
const ResourceSchema = (await import('./resource-schema.json', {
|
|
8
8
|
assert: { type: 'json'}
|
|
9
|
-
})
|
|
10
|
-
const IpcMessageSchema = await import('./ipc-message-schema.json', {
|
|
9
|
+
})).default;
|
|
10
|
+
const IpcMessageSchema = (await import('./ipc-message-schema.json', {
|
|
11
11
|
assert: { type: 'json'}
|
|
12
|
-
})
|
|
13
|
-
const ApplyRequestDataSchema = await import('./messages/apply-request-data-schema.json', {
|
|
12
|
+
})).default;
|
|
13
|
+
const ApplyRequestDataSchema = (await import('./messages/apply-request-data-schema.json', {
|
|
14
14
|
assert: { type: 'json'}
|
|
15
|
-
})
|
|
16
|
-
const ApplyResponseDataSchema = await import('./messages/apply-response-data-schema.json', {
|
|
15
|
+
})).default;
|
|
16
|
+
const ApplyResponseDataSchema = (await import('./messages/apply-response-data-schema.json', {
|
|
17
17
|
assert: { type: 'json'}
|
|
18
|
-
})
|
|
19
|
-
const ErrorResponseDataSchema = await import('./messages/error-response-data-schema.json', {
|
|
18
|
+
})).default;
|
|
19
|
+
const ErrorResponseDataSchema = (await import('./messages/error-response-data-schema.json', {
|
|
20
20
|
assert: { type: 'json'}
|
|
21
|
-
})
|
|
22
|
-
const PlanRequestDataSchema = await import('./messages/plan-request-data-schema.json', {
|
|
21
|
+
})).default;
|
|
22
|
+
const PlanRequestDataSchema = (await import('./messages/plan-request-data-schema.json', {
|
|
23
23
|
assert: { type: 'json'}
|
|
24
|
-
})
|
|
25
|
-
const PlanResponseDataSchema = await import('./messages/plan-response-data-schema.json', {
|
|
24
|
+
})).default;
|
|
25
|
+
const PlanResponseDataSchema = (await import('./messages/plan-response-data-schema.json', {
|
|
26
26
|
assert: { type: 'json'}
|
|
27
|
-
})
|
|
28
|
-
const ValidateRequestDataSchema = await import('./messages/validate-request-data-schema.json', {
|
|
27
|
+
})).default
|
|
28
|
+
const ValidateRequestDataSchema = (await import('./messages/validate-request-data-schema.json', {
|
|
29
29
|
assert: { type: 'json'}
|
|
30
|
-
})
|
|
31
|
-
const ValidateResponseDataSchema = await import('./messages/validate-response-data-schema.json', {
|
|
30
|
+
})).default;
|
|
31
|
+
const ValidateResponseDataSchema = (await import('./messages/validate-response-data-schema.json', {
|
|
32
32
|
assert: { type: 'json'}
|
|
33
|
-
})
|
|
33
|
+
})).default;
|
|
34
34
|
|
|
35
35
|
export {
|
|
36
36
|
ConfigFileSchema,
|