@redocly/config 0.40.0 → 0.41.1

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.
@@ -5405,6 +5405,10 @@ export declare const themeConfigSchema: {
5405
5405
  readonly type: "object";
5406
5406
  readonly additionalProperties: true;
5407
5407
  };
5408
+ readonly openrpc1Decorators: {
5409
+ readonly type: "object";
5410
+ readonly additionalProperties: true;
5411
+ };
5408
5412
  readonly preprocessors: {
5409
5413
  readonly type: "object";
5410
5414
  readonly additionalProperties: true;
@@ -5441,6 +5445,10 @@ export declare const themeConfigSchema: {
5441
5445
  readonly type: "object";
5442
5446
  readonly additionalProperties: true;
5443
5447
  };
5448
+ readonly openrpc1Preprocessors: {
5449
+ readonly type: "object";
5450
+ readonly additionalProperties: true;
5451
+ };
5444
5452
  readonly rules: {
5445
5453
  readonly type: "object";
5446
5454
  readonly additionalProperties: {
@@ -5531,6 +5539,16 @@ export declare const themeConfigSchema: {
5531
5539
  }];
5532
5540
  };
5533
5541
  };
5542
+ readonly openrpc1Rules: {
5543
+ readonly type: "object";
5544
+ readonly additionalProperties: {
5545
+ readonly oneOf: readonly [{
5546
+ readonly type: "string";
5547
+ }, {
5548
+ readonly type: "object";
5549
+ }];
5550
+ };
5551
+ };
5534
5552
  readonly name: {
5535
5553
  readonly type: "string";
5536
5554
  };
@@ -5590,14 +5608,544 @@ export declare const themeConfigSchema: {
5590
5608
  };
5591
5609
  };
