@kubun/protocol 0.2.1 → 0.2.2
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/models/cluster.d.ts +147 -0
- package/lib/models/cluster.d.ts.map +1 -1
- package/lib/models/document.d.ts +434 -0
- package/lib/models/document.d.ts.map +1 -1
- package/lib/models/json-schema.d.ts +157 -0
- package/lib/models/json-schema.d.ts.map +1 -1
- package/lib/models/json-schema.js +38 -1
- package/lib/services/graph.d.ts +566 -6
- package/lib/services/graph.d.ts.map +1 -1
- package/package.json +2 -2
package/lib/models/cluster.d.ts
CHANGED
|
@@ -42,6 +42,11 @@ export declare const validateDocumentModel: import("@enkaku/schema").Validator<{
|
|
|
42
42
|
min?: number | undefined;
|
|
43
43
|
max?: number | undefined;
|
|
44
44
|
type: "number";
|
|
45
|
+
} | {
|
|
46
|
+
default?: string | undefined;
|
|
47
|
+
type: "string";
|
|
48
|
+
const: string;
|
|
49
|
+
title: string;
|
|
45
50
|
} | {
|
|
46
51
|
maxLength?: number | undefined;
|
|
47
52
|
minLength?: number | undefined;
|
|
@@ -55,6 +60,10 @@ export declare const validateDocumentModel: import("@enkaku/schema").Validator<{
|
|
|
55
60
|
enum: string[];
|
|
56
61
|
title: string;
|
|
57
62
|
} | {
|
|
63
|
+
maxLength?: number | undefined;
|
|
64
|
+
minLength?: number | undefined;
|
|
65
|
+
title?: string | undefined;
|
|
66
|
+
default?: string | undefined;
|
|
58
67
|
type: "string";
|
|
59
68
|
format: "date" | "date-time" | "duration" | "time" | "uri";
|
|
60
69
|
} | {
|
|
@@ -112,6 +121,11 @@ export declare const validateDocumentModel: import("@enkaku/schema").Validator<{
|
|
|
112
121
|
min?: number | undefined;
|
|
113
122
|
max?: number | undefined;
|
|
114
123
|
type: "number";
|
|
124
|
+
} | {
|
|
125
|
+
default?: string | undefined;
|
|
126
|
+
type: "string";
|
|
127
|
+
const: string;
|
|
128
|
+
title: string;
|
|
115
129
|
} | {
|
|
116
130
|
maxLength?: number | undefined;
|
|
117
131
|
minLength?: number | undefined;
|
|
@@ -125,6 +139,10 @@ export declare const validateDocumentModel: import("@enkaku/schema").Validator<{
|
|
|
125
139
|
enum: string[];
|
|
126
140
|
title: string;
|
|
127
141
|
} | {
|
|
142
|
+
maxLength?: number | undefined;
|
|
143
|
+
minLength?: number | undefined;
|
|
144
|
+
title?: string | undefined;
|
|
145
|
+
default?: string | undefined;
|
|
128
146
|
type: "string";
|
|
129
147
|
format: "date" | "date-time" | "duration" | "time" | "uri";
|
|
130
148
|
} | {
|
|
@@ -182,6 +200,11 @@ export declare const validateDocumentModel: import("@enkaku/schema").Validator<{
|
|
|
182
200
|
min?: number | undefined;
|
|
183
201
|
max?: number | undefined;
|
|
184
202
|
type: "number";
|
|
203
|
+
} | {
|
|
204
|
+
default?: string | undefined;
|
|
205
|
+
type: "string";
|
|
206
|
+
const: string;
|
|
207
|
+
title: string;
|
|
185
208
|
} | {
|
|
186
209
|
maxLength?: number | undefined;
|
|
187
210
|
minLength?: number | undefined;
|
|
@@ -195,6 +218,10 @@ export declare const validateDocumentModel: import("@enkaku/schema").Validator<{
|
|
|
195
218
|
enum: string[];
|
|
196
219
|
title: string;
|
|
197
220
|
} | {
|
|
221
|
+
maxLength?: number | undefined;
|
|
222
|
+
minLength?: number | undefined;
|
|
223
|
+
title?: string | undefined;
|
|
224
|
+
default?: string | undefined;
|
|
198
225
|
type: "string";
|
|
199
226
|
format: "date" | "date-time" | "duration" | "time" | "uri";
|
|
200
227
|
} | {
|
|
@@ -322,6 +349,25 @@ export declare const clusterModel: {
|
|
|
322
349
|
readonly additionalProperties: false;
|
|
323
350
|
}, {
|
|
324
351
|
readonly anyOf: readonly [{
|
|
352
|
+
readonly type: "object";
|
|
353
|
+
readonly properties: {
|
|
354
|
+
readonly type: {
|
|
355
|
+
readonly type: "string";
|
|
356
|
+
readonly const: "string";
|
|
357
|
+
};
|
|
358
|
+
readonly title: {
|
|
359
|
+
readonly type: "string";
|
|
360
|
+
};
|
|
361
|
+
readonly const: {
|
|
362
|
+
readonly type: "string";
|
|
363
|
+
};
|
|
364
|
+
readonly default: {
|
|
365
|
+
readonly type: "string";
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
readonly required: readonly ["type", "title", "const"];
|
|
369
|
+
readonly additionalProperties: false;
|
|
370
|
+
}, {
|
|
325
371
|
readonly type: "object";
|
|
326
372
|
readonly properties: {
|
|
327
373
|
readonly type: {
|
|
@@ -381,6 +427,18 @@ export declare const clusterModel: {
|
|
|
381
427
|
readonly type: "string";
|
|
382
428
|
readonly enum: readonly ["date", "date-time", "duration", "time", "uri"];
|
|
383
429
|
};
|
|
430
|
+
readonly title: {
|
|
431
|
+
readonly type: "string";
|
|
432
|
+
};
|
|
433
|
+
readonly default: {
|
|
434
|
+
readonly type: "string";
|
|
435
|
+
};
|
|
436
|
+
readonly minLength: {
|
|
437
|
+
readonly type: "integer";
|
|
438
|
+
};
|
|
439
|
+
readonly maxLength: {
|
|
440
|
+
readonly type: "integer";
|
|
441
|
+
};
|
|
384
442
|
};
|
|
385
443
|
readonly required: readonly ["type", "format"];
|
|
386
444
|
readonly additionalProperties: false;
|
|
@@ -596,6 +654,25 @@ export declare const clusterModel: {
|
|
|
596
654
|
readonly additionalProperties: false;
|
|
597
655
|
}, {
|
|
598
656
|
readonly anyOf: readonly [{
|
|
657
|
+
readonly type: "object";
|
|
658
|
+
readonly properties: {
|
|
659
|
+
readonly type: {
|
|
660
|
+
readonly type: "string";
|
|
661
|
+
readonly const: "string";
|
|
662
|
+
};
|
|
663
|
+
readonly title: {
|
|
664
|
+
readonly type: "string";
|
|
665
|
+
};
|
|
666
|
+
readonly const: {
|
|
667
|
+
readonly type: "string";
|
|
668
|
+
};
|
|
669
|
+
readonly default: {
|
|
670
|
+
readonly type: "string";
|
|
671
|
+
};
|
|
672
|
+
};
|
|
673
|
+
readonly required: readonly ["type", "title", "const"];
|
|
674
|
+
readonly additionalProperties: false;
|
|
675
|
+
}, {
|
|
599
676
|
readonly type: "object";
|
|
600
677
|
readonly properties: {
|
|
601
678
|
readonly type: {
|
|
@@ -655,6 +732,18 @@ export declare const clusterModel: {
|
|
|
655
732
|
readonly type: "string";
|
|
656
733
|
readonly enum: readonly ["date", "date-time", "duration", "time", "uri"];
|
|
657
734
|
};
|
|
735
|
+
readonly title: {
|
|
736
|
+
readonly type: "string";
|
|
737
|
+
};
|
|
738
|
+
readonly default: {
|
|
739
|
+
readonly type: "string";
|
|
740
|
+
};
|
|
741
|
+
readonly minLength: {
|
|
742
|
+
readonly type: "integer";
|
|
743
|
+
};
|
|
744
|
+
readonly maxLength: {
|
|
745
|
+
readonly type: "integer";
|
|
746
|
+
};
|
|
658
747
|
};
|
|
659
748
|
readonly required: readonly ["type", "format"];
|
|
660
749
|
readonly additionalProperties: false;
|
|
@@ -876,6 +965,25 @@ export declare const clusterModel: {
|
|
|
876
965
|
readonly additionalProperties: false;
|
|
877
966
|
}, {
|
|
878
967
|
readonly anyOf: readonly [{
|
|
968
|
+
readonly type: "object";
|
|
969
|
+
readonly properties: {
|
|
970
|
+
readonly type: {
|
|
971
|
+
readonly type: "string";
|
|
972
|
+
readonly const: "string";
|
|
973
|
+
};
|
|
974
|
+
readonly title: {
|
|
975
|
+
readonly type: "string";
|
|
976
|
+
};
|
|
977
|
+
readonly const: {
|
|
978
|
+
readonly type: "string";
|
|
979
|
+
};
|
|
980
|
+
readonly default: {
|
|
981
|
+
readonly type: "string";
|
|
982
|
+
};
|
|
983
|
+
};
|
|
984
|
+
readonly required: readonly ["type", "title", "const"];
|
|
985
|
+
readonly additionalProperties: false;
|
|
986
|
+
}, {
|
|
879
987
|
readonly type: "object";
|
|
880
988
|
readonly properties: {
|
|
881
989
|
readonly type: {
|
|
@@ -935,6 +1043,18 @@ export declare const clusterModel: {
|
|
|
935
1043
|
readonly type: "string";
|
|
936
1044
|
readonly enum: readonly ["date", "date-time", "duration", "time", "uri"];
|
|
937
1045
|
};
|
|
1046
|
+
readonly title: {
|
|
1047
|
+
readonly type: "string";
|
|
1048
|
+
};
|
|
1049
|
+
readonly default: {
|
|
1050
|
+
readonly type: "string";
|
|
1051
|
+
};
|
|
1052
|
+
readonly minLength: {
|
|
1053
|
+
readonly type: "integer";
|
|
1054
|
+
};
|
|
1055
|
+
readonly maxLength: {
|
|
1056
|
+
readonly type: "integer";
|
|
1057
|
+
};
|
|
938
1058
|
};
|
|
939
1059
|
readonly required: readonly ["type", "format"];
|
|
940
1060
|
readonly additionalProperties: false;
|
|
@@ -1115,6 +1235,11 @@ export declare const validateClusterModel: import("@enkaku/schema").Validator<{
|
|
|
1115
1235
|
min?: number | undefined;
|
|
1116
1236
|
max?: number | undefined;
|
|
1117
1237
|
type: "number";
|
|
1238
|
+
} | {
|
|
1239
|
+
default?: string | undefined;
|
|
1240
|
+
type: "string";
|
|
1241
|
+
const: string;
|
|
1242
|
+
title: string;
|
|
1118
1243
|
} | {
|
|
1119
1244
|
maxLength?: number | undefined;
|
|
1120
1245
|
minLength?: number | undefined;
|
|
@@ -1128,6 +1253,10 @@ export declare const validateClusterModel: import("@enkaku/schema").Validator<{
|
|
|
1128
1253
|
enum: string[];
|
|
1129
1254
|
title: string;
|
|
1130
1255
|
} | {
|
|
1256
|
+
maxLength?: number | undefined;
|
|
1257
|
+
minLength?: number | undefined;
|
|
1258
|
+
title?: string | undefined;
|
|
1259
|
+
default?: string | undefined;
|
|
1131
1260
|
type: "string";
|
|
1132
1261
|
format: "date" | "date-time" | "duration" | "time" | "uri";
|
|
1133
1262
|
} | {
|
|
@@ -1185,6 +1314,11 @@ export declare const validateClusterModel: import("@enkaku/schema").Validator<{
|
|
|
1185
1314
|
min?: number | undefined;
|
|
1186
1315
|
max?: number | undefined;
|
|
1187
1316
|
type: "number";
|
|
1317
|
+
} | {
|
|
1318
|
+
default?: string | undefined;
|
|
1319
|
+
type: "string";
|
|
1320
|
+
const: string;
|
|
1321
|
+
title: string;
|
|
1188
1322
|
} | {
|
|
1189
1323
|
maxLength?: number | undefined;
|
|
1190
1324
|
minLength?: number | undefined;
|
|
@@ -1198,6 +1332,10 @@ export declare const validateClusterModel: import("@enkaku/schema").Validator<{
|
|
|
1198
1332
|
enum: string[];
|
|
1199
1333
|
title: string;
|
|
1200
1334
|
} | {
|
|
1335
|
+
maxLength?: number | undefined;
|
|
1336
|
+
minLength?: number | undefined;
|
|
1337
|
+
title?: string | undefined;
|
|
1338
|
+
default?: string | undefined;
|
|
1201
1339
|
type: "string";
|
|
1202
1340
|
format: "date" | "date-time" | "duration" | "time" | "uri";
|
|
1203
1341
|
} | {
|
|
@@ -1255,6 +1393,11 @@ export declare const validateClusterModel: import("@enkaku/schema").Validator<{
|
|
|
1255
1393
|
min?: number | undefined;
|
|
1256
1394
|
max?: number | undefined;
|
|
1257
1395
|
type: "number";
|
|
1396
|
+
} | {
|
|
1397
|
+
default?: string | undefined;
|
|
1398
|
+
type: "string";
|
|
1399
|
+
const: string;
|
|
1400
|
+
title: string;
|
|
1258
1401
|
} | {
|
|
1259
1402
|
maxLength?: number | undefined;
|
|
1260
1403
|
minLength?: number | undefined;
|
|
@@ -1268,6 +1411,10 @@ export declare const validateClusterModel: import("@enkaku/schema").Validator<{
|
|
|
1268
1411
|
enum: string[];
|
|
1269
1412
|
title: string;
|
|
1270
1413
|
} | {
|
|
1414
|
+
maxLength?: number | undefined;
|
|
1415
|
+
minLength?: number | undefined;
|
|
1416
|
+
title?: string | undefined;
|
|
1417
|
+
default?: string | undefined;
|
|
1271
1418
|
type: "string";
|
|
1272
1419
|
format: "date" | "date-time" | "duration" | "time" | "uri";
|
|
1273
1420
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.d.ts","sourceRoot":"","sources":["../../src/models/cluster.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAA4C,MAAM,gBAAgB,CAAA;AAC1F,OAAO,EAAE,eAAe,EAAyD,MAAM,WAAW,CAAA;AAClG,OAAO,KAAK,EA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