@kubun/protocol 0.1.0 → 0.2.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 +8 -6
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/models/cluster.d.ts +1274 -3
- package/lib/models/cluster.d.ts.map +1 -1
- package/lib/models/cluster.js +106 -9
- package/lib/models/document.d.ts +442 -247
- package/lib/models/document.d.ts.map +1 -1
- package/lib/models/document.js +12 -14
- package/lib/models/graph.d.ts +3 -2
- package/lib/models/graph.d.ts.map +1 -1
- package/lib/models/graph.js +4 -7
- package/lib/models/json-schema.d.ts +92 -43
- package/lib/models/json-schema.d.ts.map +1 -1
- package/lib/models/json-schema.js +24 -16
- package/lib/models/value.d.ts.map +1 -1
- package/lib/models/value.js +1 -0
- package/lib/services/document.d.ts +86 -0
- package/lib/services/document.d.ts.map +1 -0
- package/lib/services/document.js +50 -0
- package/lib/services/graph.d.ts +4346 -1463
- package/lib/services/graph.d.ts.map +1 -1
- package/lib/services/graph.js +76 -14
- package/package.json +5 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../src/models/document.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../src/models/document.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAU,MAAM,gBAAgB,CAAA;AAKxD,eAAO,MAAM,oBAAoB;;;CAA6D,CAAA;AAE9F,eAAO,MAAM,iBAAiB;;;;;;;;;;;;CAMH,CAAA;AAC3B,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAErE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;CAGJ,CAAA;AAC3B,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,kBAAk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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGN,CAAA;AAC3B,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAE1E,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcL,CAAA;AAC3B,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAExE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaR,CAAA;AAC3B,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE9E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGF,CAAA;AAC3B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAElE,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA"}
|
package/lib/models/document.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { baseObjectModel, referencesRecordModel } from './json-schema.js';
|
|
1
|
+
import { baseObjectModel, nameString, referencesRecordModel } from './json-schema.js';
|
|
2
2
|
import { binaryStringValue, didStringValue } from './value.js';
|
|
3
3
|
export const documentModelVersion = {
|
|
4
4
|
type: 'string',
|
|
@@ -39,9 +39,7 @@ export const documentModelSchema = {
|
|
|
39
39
|
export const documentModelBase = {
|
|
40
40
|
type: 'object',
|
|
41
41
|
properties: {
|
|
42
|
-
name:
|
|
43
|
-
type: 'string'
|
|
44
|
-
},
|
|
42
|
+
name: nameString,
|
|
45
43
|
version: documentModelVersion,
|
|
46
44
|
interfaces: {
|
|
47
45
|
type: 'array',
|
|
@@ -61,13 +59,13 @@ export const documentModelBase = {
|
|
|
61
59
|
],
|
|
62
60
|
additionalProperties: false
|
|
63
61
|
};
|
|
64
|
-
export const
|
|
62
|
+
export const documentModelDefault = {
|
|
65
63
|
type: 'object',
|
|
66
64
|
properties: {
|
|
67
65
|
...documentModelBase.properties,
|
|
68
66
|
behavior: {
|
|
69
67
|
type: 'string',
|
|
70
|
-
const: '
|
|
68
|
+
const: 'default'
|
|
71
69
|
}
|
|
72
70
|
},
|
|
73
71
|
required: [
|
|
@@ -76,13 +74,13 @@ export const documentModelInterface = {
|
|
|
76
74
|
],
|
|
77
75
|
additionalProperties: false
|
|
78
76
|
};
|
|
79
|
-
export const
|
|
77
|
+
export const documentModelInterface = {
|
|
80
78
|
type: 'object',
|
|
81
79
|
properties: {
|
|
82
80
|
...documentModelBase.properties,
|
|
83
81
|
behavior: {
|
|
84
82
|
type: 'string',
|
|
85
|
-
const: '
|
|
83
|
+
const: 'interface'
|
|
86
84
|
}
|
|
87
85
|
},
|
|
88
86
|
required: [
|
|
@@ -91,15 +89,15 @@ export const documentModelList = {
|
|
|
91
89
|
],
|
|
92
90
|
additionalProperties: false
|
|
93
91
|
};
|
|
94
|
-
export const
|
|
92
|
+
export const documentModelUnique = {
|
|
95
93
|
type: 'object',
|
|
96
94
|
properties: {
|
|
97
95
|
...documentModelBase.properties,
|
|
98
96
|
behavior: {
|
|
99
97
|
type: 'string',
|
|
100
|
-
const: '
|
|
98
|
+
const: 'unique'
|
|
101
99
|
},
|
|
102
|
-
|
|
100
|
+
uniqueFields: {
|
|
103
101
|
type: 'array',
|
|
104
102
|
items: {
|
|
105
103
|
type: 'string'
|
|
@@ -109,16 +107,16 @@ export const documentModelSet = {
|
|
|
109
107
|
required: [
|
|
110
108
|
...documentModelBase.required,
|
|
111
109
|
'behavior',
|
|
112
|
-
'
|
|
110
|
+
'uniqueFields'
|
|
113
111
|
],
|
|
114
112
|
additionalProperties: false
|
|
115
113
|
};
|
|
116
114
|
export const documentModel = {
|
|
117
115
|
$id: 'urn:kubun:protocol:model:document',
|
|
118
116
|
anyOf: [
|
|
117
|
+
documentModelDefault,
|
|
119
118
|
documentModelInterface,
|
|
120
|
-
|
|
121
|
-
documentModelSet
|
|
119
|
+
documentModelUnique
|
|
122
120
|
]
|
|
123
121
|
};
|
|
124
122
|
export const documentModelsCluster = {
|
package/lib/models/graph.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type ClusterModel } from './cluster.js';
|
|
2
|
+
import type { DocumentModel, DocumentModelsRecord } from './document.js';
|
|
2
3
|
export type FromClustersParams = {
|
|
3
4
|
aliases?: Record<string, string>;
|
|
4
|
-
clusters: Array<
|
|
5
|
+
clusters: Array<ClusterModel>;
|
|
5
6
|
};
|
|
6
7
|
export type GraphModelParams = {
|
|
7
8
|
aliases?: Record<string, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../src/models/graph.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../src/models/graph.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAiB,MAAM,cAAc,CAAA;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AAExE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,CAAA;CAC9B,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC,MAAM,EAAE,oBAAoB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,MAAM,EAAE,oBAAoB,CAAA;CAC7B,CAAA;AAED,qBAAa,UAAU;;IACrB,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,kBAAkB,GAAG,UAAU;gBAY/C,MAAM,EAAE,gBAAgB;IAKpC,IAAI,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAEpC;IAED,IAAI,MAAM,IAAI,oBAAoB,CAEjC;IAED,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI;IAKjD,MAAM,IAAI,cAAc;CAGzB"}
|
package/lib/models/graph.js
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { verifyCluster } from './cluster.js';
|
|
2
2
|
export class GraphModel {
|
|
3
3
|
static fromClusters(params) {
|
|
4
4
|
const record = {};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const id = new GraphModelID(digestBytes, index);
|
|
9
|
-
record[id.toString()] = model;
|
|
10
|
-
}
|
|
5
|
+
// Verify all clusters and merge their document models into a single record
|
|
6
|
+
for (const clusterRecord of params.clusters.map(verifyCluster)){
|
|
7
|
+
Object.assign(record, clusterRecord);
|
|
11
8
|
}
|
|
12
9
|
return new GraphModel({
|
|
13
10
|
aliases: params.aliases,
|
|
@@ -24,10 +24,10 @@ export declare const integerModel: {
|
|
|
24
24
|
readonly default: {
|
|
25
25
|
readonly type: "integer";
|
|
26
26
|
};
|
|
27
|
-
readonly
|
|
27
|
+
readonly minimum: {
|
|
28
28
|
readonly type: "integer";
|
|
29
29
|
};
|
|
30
|
-
readonly
|
|
30
|
+
readonly maximum: {
|
|
31
31
|
readonly type: "integer";
|
|
32
32
|
};
|
|
33
33
|
};
|
|
@@ -70,10 +70,12 @@ export declare const stringEnumModel: {
|
|
|
70
70
|
readonly type: "array";
|
|
71
71
|
readonly items: {
|
|
72
72
|
readonly type: "string";
|
|
73
|
+
readonly pattern: "^[A-Z]+[A-Z_]+[A-Z]$";
|
|
73
74
|
};
|
|
74
75
|
};
|
|
75
76
|
readonly default: {
|
|
76
77
|
readonly type: "string";
|
|
78
|
+
readonly pattern: "^[A-Z]+[A-Z_]+[A-Z]$";
|
|
77
79
|
};
|
|
78
80
|
};
|
|
79
81
|
readonly required: readonly ["type", "title", "enum"];
|
|
@@ -168,10 +170,12 @@ export declare const stringModel: {
|
|
|
168
170
|
readonly type: "array";
|
|
169
171
|
readonly items: {
|
|
170
172
|
readonly type: "string";
|
|
173
|
+
readonly pattern: "^[A-Z]+[A-Z_]+[A-Z]$";
|
|
171
174
|
};
|
|
172
175
|
};
|
|
173
176
|
readonly default: {
|
|
174
177
|
readonly type: "string";
|
|
178
|
+
readonly pattern: "^[A-Z]+[A-Z_]+[A-Z]$";
|
|
175
179
|
};
|
|
176
180
|
};
|
|
177
181
|
readonly required: readonly ["type", "title", "enum"];
|
|
@@ -217,10 +221,10 @@ export declare const scalarModel: {
|
|
|
217
221
|
readonly default: {
|
|
218
222
|
readonly type: "integer";
|
|
219
223
|
};
|
|
220
|
-
readonly
|
|
224
|
+
readonly minimum: {
|
|
221
225
|
readonly type: "integer";
|
|
222
226
|
};
|
|
223
|
-
readonly
|
|
227
|
+
readonly maximum: {
|
|
224
228
|
readonly type: "integer";
|
|
225
229
|
};
|
|
226
230
|
};
|
|
@@ -285,10 +289,12 @@ export declare const scalarModel: {
|
|
|
285
289
|
readonly type: "array";
|
|
286
290
|
readonly items: {
|
|
287
291
|
readonly type: "string";
|
|
292
|
+
readonly pattern: "^[A-Z]+[A-Z_]+[A-Z]$";
|
|
288
293
|
};
|
|
289
294
|
};
|
|
290
295
|
readonly default: {
|
|
291
296
|
readonly type: "string";
|
|
297
|
+
readonly pattern: "^[A-Z]+[A-Z_]+[A-Z]$";
|
|
292
298
|
};
|
|
293
299
|
};
|
|
294
300
|
readonly required: readonly ["type", "title", "enum"];
|
|
@@ -322,6 +328,10 @@ export declare const refModel: {
|
|
|
322
328
|
readonly additionalProperties: false;
|
|
323
329
|
};
|
|
324
330
|
export type RefModel = FromSchema<typeof refModel>;
|
|
331
|
+
export declare const nameString: {
|
|
332
|
+
readonly type: "string";
|
|
333
|
+
readonly pattern: "^[A-Z]+[A-Za-z0-9]+$";
|
|
334
|
+
};
|
|
325
335
|
export declare const arrayModel: {
|
|
326
336
|
readonly type: "object";
|
|
327
337
|
readonly properties: {
|
|
@@ -331,6 +341,7 @@ export declare const arrayModel: {
|
|
|
331
341
|
};
|
|
332
342
|
readonly title: {
|
|
333
343
|
readonly type: "string";
|
|
344
|
+
readonly pattern: "^[A-Z]+[A-Za-z0-9]+$";
|
|
334
345
|
};
|
|
335
346
|
readonly items: {
|
|
336
347
|
readonly type: "object";
|
|
@@ -342,6 +353,9 @@ export declare const arrayModel: {
|
|
|
342
353
|
readonly required: readonly ["$ref"];
|
|
343
354
|
readonly additionalProperties: false;
|
|
344
355
|
};
|
|
356
|
+
readonly uniqueItems: {
|
|
357
|
+
readonly type: "boolean";
|
|
358
|
+
};
|
|
345
359
|
};
|
|
346
360
|
readonly required: readonly ["type", "title", "items"];
|
|
347
361
|
readonly additionalProperties: false;
|
|
@@ -356,16 +370,19 @@ export declare const baseObjectModel: {
|
|
|
356
370
|
};
|
|
357
371
|
readonly properties: {
|
|
358
372
|
readonly type: "object";
|
|
359
|
-
readonly
|
|
360
|
-
readonly
|
|
361
|
-
|
|
362
|
-
readonly
|
|
363
|
-
readonly
|
|
373
|
+
readonly patternProperties: {
|
|
374
|
+
readonly '^[a-z]+[A-Za-z0-9]+$': {
|
|
375
|
+
readonly type: "object";
|
|
376
|
+
readonly properties: {
|
|
377
|
+
readonly $ref: {
|
|
378
|
+
readonly type: "string";
|
|
379
|
+
};
|
|
364
380
|
};
|
|
381
|
+
readonly required: readonly ["$ref"];
|
|
382
|
+
readonly additionalProperties: false;
|
|
365
383
|
};
|
|
366
|
-
readonly required: readonly ["$ref"];
|
|
367
|
-
readonly additionalProperties: false;
|
|
368
384
|
};
|
|
385
|
+
readonly additionalProperties: false;
|
|
369
386
|
};
|
|
370
387
|
readonly required: {
|
|
371
388
|
readonly type: "array";
|
|
@@ -385,6 +402,7 @@ export declare const objectModel: {
|
|
|
385
402
|
readonly properties: {
|
|
386
403
|
readonly title: {
|
|
387
404
|
readonly type: "string";
|
|
405
|
+
readonly pattern: "^[A-Z]+[A-Za-z0-9]+$";
|
|
388
406
|
};
|
|
389
407
|
readonly type: {
|
|
390
408
|
readonly type: "string";
|
|
@@ -392,16 +410,19 @@ export declare const objectModel: {
|
|
|
392
410
|
};
|
|
393
411
|
readonly properties: {
|
|
394
412
|
readonly type: "object";
|
|
395
|
-
readonly
|
|
396
|
-
readonly
|
|
397
|
-
|
|
398
|
-
readonly
|
|
399
|
-
readonly
|
|
413
|
+
readonly patternProperties: {
|
|
414
|
+
readonly '^[a-z]+[A-Za-z0-9]+$': {
|
|
415
|
+
readonly type: "object";
|
|
416
|
+
readonly properties: {
|
|
417
|
+
readonly $ref: {
|
|
418
|
+
readonly type: "string";
|
|
419
|
+
};
|
|
400
420
|
};
|
|
421
|
+
readonly required: readonly ["$ref"];
|
|
422
|
+
readonly additionalProperties: false;
|
|
401
423
|
};
|
|
402
|
-
readonly required: readonly ["$ref"];
|
|
403
|
-
readonly additionalProperties: false;
|
|
404
424
|
};
|
|
425
|
+
readonly additionalProperties: false;
|
|
405
426
|
};
|
|
406
427
|
readonly required: {
|
|
407
428
|
readonly type: "array";
|
|
@@ -427,6 +448,7 @@ export declare const shapeModel: {
|
|
|
427
448
|
};
|
|
428
449
|
readonly title: {
|
|
429
450
|
readonly type: "string";
|
|
451
|
+
readonly pattern: "^[A-Z]+[A-Za-z0-9]+$";
|
|
430
452
|
};
|
|
431
453
|
readonly items: {
|
|
432
454
|
readonly type: "object";
|
|
@@ -438,6 +460,9 @@ export declare const shapeModel: {
|
|
|
438
460
|
readonly required: readonly ["$ref"];
|
|
439
461
|
readonly additionalProperties: false;
|
|
440
462
|
};
|
|
463
|
+
readonly uniqueItems: {
|
|
464
|
+
readonly type: "boolean";
|
|
465
|
+
};
|
|
441
466
|
};
|
|
442
467
|
readonly required: readonly ["type", "title", "items"];
|
|
443
468
|
readonly additionalProperties: false;
|
|
@@ -446,6 +471,7 @@ export declare const shapeModel: {
|
|
|
446
471
|
readonly properties: {
|
|
447
472
|
readonly title: {
|
|
448
473
|
readonly type: "string";
|
|
474
|
+
readonly pattern: "^[A-Z]+[A-Za-z0-9]+$";
|
|
449
475
|
};
|
|
450
476
|
readonly type: {
|
|
451
477
|
readonly type: "string";
|
|
@@ -453,16 +479,19 @@ export declare const shapeModel: {
|
|
|
453
479
|
};
|
|
454
480
|
readonly properties: {
|
|
455
481
|
readonly type: "object";
|
|
456
|
-
readonly
|
|
457
|
-
readonly
|
|
458
|
-
|
|
459
|
-
readonly
|
|
460
|
-
readonly
|
|
482
|
+
readonly patternProperties: {
|
|
483
|
+
readonly '^[a-z]+[A-Za-z0-9]+$': {
|
|
484
|
+
readonly type: "object";
|
|
485
|
+
readonly properties: {
|
|
486
|
+
readonly $ref: {
|
|
487
|
+
readonly type: "string";
|
|
488
|
+
};
|
|
461
489
|
};
|
|
490
|
+
readonly required: readonly ["$ref"];
|
|
491
|
+
readonly additionalProperties: false;
|
|
462
492
|
};
|
|
463
|
-
readonly required: readonly ["$ref"];
|
|
464
|
-
readonly additionalProperties: false;
|
|
465
493
|
};
|
|
494
|
+
readonly additionalProperties: false;
|
|
466
495
|
};
|
|
467
496
|
readonly required: {
|
|
468
497
|
readonly type: "array";
|
|
@@ -504,10 +533,10 @@ export declare const typeModel: {
|
|
|
504
533
|
readonly default: {
|
|
505
534
|
readonly type: "integer";
|
|
506
535
|
};
|
|
507
|
-
readonly
|
|
536
|
+
readonly minimum: {
|
|
508
537
|
readonly type: "integer";
|
|
509
538
|
};
|
|
510
|
-
readonly
|
|
539
|
+
readonly maximum: {
|
|
511
540
|
readonly type: "integer";
|
|
512
541
|
};
|
|
513
542
|
};
|
|
@@ -572,10 +601,12 @@ export declare const typeModel: {
|
|
|
572
601
|
readonly type: "array";
|
|
573
602
|
readonly items: {
|
|
574
603
|
readonly type: "string";
|
|
604
|
+
readonly pattern: "^[A-Z]+[A-Z_]+[A-Z]$";
|
|
575
605
|
};
|
|
576
606
|
};
|
|
577
607
|
readonly default: {
|
|
578
608
|
readonly type: "string";
|
|
609
|
+
readonly pattern: "^[A-Z]+[A-Z_]+[A-Z]$";
|
|
579
610
|
};
|
|
580
611
|
};
|
|
581
612
|
readonly required: readonly ["type", "title", "enum"];
|
|
@@ -606,6 +637,7 @@ export declare const typeModel: {
|
|
|
606
637
|
};
|
|
607
638
|
readonly title: {
|
|
608
639
|
readonly type: "string";
|
|
640
|
+
readonly pattern: "^[A-Z]+[A-Za-z0-9]+$";
|
|
609
641
|
};
|
|
610
642
|
readonly items: {
|
|
611
643
|
readonly type: "object";
|
|
@@ -617,6 +649,9 @@ export declare const typeModel: {
|
|
|
617
649
|
readonly required: readonly ["$ref"];
|
|
618
650
|
readonly additionalProperties: false;
|
|
619
651
|
};
|
|
652
|
+
readonly uniqueItems: {
|
|
653
|
+
readonly type: "boolean";
|
|
654
|
+
};
|
|
620
655
|
};
|
|
621
656
|
readonly required: readonly ["type", "title", "items"];
|
|
622
657
|
readonly additionalProperties: false;
|
|
@@ -625,6 +660,7 @@ export declare const typeModel: {
|
|
|
625
660
|
readonly properties: {
|
|
626
661
|
readonly title: {
|
|
627
662
|
readonly type: "string";
|
|
663
|
+
readonly pattern: "^[A-Z]+[A-Za-z0-9]+$";
|
|
628
664
|
};
|
|
629
665
|
readonly type: {
|
|
630
666
|
readonly type: "string";
|
|
@@ -632,16 +668,19 @@ export declare const typeModel: {
|
|
|
632
668
|
};
|
|
633
669
|
readonly properties: {
|
|
634
670
|
readonly type: "object";
|
|
635
|
-
readonly
|
|
636
|
-
readonly
|
|
637
|
-
|
|
638
|
-
readonly
|
|
639
|
-
readonly
|
|
671
|
+
readonly patternProperties: {
|
|
672
|
+
readonly '^[a-z]+[A-Za-z0-9]+$': {
|
|
673
|
+
readonly type: "object";
|
|
674
|
+
readonly properties: {
|
|
675
|
+
readonly $ref: {
|
|
676
|
+
readonly type: "string";
|
|
677
|
+
};
|
|
640
678
|
};
|
|
679
|
+
readonly required: readonly ["$ref"];
|
|
680
|
+
readonly additionalProperties: false;
|
|
641
681
|
};
|
|
642
|
-
readonly required: readonly ["$ref"];
|
|
643
|
-
readonly additionalProperties: false;
|
|
644
682
|
};
|
|
683
|
+
readonly additionalProperties: false;
|
|
645
684
|
};
|
|
646
685
|
readonly required: {
|
|
647
686
|
readonly type: "array";
|
|
@@ -686,10 +725,10 @@ export declare const referencesRecordModel: {
|
|
|
686
725
|
readonly default: {
|
|
687
726
|
readonly type: "integer";
|
|
688
727
|
};
|
|
689
|
-
readonly
|
|
728
|
+
readonly minimum: {
|
|
690
729
|
readonly type: "integer";
|
|
691
730
|
};
|
|
692
|
-
readonly
|
|
731
|
+
readonly maximum: {
|
|
693
732
|
readonly type: "integer";
|
|
694
733
|
};
|
|
695
734
|
};
|
|
@@ -754,10 +793,12 @@ export declare const referencesRecordModel: {
|
|
|
754
793
|
readonly type: "array";
|
|
755
794
|
readonly items: {
|
|
756
795
|
readonly type: "string";
|
|
796
|
+
readonly pattern: "^[A-Z]+[A-Z_]+[A-Z]$";
|
|
757
797
|
};
|
|
758
798
|
};
|
|
759
799
|
readonly default: {
|
|
760
800
|
readonly type: "string";
|
|
801
|
+
readonly pattern: "^[A-Z]+[A-Z_]+[A-Z]$";
|
|
761
802
|
};
|
|
762
803
|
};
|
|
763
804
|
readonly required: readonly ["type", "title", "enum"];
|
|
@@ -788,6 +829,7 @@ export declare const referencesRecordModel: {
|
|
|
788
829
|
};
|
|
789
830
|
readonly title: {
|
|
790
831
|
readonly type: "string";
|
|
832
|
+
readonly pattern: "^[A-Z]+[A-Za-z0-9]+$";
|
|
791
833
|
};
|
|
792
834
|
readonly items: {
|
|
793
835
|
readonly type: "object";
|
|
@@ -799,6 +841,9 @@ export declare const referencesRecordModel: {
|
|
|
799
841
|
readonly required: readonly ["$ref"];
|
|
800
842
|
readonly additionalProperties: false;
|
|
801
843
|
};
|
|
844
|
+
readonly uniqueItems: {
|
|
845
|
+
readonly type: "boolean";
|
|
846
|
+
};
|
|
802
847
|
};
|
|
803
848
|
readonly required: readonly ["type", "title", "items"];
|
|
804
849
|
readonly additionalProperties: false;
|
|
@@ -807,6 +852,7 @@ export declare const referencesRecordModel: {
|
|
|
807
852
|
readonly properties: {
|
|
808
853
|
readonly title: {
|
|
809
854
|
readonly type: "string";
|
|
855
|
+
readonly pattern: "^[A-Z]+[A-Za-z0-9]+$";
|
|
810
856
|
};
|
|
811
857
|
readonly type: {
|
|
812
858
|
readonly type: "string";
|
|
@@ -814,16 +860,19 @@ export declare const referencesRecordModel: {
|
|
|
814
860
|
};
|
|
815
861
|
readonly properties: {
|
|
816
862
|
readonly type: "object";
|
|
817
|
-
readonly
|
|
818
|
-
readonly
|
|
819
|
-
|
|
820
|
-
readonly
|
|
821
|
-
readonly
|
|
863
|
+
readonly patternProperties: {
|
|
864
|
+
readonly '^[a-z]+[A-Za-z0-9]+$': {
|
|
865
|
+
readonly type: "object";
|
|
866
|
+
readonly properties: {
|
|
867
|
+
readonly $ref: {
|
|
868
|
+
readonly type: "string";
|
|
869
|
+
};
|
|
822
870
|
};
|
|
871
|
+
readonly required: readonly ["$ref"];
|
|
872
|
+
readonly additionalProperties: false;
|
|
823
873
|
};
|
|
824
|
-
readonly required: readonly ["$ref"];
|
|
825
|
-
readonly additionalProperties: false;
|
|
826
874
|
};
|
|
875
|
+
readonly additionalProperties: false;
|
|
827
876
|
};
|
|
828
877
|
readonly required: {
|
|
829
878
|
readonly type: "array";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json-schema.d.ts","sourceRoot":"","sources":["../../src/models/json-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,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;;;;;;;;;;;;;;;CAEI,CAAA;AAC3B,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAA;AAEtD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEK,CAAA;AAC3B,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAA;AAEpD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGP,CAAA;AAC3B,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
|
|
@@ -24,10 +24,10 @@ export const integerModel = {
|
|
|
24
24
|
default: {
|
|
25
25
|
type: 'integer'
|
|
26
26
|
},
|
|
27
|
-
|
|
27
|
+
minimum: {
|
|
28
28
|
type: 'integer'
|
|
29
29
|
},
|
|
30
|
-
|
|
30
|
+
maximum: {
|
|
31
31
|
type: 'integer'
|
|
32
32
|
}
|
|
33
33
|
},
|
|
@@ -58,6 +58,11 @@ export const numberModel = {
|
|
|
58
58
|
],
|
|
59
59
|
additionalProperties: false
|
|
60
60
|
};
|
|
61
|
+
// Uppercase characters and "_" to match GraphQL enum
|
|
62
|
+
const enumString = {
|
|
63
|
+
type: 'string',
|
|
64
|
+
pattern: '^[A-Z]+[A-Z_]+[A-Z]$'
|
|
65
|
+
};
|
|
61
66
|
export const stringEnumModel = {
|
|
62
67
|
type: 'object',
|
|
63
68
|
properties: {
|
|
@@ -70,13 +75,9 @@ export const stringEnumModel = {
|
|
|
70
75
|
},
|
|
71
76
|
enum: {
|
|
72
77
|
type: 'array',
|
|
73
|
-
items:
|
|
74
|
-
type: 'string'
|
|
75
|
-
}
|
|
78
|
+
items: enumString
|
|
76
79
|
},
|
|
77
|
-
default:
|
|
78
|
-
type: 'string'
|
|
79
|
-
}
|
|
80
|
+
default: enumString
|
|
80
81
|
},
|
|
81
82
|
required: [
|
|
82
83
|
'type',
|
|
@@ -165,6 +166,11 @@ export const refModel = {
|
|
|
165
166
|
],
|
|
166
167
|
additionalProperties: false
|
|
167
168
|
};
|
|
169
|
+
// Valid GraphQL name
|
|
170
|
+
export const nameString = {
|
|
171
|
+
type: 'string',
|
|
172
|
+
pattern: '^[A-Z]+[A-Za-z0-9]+$'
|
|
173
|
+
};
|
|
168
174
|
export const arrayModel = {
|
|
169
175
|
type: 'object',
|
|
170
176
|
properties: {
|
|
@@ -172,10 +178,11 @@ export const arrayModel = {
|
|
|
172
178
|
type: 'string',
|
|
173
179
|
const: 'array'
|
|
174
180
|
},
|
|
175
|
-
title:
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
181
|
+
title: nameString,
|
|
182
|
+
items: refModel,
|
|
183
|
+
uniqueItems: {
|
|
184
|
+
type: 'boolean'
|
|
185
|
+
}
|
|
179
186
|
},
|
|
180
187
|
required: [
|
|
181
188
|
'type',
|
|
@@ -193,7 +200,10 @@ export const baseObjectModel = {
|
|
|
193
200
|
},
|
|
194
201
|
properties: {
|
|
195
202
|
type: 'object',
|
|
196
|
-
|
|
203
|
+
patternProperties: {
|
|
204
|
+
'^[a-z]+[A-Za-z0-9]+$': refModel
|
|
205
|
+
},
|
|
206
|
+
additionalProperties: false
|
|
197
207
|
},
|
|
198
208
|
required: {
|
|
199
209
|
type: 'array',
|
|
@@ -217,9 +227,7 @@ export const objectModel = {
|
|
|
217
227
|
type: 'object',
|
|
218
228
|
properties: {
|
|
219
229
|
...baseObjectModel.properties,
|
|
220
|
-
title:
|
|
221
|
-
type: 'string'
|
|
222
|
-
}
|
|
230
|
+
title: nameString
|
|
223
231
|
},
|
|
224
232
|
required: [
|
|
225
233
|
...baseObjectModel.required,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value.d.ts","sourceRoot":"","sources":["../../src/models/value.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;
|
|
1
|
+
{"version":3,"file":"value.d.ts","sourceRoot":"","sources":["../../src/models/value.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;CAKH,CAAA;AAE3B,eAAO,MAAM,cAAc;;;;CAIA,CAAA;AAE3B,eAAO,MAAM,oBAAoB;;;;CAIN,CAAA"}
|