5592
5610
  readonly scorecards: {
5593
- readonly type: "object";
5594
- readonly additionalProperties: true;
5595
- readonly required: readonly [];
5596
- readonly properties: {
5597
- readonly test: {
5598
- readonly type: "boolean";
5599
- readonly default: true;
5611
+ readonly type: "array";
5612
+ readonly items: {
5613
+ readonly type: "object";
5614
+ readonly properties: {
5615
+ readonly name: {
5616
+ readonly type: "string";
5617
+ };
5618
+ readonly description: {
5619
+ readonly type: "string";
5620
+ };
5621
+ readonly entities: {
5622
+ readonly oneOf: readonly [{
5623
+ readonly type: "array";
5624
+ readonly items: {
5625
+ readonly oneOf: readonly [{
5626
+ readonly type: "object";
5627
+ readonly properties: {
5628
+ readonly field: {
5629
+ readonly type: "string";
5630
+ };
5631
+ readonly operator: {
5632
+ readonly type: "string";
5633
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5634
+ };
5635
+ readonly value: {
5636
+ readonly oneOf: readonly [{
5637
+ readonly type: "boolean";
5638
+ }, {
5639
+ readonly type: "string";
5640
+ }, {
5641
+ readonly type: "number";
5642
+ }];
5643
+ };
5644
+ readonly match: {
5645
+ readonly type: "array";
5646
+ readonly items: {
5647
+ readonly type: "object";
5648
+ readonly properties: {
5649
+ readonly field: {
5650
+ readonly type: "string";
5651
+ };
5652
+ readonly operator: {
5653
+ readonly type: "string";
5654
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5655
+ };
5656
+ readonly value: {
5657
+ readonly oneOf: readonly [{
5658
+ readonly type: "boolean";
5659
+ }, {
5660
+ readonly type: "string";
5661
+ }, {
5662
+ readonly type: "number";
5663
+ }];
5664
+ };
5665
+ };
5666
+ };
5667
+ };
5668
+ };
5669
+ }, {
5670
+ readonly type: "object";
5671
+ readonly properties: {
5672
+ readonly operator: {
5673
+ readonly type: "string";
5674
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5675
+ };
5676
+ readonly conditions: {
5677
+ readonly type: "array";
5678
+ readonly items: {
5679
+ readonly oneOf: readonly [{
5680
+ readonly type: "object";
5681
+ readonly properties: {
5682
+ readonly field: {
5683
+ readonly type: "string";
5684
+ };
5685
+ readonly operator: {
5686
+ readonly type: "string";
5687
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5688
+ };
5689
+ readonly value: {
5690
+ readonly oneOf: readonly [{
5691
+ readonly type: "boolean";
5692
+ }, {
5693
+ readonly type: "string";
5694
+ }, {
5695
+ readonly type: "number";
5696
+ }];
5697
+ };
5698
+ readonly match: {
5699
+ readonly type: "array";
5700
+ readonly items: {
5701
+ readonly type: "object";
5702
+ readonly properties: {
5703
+ readonly field: {
5704
+ readonly type: "string";
5705
+ };
5706
+ readonly operator: {
5707
+ readonly type: "string";
5708
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5709
+ };
5710
+ readonly value: {
5711
+ readonly oneOf: readonly [{
5712
+ readonly type: "boolean";
5713
+ }, {
5714
+ readonly type: "string";
5715
+ }, {
5716
+ readonly type: "number";
5717
+ }];
5718
+ };
5719
+ };
5720
+ };
5721
+ };
5722
+ };
5723
+ }, {
5724
+ readonly type: "object";
5725
+ readonly properties: {
5726
+ readonly operator: {
5727
+ readonly type: "string";
5728
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5729
+ };
5730
+ readonly conditions: {
5731
+ readonly type: "array";
5732
+ readonly items: {
5733
+ readonly type: "object";
5734
+ readonly properties: {
5735
+ readonly field: {
5736
+ readonly type: "string";
5737
+ };
5738
+ readonly operator: {
5739
+ readonly type: "string";
5740
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5741
+ };
5742
+ readonly value: {
5743
+ readonly oneOf: readonly [{
5744
+ readonly type: "boolean";
5745
+ }, {
5746
+ readonly type: "string";
5747
+ }, {
5748
+ readonly type: "number";
5749
+ }];
5750
+ };
5751
+ readonly match: {
5752
+ readonly type: "array";
5753
+ readonly items: {
5754
+ readonly type: "object";
5755
+ readonly properties: {
5756
+ readonly field: {
5757
+ readonly type: "string";
5758
+ };
5759
+ readonly operator: {
5760
+ readonly type: "string";
5761
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5762
+ };
5763
+ readonly value: {
5764
+ readonly oneOf: readonly [{
5765
+ readonly type: "boolean";
5766
+ }, {
5767
+ readonly type: "string";
5768
+ }, {
5769
+ readonly type: "number";
5770
+ }];
5771
+ };
5772
+ };
5773
+ };
5774
+ };
5775
+ };
5776
+ };
5777
+ };
5778
+ };
5779
+ readonly required: readonly ["operator", "conditions"];
5780
+ readonly additionalProperties: false;
5781
+ }];
5782
+ };
5783
+ };
5784
+ };
5785
+ readonly required: readonly ["operator", "conditions"];
5786
+ readonly additionalProperties: false;
5787
+ }];
5788
+ };
5789
+ }, {
5790
+ readonly type: "object";
5791
+ readonly properties: {
5792
+ readonly operator: {
5793
+ readonly type: "string";
5794
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5795
+ };
5796
+ readonly conditions: {
5797
+ readonly type: "array";
5798
+ readonly items: {
5799
+ readonly oneOf: readonly [{
5800
+ readonly type: "object";
5801
+ readonly properties: {
5802
+ readonly field: {
5803
+ readonly type: "string";
5804
+ };
5805
+ readonly operator: {
5806
+ readonly type: "string";
5807
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5808
+ };
5809
+ readonly value: {
5810
+ readonly oneOf: readonly [{
5811
+ readonly type: "boolean";
5812
+ }, {
5813
+ readonly type: "string";
5814
+ }, {
5815
+ readonly type: "number";
5816
+ }];
5817
+ };
5818
+ readonly match: {
5819
+ readonly type: "array";
5820
+ readonly items: {
5821
+ readonly type: "object";
5822
+ readonly properties: {
5823
+ readonly field: {
5824
+ readonly type: "string";
5825
+ };
5826
+ readonly operator: {
5827
+ readonly type: "string";
5828
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5829
+ };
5830
+ readonly value: {
5831
+ readonly oneOf: readonly [{
5832
+ readonly type: "boolean";
5833
+ }, {
5834
+ readonly type: "string";
5835
+ }, {
5836
+ readonly type: "number";
5837
+ }];
5838
+ };
5839
+ };
5840
+ };
5841
+ };
5842
+ };
5843
+ }, {
5844
+ readonly type: "object";
5845
+ readonly properties: {
5846
+ readonly operator: {
5847
+ readonly type: "string";
5848
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5849
+ };
5850
+ readonly conditions: {
5851
+ readonly type: "array";
5852
+ readonly items: {
5853
+ readonly oneOf: readonly [{
5854
+ readonly type: "object";
5855
+ readonly properties: {
5856
+ readonly field: {
5857
+ readonly type: "string";
5858
+ };
5859
+ readonly operator: {
5860
+ readonly type: "string";
5861
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5862
+ };
5863
+ readonly value: {
5864
+ readonly oneOf: readonly [{
5865
+ readonly type: "boolean";
5866
+ }, {
5867
+ readonly type: "string";
5868
+ }, {
5869
+ readonly type: "number";
5870
+ }];
5871
+ };
5872
+ readonly match: {
5873
+ readonly type: "array";
5874
+ readonly items: {
5875
+ readonly type: "object";
5876
+ readonly properties: {
5877
+ readonly field: {
5878
+ readonly type: "string";
5879
+ };
5880
+ readonly operator: {
5881
+ readonly type: "string";
5882
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5883
+ };
5884
+ readonly value: {
5885
+ readonly oneOf: readonly [{
5886
+ readonly type: "boolean";
5887
+ }, {
5888
+ readonly type: "string";
5889
+ }, {
5890
+ readonly type: "number";
5891
+ }];
5892
+ };
5893
+ };
5894
+ };
5895
+ };
5896
+ };
5897
+ }, {
5898
+ readonly type: "object";
5899
+ readonly properties: {
5900
+ readonly operator: {
5901
+ readonly type: "string";
5902
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5903
+ };
5904
+ readonly conditions: {
5905
+ readonly type: "array";
5906
+ readonly items: {
5907
+ readonly type: "object";
5908
+ readonly properties: {
5909
+ readonly field: {
5910
+ readonly type: "string";
5911
+ };
5912
+ readonly operator: {
5913
+ readonly type: "string";
5914
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5915
+ };
5916
+ readonly value: {
5917
+ readonly oneOf: readonly [{
5918
+ readonly type: "boolean";
5919
+ }, {
5920
+ readonly type: "string";
5921
+ }, {
5922
+ readonly type: "number";
5923
+ }];
5924
+ };
5925
+ readonly match: {
5926
+ readonly type: "array";
5927
+ readonly items: {
5928
+ readonly type: "object";
5929
+ readonly properties: {
5930
+ readonly field: {
5931
+ readonly type: "string";
5932
+ };
5933
+ readonly operator: {
5934
+ readonly type: "string";
5935
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
5936
+ };
5937
+ readonly value: {
5938
+ readonly oneOf: readonly [{
5939
+ readonly type: "boolean";
5940
+ }, {
5941
+ readonly type: "string";
5942
+ }, {
5943
+ readonly type: "number";
5944
+ }];
5945
+ };
5946
+ };
5947
+ };
5948
+ };
5949
+ };
5950
+ };
5951
+ };
5952
+ };
5953
+ readonly required: readonly ["operator", "conditions"];
5954
+ readonly additionalProperties: false;
5955
+ }];
5956
+ };
5957
+ };
5958
+ };
5959
+ readonly required: readonly ["operator", "conditions"];
5960
+ readonly additionalProperties: false;
5961
+ }];
5962
+ };
5963
+ };
5964
+ };
5965
+ readonly required: readonly ["operator", "conditions"];
5966
+ readonly additionalProperties: false;
5967
+ }];
5968
+ };
5969
+ readonly levels: {
5970
+ readonly type: "array";
5971
+ readonly items: {
5972
+ readonly type: "object";
5973
+ readonly properties: {
5974
+ readonly name: {
5975
+ readonly type: "string";
5976
+ };
5977
+ readonly extends: {
5978
+ readonly type: "array";
5979
+ readonly items: {
5980
+ readonly type: "string";
5981
+ };
5982
+ };
5983
+ readonly rules: {
5984
+ readonly type: "object";
5985
+ readonly additionalProperties: {
5986
+ readonly oneOf: readonly [{
5987
+ readonly type: "string";
5988
+ }, {
5989
+ readonly type: "object";
5990
+ readonly properties: {
5991
+ readonly severity: {
5992
+ readonly type: "string";
5993
+ readonly enum: readonly ["error", "warn", "off"];
5994
+ };
5995
+ readonly weight: {
5996
+ readonly type: "number";
5997
+ readonly default: 1;
5998
+ };
5999
+ };
6000
+ readonly additionalProperties: true;
6001
+ }, {
6002
+ readonly type: "object";
6003
+ readonly properties: {
6004
+ readonly title: {
6005
+ readonly type: "string";
6006
+ };
6007
+ readonly subject: {
6008
+ readonly type: "object";
6009
+ readonly properties: {
6010
+ readonly type: {
6011
+ readonly type: "string";
6012
+ readonly enum: readonly ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"];
6013
+ };
6014
+ readonly property: {
6015
+ readonly type: "string";
6016
+ };
6017
+ };
6018
+ readonly required: readonly ["type", "property"];
6019
+ readonly additionalProperties: false;
6020
+ };
6021
+ readonly severity: {
6022
+ readonly type: "string";
6023
+ readonly enum: readonly ["error", "warn", "off"];
6024
+ };
6025
+ readonly message: {
6026
+ readonly type: "string";
6027
+ };
6028
+ readonly assertions: {
6029
+ readonly type: "object";
6030
+ readonly properties: {
6031
+ readonly defined: {
6032
+ readonly type: "boolean";
6033
+ };
6034
+ readonly nonEmpty: {
6035
+ readonly type: "boolean";
6036
+ };
6037
+ readonly eq: {};
6038
+ readonly gt: {
6039
+ readonly type: "number";
6040
+ };
6041
+ readonly gte: {
6042
+ readonly type: "number";
6043
+ };
6044
+ readonly lt: {
6045
+ readonly type: "number";
6046
+ };
6047
+ readonly lte: {
6048
+ readonly type: "number";
6049
+ };
6050
+ readonly const: {};
6051
+ };
6052
+ readonly additionalProperties: false;
6053
+ };
6054
+ readonly where: {
6055
+ readonly type: "array";
6056
+ readonly items: {
6057
+ readonly type: "object";
6058
+ readonly properties: {
6059
+ readonly subject: {
6060
+ readonly type: "object";
6061
+ readonly properties: {
6062
+ readonly type: {
6063
+ readonly type: "string";
6064
+ readonly enum: readonly ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"];
6065
+ };
6066
+ readonly property: {
6067
+ readonly type: "string";
6068
+ };
6069
+ };
6070
+ readonly required: readonly ["type", "property"];
6071
+ readonly additionalProperties: false;
6072
+ };
6073
+ readonly assertions: {
6074
+ readonly type: "object";
6075
+ readonly properties: {
6076
+ readonly defined: {
6077
+ readonly type: "boolean";
6078
+ };
6079
+ readonly nonEmpty: {
6080
+ readonly type: "boolean";
6081
+ };
6082
+ readonly eq: {};
6083
+ readonly gt: {
6084
+ readonly type: "number";
6085
+ };
6086
+ readonly gte: {
6087
+ readonly type: "number";
6088
+ };
6089
+ readonly lt: {
6090
+ readonly type: "number";
6091
+ };
6092
+ readonly lte: {
6093
+ readonly type: "number";
6094
+ };
6095
+ readonly const: {};
6096
+ };
6097
+ readonly additionalProperties: false;
6098
+ };
6099
+ };
6100
+ readonly required: readonly ["subject", "assertions"];
6101
+ readonly additionalProperties: false;
6102
+ };
6103
+ };
6104
+ readonly weight: {
6105
+ readonly type: "number";
6106
+ readonly default: 1;
6107
+ };
6108
+ };
6109
+ readonly required: readonly ["subject", "assertions"];
6110
+ readonly additionalProperties: false;
6111
+ }];
6112
+ };
6113
+ };
6114
+ };
6115
+ readonly required: readonly ["name"];
6116
+ readonly additionalProperties: false;
6117
+ };
6118
+ readonly minItems: 1;
6119
+ };
6120
+ readonly trigger: {
6121
+ readonly oneOf: readonly [{
6122
+ readonly type: "object";
6123
+ readonly properties: {
6124
+ readonly event: {
6125
+ readonly type: "string";
6126
+ readonly enum: readonly ["runtime", "manual"];
6127
+ };
6128
+ };
6129
+ readonly required: readonly ["event"];
6130
+ readonly additionalProperties: false;
6131
+ }, {
6132
+ readonly type: "array";
6133
+ readonly items: {
6134
+ readonly type: "object";
6135
+ readonly properties: {
6136
+ readonly event: {
6137
+ readonly type: "string";
6138
+ readonly enum: readonly ["runtime", "manual"];
6139
+ };
6140
+ };
6141
+ readonly required: readonly ["event"];
6142
+ readonly additionalProperties: false;
6143
+ };
6144
+ }];
6145
+ };
5600
6146
  };
6147
+ readonly required: readonly ["name", "entities", "levels"];
6148
+ readonly additionalProperties: false;
5601
6149
  };
5602
6150
  };
5603
6151
  readonly scorecardClassic: {
@@ -5665,6 +6213,10 @@ export declare const themeConfigSchema: {
5665
6213
  readonly type: "object";
5666
6214
  readonly additionalProperties: true;
5667
6215
  };
6216
+ readonly openrpc1Decorators: {
6217
+ readonly type: "object";
6218
+ readonly additionalProperties: true;
6219
+ };
5668
6220
  readonly preprocessors: {
5669
6221
  readonly type: "object";
5670
6222
  readonly additionalProperties: true;
@@ -5701,6 +6253,10 @@ export declare const themeConfigSchema: {
5701
6253
  readonly type: "object";
5702
6254
  readonly additionalProperties: true;
5703
6255
  };
6256
+ readonly openrpc1Preprocessors: {
6257
+ readonly type: "object";
6258
+ readonly additionalProperties: true;
6259
+ };
5704
6260
  readonly rules: {
5705
6261
  readonly type: "object";
5706
6262
  readonly additionalProperties: {
@@ -5791,6 +6347,16 @@ export declare const themeConfigSchema: {
5791
6347
  }];
5792
6348
  };
5793
6349
  };
6350
+ readonly openrpc1Rules: {
6351
+ readonly type: "object";
6352
+ readonly additionalProperties: {
6353
+ readonly oneOf: readonly [{
6354
+ readonly type: "string";
6355
+ }, {
6356
+ readonly type: "object";
6357
+ }];
6358
+ };
6359
+ };
5794
6360
  readonly name: {
5795
6361
  readonly type: "string";
5796
6362
  };