@redocly/config 0.39.0 → 0.40.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/default-theme-config-schema.d.ts +304 -0
- package/lib/default-theme-config-schema.js +4 -0
- package/lib/entities-catalog-entity-file-schema.d.ts +87 -0
- package/lib/entities-catalog-entity-file-schema.js +9 -0
- package/lib/graphql-config-schema.d.ts +52 -0
- package/lib/graphql-config-schema.js +31 -0
- package/lib/product-override-schema.d.ts +104 -0
- package/lib/root-config-schema.d.ts +2229 -34
- package/lib/root-config-schema.js +5 -1
- package/lib/types/catalog-entity-types.d.ts +2 -0
- package/lib/types/portal-shared-types.d.ts +1 -1
- package/lib-esm/default-theme-config-schema.d.ts +304 -0
- package/lib-esm/default-theme-config-schema.js +4 -0
- package/lib-esm/entities-catalog-entity-file-schema.d.ts +87 -0
- package/lib-esm/entities-catalog-entity-file-schema.js +9 -0
- package/lib-esm/graphql-config-schema.d.ts +52 -0
- package/lib-esm/graphql-config-schema.js +31 -0
- package/lib-esm/product-override-schema.d.ts +104 -0
- package/lib-esm/root-config-schema.d.ts +2229 -34
- package/lib-esm/root-config-schema.js +5 -1
- package/lib-esm/types/catalog-entity-types.d.ts +2 -0
- package/lib-esm/types/portal-shared-types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3457,6 +3457,58 @@ export declare const themeConfigSchema: {
|
|
|
3457
3457
|
readonly showBuiltInDirectives: {
|
|
3458
3458
|
readonly type: "boolean";
|
|
3459
3459
|
};
|
|
3460
|
+
readonly info: {
|
|
3461
|
+
readonly type: "object";
|
|
3462
|
+
readonly properties: {
|
|
3463
|
+
readonly title: {
|
|
3464
|
+
readonly type: "string";
|
|
3465
|
+
};
|
|
3466
|
+
readonly version: {
|
|
3467
|
+
readonly type: "string";
|
|
3468
|
+
};
|
|
3469
|
+
readonly description: {
|
|
3470
|
+
readonly type: "string";
|
|
3471
|
+
};
|
|
3472
|
+
readonly termsOfService: {
|
|
3473
|
+
readonly type: "string";
|
|
3474
|
+
readonly format: "uri";
|
|
3475
|
+
};
|
|
3476
|
+
readonly contact: {
|
|
3477
|
+
readonly type: "object";
|
|
3478
|
+
readonly properties: {
|
|
3479
|
+
readonly name: {
|
|
3480
|
+
readonly type: "string";
|
|
3481
|
+
};
|
|
3482
|
+
readonly url: {
|
|
3483
|
+
readonly type: "string";
|
|
3484
|
+
readonly format: "uri";
|
|
3485
|
+
};
|
|
3486
|
+
readonly email: {
|
|
3487
|
+
readonly type: "string";
|
|
3488
|
+
readonly format: "email";
|
|
3489
|
+
};
|
|
3490
|
+
};
|
|
3491
|
+
readonly additionalProperties: false;
|
|
3492
|
+
};
|
|
3493
|
+
readonly license: {
|
|
3494
|
+
readonly type: "object";
|
|
3495
|
+
readonly properties: {
|
|
3496
|
+
readonly name: {
|
|
3497
|
+
readonly type: "string";
|
|
3498
|
+
};
|
|
3499
|
+
readonly url: {
|
|
3500
|
+
readonly type: "string";
|
|
3501
|
+
readonly format: "uri";
|
|
3502
|
+
};
|
|
3503
|
+
readonly identifier: {
|
|
3504
|
+
readonly type: "string";
|
|
3505
|
+
};
|
|
3506
|
+
};
|
|
3507
|
+
readonly additionalProperties: false;
|
|
3508
|
+
};
|
|
3509
|
+
};
|
|
3510
|
+
readonly additionalProperties: false;
|
|
3511
|
+
};
|
|
3460
3512
|
};
|
|
3461
3513
|
readonly additionalProperties: false;
|
|
3462
3514
|
};
|
|
@@ -5285,6 +5337,9 @@ export declare const themeConfigSchema: {
|
|
|
5285
5337
|
};
|
|
5286
5338
|
};
|
|
5287
5339
|
};
|
|
5340
|
+
/**
|
|
5341
|
+
* @deprecated Should use `scorecardClassic` instead
|
|
5342
|
+
*/
|
|
5288
5343
|
readonly scorecard: {
|
|
5289
5344
|
readonly type: "object";
|
|
5290
5345
|
readonly additionalProperties: true;
|
|
@@ -5545,6 +5600,255 @@ export declare const themeConfigSchema: {
|
|
|
5545
5600
|
};
|
|
5546
5601
|
};
|
|
5547
5602
|
};
|
|
5603
|
+
readonly scorecardClassic: {
|
|
5604
|
+
readonly type: "object";
|
|
5605
|
+
readonly additionalProperties: true;
|
|
5606
|
+
readonly required: readonly [];
|
|
5607
|
+
readonly properties: {
|
|
5608
|
+
readonly ignoreNonCompliant: {
|
|
5609
|
+
readonly type: "boolean";
|
|
5610
|
+
readonly default: false;
|
|
5611
|
+
};
|
|
5612
|
+
readonly teamMetadataProperty: {
|
|
5613
|
+
readonly type: "object";
|
|
5614
|
+
readonly properties: {
|
|
5615
|
+
readonly property: {
|
|
5616
|
+
readonly type: "string";
|
|
5617
|
+
};
|
|
5618
|
+
readonly label: {
|
|
5619
|
+
readonly type: "string";
|
|
5620
|
+
};
|
|
5621
|
+
readonly default: {
|
|
5622
|
+
readonly type: "string";
|
|
5623
|
+
};
|
|
5624
|
+
};
|
|
5625
|
+
};
|
|
5626
|
+
readonly levels: {
|
|
5627
|
+
readonly type: "array";
|
|
5628
|
+
readonly items: {
|
|
5629
|
+
readonly type: "object";
|
|
5630
|
+
readonly required: readonly ["name"];
|
|
5631
|
+
readonly properties: {
|
|
5632
|
+
readonly decorators: {
|
|
5633
|
+
readonly type: "object";
|
|
5634
|
+
readonly additionalProperties: true;
|
|
5635
|
+
};
|
|
5636
|
+
readonly oas2Decorators: {
|
|
5637
|
+
readonly type: "object";
|
|
5638
|
+
readonly additionalProperties: true;
|
|
5639
|
+
};
|
|
5640
|
+
readonly oas3_0Decorators: {
|
|
5641
|
+
readonly type: "object";
|
|
5642
|
+
readonly additionalProperties: true;
|
|
5643
|
+
};
|
|
5644
|
+
readonly oas3_1Decorators: {
|
|
5645
|
+
readonly type: "object";
|
|
5646
|
+
readonly additionalProperties: true;
|
|
5647
|
+
};
|
|
5648
|
+
readonly oas3_2Decorators: {
|
|
5649
|
+
readonly type: "object";
|
|
5650
|
+
readonly additionalProperties: true;
|
|
5651
|
+
};
|
|
5652
|
+
readonly async2Decorators: {
|
|
5653
|
+
readonly type: "object";
|
|
5654
|
+
readonly additionalProperties: true;
|
|
5655
|
+
};
|
|
5656
|
+
readonly async3Decorators: {
|
|
5657
|
+
readonly type: "object";
|
|
5658
|
+
readonly additionalProperties: true;
|
|
5659
|
+
};
|
|
5660
|
+
readonly arazzo1Decorators: {
|
|
5661
|
+
readonly type: "object";
|
|
5662
|
+
readonly additionalProperties: true;
|
|
5663
|
+
};
|
|
5664
|
+
readonly overlay1Decorators: {
|
|
5665
|
+
readonly type: "object";
|
|
5666
|
+
readonly additionalProperties: true;
|
|
5667
|
+
};
|
|
5668
|
+
readonly preprocessors: {
|
|
5669
|
+
readonly type: "object";
|
|
5670
|
+
readonly additionalProperties: true;
|
|
5671
|
+
};
|
|
5672
|
+
readonly oas2Preprocessors: {
|
|
5673
|
+
readonly type: "object";
|
|
5674
|
+
readonly additionalProperties: true;
|
|
5675
|
+
};
|
|
5676
|
+
readonly oas3_0Preprocessors: {
|
|
5677
|
+
readonly type: "object";
|
|
5678
|
+
readonly additionalProperties: true;
|
|
5679
|
+
};
|
|
5680
|
+
readonly oas3_1Preprocessors: {
|
|
5681
|
+
readonly type: "object";
|
|
5682
|
+
readonly additionalProperties: true;
|
|
5683
|
+
};
|
|
5684
|
+
readonly oas3_2Preprocessors: {
|
|
5685
|
+
readonly type: "object";
|
|
5686
|
+
readonly additionalProperties: true;
|
|
5687
|
+
};
|
|
5688
|
+
readonly async2Preprocessors: {
|
|
5689
|
+
readonly type: "object";
|
|
5690
|
+
readonly additionalProperties: true;
|
|
5691
|
+
};
|
|
5692
|
+
readonly async3Preprocessors: {
|
|
5693
|
+
readonly type: "object";
|
|
5694
|
+
readonly additionalProperties: true;
|
|
5695
|
+
};
|
|
5696
|
+
readonly arazzo1Preprocessors: {
|
|
5697
|
+
readonly type: "object";
|
|
5698
|
+
readonly additionalProperties: true;
|
|
5699
|
+
};
|
|
5700
|
+
readonly overlay1Preprocessors: {
|
|
5701
|
+
readonly type: "object";
|
|
5702
|
+
readonly additionalProperties: true;
|
|
5703
|
+
};
|
|
5704
|
+
readonly rules: {
|
|
5705
|
+
readonly type: "object";
|
|
5706
|
+
readonly additionalProperties: {
|
|
5707
|
+
readonly oneOf: readonly [{
|
|
5708
|
+
readonly type: "string";
|
|
5709
|
+
}, {
|
|
5710
|
+
readonly type: "object";
|
|
5711
|
+
}];
|
|
5712
|
+
};
|
|
5713
|
+
};
|
|
5714
|
+
readonly oas2Rules: {
|
|
5715
|
+
readonly type: "object";
|
|
5716
|
+
readonly additionalProperties: {
|
|
5717
|
+
readonly oneOf: readonly [{
|
|
5718
|
+
readonly type: "string";
|
|
5719
|
+
}, {
|
|
5720
|
+
readonly type: "object";
|
|
5721
|
+
}];
|
|
5722
|
+
};
|
|
5723
|
+
};
|
|
5724
|
+
readonly oas3_0Rules: {
|
|
5725
|
+
readonly type: "object";
|
|
5726
|
+
readonly additionalProperties: {
|
|
5727
|
+
readonly oneOf: readonly [{
|
|
5728
|
+
readonly type: "string";
|
|
5729
|
+
}, {
|
|
5730
|
+
readonly type: "object";
|
|
5731
|
+
}];
|
|
5732
|
+
};
|
|
5733
|
+
};
|
|
5734
|
+
readonly oas3_1Rules: {
|
|
5735
|
+
readonly type: "object";
|
|
5736
|
+
readonly additionalProperties: {
|
|
5737
|
+
readonly oneOf: readonly [{
|
|
5738
|
+
readonly type: "string";
|
|
5739
|
+
}, {
|
|
5740
|
+
readonly type: "object";
|
|
5741
|
+
}];
|
|
5742
|
+
};
|
|
5743
|
+
};
|
|
5744
|
+
readonly oas3_2Rules: {
|
|
5745
|
+
readonly type: "object";
|
|
5746
|
+
readonly additionalProperties: {
|
|
5747
|
+
readonly oneOf: readonly [{
|
|
5748
|
+
readonly type: "string";
|
|
5749
|
+
}, {
|
|
5750
|
+
readonly type: "object";
|
|
5751
|
+
}];
|
|
5752
|
+
};
|
|
5753
|
+
};
|
|
5754
|
+
readonly async2Rules: {
|
|
5755
|
+
readonly type: "object";
|
|
5756
|
+
readonly additionalProperties: {
|
|
5757
|
+
readonly oneOf: readonly [{
|
|
5758
|
+
readonly type: "string";
|
|
5759
|
+
}, {
|
|
5760
|
+
readonly type: "object";
|
|
5761
|
+
}];
|
|
5762
|
+
};
|
|
5763
|
+
};
|
|
5764
|
+
readonly async3Rules: {
|
|
5765
|
+
readonly type: "object";
|
|
5766
|
+
readonly additionalProperties: {
|
|
5767
|
+
readonly oneOf: readonly [{
|
|
5768
|
+
readonly type: "string";
|
|
5769
|
+
}, {
|
|
5770
|
+
readonly type: "object";
|
|
5771
|
+
}];
|
|
5772
|
+
};
|
|
5773
|
+
};
|
|
5774
|
+
readonly arazzo1Rules: {
|
|
5775
|
+
readonly type: "object";
|
|
5776
|
+
readonly additionalProperties: {
|
|
5777
|
+
readonly oneOf: readonly [{
|
|
5778
|
+
readonly type: "string";
|
|
5779
|
+
}, {
|
|
5780
|
+
readonly type: "object";
|
|
5781
|
+
}];
|
|
5782
|
+
};
|
|
5783
|
+
};
|
|
5784
|
+
readonly overlay1Rules: {
|
|
5785
|
+
readonly type: "object";
|
|
5786
|
+
readonly additionalProperties: {
|
|
5787
|
+
readonly oneOf: readonly [{
|
|
5788
|
+
readonly type: "string";
|
|
5789
|
+
}, {
|
|
5790
|
+
readonly type: "object";
|
|
5791
|
+
}];
|
|
5792
|
+
};
|
|
5793
|
+
};
|
|
5794
|
+
readonly name: {
|
|
5795
|
+
readonly type: "string";
|
|
5796
|
+
};
|
|
5797
|
+
readonly color: {
|
|
5798
|
+
readonly type: "string";
|
|
5799
|
+
};
|
|
5800
|
+
readonly extends: {
|
|
5801
|
+
readonly type: "array";
|
|
5802
|
+
readonly items: {
|
|
5803
|
+
readonly type: "string";
|
|
5804
|
+
};
|
|
5805
|
+
};
|
|
5806
|
+
};
|
|
5807
|
+
readonly additionalProperties: false;
|
|
5808
|
+
};
|
|
5809
|
+
};
|
|
5810
|
+
readonly targets: {
|
|
5811
|
+
readonly type: "array";
|
|
5812
|
+
readonly items: {
|
|
5813
|
+
readonly type: "object";
|
|
5814
|
+
readonly required: readonly ["where"];
|
|
5815
|
+
readonly properties: {
|
|
5816
|
+
readonly minimumLevel: {
|
|
5817
|
+
readonly type: "string";
|
|
5818
|
+
};
|
|
5819
|
+
readonly rules: {
|
|
5820
|
+
readonly type: "object";
|
|
5821
|
+
readonly additionalProperties: true;
|
|
5822
|
+
};
|
|
5823
|
+
readonly where: {
|
|
5824
|
+
readonly type: "object";
|
|
5825
|
+
readonly required: readonly ["metadata"];
|
|
5826
|
+
readonly properties: {
|
|
5827
|
+
readonly metadata: {
|
|
5828
|
+
readonly type: "object";
|
|
5829
|
+
readonly additionalProperties: {
|
|
5830
|
+
readonly type: "string";
|
|
5831
|
+
};
|
|
5832
|
+
};
|
|
5833
|
+
};
|
|
5834
|
+
readonly additionalProperties: false;
|
|
5835
|
+
};
|
|
5836
|
+
};
|
|
5837
|
+
readonly additionalProperties: false;
|
|
5838
|
+
};
|
|
5839
|
+
};
|
|
5840
|
+
readonly ignore: {
|
|
5841
|
+
readonly type: "array";
|
|
5842
|
+
readonly items: {
|
|
5843
|
+
readonly type: "string";
|
|
5844
|
+
};
|
|
5845
|
+
};
|
|
5846
|
+
readonly fromProjectUrl: {
|
|
5847
|
+
readonly type: "string";
|
|
5848
|
+
readonly format: "uri";
|
|
5849
|
+
};
|
|
5850
|
+
};
|
|
5851
|
+
};
|
|
5548
5852
|
};
|
|
5549
5853
|
readonly additionalProperties: true;
|
|
5550
5854
|
};
|
|
@@ -41,8 +41,12 @@ exports.themeConfigSchema = {
|
|
|
41
41
|
catalog: ex_theme_config_schemas_1.catalogsConfigSchema,
|
|
42
42
|
entitiesCatalog: entities_catalog_config_schema_1.entitiesCatalogConfigSchema,
|
|
43
43
|
catalogClassic: ex_theme_config_schemas_1.catalogsConfigSchema,
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated Should use `scorecardClassic` instead
|
|
46
|
+
*/
|
|
44
47
|
scorecard: ex_theme_config_schemas_1.scorecardConfigSchema,
|
|
45
48
|
scorecards: ex_theme_config_schemas_1.scorecardsConfigSchema,
|
|
49
|
+
scorecardClassic: ex_theme_config_schemas_1.scorecardConfigSchema,
|
|
46
50
|
},
|
|
47
51
|
additionalProperties: true,
|
|
48
52
|
};
|
|
@@ -171,11 +171,20 @@ export declare const entityRelationFileSchema: {
|
|
|
171
171
|
readonly minLength: 2;
|
|
172
172
|
readonly maxLength: 100;
|
|
173
173
|
};
|
|
174
|
+
readonly version: {
|
|
175
|
+
readonly type: "string";
|
|
176
|
+
};
|
|
177
|
+
readonly revision: {
|
|
178
|
+
readonly type: "string";
|
|
179
|
+
};
|
|
174
180
|
};
|
|
175
181
|
readonly required: readonly ["type", "key"];
|
|
176
182
|
readonly additionalProperties: false;
|
|
177
183
|
};
|
|
178
184
|
export declare const entityBaseProperties: {
|
|
185
|
+
readonly version: {
|
|
186
|
+
readonly type: "string";
|
|
187
|
+
};
|
|
179
188
|
readonly key: {
|
|
180
189
|
readonly type: "string";
|
|
181
190
|
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
@@ -273,6 +282,12 @@ export declare const entityBaseProperties: {
|
|
|
273
282
|
readonly minLength: 2;
|
|
274
283
|
readonly maxLength: 100;
|
|
275
284
|
};
|
|
285
|
+
readonly version: {
|
|
286
|
+
readonly type: "string";
|
|
287
|
+
};
|
|
288
|
+
readonly revision: {
|
|
289
|
+
readonly type: "string";
|
|
290
|
+
};
|
|
276
291
|
};
|
|
277
292
|
readonly required: readonly ["type", "key"];
|
|
278
293
|
readonly additionalProperties: false;
|
|
@@ -305,6 +320,9 @@ export declare const entityFileSchema: {
|
|
|
305
320
|
readonly required: readonly ["email"];
|
|
306
321
|
readonly additionalProperties: true;
|
|
307
322
|
};
|
|
323
|
+
readonly version: {
|
|
324
|
+
readonly type: "string";
|
|
325
|
+
};
|
|
308
326
|
readonly key: {
|
|
309
327
|
readonly type: "string";
|
|
310
328
|
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
@@ -398,6 +416,12 @@ export declare const entityFileSchema: {
|
|
|
398
416
|
readonly minLength: 2;
|
|
399
417
|
readonly maxLength: 100;
|
|
400
418
|
};
|
|
419
|
+
readonly version: {
|
|
420
|
+
readonly type: "string";
|
|
421
|
+
};
|
|
422
|
+
readonly revision: {
|
|
423
|
+
readonly type: "string";
|
|
424
|
+
};
|
|
401
425
|
};
|
|
402
426
|
readonly required: readonly ["type", "key"];
|
|
403
427
|
readonly additionalProperties: false;
|
|
@@ -442,6 +466,9 @@ export declare const entityFileSchema: {
|
|
|
442
466
|
readonly required: readonly ["method", "path"];
|
|
443
467
|
readonly additionalProperties: true;
|
|
444
468
|
};
|
|
469
|
+
readonly version: {
|
|
470
|
+
readonly type: "string";
|
|
471
|
+
};
|
|
445
472
|
readonly key: {
|
|
446
473
|
readonly type: "string";
|
|
447
474
|
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
@@ -535,6 +562,12 @@ export declare const entityFileSchema: {
|
|
|
535
562
|
readonly minLength: 2;
|
|
536
563
|
readonly maxLength: 100;
|
|
537
564
|
};
|
|
565
|
+
readonly version: {
|
|
566
|
+
readonly type: "string";
|
|
567
|
+
};
|
|
568
|
+
readonly revision: {
|
|
569
|
+
readonly type: "string";
|
|
570
|
+
};
|
|
538
571
|
};
|
|
539
572
|
readonly required: readonly ["type", "key"];
|
|
540
573
|
readonly additionalProperties: false;
|
|
@@ -569,6 +602,9 @@ export declare const entityFileSchema: {
|
|
|
569
602
|
readonly required: readonly ["specType"];
|
|
570
603
|
readonly additionalProperties: true;
|
|
571
604
|
};
|
|
605
|
+
readonly version: {
|
|
606
|
+
readonly type: "string";
|
|
607
|
+
};
|
|
572
608
|
readonly key: {
|
|
573
609
|
readonly type: "string";
|
|
574
610
|
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
@@ -662,6 +698,12 @@ export declare const entityFileSchema: {
|
|
|
662
698
|
readonly minLength: 2;
|
|
663
699
|
readonly maxLength: 100;
|
|
664
700
|
};
|
|
701
|
+
readonly version: {
|
|
702
|
+
readonly type: "string";
|
|
703
|
+
};
|
|
704
|
+
readonly revision: {
|
|
705
|
+
readonly type: "string";
|
|
706
|
+
};
|
|
665
707
|
};
|
|
666
708
|
readonly required: readonly ["type", "key"];
|
|
667
709
|
readonly additionalProperties: false;
|
|
@@ -692,6 +734,9 @@ export declare const entityFileSchema: {
|
|
|
692
734
|
readonly required: readonly ["specType", "descriptionFile"];
|
|
693
735
|
readonly additionalProperties: true;
|
|
694
736
|
};
|
|
737
|
+
readonly version: {
|
|
738
|
+
readonly type: "string";
|
|
739
|
+
};
|
|
695
740
|
readonly key: {
|
|
696
741
|
readonly type: "string";
|
|
697
742
|
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
@@ -785,6 +830,12 @@ export declare const entityFileSchema: {
|
|
|
785
830
|
readonly minLength: 2;
|
|
786
831
|
readonly maxLength: 100;
|
|
787
832
|
};
|
|
833
|
+
readonly version: {
|
|
834
|
+
readonly type: "string";
|
|
835
|
+
};
|
|
836
|
+
readonly revision: {
|
|
837
|
+
readonly type: "string";
|
|
838
|
+
};
|
|
788
839
|
};
|
|
789
840
|
readonly required: readonly ["type", "key"];
|
|
790
841
|
readonly additionalProperties: false;
|
|
@@ -799,6 +850,9 @@ export declare const entityFileSchema: {
|
|
|
799
850
|
readonly type: {
|
|
800
851
|
readonly const: "service";
|
|
801
852
|
};
|
|
853
|
+
readonly version: {
|
|
854
|
+
readonly type: "string";
|
|
855
|
+
};
|
|
802
856
|
readonly key: {
|
|
803
857
|
readonly type: "string";
|
|
804
858
|
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
@@ -892,6 +946,12 @@ export declare const entityFileSchema: {
|
|
|
892
946
|
readonly minLength: 2;
|
|
893
947
|
readonly maxLength: 100;
|
|
894
948
|
};
|
|
949
|
+
readonly version: {
|
|
950
|
+
readonly type: "string";
|
|
951
|
+
};
|
|
952
|
+
readonly revision: {
|
|
953
|
+
readonly type: "string";
|
|
954
|
+
};
|
|
895
955
|
};
|
|
896
956
|
readonly required: readonly ["type", "key"];
|
|
897
957
|
readonly additionalProperties: false;
|
|
@@ -910,6 +970,9 @@ export declare const entityFileSchema: {
|
|
|
910
970
|
readonly type: {
|
|
911
971
|
readonly const: "domain";
|
|
912
972
|
};
|
|
973
|
+
readonly version: {
|
|
974
|
+
readonly type: "string";
|
|
975
|
+
};
|
|
913
976
|
readonly key: {
|
|
914
977
|
readonly type: "string";
|
|
915
978
|
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
@@ -1003,6 +1066,12 @@ export declare const entityFileSchema: {
|
|
|
1003
1066
|
readonly minLength: 2;
|
|
1004
1067
|
readonly maxLength: 100;
|
|
1005
1068
|
};
|
|
1069
|
+
readonly version: {
|
|
1070
|
+
readonly type: "string";
|
|
1071
|
+
};
|
|
1072
|
+
readonly revision: {
|
|
1073
|
+
readonly type: "string";
|
|
1074
|
+
};
|
|
1006
1075
|
};
|
|
1007
1076
|
readonly required: readonly ["type", "key"];
|
|
1008
1077
|
readonly additionalProperties: false;
|
|
@@ -1021,6 +1090,9 @@ export declare const entityFileSchema: {
|
|
|
1021
1090
|
readonly type: {
|
|
1022
1091
|
readonly const: "team";
|
|
1023
1092
|
};
|
|
1093
|
+
readonly version: {
|
|
1094
|
+
readonly type: "string";
|
|
1095
|
+
};
|
|
1024
1096
|
readonly key: {
|
|
1025
1097
|
readonly type: "string";
|
|
1026
1098
|
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
@@ -1114,6 +1186,12 @@ export declare const entityFileSchema: {
|
|
|
1114
1186
|
readonly minLength: 2;
|
|
1115
1187
|
readonly maxLength: 100;
|
|
1116
1188
|
};
|
|
1189
|
+
readonly version: {
|
|
1190
|
+
readonly type: "string";
|
|
1191
|
+
};
|
|
1192
|
+
readonly revision: {
|
|
1193
|
+
readonly type: "string";
|
|
1194
|
+
};
|
|
1117
1195
|
};
|
|
1118
1196
|
readonly required: readonly ["type", "key"];
|
|
1119
1197
|
readonly additionalProperties: false;
|
|
@@ -1131,6 +1209,9 @@ export declare const entityFileSchema: {
|
|
|
1131
1209
|
export declare const entityFileDefaultSchema: {
|
|
1132
1210
|
readonly type: "object";
|
|
1133
1211
|
readonly properties: {
|
|
1212
|
+
readonly version: {
|
|
1213
|
+
readonly type: "string";
|
|
1214
|
+
};
|
|
1134
1215
|
readonly key: {
|
|
1135
1216
|
readonly type: "string";
|
|
1136
1217
|
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
@@ -1228,6 +1309,12 @@ export declare const entityFileDefaultSchema: {
|
|
|
1228
1309
|
readonly minLength: 2;
|
|
1229
1310
|
readonly maxLength: 100;
|
|
1230
1311
|
};
|
|
1312
|
+
readonly version: {
|
|
1313
|
+
readonly type: "string";
|
|
1314
|
+
};
|
|
1315
|
+
readonly revision: {
|
|
1316
|
+
readonly type: "string";
|
|
1317
|
+
};
|
|
1231
1318
|
};
|
|
1232
1319
|
readonly required: readonly ["type", "key"];
|
|
1233
1320
|
readonly additionalProperties: false;
|
|
@@ -175,12 +175,21 @@ exports.entityRelationFileSchema = {
|
|
|
175
175
|
minLength: 2,
|
|
176
176
|
maxLength: 100,
|
|
177
177
|
},
|
|
178
|
+
version: {
|
|
179
|
+
type: 'string',
|
|
180
|
+
},
|
|
181
|
+
revision: {
|
|
182
|
+
type: 'string',
|
|
183
|
+
},
|
|
178
184
|
},
|
|
179
185
|
required: ['type', 'key'],
|
|
180
186
|
additionalProperties: false,
|
|
181
187
|
};
|
|
182
188
|
// Base entity schema properties
|
|
183
189
|
exports.entityBaseProperties = {
|
|
190
|
+
version: {
|
|
191
|
+
type: 'string',
|
|
192
|
+
},
|
|
184
193
|
key: {
|
|
185
194
|
type: 'string',
|
|
186
195
|
pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$',
|
|
@@ -445,6 +445,58 @@ export declare const graphqlConfigSchema: {
|
|
|
445
445
|
readonly showBuiltInDirectives: {
|
|
446
446
|
readonly type: "boolean";
|
|
447
447
|
};
|
|
448
|
+
readonly info: {
|
|
449
|
+
readonly type: "object";
|
|
450
|
+
readonly properties: {
|
|
451
|
+
readonly title: {
|
|
452
|
+
readonly type: "string";
|
|
453
|
+
};
|
|
454
|
+
readonly version: {
|
|
455
|
+
readonly type: "string";
|
|
456
|
+
};
|
|
457
|
+
readonly description: {
|
|
458
|
+
readonly type: "string";
|
|
459
|
+
};
|
|
460
|
+
readonly termsOfService: {
|
|
461
|
+
readonly type: "string";
|
|
462
|
+
readonly format: "uri";
|
|
463
|
+
};
|
|
464
|
+
readonly contact: {
|
|
465
|
+
readonly type: "object";
|
|
466
|
+
readonly properties: {
|
|
467
|
+
readonly name: {
|
|
468
|
+
readonly type: "string";
|
|
469
|
+
};
|
|
470
|
+
readonly url: {
|
|
471
|
+
readonly type: "string";
|
|
472
|
+
readonly format: "uri";
|
|
473
|
+
};
|
|
474
|
+
readonly email: {
|
|
475
|
+
readonly type: "string";
|
|
476
|
+
readonly format: "email";
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
readonly additionalProperties: false;
|
|
480
|
+
};
|
|
481
|
+
readonly license: {
|
|
482
|
+
readonly type: "object";
|
|
483
|
+
readonly properties: {
|
|
484
|
+
readonly name: {
|
|
485
|
+
readonly type: "string";
|
|
486
|
+
};
|
|
487
|
+
readonly url: {
|
|
488
|
+
readonly type: "string";
|
|
489
|
+
readonly format: "uri";
|
|
490
|
+
};
|
|
491
|
+
readonly identifier: {
|
|
492
|
+
readonly type: "string";
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
readonly additionalProperties: false;
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
readonly additionalProperties: false;
|
|
499
|
+
};
|
|
448
500
|
};
|
|
449
501
|
readonly additionalProperties: false;
|
|
450
502
|
};
|
|
@@ -54,6 +54,36 @@ const menuGroupingConfig = {
|
|
|
54
54
|
required: ['requireExactGroups', 'groups', 'otherItemsGroupName'],
|
|
55
55
|
additionalProperties: false,
|
|
56
56
|
};
|
|
57
|
+
const graphqlContactConfigSchema = {
|
|
58
|
+
type: 'object',
|
|
59
|
+
properties: {
|
|
60
|
+
name: { type: 'string' },
|
|
61
|
+
url: { type: 'string', format: 'uri' },
|
|
62
|
+
email: { type: 'string', format: 'email' },
|
|
63
|
+
},
|
|
64
|
+
additionalProperties: false,
|
|
65
|
+
};
|
|
66
|
+
const graphqlLicenseConfigSchema = {
|
|
67
|
+
type: 'object',
|
|
68
|
+
properties: {
|
|
69
|
+
name: { type: 'string' },
|
|
70
|
+
url: { type: 'string', format: 'uri' },
|
|
71
|
+
identifier: { type: 'string' },
|
|
72
|
+
},
|
|
73
|
+
additionalProperties: false,
|
|
74
|
+
};
|
|
75
|
+
const graphqlInfoConfigSchema = {
|
|
76
|
+
type: 'object',
|
|
77
|
+
properties: {
|
|
78
|
+
title: { type: 'string' },
|
|
79
|
+
version: { type: 'string' },
|
|
80
|
+
description: { type: 'string' },
|
|
81
|
+
termsOfService: { type: 'string', format: 'uri' },
|
|
82
|
+
contact: graphqlContactConfigSchema,
|
|
83
|
+
license: graphqlLicenseConfigSchema,
|
|
84
|
+
},
|
|
85
|
+
additionalProperties: false,
|
|
86
|
+
};
|
|
57
87
|
exports.graphqlConfigSchema = {
|
|
58
88
|
type: 'object',
|
|
59
89
|
properties: {
|
|
@@ -120,6 +150,7 @@ exports.graphqlConfigSchema = {
|
|
|
120
150
|
showBuiltInDirectives: {
|
|
121
151
|
type: 'boolean',
|
|
122
152
|
},
|
|
153
|
+
info: graphqlInfoConfigSchema,
|
|
123
154
|
},
|
|
124
155
|
additionalProperties: false,
|
|
125
156
|
};
|