@mintlify/validation 0.1.313 → 0.1.315
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/dist/mint-config/schemas/v2/index.d.ts +861 -11
- package/dist/mint-config/schemas/v2/properties/api.d.ts +18 -0
- package/dist/mint-config/schemas/v2/properties/api.js +2 -0
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.js +10 -1
- package/dist/mint-config/schemas/v2/properties/navigation/divisionNav.d.ts +20 -2
- package/dist/mint-config/schemas/v2/properties/navigation/divisionNav.js +3 -1
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.js +10 -1
- package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +108 -0
- package/dist/mint-config/schemas/v2/properties/navigation/groups.js +2 -0
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +84 -0
- package/dist/mint-config/schemas/v2/properties/navigation/languages.js +10 -1
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.js +13 -1
- package/dist/mint-config/schemas/v2/properties/navigation/version.js +10 -1
- package/dist/mint-config/schemas/v2/properties/reusable/asyncapi.d.ts +24 -0
- package/dist/mint-config/schemas/v2/properties/reusable/asyncapi.js +41 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +170 -0
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +170 -0
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +170 -0
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +170 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +102 -0
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +170 -0
- package/dist/mint-config/validateConfig.d.ts +340 -0
- package/dist/openapi/IncrementalEvaluator.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -515,6 +515,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
515
515
|
} | undefined;
|
|
516
516
|
hidden?: boolean | undefined;
|
|
517
517
|
root?: string | undefined;
|
|
518
|
+
} | {
|
|
519
|
+
group: string;
|
|
520
|
+
asyncapi: (string | string[] | {
|
|
521
|
+
source: string;
|
|
522
|
+
directory?: string | undefined;
|
|
523
|
+
}) & (string | string[] | {
|
|
524
|
+
source: string;
|
|
525
|
+
directory?: string | undefined;
|
|
526
|
+
} | undefined);
|
|
527
|
+
icon?: string | {
|
|
528
|
+
name: string;
|
|
529
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
530
|
+
} | undefined;
|
|
531
|
+
hidden?: boolean | undefined;
|
|
532
|
+
root?: string | undefined;
|
|
518
533
|
} | {
|
|
519
534
|
group: string;
|
|
520
535
|
pages: any[];
|
|
@@ -560,6 +575,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
560
575
|
} | undefined;
|
|
561
576
|
hidden?: boolean | undefined;
|
|
562
577
|
root?: string | undefined;
|
|
578
|
+
} | {
|
|
579
|
+
group: string;
|
|
580
|
+
asyncapi: (string | string[] | {
|
|
581
|
+
source: string;
|
|
582
|
+
directory?: string | undefined;
|
|
583
|
+
}) & (string | string[] | {
|
|
584
|
+
source: string;
|
|
585
|
+
directory?: string | undefined;
|
|
586
|
+
} | undefined);
|
|
587
|
+
icon?: string | {
|
|
588
|
+
name: string;
|
|
589
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
590
|
+
} | undefined;
|
|
591
|
+
hidden?: boolean | undefined;
|
|
592
|
+
root?: string | undefined;
|
|
563
593
|
} | {
|
|
564
594
|
group: string;
|
|
565
595
|
pages: any[];
|
|
@@ -591,6 +621,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
591
621
|
source: string;
|
|
592
622
|
directory?: string | undefined;
|
|
593
623
|
} | undefined;
|
|
624
|
+
asyncapi?: string | string[] | {
|
|
625
|
+
source: string;
|
|
626
|
+
directory?: string | undefined;
|
|
627
|
+
} | undefined;
|
|
594
628
|
playground?: {
|
|
595
629
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
596
630
|
proxy?: boolean | undefined;
|
|
@@ -789,6 +823,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
789
823
|
} | undefined;
|
|
790
824
|
hidden?: boolean | undefined;
|
|
791
825
|
root?: string | undefined;
|
|
826
|
+
} | {
|
|
827
|
+
group: string;
|
|
828
|
+
asyncapi: (string | string[] | {
|
|
829
|
+
source: string;
|
|
830
|
+
directory?: string | undefined;
|
|
831
|
+
}) & (string | string[] | {
|
|
832
|
+
source: string;
|
|
833
|
+
directory?: string | undefined;
|
|
834
|
+
} | undefined);
|
|
835
|
+
icon?: string | {
|
|
836
|
+
name: string;
|
|
837
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
838
|
+
} | undefined;
|
|
839
|
+
hidden?: boolean | undefined;
|
|
840
|
+
root?: string | undefined;
|
|
792
841
|
} | {
|
|
793
842
|
group: string;
|
|
794
843
|
pages: any[];
|
|
@@ -834,6 +883,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
834
883
|
} | undefined;
|
|
835
884
|
hidden?: boolean | undefined;
|
|
836
885
|
root?: string | undefined;
|
|
886
|
+
} | {
|
|
887
|
+
group: string;
|
|
888
|
+
asyncapi: (string | string[] | {
|
|
889
|
+
source: string;
|
|
890
|
+
directory?: string | undefined;
|
|
891
|
+
}) & (string | string[] | {
|
|
892
|
+
source: string;
|
|
893
|
+
directory?: string | undefined;
|
|
894
|
+
} | undefined);
|
|
895
|
+
icon?: string | {
|
|
896
|
+
name: string;
|
|
897
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
898
|
+
} | undefined;
|
|
899
|
+
hidden?: boolean | undefined;
|
|
900
|
+
root?: string | undefined;
|
|
837
901
|
} | {
|
|
838
902
|
group: string;
|
|
839
903
|
pages: any[];
|
|
@@ -865,6 +929,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
865
929
|
source: string;
|
|
866
930
|
directory?: string | undefined;
|
|
867
931
|
} | undefined;
|
|
932
|
+
asyncapi?: string | string[] | {
|
|
933
|
+
source: string;
|
|
934
|
+
directory?: string | undefined;
|
|
935
|
+
} | undefined;
|
|
868
936
|
playground?: {
|
|
869
937
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
870
938
|
proxy?: boolean | undefined;
|
|
@@ -1063,6 +1131,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1063
1131
|
} | undefined;
|
|
1064
1132
|
hidden?: boolean | undefined;
|
|
1065
1133
|
root?: string | undefined;
|
|
1134
|
+
} | {
|
|
1135
|
+
group: string;
|
|
1136
|
+
asyncapi: (string | string[] | {
|
|
1137
|
+
source: string;
|
|
1138
|
+
directory?: string | undefined;
|
|
1139
|
+
}) & (string | string[] | {
|
|
1140
|
+
source: string;
|
|
1141
|
+
directory?: string | undefined;
|
|
1142
|
+
} | undefined);
|
|
1143
|
+
icon?: string | {
|
|
1144
|
+
name: string;
|
|
1145
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1146
|
+
} | undefined;
|
|
1147
|
+
hidden?: boolean | undefined;
|
|
1148
|
+
root?: string | undefined;
|
|
1066
1149
|
} | {
|
|
1067
1150
|
group: string;
|
|
1068
1151
|
pages: any[];
|
|
@@ -1108,6 +1191,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1108
1191
|
} | undefined;
|
|
1109
1192
|
hidden?: boolean | undefined;
|
|
1110
1193
|
root?: string | undefined;
|
|
1194
|
+
} | {
|
|
1195
|
+
group: string;
|
|
1196
|
+
asyncapi: (string | string[] | {
|
|
1197
|
+
source: string;
|
|
1198
|
+
directory?: string | undefined;
|
|
1199
|
+
}) & (string | string[] | {
|
|
1200
|
+
source: string;
|
|
1201
|
+
directory?: string | undefined;
|
|
1202
|
+
} | undefined);
|
|
1203
|
+
icon?: string | {
|
|
1204
|
+
name: string;
|
|
1205
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1206
|
+
} | undefined;
|
|
1207
|
+
hidden?: boolean | undefined;
|
|
1208
|
+
root?: string | undefined;
|
|
1111
1209
|
} | {
|
|
1112
1210
|
group: string;
|
|
1113
1211
|
pages: any[];
|
|
@@ -1139,6 +1237,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1139
1237
|
source: string;
|
|
1140
1238
|
directory?: string | undefined;
|
|
1141
1239
|
} | undefined;
|
|
1240
|
+
asyncapi?: string | string[] | {
|
|
1241
|
+
source: string;
|
|
1242
|
+
directory?: string | undefined;
|
|
1243
|
+
} | undefined;
|
|
1142
1244
|
playground?: {
|
|
1143
1245
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
1144
1246
|
proxy?: boolean | undefined;
|
|
@@ -1337,6 +1439,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1337
1439
|
} | undefined;
|
|
1338
1440
|
hidden?: boolean | undefined;
|
|
1339
1441
|
root?: string | undefined;
|
|
1442
|
+
} | {
|
|
1443
|
+
group: string;
|
|
1444
|
+
asyncapi: (string | string[] | {
|
|
1445
|
+
source: string;
|
|
1446
|
+
directory?: string | undefined;
|
|
1447
|
+
}) & (string | string[] | {
|
|
1448
|
+
source: string;
|
|
1449
|
+
directory?: string | undefined;
|
|
1450
|
+
} | undefined);
|
|
1451
|
+
icon?: string | {
|
|
1452
|
+
name: string;
|
|
1453
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1454
|
+
} | undefined;
|
|
1455
|
+
hidden?: boolean | undefined;
|
|
1456
|
+
root?: string | undefined;
|
|
1340
1457
|
} | {
|
|
1341
1458
|
group: string;
|
|
1342
1459
|
pages: any[];
|
|
@@ -1382,6 +1499,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1382
1499
|
} | undefined;
|
|
1383
1500
|
hidden?: boolean | undefined;
|
|
1384
1501
|
root?: string | undefined;
|
|
1502
|
+
} | {
|
|
1503
|
+
group: string;
|
|
1504
|
+
asyncapi: (string | string[] | {
|
|
1505
|
+
source: string;
|
|
1506
|
+
directory?: string | undefined;
|
|
1507
|
+
}) & (string | string[] | {
|
|
1508
|
+
source: string;
|
|
1509
|
+
directory?: string | undefined;
|
|
1510
|
+
} | undefined);
|
|
1511
|
+
icon?: string | {
|
|
1512
|
+
name: string;
|
|
1513
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1514
|
+
} | undefined;
|
|
1515
|
+
hidden?: boolean | undefined;
|
|
1516
|
+
root?: string | undefined;
|
|
1385
1517
|
} | {
|
|
1386
1518
|
group: string;
|
|
1387
1519
|
pages: any[];
|
|
@@ -1413,6 +1545,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1413
1545
|
source: string;
|
|
1414
1546
|
directory?: string | undefined;
|
|
1415
1547
|
} | undefined;
|
|
1548
|
+
asyncapi?: string | string[] | {
|
|
1549
|
+
source: string;
|
|
1550
|
+
directory?: string | undefined;
|
|
1551
|
+
} | undefined;
|
|
1416
1552
|
playground?: {
|
|
1417
1553
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
1418
1554
|
proxy?: boolean | undefined;
|
|
@@ -1611,6 +1747,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1611
1747
|
} | undefined;
|
|
1612
1748
|
hidden?: boolean | undefined;
|
|
1613
1749
|
root?: string | undefined;
|
|
1750
|
+
} | {
|
|
1751
|
+
group: string;
|
|
1752
|
+
asyncapi: (string | string[] | {
|
|
1753
|
+
source: string;
|
|
1754
|
+
directory?: string | undefined;
|
|
1755
|
+
}) & (string | string[] | {
|
|
1756
|
+
source: string;
|
|
1757
|
+
directory?: string | undefined;
|
|
1758
|
+
} | undefined);
|
|
1759
|
+
icon?: string | {
|
|
1760
|
+
name: string;
|
|
1761
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1762
|
+
} | undefined;
|
|
1763
|
+
hidden?: boolean | undefined;
|
|
1764
|
+
root?: string | undefined;
|
|
1614
1765
|
} | {
|
|
1615
1766
|
group: string;
|
|
1616
1767
|
pages: any[];
|
|
@@ -1656,6 +1807,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1656
1807
|
} | undefined;
|
|
1657
1808
|
hidden?: boolean | undefined;
|
|
1658
1809
|
root?: string | undefined;
|
|
1810
|
+
} | {
|
|
1811
|
+
group: string;
|
|
1812
|
+
asyncapi: (string | string[] | {
|
|
1813
|
+
source: string;
|
|
1814
|
+
directory?: string | undefined;
|
|
1815
|
+
}) & (string | string[] | {
|
|
1816
|
+
source: string;
|
|
1817
|
+
directory?: string | undefined;
|
|
1818
|
+
} | undefined);
|
|
1819
|
+
icon?: string | {
|
|
1820
|
+
name: string;
|
|
1821
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
1822
|
+
} | undefined;
|
|
1823
|
+
hidden?: boolean | undefined;
|
|
1824
|
+
root?: string | undefined;
|
|
1659
1825
|
} | {
|
|
1660
1826
|
group: string;
|
|
1661
1827
|
pages: any[];
|
|
@@ -1687,6 +1853,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1687
1853
|
source: string;
|
|
1688
1854
|
directory?: string | undefined;
|
|
1689
1855
|
} | undefined;
|
|
1856
|
+
asyncapi?: string | string[] | {
|
|
1857
|
+
source: string;
|
|
1858
|
+
directory?: string | undefined;
|
|
1859
|
+
} | undefined;
|
|
1690
1860
|
playground?: {
|
|
1691
1861
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
1692
1862
|
proxy?: boolean | undefined;
|
|
@@ -1889,6 +2059,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1889
2059
|
} | undefined;
|
|
1890
2060
|
hidden?: boolean | undefined;
|
|
1891
2061
|
root?: string | undefined;
|
|
2062
|
+
} | {
|
|
2063
|
+
group: string;
|
|
2064
|
+
asyncapi: (string | string[] | {
|
|
2065
|
+
source: string;
|
|
2066
|
+
directory?: string | undefined;
|
|
2067
|
+
}) & (string | string[] | {
|
|
2068
|
+
source: string;
|
|
2069
|
+
directory?: string | undefined;
|
|
2070
|
+
} | undefined);
|
|
2071
|
+
icon?: string | {
|
|
2072
|
+
name: string;
|
|
2073
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
2074
|
+
} | undefined;
|
|
2075
|
+
hidden?: boolean | undefined;
|
|
2076
|
+
root?: string | undefined;
|
|
1892
2077
|
} | {
|
|
1893
2078
|
group: string;
|
|
1894
2079
|
pages: any[];
|
|
@@ -1934,6 +2119,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1934
2119
|
} | undefined;
|
|
1935
2120
|
hidden?: boolean | undefined;
|
|
1936
2121
|
root?: string | undefined;
|
|
2122
|
+
} | {
|
|
2123
|
+
group: string;
|
|
2124
|
+
asyncapi: (string | string[] | {
|
|
2125
|
+
source: string;
|
|
2126
|
+
directory?: string | undefined;
|
|
2127
|
+
}) & (string | string[] | {
|
|
2128
|
+
source: string;
|
|
2129
|
+
directory?: string | undefined;
|
|
2130
|
+
} | undefined);
|
|
2131
|
+
icon?: string | {
|
|
2132
|
+
name: string;
|
|
2133
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
2134
|
+
} | undefined;
|
|
2135
|
+
hidden?: boolean | undefined;
|
|
2136
|
+
root?: string | undefined;
|
|
1937
2137
|
} | {
|
|
1938
2138
|
group: string;
|
|
1939
2139
|
pages: any[];
|
|
@@ -1964,6 +2164,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1964
2164
|
source: string;
|
|
1965
2165
|
directory?: string | undefined;
|
|
1966
2166
|
} | undefined;
|
|
2167
|
+
asyncapi?: string | string[] | {
|
|
2168
|
+
source: string;
|
|
2169
|
+
directory?: string | undefined;
|
|
2170
|
+
} | undefined;
|
|
1967
2171
|
playground?: {
|
|
1968
2172
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
1969
2173
|
proxy?: boolean | undefined;
|
|
@@ -2163,6 +2367,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2163
2367
|
} | undefined;
|
|
2164
2368
|
hidden?: boolean | undefined;
|
|
2165
2369
|
root?: string | undefined;
|
|
2370
|
+
} | {
|
|
2371
|
+
group: string;
|
|
2372
|
+
asyncapi: (string | string[] | {
|
|
2373
|
+
source: string;
|
|
2374
|
+
directory?: string | undefined;
|
|
2375
|
+
}) & (string | string[] | {
|
|
2376
|
+
source: string;
|
|
2377
|
+
directory?: string | undefined;
|
|
2378
|
+
} | undefined);
|
|
2379
|
+
icon?: string | {
|
|
2380
|
+
name: string;
|
|
2381
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
2382
|
+
} | undefined;
|
|
2383
|
+
hidden?: boolean | undefined;
|
|
2384
|
+
root?: string | undefined;
|
|
2166
2385
|
} | {
|
|
2167
2386
|
group: string;
|
|
2168
2387
|
pages: any[];
|
|
@@ -2208,6 +2427,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2208
2427
|
} | undefined;
|
|
2209
2428
|
hidden?: boolean | undefined;
|
|
2210
2429
|
root?: string | undefined;
|
|
2430
|
+
} | {
|
|
2431
|
+
group: string;
|
|
2432
|
+
asyncapi: (string | string[] | {
|
|
2433
|
+
source: string;
|
|
2434
|
+
directory?: string | undefined;
|
|
2435
|
+
}) & (string | string[] | {
|
|
2436
|
+
source: string;
|
|
2437
|
+
directory?: string | undefined;
|
|
2438
|
+
} | undefined);
|
|
2439
|
+
icon?: string | {
|
|
2440
|
+
name: string;
|
|
2441
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
2442
|
+
} | undefined;
|
|
2443
|
+
hidden?: boolean | undefined;
|
|
2444
|
+
root?: string | undefined;
|
|
2211
2445
|
} | {
|
|
2212
2446
|
group: string;
|
|
2213
2447
|
pages: any[];
|
|
@@ -2238,6 +2472,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2238
2472
|
source: string;
|
|
2239
2473
|
directory?: string | undefined;
|
|
2240
2474
|
} | undefined;
|
|
2475
|
+
asyncapi?: string | string[] | {
|
|
2476
|
+
source: string;
|
|
2477
|
+
directory?: string | undefined;
|
|
2478
|
+
} | undefined;
|
|
2241
2479
|
playground?: {
|
|
2242
2480
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
2243
2481
|
proxy?: boolean | undefined;
|
|
@@ -2437,6 +2675,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2437
2675
|
} | undefined;
|
|
2438
2676
|
hidden?: boolean | undefined;
|
|
2439
2677
|
root?: string | undefined;
|
|
2678
|
+
} | {
|
|
2679
|
+
group: string;
|
|
2680
|
+
asyncapi: (string | string[] | {
|
|
2681
|
+
source: string;
|
|
2682
|
+
directory?: string | undefined;
|
|
2683
|
+
}) & (string | string[] | {
|
|
2684
|
+
source: string;
|
|
2685
|
+
directory?: string | undefined;
|
|
2686
|
+
} | undefined);
|
|
2687
|
+
icon?: string | {
|
|
2688
|
+
name: string;
|
|
2689
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
2690
|
+
} | undefined;
|
|
2691
|
+
hidden?: boolean | undefined;
|
|
2692
|
+
root?: string | undefined;
|
|
2440
2693
|
} | {
|
|
2441
2694
|
group: string;
|
|
2442
2695
|
pages: any[];
|
|
@@ -2482,6 +2735,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2482
2735
|
} | undefined;
|
|
2483
2736
|
hidden?: boolean | undefined;
|
|
2484
2737
|
root?: string | undefined;
|
|
2738
|
+
} | {
|
|
2739
|
+
group: string;
|
|
2740
|
+
asyncapi: (string | string[] | {
|
|
2741
|
+
source: string;
|
|
2742
|
+
directory?: string | undefined;
|
|
2743
|
+
}) & (string | string[] | {
|
|
2744
|
+
source: string;
|
|
2745
|
+
directory?: string | undefined;
|
|
2746
|
+
} | undefined);
|
|
2747
|
+
icon?: string | {
|
|
2748
|
+
name: string;
|
|
2749
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
2750
|
+
} | undefined;
|
|
2751
|
+
hidden?: boolean | undefined;
|
|
2752
|
+
root?: string | undefined;
|
|
2485
2753
|
} | {
|
|
2486
2754
|
group: string;
|
|
2487
2755
|
pages: any[];
|
|
@@ -2512,6 +2780,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2512
2780
|
source: string;
|
|
2513
2781
|
directory?: string | undefined;
|
|
2514
2782
|
} | undefined;
|
|
2783
|
+
asyncapi?: string | string[] | {
|
|
2784
|
+
source: string;
|
|
2785
|
+
directory?: string | undefined;
|
|
2786
|
+
} | undefined;
|
|
2515
2787
|
playground?: {
|
|
2516
2788
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
2517
2789
|
proxy?: boolean | undefined;
|
|
@@ -2711,6 +2983,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2711
2983
|
} | undefined;
|
|
2712
2984
|
hidden?: boolean | undefined;
|
|
2713
2985
|
root?: string | undefined;
|
|
2986
|
+
} | {
|
|
2987
|
+
group: string;
|
|
2988
|
+
asyncapi: (string | string[] | {
|
|
2989
|
+
source: string;
|
|
2990
|
+
directory?: string | undefined;
|
|
2991
|
+
}) & (string | string[] | {
|
|
2992
|
+
source: string;
|
|
2993
|
+
directory?: string | undefined;
|
|
2994
|
+
} | undefined);
|
|
2995
|
+
icon?: string | {
|
|
2996
|
+
name: string;
|
|
2997
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
2998
|
+
} | undefined;
|
|
2999
|
+
hidden?: boolean | undefined;
|
|
3000
|
+
root?: string | undefined;
|
|
2714
3001
|
} | {
|
|
2715
3002
|
group: string;
|
|
2716
3003
|
pages: any[];
|
|
@@ -2756,6 +3043,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2756
3043
|
} | undefined;
|
|
2757
3044
|
hidden?: boolean | undefined;
|
|
2758
3045
|
root?: string | undefined;
|
|
3046
|
+
} | {
|
|
3047
|
+
group: string;
|
|
3048
|
+
asyncapi: (string | string[] | {
|
|
3049
|
+
source: string;
|
|
3050
|
+
directory?: string | undefined;
|
|
3051
|
+
}) & (string | string[] | {
|
|
3052
|
+
source: string;
|
|
3053
|
+
directory?: string | undefined;
|
|
3054
|
+
} | undefined);
|
|
3055
|
+
icon?: string | {
|
|
3056
|
+
name: string;
|
|
3057
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
3058
|
+
} | undefined;
|
|
3059
|
+
hidden?: boolean | undefined;
|
|
3060
|
+
root?: string | undefined;
|
|
2759
3061
|
} | {
|
|
2760
3062
|
group: string;
|
|
2761
3063
|
pages: any[];
|
|
@@ -2786,6 +3088,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2786
3088
|
source: string;
|
|
2787
3089
|
directory?: string | undefined;
|
|
2788
3090
|
} | undefined;
|
|
3091
|
+
asyncapi?: string | string[] | {
|
|
3092
|
+
source: string;
|
|
3093
|
+
directory?: string | undefined;
|
|
3094
|
+
} | undefined;
|
|
2789
3095
|
playground?: {
|
|
2790
3096
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
2791
3097
|
proxy?: boolean | undefined;
|
|
@@ -2985,6 +3291,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2985
3291
|
} | undefined;
|
|
2986
3292
|
hidden?: boolean | undefined;
|
|
2987
3293
|
root?: string | undefined;
|
|
3294
|
+
} | {
|
|
3295
|
+
group: string;
|
|
3296
|
+
asyncapi: (string | string[] | {
|
|
3297
|
+
source: string;
|
|
3298
|
+
directory?: string | undefined;
|
|
3299
|
+
}) & (string | string[] | {
|
|
3300
|
+
source: string;
|
|
3301
|
+
directory?: string | undefined;
|
|
3302
|
+
} | undefined);
|
|
3303
|
+
icon?: string | {
|
|
3304
|
+
name: string;
|
|
3305
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
3306
|
+
} | undefined;
|
|
3307
|
+
hidden?: boolean | undefined;
|
|
3308
|
+
root?: string | undefined;
|
|
2988
3309
|
} | {
|
|
2989
3310
|
group: string;
|
|
2990
3311
|
pages: any[];
|
|
@@ -3030,6 +3351,21 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3030
3351
|
} | undefined;
|
|
3031
3352
|
hidden?: boolean | undefined;
|
|
3032
3353
|
root?: string | undefined;
|
|
3354
|
+
} | {
|
|
3355
|
+
group: string;
|
|
3356
|
+
asyncapi: (string | string[] | {
|
|
3357
|
+
source: string;
|
|
3358
|
+
directory?: string | undefined;
|
|
3359
|
+
}) & (string | string[] | {
|
|
3360
|
+
source: string;
|
|
3361
|
+
directory?: string | undefined;
|
|
3362
|
+
} | undefined);
|
|
3363
|
+
icon?: string | {
|
|
3364
|
+
name: string;
|
|
3365
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
3366
|
+
} | undefined;
|
|
3367
|
+
hidden?: boolean | undefined;
|
|
3368
|
+
root?: string | undefined;
|
|
3033
3369
|
} | {
|
|
3034
3370
|
group: string;
|
|
3035
3371
|
pages: any[];
|
|
@@ -3060,6 +3396,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3060
3396
|
source: string;
|
|
3061
3397
|
directory?: string | undefined;
|
|
3062
3398
|
} | undefined;
|
|
3399
|
+
asyncapi?: string | string[] | {
|
|
3400
|
+
source: string;
|
|
3401
|
+
directory?: string | undefined;
|
|
3402
|
+
} | undefined;
|
|
3063
3403
|
playground?: {
|
|
3064
3404
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
3065
3405
|
proxy?: boolean | undefined;
|
|
@@ -44,7 +44,7 @@ export function reduceToSumOfProducts(schemaOrRef, componentSchemas, opts) {
|
|
|
44
44
|
else {
|
|
45
45
|
schema = schemaOrRef;
|
|
46
46
|
}
|
|
47
|
-
if ((opts === null || opts === void 0 ? void 0 : opts.isRoot) && ((_c = schema.discriminator) === null || _c === void 0 ? void 0 : _c.mapping)) {
|
|
47
|
+
if ((opts === null || opts === void 0 ? void 0 : opts.isRoot) && ((_c = schema.discriminator) === null || _c === void 0 ? void 0 : _c.mapping) && !schema.oneOf && !schema.allOf) {
|
|
48
48
|
const properties = Object.values(schema.discriminator.mapping);
|
|
49
49
|
if (properties.length) {
|
|
50
50
|
delete schema.discriminator;
|