@redocly/config 0.40.0 → 0.41.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 +537 -7
- package/lib/default-theme-config-schema.js +2 -1
- package/lib/ex-theme-config-schemas.d.ts +0 -11
- package/lib/ex-theme-config-schemas.js +1 -9
- package/lib/root-config-schema.d.ts +2645 -136
- package/lib/root-config-schema.js +24 -2
- package/lib/scorecards-config-schema.d.ts +1079 -0
- package/lib/scorecards-config-schema.js +240 -0
- package/lib/types/api-functions-types.d.ts +2 -2
- package/lib/types/config-types.d.ts +5 -2
- package/lib/types/portal-shared-types.d.ts +1 -1
- package/lib-esm/default-theme-config-schema.d.ts +537 -7
- package/lib-esm/default-theme-config-schema.js +2 -1
- package/lib-esm/ex-theme-config-schemas.d.ts +0 -11
- package/lib-esm/ex-theme-config-schemas.js +0 -8
- package/lib-esm/root-config-schema.d.ts +2645 -136
- package/lib-esm/root-config-schema.js +24 -2
- package/lib-esm/scorecards-config-schema.d.ts +1079 -0
- package/lib-esm/scorecards-config-schema.js +237 -0
- package/lib-esm/types/api-functions-types.d.ts +2 -2
- package/lib-esm/types/config-types.d.ts +5 -2
- package/lib-esm/types/portal-shared-types.d.ts +1 -1
- package/package.json +2 -2
|
@@ -5590,14 +5590,544 @@ export declare const themeConfigSchema: {
|
|
|
5590
5590
|
};
|
|
5591
5591
|
};
|
|
5592
5592
|
readonly scorecards: {
|
|
5593
|
-
readonly type: "
|
|
5594
|
-
readonly
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5593
|
+
readonly type: "array";
|
|
5594
|
+
readonly items: {
|
|
5595
|
+
readonly type: "object";
|
|
5596
|
+
readonly properties: {
|
|
5597
|
+
readonly name: {
|
|
5598
|
+
readonly type: "string";
|
|
5599
|
+
};
|
|
5600
|
+
readonly description: {
|
|
5601
|
+
readonly type: "string";
|
|
5602
|
+
};
|
|
5603
|
+
readonly entities: {
|
|
5604
|
+
readonly oneOf: readonly [{
|
|
5605
|
+
readonly type: "array";
|
|
5606
|
+
readonly items: {
|
|
5607
|
+
readonly oneOf: readonly [{
|
|
5608
|
+
readonly type: "object";
|
|
5609
|
+
readonly properties: {
|
|
5610
|
+
readonly field: {
|
|
5611
|
+
readonly type: "string";
|
|
5612
|
+
};
|
|
5613
|
+
readonly operator: {
|
|
5614
|
+
readonly type: "string";
|
|
5615
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5616
|
+
};
|
|
5617
|
+
readonly value: {
|
|
5618
|
+
readonly oneOf: readonly [{
|
|
5619
|
+
readonly type: "boolean";
|
|
5620
|
+
}, {
|
|
5621
|
+
readonly type: "string";
|
|
5622
|
+
}, {
|
|
5623
|
+
readonly type: "number";
|
|
5624
|
+
}];
|
|
5625
|
+
};
|
|
5626
|
+
readonly match: {
|
|
5627
|
+
readonly type: "array";
|
|
5628
|
+
readonly items: {
|
|
5629
|
+
readonly type: "object";
|
|
5630
|
+
readonly properties: {
|
|
5631
|
+
readonly field: {
|
|
5632
|
+
readonly type: "string";
|
|
5633
|
+
};
|
|
5634
|
+
readonly operator: {
|
|
5635
|
+
readonly type: "string";
|
|
5636
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5637
|
+
};
|
|
5638
|
+
readonly value: {
|
|
5639
|
+
readonly oneOf: readonly [{
|
|
5640
|
+
readonly type: "boolean";
|
|
5641
|
+
}, {
|
|
5642
|
+
readonly type: "string";
|
|
5643
|
+
}, {
|
|
5644
|
+
readonly type: "number";
|
|
5645
|
+
}];
|
|
5646
|
+
};
|
|
5647
|
+
};
|
|
5648
|
+
};
|
|
5649
|
+
};
|
|
5650
|
+
};
|
|
5651
|
+
}, {
|
|
5652
|
+
readonly type: "object";
|
|
5653
|
+
readonly properties: {
|
|
5654
|
+
readonly operator: {
|
|
5655
|
+
readonly type: "string";
|
|
5656
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5657
|
+
};
|
|
5658
|
+
readonly conditions: {
|
|
5659
|
+
readonly type: "array";
|
|
5660
|
+
readonly items: {
|
|
5661
|
+
readonly oneOf: readonly [{
|
|
5662
|
+
readonly type: "object";
|
|
5663
|
+
readonly properties: {
|
|
5664
|
+
readonly field: {
|
|
5665
|
+
readonly type: "string";
|
|
5666
|
+
};
|
|
5667
|
+
readonly operator: {
|
|
5668
|
+
readonly type: "string";
|
|
5669
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5670
|
+
};
|
|
5671
|
+
readonly value: {
|
|
5672
|
+
readonly oneOf: readonly [{
|
|
5673
|
+
readonly type: "boolean";
|
|
5674
|
+
}, {
|
|
5675
|
+
readonly type: "string";
|
|
5676
|
+
}, {
|
|
5677
|
+
readonly type: "number";
|
|
5678
|
+
}];
|
|
5679
|
+
};
|
|
5680
|
+
readonly match: {
|
|
5681
|
+
readonly type: "array";
|
|
5682
|
+
readonly items: {
|
|
5683
|
+
readonly type: "object";
|
|
5684
|
+
readonly properties: {
|
|
5685
|
+
readonly field: {
|
|
5686
|
+
readonly type: "string";
|
|
5687
|
+
};
|
|
5688
|
+
readonly operator: {
|
|
5689
|
+
readonly type: "string";
|
|
5690
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5691
|
+
};
|
|
5692
|
+
readonly value: {
|
|
5693
|
+
readonly oneOf: readonly [{
|
|
5694
|
+
readonly type: "boolean";
|
|
5695
|
+
}, {
|
|
5696
|
+
readonly type: "string";
|
|
5697
|
+
}, {
|
|
5698
|
+
readonly type: "number";
|
|
5699
|
+
}];
|
|
5700
|
+
};
|
|
5701
|
+
};
|
|
5702
|
+
};
|
|
5703
|
+
};
|
|
5704
|
+
};
|
|
5705
|
+
}, {
|
|
5706
|
+
readonly type: "object";
|
|
5707
|
+
readonly properties: {
|
|
5708
|
+
readonly operator: {
|
|
5709
|
+
readonly type: "string";
|
|
5710
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5711
|
+
};
|
|
5712
|
+
readonly conditions: {
|
|
5713
|
+
readonly type: "array";
|
|
5714
|
+
readonly items: {
|
|
5715
|
+
readonly type: "object";
|
|
5716
|
+
readonly properties: {
|
|
5717
|
+
readonly field: {
|
|
5718
|
+
readonly type: "string";
|
|
5719
|
+
};
|
|
5720
|
+
readonly operator: {
|
|
5721
|
+
readonly type: "string";
|
|
5722
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5723
|
+
};
|
|
5724
|
+
readonly value: {
|
|
5725
|
+
readonly oneOf: readonly [{
|
|
5726
|
+
readonly type: "boolean";
|
|
5727
|
+
}, {
|
|
5728
|
+
readonly type: "string";
|
|
5729
|
+
}, {
|
|
5730
|
+
readonly type: "number";
|
|
5731
|
+
}];
|
|
5732
|
+
};
|
|
5733
|
+
readonly match: {
|
|
5734
|
+
readonly type: "array";
|
|
5735
|
+
readonly items: {
|
|
5736
|
+
readonly type: "object";
|
|
5737
|
+
readonly properties: {
|
|
5738
|
+
readonly field: {
|
|
5739
|
+
readonly type: "string";
|
|
5740
|
+
};
|
|
5741
|
+
readonly operator: {
|
|
5742
|
+
readonly type: "string";
|
|
5743
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5744
|
+
};
|
|
5745
|
+
readonly value: {
|
|
5746
|
+
readonly oneOf: readonly [{
|
|
5747
|
+
readonly type: "boolean";
|
|
5748
|
+
}, {
|
|
5749
|
+
readonly type: "string";
|
|
5750
|
+
}, {
|
|
5751
|
+
readonly type: "number";
|
|
5752
|
+
}];
|
|
5753
|
+
};
|
|
5754
|
+
};
|
|
5755
|
+
};
|
|
5756
|
+
};
|
|
5757
|
+
};
|
|
5758
|
+
};
|
|
5759
|
+
};
|
|
5760
|
+
};
|
|
5761
|
+
readonly required: readonly ["operator", "conditions"];
|
|
5762
|
+
readonly additionalProperties: false;
|
|
5763
|
+
}];
|
|
5764
|
+
};
|
|
5765
|
+
};
|
|
5766
|
+
};
|
|
5767
|
+
readonly required: readonly ["operator", "conditions"];
|
|
5768
|
+
readonly additionalProperties: false;
|
|
5769
|
+
}];
|
|
5770
|
+
};
|
|
5771
|
+
}, {
|
|
5772
|
+
readonly type: "object";
|
|
5773
|
+
readonly properties: {
|
|
5774
|
+
readonly operator: {
|
|
5775
|
+
readonly type: "string";
|
|
5776
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5777
|
+
};
|
|
5778
|
+
readonly conditions: {
|
|
5779
|
+
readonly type: "array";
|
|
5780
|
+
readonly items: {
|
|
5781
|
+
readonly oneOf: readonly [{
|
|
5782
|
+
readonly type: "object";
|
|
5783
|
+
readonly properties: {
|
|
5784
|
+
readonly field: {
|
|
5785
|
+
readonly type: "string";
|
|
5786
|
+
};
|
|
5787
|
+
readonly operator: {
|
|
5788
|
+
readonly type: "string";
|
|
5789
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5790
|
+
};
|
|
5791
|
+
readonly value: {
|
|
5792
|
+
readonly oneOf: readonly [{
|
|
5793
|
+
readonly type: "boolean";
|
|
5794
|
+
}, {
|
|
5795
|
+
readonly type: "string";
|
|
5796
|
+
}, {
|
|
5797
|
+
readonly type: "number";
|
|
5798
|
+
}];
|
|
5799
|
+
};
|
|
5800
|
+
readonly match: {
|
|
5801
|
+
readonly type: "array";
|
|
5802
|
+
readonly items: {
|
|
5803
|
+
readonly type: "object";
|
|
5804
|
+
readonly properties: {
|
|
5805
|
+
readonly field: {
|
|
5806
|
+
readonly type: "string";
|
|
5807
|
+
};
|
|
5808
|
+
readonly operator: {
|
|
5809
|
+
readonly type: "string";
|
|
5810
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5811
|
+
};
|
|
5812
|
+
readonly value: {
|
|
5813
|
+
readonly oneOf: readonly [{
|
|
5814
|
+
readonly type: "boolean";
|
|
5815
|
+
}, {
|
|
5816
|
+
readonly type: "string";
|
|
5817
|
+
}, {
|
|
5818
|
+
readonly type: "number";
|
|
5819
|
+
}];
|
|
5820
|
+
};
|
|
5821
|
+
};
|
|
5822
|
+
};
|
|
5823
|
+
};
|
|
5824
|
+
};
|
|
5825
|
+
}, {
|
|
5826
|
+
readonly type: "object";
|
|
5827
|
+
readonly properties: {
|
|
5828
|
+
readonly operator: {
|
|
5829
|
+
readonly type: "string";
|
|
5830
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5831
|
+
};
|
|
5832
|
+
readonly conditions: {
|
|
5833
|
+
readonly type: "array";
|
|
5834
|
+
readonly items: {
|
|
5835
|
+
readonly oneOf: readonly [{
|
|
5836
|
+
readonly type: "object";
|
|
5837
|
+
readonly properties: {
|
|
5838
|
+
readonly field: {
|
|
5839
|
+
readonly type: "string";
|
|
5840
|
+
};
|
|
5841
|
+
readonly operator: {
|
|
5842
|
+
readonly type: "string";
|
|
5843
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5844
|
+
};
|
|
5845
|
+
readonly value: {
|
|
5846
|
+
readonly oneOf: readonly [{
|
|
5847
|
+
readonly type: "boolean";
|
|
5848
|
+
}, {
|
|
5849
|
+
readonly type: "string";
|
|
5850
|
+
}, {
|
|
5851
|
+
readonly type: "number";
|
|
5852
|
+
}];
|
|
5853
|
+
};
|
|
5854
|
+
readonly match: {
|
|
5855
|
+
readonly type: "array";
|
|
5856
|
+
readonly items: {
|
|
5857
|
+
readonly type: "object";
|
|
5858
|
+
readonly properties: {
|
|
5859
|
+
readonly field: {
|
|
5860
|
+
readonly type: "string";
|
|
5861
|
+
};
|
|
5862
|
+
readonly operator: {
|
|
5863
|
+
readonly type: "string";
|
|
5864
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5865
|
+
};
|
|
5866
|
+
readonly value: {
|
|
5867
|
+
readonly oneOf: readonly [{
|
|
5868
|
+
readonly type: "boolean";
|
|
5869
|
+
}, {
|
|
5870
|
+
readonly type: "string";
|
|
5871
|
+
}, {
|
|
5872
|
+
readonly type: "number";
|
|
5873
|
+
}];
|
|
5874
|
+
};
|
|
5875
|
+
};
|
|
5876
|
+
};
|
|
5877
|
+
};
|
|
5878
|
+
};
|
|
5879
|
+
}, {
|
|
5880
|
+
readonly type: "object";
|
|
5881
|
+
readonly properties: {
|
|
5882
|
+
readonly operator: {
|
|
5883
|
+
readonly type: "string";
|
|
5884
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5885
|
+
};
|
|
5886
|
+
readonly conditions: {
|
|
5887
|
+
readonly type: "array";
|
|
5888
|
+
readonly items: {
|
|
5889
|
+
readonly type: "object";
|
|
5890
|
+
readonly properties: {
|
|
5891
|
+
readonly field: {
|
|
5892
|
+
readonly type: "string";
|
|
5893
|
+
};
|
|
5894
|
+
readonly operator: {
|
|
5895
|
+
readonly type: "string";
|
|
5896
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5897
|
+
};
|
|
5898
|
+
readonly value: {
|
|
5899
|
+
readonly oneOf: readonly [{
|
|
5900
|
+
readonly type: "boolean";
|
|
5901
|
+
}, {
|
|
5902
|
+
readonly type: "string";
|
|
5903
|
+
}, {
|
|
5904
|
+
readonly type: "number";
|
|
5905
|
+
}];
|
|
5906
|
+
};
|
|
5907
|
+
readonly match: {
|
|
5908
|
+
readonly type: "array";
|
|
5909
|
+
readonly items: {
|
|
5910
|
+
readonly type: "object";
|
|
5911
|
+
readonly properties: {
|
|
5912
|
+
readonly field: {
|
|
5913
|
+
readonly type: "string";
|
|
5914
|
+
};
|
|
5915
|
+
readonly operator: {
|
|
5916
|
+
readonly type: "string";
|
|
5917
|
+
readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
|
|
5918
|
+
};
|
|
5919
|
+
readonly value: {
|
|
5920
|
+
readonly oneOf: readonly [{
|
|
5921
|
+
readonly type: "boolean";
|
|
5922
|
+
}, {
|
|
5923
|
+
readonly type: "string";
|
|
5924
|
+
}, {
|
|
5925
|
+
readonly type: "number";
|
|
5926
|
+
}];
|
|
5927
|
+
};
|
|
5928
|
+
};
|
|
5929
|
+
};
|
|
5930
|
+
};
|
|
5931
|
+
};
|
|
5932
|
+
};
|
|
5933
|
+
};
|
|
5934
|
+
};
|
|
5935
|
+
readonly required: readonly ["operator", "conditions"];
|
|
5936
|
+
readonly additionalProperties: false;
|
|
5937
|
+
}];
|
|
5938
|
+
};
|
|
5939
|
+
};
|
|
5940
|
+
};
|
|
5941
|
+
readonly required: readonly ["operator", "conditions"];
|
|
5942
|
+
readonly additionalProperties: false;
|
|
5943
|
+
}];
|
|
5944
|
+
};
|
|
5945
|
+
};
|
|
5946
|
+
};
|
|
5947
|
+
readonly required: readonly ["operator", "conditions"];
|
|
5948
|
+
readonly additionalProperties: false;
|
|
5949
|
+
}];
|
|
5950
|
+
};
|
|
5951
|
+
readonly levels: {
|
|
5952
|
+
readonly type: "array";
|
|
5953
|
+
readonly items: {
|
|
5954
|
+
readonly type: "object";
|
|
5955
|
+
readonly properties: {
|
|
5956
|
+
readonly name: {
|
|
5957
|
+
readonly type: "string";
|
|
5958
|
+
};
|
|
5959
|
+
readonly extends: {
|
|
5960
|
+
readonly type: "array";
|
|
5961
|
+
readonly items: {
|
|
5962
|
+
readonly type: "string";
|
|
5963
|
+
};
|
|
5964
|
+
};
|
|
5965
|
+
readonly rules: {
|
|
5966
|
+
readonly type: "object";
|
|
5967
|
+
readonly additionalProperties: {
|
|
5968
|
+
readonly oneOf: readonly [{
|
|
5969
|
+
readonly type: "string";
|
|
5970
|
+
}, {
|
|
5971
|
+
readonly type: "object";
|
|
5972
|
+
readonly properties: {
|
|
5973
|
+
readonly severity: {
|
|
5974
|
+
readonly type: "string";
|
|
5975
|
+
readonly enum: readonly ["error", "warn", "off"];
|
|
5976
|
+
};
|
|
5977
|
+
readonly weight: {
|
|
5978
|
+
readonly type: "number";
|
|
5979
|
+
readonly default: 1;
|
|
5980
|
+
};
|
|
5981
|
+
};
|
|
5982
|
+
readonly additionalProperties: true;
|
|
5983
|
+
}, {
|
|
5984
|
+
readonly type: "object";
|
|
5985
|
+
readonly properties: {
|
|
5986
|
+
readonly title: {
|
|
5987
|
+
readonly type: "string";
|
|
5988
|
+
};
|
|
5989
|
+
readonly subject: {
|
|
5990
|
+
readonly type: "object";
|
|
5991
|
+
readonly properties: {
|
|
5992
|
+
readonly type: {
|
|
5993
|
+
readonly type: "string";
|
|
5994
|
+
readonly enum: readonly ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"];
|
|
5995
|
+
};
|
|
5996
|
+
readonly property: {
|
|
5997
|
+
readonly type: "string";
|
|
5998
|
+
};
|
|
5999
|
+
};
|
|
6000
|
+
readonly required: readonly ["type", "property"];
|
|
6001
|
+
readonly additionalProperties: false;
|
|
6002
|
+
};
|
|
6003
|
+
readonly severity: {
|
|
6004
|
+
readonly type: "string";
|
|
6005
|
+
readonly enum: readonly ["error", "warn", "off"];
|
|
6006
|
+
};
|
|
6007
|
+
readonly message: {
|
|
6008
|
+
readonly type: "string";
|
|
6009
|
+
};
|
|
6010
|
+
readonly assertions: {
|
|
6011
|
+
readonly type: "object";
|
|
6012
|
+
readonly properties: {
|
|
6013
|
+
readonly defined: {
|
|
6014
|
+
readonly type: "boolean";
|
|
6015
|
+
};
|
|
6016
|
+
readonly nonEmpty: {
|
|
6017
|
+
readonly type: "boolean";
|
|
6018
|
+
};
|
|
6019
|
+
readonly eq: {};
|
|
6020
|
+
readonly gt: {
|
|
6021
|
+
readonly type: "number";
|
|
6022
|
+
};
|
|
6023
|
+
readonly gte: {
|
|
6024
|
+
readonly type: "number";
|
|
6025
|
+
};
|
|
6026
|
+
readonly lt: {
|
|
6027
|
+
readonly type: "number";
|
|
6028
|
+
};
|
|
6029
|
+
readonly lte: {
|
|
6030
|
+
readonly type: "number";
|
|
6031
|
+
};
|
|
6032
|
+
readonly const: {};
|
|
6033
|
+
};
|
|
6034
|
+
readonly additionalProperties: false;
|
|
6035
|
+
};
|
|
6036
|
+
readonly where: {
|
|
6037
|
+
readonly type: "array";
|
|
6038
|
+
readonly items: {
|
|
6039
|
+
readonly type: "object";
|
|
6040
|
+
readonly properties: {
|
|
6041
|
+
readonly subject: {
|
|
6042
|
+
readonly type: "object";
|
|
6043
|
+
readonly properties: {
|
|
6044
|
+
readonly type: {
|
|
6045
|
+
readonly type: "string";
|
|
6046
|
+
readonly enum: readonly ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"];
|
|
6047
|
+
};
|
|
6048
|
+
readonly property: {
|
|
6049
|
+
readonly type: "string";
|
|
6050
|
+
};
|
|
6051
|
+
};
|
|
6052
|
+
readonly required: readonly ["type", "property"];
|
|
6053
|
+
readonly additionalProperties: false;
|
|
6054
|
+
};
|
|
6055
|
+
readonly assertions: {
|
|
6056
|
+
readonly type: "object";
|
|
6057
|
+
readonly properties: {
|
|
6058
|
+
readonly defined: {
|
|
6059
|
+
readonly type: "boolean";
|
|
6060
|
+
};
|
|
6061
|
+
readonly nonEmpty: {
|
|
6062
|
+
readonly type: "boolean";
|
|
6063
|
+
};
|
|
6064
|
+
readonly eq: {};
|
|
6065
|
+
readonly gt: {
|
|
6066
|
+
readonly type: "number";
|
|
6067
|
+
};
|
|
6068
|
+
readonly gte: {
|
|
6069
|
+
readonly type: "number";
|
|
6070
|
+
};
|
|
6071
|
+
readonly lt: {
|
|
6072
|
+
readonly type: "number";
|
|
6073
|
+
};
|
|
6074
|
+
readonly lte: {
|
|
6075
|
+
readonly type: "number";
|
|
6076
|
+
};
|
|
6077
|
+
readonly const: {};
|
|
6078
|
+
};
|
|
6079
|
+
readonly additionalProperties: false;
|
|
6080
|
+
};
|
|
6081
|
+
};
|
|
6082
|
+
readonly required: readonly ["subject", "assertions"];
|
|
6083
|
+
readonly additionalProperties: false;
|
|
6084
|
+
};
|
|
6085
|
+
};
|
|
6086
|
+
readonly weight: {
|
|
6087
|
+
readonly type: "number";
|
|
6088
|
+
readonly default: 1;
|
|
6089
|
+
};
|
|
6090
|
+
};
|
|
6091
|
+
readonly required: readonly ["subject", "assertions"];
|
|
6092
|
+
readonly additionalProperties: false;
|
|
6093
|
+
}];
|
|
6094
|
+
};
|
|
6095
|
+
};
|
|
6096
|
+
};
|
|
6097
|
+
readonly required: readonly ["name"];
|
|
6098
|
+
readonly additionalProperties: false;
|
|
6099
|
+
};
|
|
6100
|
+
readonly minItems: 1;
|
|
6101
|
+
};
|
|
6102
|
+
readonly trigger: {
|
|
6103
|
+
readonly oneOf: readonly [{
|
|
6104
|
+
readonly type: "object";
|
|
6105
|
+
readonly properties: {
|
|
6106
|
+
readonly event: {
|
|
6107
|
+
readonly type: "string";
|
|
6108
|
+
readonly enum: readonly ["runtime", "manual"];
|
|
6109
|
+
};
|
|
6110
|
+
};
|
|
6111
|
+
readonly required: readonly ["event"];
|
|
6112
|
+
readonly additionalProperties: false;
|
|
6113
|
+
}, {
|
|
6114
|
+
readonly type: "array";
|
|
6115
|
+
readonly items: {
|
|
6116
|
+
readonly type: "object";
|
|
6117
|
+
readonly properties: {
|
|
6118
|
+
readonly event: {
|
|
6119
|
+
readonly type: "string";
|
|
6120
|
+
readonly enum: readonly ["runtime", "manual"];
|
|
6121
|
+
};
|
|
6122
|
+
};
|
|
6123
|
+
readonly required: readonly ["event"];
|
|
6124
|
+
readonly additionalProperties: false;
|
|
6125
|
+
};
|
|
6126
|
+
}];
|
|
6127
|
+
};
|
|
5600
6128
|
};
|
|
6129
|
+
readonly required: readonly ["name", "entities", "levels"];
|
|
6130
|
+
readonly additionalProperties: false;
|
|
5601
6131
|
};
|
|
5602
6132
|
};
|
|
5603
6133
|
readonly scorecardClassic: {
|
|
@@ -5,6 +5,7 @@ const graphql_config_schema_1 = require("./graphql-config-schema");
|
|
|
5
5
|
const feedback_config_schema_1 = require("./feedback-config-schema");
|
|
6
6
|
const ex_theme_config_schemas_1 = require("./ex-theme-config-schemas");
|
|
7
7
|
const entities_catalog_config_schema_1 = require("./entities-catalog-config-schema");
|
|
8
|
+
const scorecards_config_schema_1 = require("./scorecards-config-schema");
|
|
8
9
|
exports.themeConfigSchema = {
|
|
9
10
|
type: 'object',
|
|
10
11
|
properties: {
|
|
@@ -45,7 +46,7 @@ exports.themeConfigSchema = {
|
|
|
45
46
|
* @deprecated Should use `scorecardClassic` instead
|
|
46
47
|
*/
|
|
47
48
|
scorecard: ex_theme_config_schemas_1.scorecardConfigSchema,
|
|
48
|
-
scorecards:
|
|
49
|
+
scorecards: scorecards_config_schema_1.scorecardsConfigSchema,
|
|
49
50
|
scorecardClassic: ex_theme_config_schemas_1.scorecardConfigSchema,
|
|
50
51
|
},
|
|
51
52
|
additionalProperties: true,
|
|
@@ -4453,14 +4453,3 @@ export declare const scorecardConfigSchema: {
|
|
|
4453
4453
|
};
|
|
4454
4454
|
};
|
|
4455
4455
|
};
|
|
4456
|
-
export declare const scorecardsConfigSchema: {
|
|
4457
|
-
readonly type: "object";
|
|
4458
|
-
readonly additionalProperties: true;
|
|
4459
|
-
readonly required: readonly [];
|
|
4460
|
-
readonly properties: {
|
|
4461
|
-
readonly test: {
|
|
4462
|
-
readonly type: "boolean";
|
|
4463
|
-
readonly default: true;
|
|
4464
|
-
};
|
|
4465
|
-
};
|
|
4466
|
-
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.scorecardConfigSchema = exports.catalogsConfigSchema = exports.catalogSchema = exports.catalogFilterSchema = exports.breadcrumbsConfigSchema = exports.versionPickerConfigSchema = exports.userMenuConfigSchema = exports.analyticsConfigSchema = exports.googleAnalyticsConfigSchema = exports.productGoogleAnalyticsConfigSchema = exports.gtmAnalyticsConfigSchema = exports.segmentAnalyticsConfigSchema = exports.rudderstackAnalyticsConfigSchema = exports.heapAnalyticsConfigSchema = exports.fullstoryAnalyticsConfigSchema = exports.amplitudeAnalyticsConfigSchema = exports.openapiConfigSchema = exports.markdownConfigSchema = exports.codeSnippetConfigSchema = exports.navigationConfigSchema = exports.colorModeConfigSchema = exports.aiAssistantSchema = exports.searchConfigSchema = exports.linksConfigSchema = exports.scriptsConfigSchema = exports.sidebarConfigSchema = exports.footerConfigSchema = exports.productsConfigSchema = exports.navbarConfigSchema = exports.logoConfigSchema = exports.searchFiltersConfigSchema = exports.searchFacetsConfigSchema = exports.aiSearchConfigSchema = exports.productConfigSchema = exports.navItemsSchema = void 0;
|
|
4
4
|
const redoc_config_schema_1 = require("./redoc-config-schema");
|
|
5
5
|
const reference_docs_config_schema_1 = require("./reference-docs-config-schema");
|
|
6
6
|
const common_1 = require("./common");
|
|
@@ -658,12 +658,4 @@ exports.scorecardConfigSchema = {
|
|
|
658
658
|
fromProjectUrl: { type: 'string', format: 'uri' },
|
|
659
659
|
},
|
|
660
660
|
};
|
|
661
|
-
exports.scorecardsConfigSchema = {
|
|
662
|
-
type: 'object',
|
|
663
|
-
additionalProperties: true,
|
|
664
|
-
required: [],
|
|
665
|
-
properties: {
|
|
666
|
-
test: { type: 'boolean', default: true },
|
|
667
|
-
},
|
|
668
|
-
};
|
|
669
661
|
//# sourceMappingURL=ex-theme-config-schemas.js.map
|