@redocly/config 0.14.0 → 0.16.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.
@@ -635,6 +635,126 @@ export declare const themeConfigSchema: {
635
635
  readonly reasons: {
636
636
  readonly type: "object";
637
637
  readonly properties: {
638
+ readonly like: {
639
+ readonly type: "object";
640
+ readonly properties: {
641
+ readonly hide: {
642
+ readonly type: "boolean";
643
+ readonly default: false;
644
+ };
645
+ readonly component: {
646
+ readonly type: "string";
647
+ readonly enum: readonly ["radio", "checkbox"];
648
+ readonly default: "checkbox";
649
+ };
650
+ readonly label: {
651
+ readonly type: "string";
652
+ };
653
+ readonly items: {
654
+ readonly type: "array";
655
+ readonly items: {
656
+ readonly type: "string";
657
+ };
658
+ };
659
+ };
660
+ readonly additionalProperties: false;
661
+ };
662
+ readonly dislike: {
663
+ readonly type: "object";
664
+ readonly properties: {
665
+ readonly hide: {
666
+ readonly type: "boolean";
667
+ readonly default: false;
668
+ };
669
+ readonly component: {
670
+ readonly type: "string";
671
+ readonly enum: readonly ["radio", "checkbox"];
672
+ readonly default: "checkbox";
673
+ };
674
+ readonly label: {
675
+ readonly type: "string";
676
+ };
677
+ readonly items: {
678
+ readonly type: "array";
679
+ readonly items: {
680
+ readonly type: "string";
681
+ };
682
+ };
683
+ };
684
+ readonly additionalProperties: false;
685
+ };
686
+ readonly satisfied: {
687
+ readonly type: "object";
688
+ readonly properties: {
689
+ readonly hide: {
690
+ readonly type: "boolean";
691
+ readonly default: false;
692
+ };
693
+ readonly component: {
694
+ readonly type: "string";
695
+ readonly enum: readonly ["radio", "checkbox"];
696
+ readonly default: "checkbox";
697
+ };
698
+ readonly label: {
699
+ readonly type: "string";
700
+ };
701
+ readonly items: {
702
+ readonly type: "array";
703
+ readonly items: {
704
+ readonly type: "string";
705
+ };
706
+ };
707
+ };
708
+ readonly additionalProperties: false;
709
+ };
710
+ readonly neutral: {
711
+ readonly type: "object";
712
+ readonly properties: {
713
+ readonly hide: {
714
+ readonly type: "boolean";
715
+ readonly default: false;
716
+ };
717
+ readonly component: {
718
+ readonly type: "string";
719
+ readonly enum: readonly ["radio", "checkbox"];
720
+ readonly default: "checkbox";
721
+ };
722
+ readonly label: {
723
+ readonly type: "string";
724
+ };
725
+ readonly items: {
726
+ readonly type: "array";
727
+ readonly items: {
728
+ readonly type: "string";
729
+ };
730
+ };
731
+ };
732
+ readonly additionalProperties: false;
733
+ };
734
+ readonly dissatisfied: {
735
+ readonly type: "object";
736
+ readonly properties: {
737
+ readonly hide: {
738
+ readonly type: "boolean";
739
+ readonly default: false;
740
+ };
741
+ readonly component: {
742
+ readonly type: "string";
743
+ readonly enum: readonly ["radio", "checkbox"];
744
+ readonly default: "checkbox";
745
+ };
746
+ readonly label: {
747
+ readonly type: "string";
748
+ };
749
+ readonly items: {
750
+ readonly type: "array";
751
+ readonly items: {
752
+ readonly type: "string";
753
+ };
754
+ };
755
+ };
756
+ readonly additionalProperties: false;
757
+ };
638
758
  readonly hide: {
639
759
  readonly type: "boolean";
640
760
  readonly default: false;
@@ -2384,6 +2504,126 @@ export declare const themeConfigSchema: {
2384
2504
  readonly reasons: {
2385
2505
  readonly type: "object";
2386
2506
  readonly properties: {
2507
+ readonly like: {
2508
+ readonly type: "object";
2509
+ readonly properties: {
2510
+ readonly hide: {
2511
+ readonly type: "boolean";
2512
+ readonly default: false;
2513
+ };
2514
+ readonly component: {
2515
+ readonly type: "string";
2516
+ readonly enum: readonly ["radio", "checkbox"];
2517
+ readonly default: "checkbox";
2518
+ };
2519
+ readonly label: {
2520
+ readonly type: "string";
2521
+ };
2522
+ readonly items: {
2523
+ readonly type: "array";
2524
+ readonly items: {
2525
+ readonly type: "string";
2526
+ };
2527
+ };
2528
+ };
2529
+ readonly additionalProperties: false;
2530
+ };
2531
+ readonly dislike: {
2532
+ readonly type: "object";
2533
+ readonly properties: {
2534
+ readonly hide: {
2535
+ readonly type: "boolean";
2536
+ readonly default: false;
2537
+ };
2538
+ readonly component: {
2539
+ readonly type: "string";
2540
+ readonly enum: readonly ["radio", "checkbox"];
2541
+ readonly default: "checkbox";
2542
+ };
2543
+ readonly label: {
2544
+ readonly type: "string";
2545
+ };
2546
+ readonly items: {
2547
+ readonly type: "array";
2548
+ readonly items: {
2549
+ readonly type: "string";
2550
+ };
2551
+ };
2552
+ };
2553
+ readonly additionalProperties: false;
2554
+ };
2555
+ readonly satisfied: {
2556
+ readonly type: "object";
2557
+ readonly properties: {
2558
+ readonly hide: {
2559
+ readonly type: "boolean";
2560
+ readonly default: false;
2561
+ };
2562
+ readonly component: {
2563
+ readonly type: "string";
2564
+ readonly enum: readonly ["radio", "checkbox"];
2565
+ readonly default: "checkbox";
2566
+ };
2567
+ readonly label: {
2568
+ readonly type: "string";
2569
+ };
2570
+ readonly items: {
2571
+ readonly type: "array";
2572
+ readonly items: {
2573
+ readonly type: "string";
2574
+ };
2575
+ };
2576
+ };
2577
+ readonly additionalProperties: false;
2578
+ };
2579
+ readonly neutral: {
2580
+ readonly type: "object";
2581
+ readonly properties: {
2582
+ readonly hide: {
2583
+ readonly type: "boolean";
2584
+ readonly default: false;
2585
+ };
2586
+ readonly component: {
2587
+ readonly type: "string";
2588
+ readonly enum: readonly ["radio", "checkbox"];
2589
+ readonly default: "checkbox";
2590
+ };
2591
+ readonly label: {
2592
+ readonly type: "string";
2593
+ };
2594
+ readonly items: {
2595
+ readonly type: "array";
2596
+ readonly items: {
2597
+ readonly type: "string";
2598
+ };
2599
+ };
2600
+ };
2601
+ readonly additionalProperties: false;
2602
+ };
2603
+ readonly dissatisfied: {
2604
+ readonly type: "object";
2605
+ readonly properties: {
2606
+ readonly hide: {
2607
+ readonly type: "boolean";
2608
+ readonly default: false;
2609
+ };
2610
+ readonly component: {
2611
+ readonly type: "string";
2612
+ readonly enum: readonly ["radio", "checkbox"];
2613
+ readonly default: "checkbox";
2614
+ };
2615
+ readonly label: {
2616
+ readonly type: "string";
2617
+ };
2618
+ readonly items: {
2619
+ readonly type: "array";
2620
+ readonly items: {
2621
+ readonly type: "string";
2622
+ };
2623
+ };
2624
+ };
2625
+ readonly additionalProperties: false;
2626
+ };
2387
2627
  readonly hide: {
2388
2628
  readonly type: "boolean";
2389
2629
  readonly default: false;
@@ -2846,6 +3086,126 @@ export declare const themeConfigSchema: {
2846
3086
  readonly reasons: {
2847
3087
  readonly type: "object";
2848
3088
  readonly properties: {
3089
+ readonly like: {
3090
+ readonly type: "object";
3091
+ readonly properties: {
3092
+ readonly hide: {
3093
+ readonly type: "boolean";
3094
+ readonly default: false;
3095
+ };
3096
+ readonly component: {
3097
+ readonly type: "string";
3098
+ readonly enum: readonly ["radio", "checkbox"];
3099
+ readonly default: "checkbox";
3100
+ };
3101
+ readonly label: {
3102
+ readonly type: "string";
3103
+ };
3104
+ readonly items: {
3105
+ readonly type: "array";
3106
+ readonly items: {
3107
+ readonly type: "string";
3108
+ };
3109
+ };
3110
+ };
3111
+ readonly additionalProperties: false;
3112
+ };
3113
+ readonly dislike: {
3114
+ readonly type: "object";
3115
+ readonly properties: {
3116
+ readonly hide: {
3117
+ readonly type: "boolean";
3118
+ readonly default: false;
3119
+ };
3120
+ readonly component: {
3121
+ readonly type: "string";
3122
+ readonly enum: readonly ["radio", "checkbox"];
3123
+ readonly default: "checkbox";
3124
+ };
3125
+ readonly label: {
3126
+ readonly type: "string";
3127
+ };
3128
+ readonly items: {
3129
+ readonly type: "array";
3130
+ readonly items: {
3131
+ readonly type: "string";
3132
+ };
3133
+ };
3134
+ };
3135
+ readonly additionalProperties: false;
3136
+ };
3137
+ readonly satisfied: {
3138
+ readonly type: "object";
3139
+ readonly properties: {
3140
+ readonly hide: {
3141
+ readonly type: "boolean";
3142
+ readonly default: false;
3143
+ };
3144
+ readonly component: {
3145
+ readonly type: "string";
3146
+ readonly enum: readonly ["radio", "checkbox"];
3147
+ readonly default: "checkbox";
3148
+ };
3149
+ readonly label: {
3150
+ readonly type: "string";
3151
+ };
3152
+ readonly items: {
3153
+ readonly type: "array";
3154
+ readonly items: {
3155
+ readonly type: "string";
3156
+ };
3157
+ };
3158
+ };
3159
+ readonly additionalProperties: false;
3160
+ };
3161
+ readonly neutral: {
3162
+ readonly type: "object";
3163
+ readonly properties: {
3164
+ readonly hide: {
3165
+ readonly type: "boolean";
3166
+ readonly default: false;
3167
+ };
3168
+ readonly component: {
3169
+ readonly type: "string";
3170
+ readonly enum: readonly ["radio", "checkbox"];
3171
+ readonly default: "checkbox";
3172
+ };
3173
+ readonly label: {
3174
+ readonly type: "string";
3175
+ };
3176
+ readonly items: {
3177
+ readonly type: "array";
3178
+ readonly items: {
3179
+ readonly type: "string";
3180
+ };
3181
+ };
3182
+ };
3183
+ readonly additionalProperties: false;
3184
+ };
3185
+ readonly dissatisfied: {
3186
+ readonly type: "object";
3187
+ readonly properties: {
3188
+ readonly hide: {
3189
+ readonly type: "boolean";
3190
+ readonly default: false;
3191
+ };
3192
+ readonly component: {
3193
+ readonly type: "string";
3194
+ readonly enum: readonly ["radio", "checkbox"];
3195
+ readonly default: "checkbox";
3196
+ };
3197
+ readonly label: {
3198
+ readonly type: "string";
3199
+ };
3200
+ readonly items: {
3201
+ readonly type: "array";
3202
+ readonly items: {
3203
+ readonly type: "string";
3204
+ };
3205
+ };
3206
+ };
3207
+ readonly additionalProperties: false;
3208
+ };
2849
3209
  readonly hide: {
2850
3210
  readonly type: "boolean";
2851
3211
  readonly default: false;
@@ -3537,6 +3897,10 @@ export declare const themeConfigSchema: {
3537
3897
  readonly minimumLevel: {
3538
3898
  readonly type: "string";
3539
3899
  };
3900
+ readonly rules: {
3901
+ readonly type: "object";
3902
+ readonly additionalProperties: true;
3903
+ };
3540
3904
  readonly where: {
3541
3905
  readonly type: "object";
3542
3906
  readonly required: readonly ["metadata"];
@@ -4197,6 +4561,126 @@ export declare const closedThemeConfigSchema: {
4197
4561
  readonly reasons: {
4198
4562
  readonly type: "object";
4199
4563
  readonly properties: {
4564
+ readonly like: {
4565
+ readonly type: "object";
4566
+ readonly properties: {
4567
+ readonly hide: {
4568
+ readonly type: "boolean";
4569
+ readonly default: false;
4570
+ };
4571
+ readonly component: {
4572
+ readonly type: "string";
4573
+ readonly enum: readonly ["radio", "checkbox"];
4574
+ readonly default: "checkbox";
4575
+ };
4576
+ readonly label: {
4577
+ readonly type: "string";
4578
+ };
4579
+ readonly items: {
4580
+ readonly type: "array";
4581
+ readonly items: {
4582
+ readonly type: "string";
4583
+ };
4584
+ };
4585
+ };
4586
+ readonly additionalProperties: false;
4587
+ };
4588
+ readonly dislike: {
4589
+ readonly type: "object";
4590
+ readonly properties: {
4591
+ readonly hide: {
4592
+ readonly type: "boolean";
4593
+ readonly default: false;
4594
+ };
4595
+ readonly component: {
4596
+ readonly type: "string";
4597
+ readonly enum: readonly ["radio", "checkbox"];
4598
+ readonly default: "checkbox";
4599
+ };
4600
+ readonly label: {
4601
+ readonly type: "string";
4602
+ };
4603
+ readonly items: {
4604
+ readonly type: "array";
4605
+ readonly items: {
4606
+ readonly type: "string";
4607
+ };
4608
+ };
4609
+ };
4610
+ readonly additionalProperties: false;
4611
+ };
4612
+ readonly satisfied: {
4613
+ readonly type: "object";
4614
+ readonly properties: {
4615
+ readonly hide: {
4616
+ readonly type: "boolean";
4617
+ readonly default: false;
4618
+ };
4619
+ readonly component: {
4620
+ readonly type: "string";
4621
+ readonly enum: readonly ["radio", "checkbox"];
4622
+ readonly default: "checkbox";
4623
+ };
4624
+ readonly label: {
4625
+ readonly type: "string";
4626
+ };
4627
+ readonly items: {
4628
+ readonly type: "array";
4629
+ readonly items: {
4630
+ readonly type: "string";
4631
+ };
4632
+ };
4633
+ };
4634
+ readonly additionalProperties: false;
4635
+ };
4636
+ readonly neutral: {
4637
+ readonly type: "object";
4638
+ readonly properties: {
4639
+ readonly hide: {
4640
+ readonly type: "boolean";
4641
+ readonly default: false;
4642
+ };
4643
+ readonly component: {
4644
+ readonly type: "string";
4645
+ readonly enum: readonly ["radio", "checkbox"];
4646
+ readonly default: "checkbox";
4647
+ };
4648
+ readonly label: {
4649
+ readonly type: "string";
4650
+ };
4651
+ readonly items: {
4652
+ readonly type: "array";
4653
+ readonly items: {
4654
+ readonly type: "string";
4655
+ };
4656
+ };
4657
+ };
4658
+ readonly additionalProperties: false;
4659
+ };
4660
+ readonly dissatisfied: {
4661
+ readonly type: "object";
4662
+ readonly properties: {
4663
+ readonly hide: {
4664
+ readonly type: "boolean";
4665
+ readonly default: false;
4666
+ };
4667
+ readonly component: {
4668
+ readonly type: "string";
4669
+ readonly enum: readonly ["radio", "checkbox"];
4670
+ readonly default: "checkbox";
4671
+ };
4672
+ readonly label: {
4673
+ readonly type: "string";
4674
+ };
4675
+ readonly items: {
4676
+ readonly type: "array";
4677
+ readonly items: {
4678
+ readonly type: "string";
4679
+ };
4680
+ };
4681
+ };
4682
+ readonly additionalProperties: false;
4683
+ };
4200
4684
  readonly hide: {
4201
4685
  readonly type: "boolean";
4202
4686
  readonly default: false;
@@ -5946,6 +6430,126 @@ export declare const closedThemeConfigSchema: {
5946
6430
  readonly reasons: {
5947
6431
  readonly type: "object";
5948
6432
  readonly properties: {
6433
+ readonly like: {
6434
+ readonly type: "object";
6435
+ readonly properties: {
6436
+ readonly hide: {
6437
+ readonly type: "boolean";
6438
+ readonly default: false;
6439
+ };
6440
+ readonly component: {
6441
+ readonly type: "string";
6442
+ readonly enum: readonly ["radio", "checkbox"];
6443
+ readonly default: "checkbox";
6444
+ };
6445
+ readonly label: {
6446
+ readonly type: "string";
6447
+ };
6448
+ readonly items: {
6449
+ readonly type: "array";
6450
+ readonly items: {
6451
+ readonly type: "string";
6452
+ };
6453
+ };
6454
+ };
6455
+ readonly additionalProperties: false;
6456
+ };
6457
+ readonly dislike: {
6458
+ readonly type: "object";
6459
+ readonly properties: {
6460
+ readonly hide: {
6461
+ readonly type: "boolean";
6462
+ readonly default: false;
6463
+ };
6464
+ readonly component: {
6465
+ readonly type: "string";
6466
+ readonly enum: readonly ["radio", "checkbox"];
6467
+ readonly default: "checkbox";
6468
+ };
6469
+ readonly label: {
6470
+ readonly type: "string";
6471
+ };
6472
+ readonly items: {
6473
+ readonly type: "array";
6474
+ readonly items: {
6475
+ readonly type: "string";
6476
+ };
6477
+ };
6478
+ };
6479
+ readonly additionalProperties: false;
6480
+ };
6481
+ readonly satisfied: {
6482
+ readonly type: "object";
6483
+ readonly properties: {
6484
+ readonly hide: {
6485
+ readonly type: "boolean";
6486
+ readonly default: false;
6487
+ };
6488
+ readonly component: {
6489
+ readonly type: "string";
6490
+ readonly enum: readonly ["radio", "checkbox"];
6491
+ readonly default: "checkbox";
6492
+ };
6493
+ readonly label: {
6494
+ readonly type: "string";
6495
+ };
6496
+ readonly items: {
6497
+ readonly type: "array";
6498
+ readonly items: {
6499
+ readonly type: "string";
6500
+ };
6501
+ };
6502
+ };
6503
+ readonly additionalProperties: false;
6504
+ };
6505
+ readonly neutral: {
6506
+ readonly type: "object";
6507
+ readonly properties: {
6508
+ readonly hide: {
6509
+ readonly type: "boolean";
6510
+ readonly default: false;
6511
+ };
6512
+ readonly component: {
6513
+ readonly type: "string";
6514
+ readonly enum: readonly ["radio", "checkbox"];
6515
+ readonly default: "checkbox";
6516
+ };
6517
+ readonly label: {
6518
+ readonly type: "string";
6519
+ };
6520
+ readonly items: {
6521
+ readonly type: "array";
6522
+ readonly items: {
6523
+ readonly type: "string";
6524
+ };
6525
+ };
6526
+ };
6527
+ readonly additionalProperties: false;
6528
+ };
6529
+ readonly dissatisfied: {
6530
+ readonly type: "object";
6531
+ readonly properties: {
6532
+ readonly hide: {
6533
+ readonly type: "boolean";
6534
+ readonly default: false;
6535
+ };
6536
+ readonly component: {
6537
+ readonly type: "string";
6538
+ readonly enum: readonly ["radio", "checkbox"];
6539
+ readonly default: "checkbox";
6540
+ };
6541
+ readonly label: {
6542
+ readonly type: "string";
6543
+ };
6544
+ readonly items: {
6545
+ readonly type: "array";
6546
+ readonly items: {
6547
+ readonly type: "string";
6548
+ };
6549
+ };
6550
+ };
6551
+ readonly additionalProperties: false;
6552
+ };
5949
6553
  readonly hide: {
5950
6554
  readonly type: "boolean";
5951
6555
  readonly default: false;
@@ -6408,6 +7012,126 @@ export declare const closedThemeConfigSchema: {
6408
7012
  readonly reasons: {
6409
7013
  readonly type: "object";
6410
7014
  readonly properties: {
7015
+ readonly like: {
7016
+ readonly type: "object";
7017
+ readonly properties: {
7018
+ readonly hide: {
7019
+ readonly type: "boolean";
7020
+ readonly default: false;
7021
+ };
7022
+ readonly component: {
7023
+ readonly type: "string";
7024
+ readonly enum: readonly ["radio", "checkbox"];
7025
+ readonly default: "checkbox";
7026
+ };
7027
+ readonly label: {
7028
+ readonly type: "string";
7029
+ };
7030
+ readonly items: {
7031
+ readonly type: "array";
7032
+ readonly items: {
7033
+ readonly type: "string";
7034
+ };
7035
+ };
7036
+ };
7037
+ readonly additionalProperties: false;
7038
+ };
7039
+ readonly dislike: {
7040
+ readonly type: "object";
7041
+ readonly properties: {
7042
+ readonly hide: {
7043
+ readonly type: "boolean";
7044
+ readonly default: false;
7045
+ };
7046
+ readonly component: {
7047
+ readonly type: "string";
7048
+ readonly enum: readonly ["radio", "checkbox"];
7049
+ readonly default: "checkbox";
7050
+ };
7051
+ readonly label: {
7052
+ readonly type: "string";
7053
+ };
7054
+ readonly items: {
7055
+ readonly type: "array";
7056
+ readonly items: {
7057
+ readonly type: "string";
7058
+ };
7059
+ };
7060
+ };
7061
+ readonly additionalProperties: false;
7062
+ };
7063
+ readonly satisfied: {
7064
+ readonly type: "object";
7065
+ readonly properties: {
7066
+ readonly hide: {
7067
+ readonly type: "boolean";
7068
+ readonly default: false;
7069
+ };
7070
+ readonly component: {
7071
+ readonly type: "string";
7072
+ readonly enum: readonly ["radio", "checkbox"];
7073
+ readonly default: "checkbox";
7074
+ };
7075
+ readonly label: {
7076
+ readonly type: "string";
7077
+ };
7078
+ readonly items: {
7079
+ readonly type: "array";
7080
+ readonly items: {
7081
+ readonly type: "string";
7082
+ };
7083
+ };
7084
+ };
7085
+ readonly additionalProperties: false;
7086
+ };
7087
+ readonly neutral: {
7088
+ readonly type: "object";
7089
+ readonly properties: {
7090
+ readonly hide: {
7091
+ readonly type: "boolean";
7092
+ readonly default: false;
7093
+ };
7094
+ readonly component: {
7095
+ readonly type: "string";
7096
+ readonly enum: readonly ["radio", "checkbox"];
7097
+ readonly default: "checkbox";
7098
+ };
7099
+ readonly label: {
7100
+ readonly type: "string";
7101
+ };
7102
+ readonly items: {
7103
+ readonly type: "array";
7104
+ readonly items: {
7105
+ readonly type: "string";
7106
+ };
7107
+ };
7108
+ };
7109
+ readonly additionalProperties: false;
7110
+ };
7111
+ readonly dissatisfied: {
7112
+ readonly type: "object";
7113
+ readonly properties: {
7114
+ readonly hide: {
7115
+ readonly type: "boolean";
7116
+ readonly default: false;
7117
+ };
7118
+ readonly component: {
7119
+ readonly type: "string";
7120
+ readonly enum: readonly ["radio", "checkbox"];
7121
+ readonly default: "checkbox";
7122
+ };
7123
+ readonly label: {
7124
+ readonly type: "string";
7125
+ };
7126
+ readonly items: {
7127
+ readonly type: "array";
7128
+ readonly items: {
7129
+ readonly type: "string";
7130
+ };
7131
+ };
7132
+ };
7133
+ readonly additionalProperties: false;
7134
+ };
6411
7135
  readonly hide: {
6412
7136
  readonly type: "boolean";
6413
7137
  readonly default: false;
@@ -7099,6 +7823,10 @@ export declare const closedThemeConfigSchema: {
7099
7823
  readonly minimumLevel: {
7100
7824
  readonly type: "string";
7101
7825
  };
7826
+ readonly rules: {
7827
+ readonly type: "object";
7828
+ readonly additionalProperties: true;
7829
+ };
7102
7830
  readonly where: {
7103
7831
  readonly type: "object";
7104
7832
  readonly required: readonly ["metadata"];