codify-schemas 1.0.20 → 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/index.d.ts +160 -182
- package/dist/index.js +22 -22
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +22 -22
package/dist/index.d.ts
CHANGED
|
@@ -1,229 +1,207 @@
|
|
|
1
1
|
declare const ConfigFileSchema: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
$ref: string;
|
|
9
|
-
};
|
|
2
|
+
$schema: string;
|
|
3
|
+
$id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
type: string;
|
|
6
|
+
items: {
|
|
7
|
+
$ref: string;
|
|
10
8
|
};
|
|
11
9
|
};
|
|
12
10
|
declare const ProjectSchema: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
type: string;
|
|
34
|
-
};
|
|
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;
|
|
35
31
|
};
|
|
36
32
|
};
|
|
37
|
-
description: {
|
|
38
|
-
description: string;
|
|
39
|
-
type: string;
|
|
40
|
-
};
|
|
41
33
|
};
|
|
42
|
-
|
|
43
|
-
|
|
34
|
+
description: {
|
|
35
|
+
description: string;
|
|
36
|
+
type: string;
|
|
37
|
+
};
|
|
44
38
|
};
|
|
39
|
+
additionalProperties: boolean;
|
|
40
|
+
required: string[];
|
|
45
41
|
};
|
|
46
42
|
declare const ResourceSchema: {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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: {
|
|
64
61
|
type: string;
|
|
65
|
-
items: {
|
|
66
|
-
type: string;
|
|
67
|
-
};
|
|
68
|
-
uniqueItems: boolean;
|
|
69
62
|
};
|
|
63
|
+
uniqueItems: boolean;
|
|
70
64
|
};
|
|
71
|
-
required: string[];
|
|
72
65
|
};
|
|
66
|
+
required: string[];
|
|
73
67
|
};
|
|
74
68
|
declare const IpcMessageSchema: {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
description: string;
|
|
92
|
-
};
|
|
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;
|
|
93
85
|
};
|
|
94
|
-
required: string[];
|
|
95
86
|
};
|
|
87
|
+
required: string[];
|
|
96
88
|
};
|
|
97
89
|
declare const ApplyRequestDataSchema: {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
format: string;
|
|
109
|
-
};
|
|
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;
|
|
110
100
|
};
|
|
111
|
-
required: string[];
|
|
112
|
-
additionalProperties: boolean;
|
|
113
101
|
};
|
|
102
|
+
required: string[];
|
|
103
|
+
additionalProperties: boolean;
|
|
114
104
|
};
|
|
115
105
|
declare const ApplyResponseDataSchema: {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
type: string;
|
|
121
|
-
};
|
|
106
|
+
$schema: string;
|
|
107
|
+
$id: string;
|
|
108
|
+
title: string;
|
|
109
|
+
type: string;
|
|
122
110
|
};
|
|
123
111
|
declare const ErrorResponseDataSchema: {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
type: string;
|
|
133
|
-
};
|
|
112
|
+
$schema: string;
|
|
113
|
+
$id: string;
|
|
114
|
+
title: string;
|
|
115
|
+
type: string;
|
|
116
|
+
properties: {
|
|
117
|
+
reason: {
|
|
118
|
+
description: string;
|
|
119
|
+
type: string;
|
|
134
120
|
};
|
|
135
|
-
required: string[];
|
|
136
|
-
additionalProperties: boolean;
|
|
137
121
|
};
|
|
122
|
+
required: string[];
|
|
123
|
+
additionalProperties: boolean;
|
|
138
124
|
};
|
|
139
125
|
declare const PlanRequestDataSchema: {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
$ref: string;
|
|
145
|
-
};
|
|
126
|
+
$schema: string;
|
|
127
|
+
$id: string;
|
|
128
|
+
title: string;
|
|
129
|
+
$ref: string;
|
|
146
130
|
};
|
|
147
131
|
declare const PlanResponseDataSchema: {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
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
|
-
description: string;
|
|
192
|
-
};
|
|
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;
|
|
193
175
|
};
|
|
194
|
-
required: string[];
|
|
195
176
|
};
|
|
177
|
+
required: string[];
|
|
196
178
|
};
|
|
197
179
|
};
|
|
198
|
-
required: string[];
|
|
199
|
-
additionalProperties: boolean;
|
|
200
180
|
};
|
|
181
|
+
required: string[];
|
|
182
|
+
additionalProperties: boolean;
|
|
201
183
|
};
|
|
202
184
|
declare const ValidateRequestDataSchema: {
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
$ref: string;
|
|
213
|
-
};
|
|
185
|
+
$schema: string;
|
|
186
|
+
$id: string;
|
|
187
|
+
title: string;
|
|
188
|
+
type: string;
|
|
189
|
+
properties: {
|
|
190
|
+
configs: {
|
|
191
|
+
type: string;
|
|
192
|
+
items: {
|
|
193
|
+
$ref: string;
|
|
214
194
|
};
|
|
215
195
|
};
|
|
216
|
-
required: never[];
|
|
217
|
-
additionalProperties: boolean;
|
|
218
196
|
};
|
|
197
|
+
required: never[];
|
|
198
|
+
additionalProperties: boolean;
|
|
219
199
|
};
|
|
220
200
|
declare const ValidateResponseDataSchema: {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
type: string;
|
|
226
|
-
};
|
|
201
|
+
$schema: string;
|
|
202
|
+
$id: string;
|
|
203
|
+
title: string;
|
|
204
|
+
type: string;
|
|
227
205
|
};
|
|
228
206
|
export { ConfigFileSchema, ProjectSchema, ResourceSchema, IpcMessageSchema, ApplyRequestDataSchema, ApplyResponseDataSchema, ErrorResponseDataSchema, PlanRequestDataSchema, PlanResponseDataSchema, ValidateRequestDataSchema, ValidateResponseDataSchema, };
|
|
229
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"}
|
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,
|