codify-schemas 1.0.61 → 1.0.62
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 +20 -548
- package/dist/index.js +20 -20
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +20 -20
package/dist/index.d.ts
CHANGED
|
@@ -1,551 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
title: string;
|
|
22
|
-
type: string;
|
|
23
|
-
properties: {
|
|
24
|
-
type: {
|
|
25
|
-
description: string;
|
|
26
|
-
type: string;
|
|
27
|
-
const: string;
|
|
28
|
-
};
|
|
29
|
-
version: {
|
|
30
|
-
description: string;
|
|
31
|
-
type: string;
|
|
32
|
-
pattern: string;
|
|
33
|
-
};
|
|
34
|
-
plugins: {
|
|
35
|
-
type: string;
|
|
36
|
-
patternProperties: {
|
|
37
|
-
".*": {
|
|
38
|
-
type: string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
description: {
|
|
43
|
-
description: string;
|
|
44
|
-
type: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
additionalProperties: boolean;
|
|
48
|
-
required: string[];
|
|
49
|
-
};
|
|
50
|
-
declare const ResourceSchema: {
|
|
51
|
-
$schema: string;
|
|
52
|
-
$id: string;
|
|
53
|
-
title: string;
|
|
54
|
-
type: string;
|
|
55
|
-
properties: {
|
|
56
|
-
type: {
|
|
57
|
-
description: string;
|
|
58
|
-
type: string;
|
|
59
|
-
pattern: string;
|
|
60
|
-
};
|
|
61
|
-
name: {
|
|
62
|
-
description: string;
|
|
63
|
-
type: string;
|
|
64
|
-
pattern: string;
|
|
65
|
-
};
|
|
66
|
-
dependsOn: {
|
|
67
|
-
type: string;
|
|
68
|
-
items: {
|
|
69
|
-
type: string;
|
|
70
|
-
};
|
|
71
|
-
uniqueItems: boolean;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
required: string[];
|
|
75
|
-
};
|
|
76
|
-
declare const IpcMessageSchema: {
|
|
77
|
-
$schema: string;
|
|
78
|
-
$id: string;
|
|
79
|
-
title: string;
|
|
80
|
-
type: string;
|
|
81
|
-
properties: {
|
|
82
|
-
cmd: {
|
|
83
|
-
description: string;
|
|
84
|
-
type: string;
|
|
85
|
-
};
|
|
86
|
-
status: {
|
|
87
|
-
description: string;
|
|
88
|
-
type: string;
|
|
89
|
-
enum: string[];
|
|
90
|
-
};
|
|
91
|
-
data: {
|
|
92
|
-
description: string;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
required: string[];
|
|
96
|
-
};
|
|
97
|
-
declare const IpcMessageV2Schema: {
|
|
98
|
-
$schema: string;
|
|
99
|
-
$id: string;
|
|
100
|
-
title: string;
|
|
101
|
-
type: string;
|
|
102
|
-
properties: {
|
|
103
|
-
cmd: {
|
|
104
|
-
description: string;
|
|
105
|
-
type: string;
|
|
106
|
-
};
|
|
107
|
-
requestId: {
|
|
108
|
-
type: string;
|
|
109
|
-
description: string;
|
|
110
|
-
};
|
|
111
|
-
status: {
|
|
112
|
-
description: string;
|
|
113
|
-
type: string;
|
|
114
|
-
enum: string[];
|
|
115
|
-
};
|
|
116
|
-
data: {
|
|
117
|
-
description: string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
required: string[];
|
|
121
|
-
};
|
|
122
|
-
declare const ApplyRequestDataSchema: {
|
|
123
|
-
$schema: string;
|
|
124
|
-
$id: string;
|
|
125
|
-
title: string;
|
|
126
|
-
description: string;
|
|
127
|
-
type: string;
|
|
128
|
-
oneOf: ({
|
|
129
|
-
properties: {
|
|
130
|
-
planId: {
|
|
131
|
-
description: string;
|
|
132
|
-
type: string;
|
|
133
|
-
format: string;
|
|
134
|
-
};
|
|
135
|
-
plan?: undefined;
|
|
136
|
-
};
|
|
137
|
-
required: string[];
|
|
138
|
-
additionalProperties: boolean;
|
|
139
|
-
} | {
|
|
140
|
-
properties: {
|
|
141
|
-
plan: {
|
|
142
|
-
description: string;
|
|
143
|
-
type: string;
|
|
144
|
-
properties: {
|
|
145
|
-
operation: {
|
|
146
|
-
description: string;
|
|
147
|
-
type: string;
|
|
148
|
-
enum: string[];
|
|
149
|
-
};
|
|
150
|
-
resourceType: {
|
|
151
|
-
description: string;
|
|
152
|
-
type: string;
|
|
153
|
-
};
|
|
154
|
-
resourceName: {
|
|
155
|
-
description: string;
|
|
156
|
-
type: string[];
|
|
157
|
-
};
|
|
158
|
-
isStateful: {
|
|
159
|
-
description: string;
|
|
160
|
-
type: string;
|
|
161
|
-
};
|
|
162
|
-
parameters: {
|
|
163
|
-
description: string;
|
|
164
|
-
type: string;
|
|
165
|
-
items: {
|
|
166
|
-
type: string;
|
|
167
|
-
properties: {
|
|
168
|
-
name: {
|
|
169
|
-
description: string;
|
|
170
|
-
type: string;
|
|
171
|
-
};
|
|
172
|
-
operation: {
|
|
173
|
-
description: string;
|
|
174
|
-
type: string;
|
|
175
|
-
enum: string[];
|
|
176
|
-
};
|
|
177
|
-
newValue: {
|
|
178
|
-
description: string;
|
|
179
|
-
};
|
|
180
|
-
previousValue: {
|
|
181
|
-
description: string;
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
required: string[];
|
|
185
|
-
};
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
required: string[];
|
|
189
|
-
};
|
|
190
|
-
planId?: undefined;
|
|
191
|
-
};
|
|
192
|
-
required: string[];
|
|
193
|
-
additionalProperties: boolean;
|
|
194
|
-
})[];
|
|
195
|
-
};
|
|
196
|
-
declare const ApplyResponseDataSchema: {
|
|
197
|
-
$schema: string;
|
|
198
|
-
$id: string;
|
|
199
|
-
title: string;
|
|
200
|
-
type: string;
|
|
201
|
-
};
|
|
202
|
-
declare const ErrorResponseDataSchema: {
|
|
203
|
-
$schema: string;
|
|
204
|
-
$id: string;
|
|
205
|
-
title: string;
|
|
206
|
-
type: string;
|
|
207
|
-
properties: {
|
|
208
|
-
reason: {
|
|
209
|
-
description: string;
|
|
210
|
-
type: string;
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
required: string[];
|
|
214
|
-
additionalProperties: boolean;
|
|
215
|
-
};
|
|
216
|
-
declare const GetResourceInfoRequestDataSchema: {
|
|
217
|
-
$schema: string;
|
|
218
|
-
$id: string;
|
|
219
|
-
title: string;
|
|
220
|
-
type: string;
|
|
221
|
-
properties: {
|
|
222
|
-
type: {
|
|
223
|
-
type: string;
|
|
224
|
-
description: string;
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
required: string[];
|
|
228
|
-
};
|
|
229
|
-
declare const GetResourceInfoResponseDataSchema: {
|
|
230
|
-
$schema: string;
|
|
231
|
-
$id: string;
|
|
232
|
-
title: string;
|
|
233
|
-
type: string;
|
|
234
|
-
properties: {
|
|
235
|
-
plugin: {
|
|
236
|
-
type: string;
|
|
237
|
-
description: string;
|
|
238
|
-
};
|
|
239
|
-
type: {
|
|
240
|
-
type: string;
|
|
241
|
-
description: string;
|
|
242
|
-
};
|
|
243
|
-
schema: {
|
|
244
|
-
type: string;
|
|
245
|
-
description: string;
|
|
246
|
-
};
|
|
247
|
-
dependencies: {
|
|
248
|
-
type: string;
|
|
249
|
-
items: {
|
|
250
|
-
type: string;
|
|
251
|
-
};
|
|
252
|
-
};
|
|
253
|
-
import: {
|
|
254
|
-
type: string;
|
|
255
|
-
properties: {
|
|
256
|
-
requiredProperties: {
|
|
257
|
-
type: string;
|
|
258
|
-
items: {
|
|
259
|
-
type: string;
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
|
-
};
|
|
263
|
-
};
|
|
264
|
-
};
|
|
265
|
-
required: string[];
|
|
266
|
-
};
|
|
267
|
-
declare const ImportRequestDataSchema: {
|
|
268
|
-
$schema: string;
|
|
269
|
-
$id: string;
|
|
270
|
-
title: string;
|
|
271
|
-
type: string;
|
|
272
|
-
properties: {
|
|
273
|
-
core: {
|
|
274
|
-
$ref: string;
|
|
275
|
-
};
|
|
276
|
-
parameters: {
|
|
277
|
-
type: string;
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
required: string[];
|
|
281
|
-
};
|
|
282
|
-
declare const ImportResponseDataSchema: {
|
|
283
|
-
$schema: string;
|
|
284
|
-
$id: string;
|
|
285
|
-
title: string;
|
|
286
|
-
type: string;
|
|
287
|
-
properties: {
|
|
288
|
-
request: {
|
|
289
|
-
type: string;
|
|
290
|
-
properties: {
|
|
291
|
-
core: {
|
|
292
|
-
$ref: string;
|
|
293
|
-
};
|
|
294
|
-
parameters: {
|
|
295
|
-
type: string;
|
|
296
|
-
};
|
|
297
|
-
};
|
|
298
|
-
};
|
|
299
|
-
result: {
|
|
300
|
-
type: string;
|
|
301
|
-
items: {
|
|
302
|
-
type: string;
|
|
303
|
-
properties: {
|
|
304
|
-
core: {
|
|
305
|
-
$ref: string;
|
|
306
|
-
};
|
|
307
|
-
parameters: {
|
|
308
|
-
type: string;
|
|
309
|
-
};
|
|
310
|
-
};
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
|
-
required: string[];
|
|
315
|
-
};
|
|
316
|
-
declare const PlanRequestDataSchema: {
|
|
317
|
-
$schema: string;
|
|
318
|
-
$id: string;
|
|
319
|
-
title: string;
|
|
320
|
-
type: string;
|
|
321
|
-
properties: {
|
|
322
|
-
core: {
|
|
323
|
-
$ref: string;
|
|
324
|
-
};
|
|
325
|
-
desired: {
|
|
326
|
-
type: string;
|
|
327
|
-
description: string;
|
|
328
|
-
};
|
|
329
|
-
state: {
|
|
330
|
-
type: string;
|
|
331
|
-
description: string;
|
|
332
|
-
};
|
|
333
|
-
isStateful: {
|
|
334
|
-
type: string;
|
|
335
|
-
description: string;
|
|
336
|
-
};
|
|
337
|
-
};
|
|
338
|
-
additionalProperties: boolean;
|
|
339
|
-
anyOf: {
|
|
340
|
-
required: string[];
|
|
341
|
-
}[];
|
|
342
|
-
};
|
|
343
|
-
declare const PlanResponseDataSchema: {
|
|
344
|
-
$schema: string;
|
|
345
|
-
$id: string;
|
|
346
|
-
title: string;
|
|
347
|
-
type: string;
|
|
348
|
-
properties: {
|
|
349
|
-
planId: {
|
|
350
|
-
description: string;
|
|
351
|
-
type: string;
|
|
352
|
-
format: string;
|
|
353
|
-
};
|
|
354
|
-
operation: {
|
|
355
|
-
description: string;
|
|
356
|
-
type: string;
|
|
357
|
-
enum: string[];
|
|
358
|
-
};
|
|
359
|
-
isStateful: {
|
|
360
|
-
description: string;
|
|
361
|
-
type: string;
|
|
362
|
-
};
|
|
363
|
-
resourceType: {
|
|
364
|
-
description: string;
|
|
365
|
-
type: string;
|
|
366
|
-
};
|
|
367
|
-
resourceName: {
|
|
368
|
-
description: string;
|
|
369
|
-
type: string[];
|
|
370
|
-
};
|
|
371
|
-
parameters: {
|
|
372
|
-
description: string;
|
|
373
|
-
type: string;
|
|
374
|
-
items: {
|
|
375
|
-
type: string;
|
|
376
|
-
properties: {
|
|
377
|
-
name: {
|
|
378
|
-
description: string;
|
|
379
|
-
type: string;
|
|
380
|
-
};
|
|
381
|
-
operation: {
|
|
382
|
-
description: string;
|
|
383
|
-
type: string;
|
|
384
|
-
enum: string[];
|
|
385
|
-
};
|
|
386
|
-
previousValue: {
|
|
387
|
-
description: string;
|
|
388
|
-
};
|
|
389
|
-
newValue: {
|
|
390
|
-
description: string;
|
|
391
|
-
};
|
|
392
|
-
};
|
|
393
|
-
required: string[];
|
|
394
|
-
};
|
|
395
|
-
};
|
|
396
|
-
};
|
|
397
|
-
required: string[];
|
|
398
|
-
additionalProperties: boolean;
|
|
399
|
-
};
|
|
400
|
-
declare const ValidateRequestDataSchema: {
|
|
401
|
-
$schema: string;
|
|
402
|
-
$id: string;
|
|
403
|
-
title: string;
|
|
404
|
-
type: string;
|
|
405
|
-
properties: {
|
|
406
|
-
configs: {
|
|
407
|
-
type: string;
|
|
408
|
-
items: {
|
|
409
|
-
type: string;
|
|
410
|
-
properties: {
|
|
411
|
-
core: {
|
|
412
|
-
$ref: string;
|
|
413
|
-
};
|
|
414
|
-
parameters: {
|
|
415
|
-
type: string;
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
|
-
};
|
|
419
|
-
};
|
|
420
|
-
};
|
|
421
|
-
required: never[];
|
|
422
|
-
additionalProperties: boolean;
|
|
423
|
-
};
|
|
424
|
-
declare const ValidateResponseDataSchema: {
|
|
425
|
-
$schema: string;
|
|
426
|
-
$id: string;
|
|
427
|
-
title: string;
|
|
428
|
-
type: string;
|
|
429
|
-
properties: {
|
|
430
|
-
resourceValidations: {
|
|
431
|
-
type: string;
|
|
432
|
-
items: {
|
|
433
|
-
type: string;
|
|
434
|
-
properties: {
|
|
435
|
-
resourceType: {
|
|
436
|
-
type: string;
|
|
437
|
-
};
|
|
438
|
-
resourceName: {
|
|
439
|
-
type: string;
|
|
440
|
-
};
|
|
441
|
-
schemaValidationErrors: {
|
|
442
|
-
type: string;
|
|
443
|
-
description: string;
|
|
444
|
-
items: {
|
|
445
|
-
type: string;
|
|
446
|
-
};
|
|
447
|
-
};
|
|
448
|
-
customValidationErrorMessage: {
|
|
449
|
-
type: string;
|
|
450
|
-
description: string;
|
|
451
|
-
};
|
|
452
|
-
isValid: {
|
|
453
|
-
type: string;
|
|
454
|
-
description: string;
|
|
455
|
-
};
|
|
456
|
-
};
|
|
457
|
-
required: string[];
|
|
458
|
-
};
|
|
459
|
-
};
|
|
460
|
-
};
|
|
461
|
-
additionalProperties: boolean;
|
|
462
|
-
};
|
|
463
|
-
declare const InitializeRequestDataSchema: {
|
|
464
|
-
$schema: string;
|
|
465
|
-
$id: string;
|
|
466
|
-
title: string;
|
|
467
|
-
description: string;
|
|
468
|
-
type: string;
|
|
469
|
-
properties: {};
|
|
470
|
-
additionalProperties: boolean;
|
|
471
|
-
};
|
|
472
|
-
declare const InitializeResponseDataSchema: {
|
|
473
|
-
$schema: string;
|
|
474
|
-
$id: string;
|
|
475
|
-
title: string;
|
|
476
|
-
description: string;
|
|
477
|
-
type: string;
|
|
478
|
-
properties: {
|
|
479
|
-
resourceDefinitions: {
|
|
480
|
-
type: string;
|
|
481
|
-
items: {
|
|
482
|
-
type: string;
|
|
483
|
-
properties: {
|
|
484
|
-
type: {
|
|
485
|
-
type: string;
|
|
486
|
-
};
|
|
487
|
-
dependencies: {
|
|
488
|
-
type: string;
|
|
489
|
-
items: {
|
|
490
|
-
type: string;
|
|
491
|
-
};
|
|
492
|
-
};
|
|
493
|
-
};
|
|
494
|
-
required: string[];
|
|
495
|
-
};
|
|
496
|
-
};
|
|
497
|
-
};
|
|
498
|
-
required: string[];
|
|
499
|
-
};
|
|
500
|
-
declare const SudoRequestDataSchema: {
|
|
501
|
-
$schema: string;
|
|
502
|
-
$id: string;
|
|
503
|
-
title: string;
|
|
504
|
-
description: string;
|
|
505
|
-
type: string;
|
|
506
|
-
properties: {
|
|
507
|
-
command: {
|
|
508
|
-
type: string;
|
|
509
|
-
description: string;
|
|
510
|
-
};
|
|
511
|
-
options: {
|
|
512
|
-
type: string;
|
|
513
|
-
description: string;
|
|
514
|
-
properties: {
|
|
515
|
-
cwd: {
|
|
516
|
-
type: string;
|
|
517
|
-
description: string;
|
|
518
|
-
};
|
|
519
|
-
argv0: {
|
|
520
|
-
type: string;
|
|
521
|
-
description: string;
|
|
522
|
-
};
|
|
523
|
-
};
|
|
524
|
-
additionalProperties: boolean;
|
|
525
|
-
};
|
|
526
|
-
};
|
|
527
|
-
required: string[];
|
|
528
|
-
additionalProperties: boolean;
|
|
529
|
-
};
|
|
530
|
-
declare const SudoRequestResponseDataSchema: {
|
|
531
|
-
$schema: string;
|
|
532
|
-
$id: string;
|
|
533
|
-
title: string;
|
|
534
|
-
description: string;
|
|
535
|
-
type: string;
|
|
536
|
-
properties: {
|
|
537
|
-
status: {
|
|
538
|
-
enum: string[];
|
|
539
|
-
description: string;
|
|
540
|
-
};
|
|
541
|
-
data: {
|
|
542
|
-
type: string;
|
|
543
|
-
description: string;
|
|
544
|
-
};
|
|
545
|
-
};
|
|
546
|
-
required: string[];
|
|
547
|
-
additionalProperties: boolean;
|
|
548
|
-
};
|
|
1
|
+
import ConfigFileSchema from './config-file-schema.json';
|
|
2
|
+
import ProjectSchema from './project-schema.json';
|
|
3
|
+
import ResourceSchema from './resource-schema.json';
|
|
4
|
+
import IpcMessageSchema from './ipc-message-schema.json';
|
|
5
|
+
import IpcMessageV2Schema from './ipc-message-schema-v2.json';
|
|
6
|
+
import ApplyRequestDataSchema from './messages/apply-request-data-schema.json';
|
|
7
|
+
import ApplyResponseDataSchema from './messages/apply-response-data-schema.json';
|
|
8
|
+
import ErrorResponseDataSchema from './messages/error-response-data-schema.json';
|
|
9
|
+
import GetResourceInfoRequestDataSchema from './messages/get-resource-info-request-data-schema.json';
|
|
10
|
+
import GetResourceInfoResponseDataSchema from './messages/get-resource-info-response-data-schema.json';
|
|
11
|
+
import ImportRequestDataSchema from './messages/import-request-data-schema.json';
|
|
12
|
+
import ImportResponseDataSchema from './messages/import-response-data-schema.json';
|
|
13
|
+
import PlanRequestDataSchema from './messages/plan-request-data-schema.json';
|
|
14
|
+
import PlanResponseDataSchema from './messages/plan-response-data-schema.json';
|
|
15
|
+
import ValidateRequestDataSchema from './messages/validate-request-data-schema.json';
|
|
16
|
+
import ValidateResponseDataSchema from './messages/validate-response-data-schema.json';
|
|
17
|
+
import InitializeRequestDataSchema from './messages/initialize-request-data-schema.json';
|
|
18
|
+
import InitializeResponseDataSchema from './messages/initialize-response-data-schema.json';
|
|
19
|
+
import SudoRequestDataSchema from './messages/sudo-request-data-schema.json';
|
|
20
|
+
import SudoRequestResponseDataSchema from './messages/sudo-response-data-schema.json';
|
|
549
21
|
export { ConfigFileSchema, ProjectSchema, ResourceSchema, IpcMessageSchema, IpcMessageV2Schema, ApplyRequestDataSchema, ApplyResponseDataSchema, ErrorResponseDataSchema, GetResourceInfoRequestDataSchema, GetResourceInfoResponseDataSchema, ImportRequestDataSchema, ImportResponseDataSchema, PlanRequestDataSchema, PlanResponseDataSchema, ValidateRequestDataSchema, ValidateResponseDataSchema, InitializeRequestDataSchema, InitializeResponseDataSchema, SudoRequestDataSchema, SudoRequestResponseDataSchema, };
|
|
550
22
|
export * from './types/index.js';
|
|
551
23
|
export * from './messages/commands.js';
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import ConfigFileSchema from './config-file-schema.json' assert { type: 'json' };
|
|
2
|
+
import ProjectSchema from './project-schema.json' assert { type: 'json' };
|
|
3
|
+
import ResourceSchema from './resource-schema.json' assert { type: 'json' };
|
|
4
|
+
import IpcMessageSchema from './ipc-message-schema.json' assert { type: 'json' };
|
|
5
|
+
import IpcMessageV2Schema from './ipc-message-schema-v2.json' assert { type: 'json' };
|
|
6
|
+
import ApplyRequestDataSchema from './messages/apply-request-data-schema.json' assert { type: 'json' };
|
|
7
|
+
import ApplyResponseDataSchema from './messages/apply-response-data-schema.json' assert { type: 'json' };
|
|
8
|
+
import ErrorResponseDataSchema from './messages/error-response-data-schema.json' assert { type: 'json' };
|
|
9
|
+
import GetResourceInfoRequestDataSchema from './messages/get-resource-info-request-data-schema.json' assert { type: 'json' };
|
|
10
|
+
import GetResourceInfoResponseDataSchema from './messages/get-resource-info-response-data-schema.json' assert { type: 'json' };
|
|
11
|
+
import ImportRequestDataSchema from './messages/import-request-data-schema.json' assert { type: 'json' };
|
|
12
|
+
import ImportResponseDataSchema from './messages/import-response-data-schema.json' assert { type: 'json' };
|
|
13
|
+
import PlanRequestDataSchema from './messages/plan-request-data-schema.json' assert { type: 'json' };
|
|
14
|
+
import PlanResponseDataSchema from './messages/plan-response-data-schema.json' assert { type: 'json' };
|
|
15
|
+
import ValidateRequestDataSchema from './messages/validate-request-data-schema.json' assert { type: 'json' };
|
|
16
|
+
import ValidateResponseDataSchema from './messages/validate-response-data-schema.json' assert { type: 'json' };
|
|
17
|
+
import InitializeRequestDataSchema from './messages/initialize-request-data-schema.json' assert { type: 'json' };
|
|
18
|
+
import InitializeResponseDataSchema from './messages/initialize-response-data-schema.json' assert { type: 'json' };
|
|
19
|
+
import SudoRequestDataSchema from './messages/sudo-request-data-schema.json' assert { type: 'json' };
|
|
20
|
+
import SudoRequestResponseDataSchema from './messages/sudo-response-data-schema.json' assert { type: 'json' };
|
|
21
21
|
export { ConfigFileSchema, ProjectSchema, ResourceSchema, IpcMessageSchema, IpcMessageV2Schema, ApplyRequestDataSchema, ApplyResponseDataSchema, ErrorResponseDataSchema, GetResourceInfoRequestDataSchema, GetResourceInfoResponseDataSchema, ImportRequestDataSchema, ImportResponseDataSchema, PlanRequestDataSchema, PlanResponseDataSchema, ValidateRequestDataSchema, ValidateResponseDataSchema, InitializeRequestDataSchema, InitializeResponseDataSchema, SudoRequestDataSchema, SudoRequestResponseDataSchema, };
|
|
22
22
|
export * from './types/index.js';
|
|
23
23
|
export * from './messages/commands.js';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,2BAA2B,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AAC9E,OAAO,aAAa,MAAM,uBAAuB,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AACvE,OAAO,cAAc,MAAM,wBAAwB,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AACzE,OAAO,gBAAgB,MAAM,2BAA2B,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AAC9E,OAAO,kBAAkB,MAAM,8BAA8B,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AACnF,OAAO,sBAAsB,MAAM,2CAA2C,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AACpG,OAAO,uBAAuB,MAAM,4CAA4C,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AACtG,OAAO,uBAAuB,MAAM,4CAA4C,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AACtG,OAAO,gCAAgC,MAAM,uDAAuD,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AAC1H,OAAO,iCAAiC,MAAM,wDAAwD,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AAC5H,OAAO,uBAAuB,MAAM,4CAA4C,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AACtG,OAAO,wBAAwB,MAAM,6CAA6C,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AACxG,OAAO,qBAAqB,MAAM,0CAA0C,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AAClG,OAAO,sBAAsB,MAAM,2CAA2C,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AACpG,OAAO,yBAAyB,MAAM,8CAA8C,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AAC1G,OAAO,0BAA0B,MAAM,+CAA+C,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AAC5G,OAAO,2BAA2B,MAAM,gDAAgD,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AAC9G,OAAO,4BAA4B,MAAM,iDAAiD,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAA;AAChH,OAAO,qBAAqB,MAAM,0CAA0C,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAC;AACnG,OAAO,6BAA6B,MAAM,2CAA2C,CAAC,SAAQ,IAAI,EAAE,MAAM,EAAC,CAAC;AAE5G,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,gCAAgC,EAChC,iCAAiC,EACjC,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,qBAAqB,EACrB,6BAA6B,GAC9B,CAAA;AAED,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import ConfigFileSchema from './config-file-schema.json' assert {type: 'json'}
|
|
2
|
+
import ProjectSchema from './project-schema.json' assert {type: 'json'}
|
|
3
|
+
import ResourceSchema from './resource-schema.json' assert {type: 'json'}
|
|
4
|
+
import IpcMessageSchema from './ipc-message-schema.json' assert {type: 'json'}
|
|
5
|
+
import IpcMessageV2Schema from './ipc-message-schema-v2.json' assert {type: 'json'}
|
|
6
|
+
import ApplyRequestDataSchema from './messages/apply-request-data-schema.json' assert {type: 'json'}
|
|
7
|
+
import ApplyResponseDataSchema from './messages/apply-response-data-schema.json' assert {type: 'json'}
|
|
8
|
+
import ErrorResponseDataSchema from './messages/error-response-data-schema.json' assert {type: 'json'}
|
|
9
|
+
import GetResourceInfoRequestDataSchema from './messages/get-resource-info-request-data-schema.json' assert {type: 'json'}
|
|
10
|
+
import GetResourceInfoResponseDataSchema from './messages/get-resource-info-response-data-schema.json' assert {type: 'json'}
|
|
11
|
+
import ImportRequestDataSchema from './messages/import-request-data-schema.json' assert {type: 'json'}
|
|
12
|
+
import ImportResponseDataSchema from './messages/import-response-data-schema.json' assert {type: 'json'}
|
|
13
|
+
import PlanRequestDataSchema from './messages/plan-request-data-schema.json' assert {type: 'json'}
|
|
14
|
+
import PlanResponseDataSchema from './messages/plan-response-data-schema.json' assert {type: 'json'}
|
|
15
|
+
import ValidateRequestDataSchema from './messages/validate-request-data-schema.json' assert {type: 'json'}
|
|
16
|
+
import ValidateResponseDataSchema from './messages/validate-response-data-schema.json' assert {type: 'json'}
|
|
17
|
+
import InitializeRequestDataSchema from './messages/initialize-request-data-schema.json' assert {type: 'json'}
|
|
18
|
+
import InitializeResponseDataSchema from './messages/initialize-response-data-schema.json' assert {type: 'json'}
|
|
19
|
+
import SudoRequestDataSchema from './messages/sudo-request-data-schema.json' assert {type: 'json'};
|
|
20
|
+
import SudoRequestResponseDataSchema from './messages/sudo-response-data-schema.json' assert {type: 'json'};
|
|
21
21
|
|
|
22
22
|
export {
|
|
23
23
|
ConfigFileSchema,
|