@mintlify/validation 0.1.480 → 0.1.482
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 +49 -0
- package/dist/mint-config/schemas/v2/properties/api.d.ts +5 -0
- package/dist/mint-config/schemas/v2/properties/api.js +4 -0
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.js +8 -0
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.js +8 -0
- package/dist/mint-config/schemas/v2/properties/navigation/languages.js +8 -0
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.js +8 -0
- package/dist/mint-config/schemas/v2/properties/navigation/version.js +8 -0
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +7 -0
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +7 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +7 -0
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +7 -0
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +7 -0
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +7 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +5 -0
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +7 -0
- package/dist/mint-config/validateConfig.d.ts +14 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -83,12 +83,15 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
83
83
|
examples: z.ZodOptional<z.ZodObject<{
|
|
84
84
|
defaults: z.ZodOptional<z.ZodEnum<["required", "all"]>>;
|
|
85
85
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
86
|
+
prefill: z.ZodOptional<z.ZodBoolean>;
|
|
86
87
|
}, "strip", z.ZodTypeAny, {
|
|
87
88
|
defaults?: "all" | "required" | undefined;
|
|
88
89
|
languages?: string[] | undefined;
|
|
90
|
+
prefill?: boolean | undefined;
|
|
89
91
|
}, {
|
|
90
92
|
defaults?: "all" | "required" | undefined;
|
|
91
93
|
languages?: string[] | undefined;
|
|
94
|
+
prefill?: boolean | undefined;
|
|
92
95
|
}>>;
|
|
93
96
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
94
97
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -134,6 +137,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
134
137
|
examples?: {
|
|
135
138
|
defaults?: "all" | "required" | undefined;
|
|
136
139
|
languages?: string[] | undefined;
|
|
140
|
+
prefill?: boolean | undefined;
|
|
137
141
|
} | undefined;
|
|
138
142
|
mdx?: {
|
|
139
143
|
auth?: {
|
|
@@ -161,6 +165,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
161
165
|
examples?: {
|
|
162
166
|
defaults?: "all" | "required" | undefined;
|
|
163
167
|
languages?: string[] | undefined;
|
|
168
|
+
prefill?: boolean | undefined;
|
|
164
169
|
} | undefined;
|
|
165
170
|
mdx?: {
|
|
166
171
|
auth?: {
|
|
@@ -1644,6 +1649,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1644
1649
|
examples?: {
|
|
1645
1650
|
defaults?: "all" | "required" | undefined;
|
|
1646
1651
|
languages?: string[] | undefined;
|
|
1652
|
+
prefill?: boolean | undefined;
|
|
1647
1653
|
} | undefined;
|
|
1648
1654
|
mdx?: {
|
|
1649
1655
|
auth?: {
|
|
@@ -2045,6 +2051,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2045
2051
|
examples?: {
|
|
2046
2052
|
defaults?: "all" | "required" | undefined;
|
|
2047
2053
|
languages?: string[] | undefined;
|
|
2054
|
+
prefill?: boolean | undefined;
|
|
2048
2055
|
} | undefined;
|
|
2049
2056
|
mdx?: {
|
|
2050
2057
|
auth?: {
|
|
@@ -2334,12 +2341,15 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2334
2341
|
examples: z.ZodOptional<z.ZodObject<{
|
|
2335
2342
|
defaults: z.ZodOptional<z.ZodEnum<["required", "all"]>>;
|
|
2336
2343
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2344
|
+
prefill: z.ZodOptional<z.ZodBoolean>;
|
|
2337
2345
|
}, "strip", z.ZodTypeAny, {
|
|
2338
2346
|
defaults?: "all" | "required" | undefined;
|
|
2339
2347
|
languages?: string[] | undefined;
|
|
2348
|
+
prefill?: boolean | undefined;
|
|
2340
2349
|
}, {
|
|
2341
2350
|
defaults?: "all" | "required" | undefined;
|
|
2342
2351
|
languages?: string[] | undefined;
|
|
2352
|
+
prefill?: boolean | undefined;
|
|
2343
2353
|
}>>;
|
|
2344
2354
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
2345
2355
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -2385,6 +2395,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2385
2395
|
examples?: {
|
|
2386
2396
|
defaults?: "all" | "required" | undefined;
|
|
2387
2397
|
languages?: string[] | undefined;
|
|
2398
|
+
prefill?: boolean | undefined;
|
|
2388
2399
|
} | undefined;
|
|
2389
2400
|
mdx?: {
|
|
2390
2401
|
auth?: {
|
|
@@ -2412,6 +2423,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2412
2423
|
examples?: {
|
|
2413
2424
|
defaults?: "all" | "required" | undefined;
|
|
2414
2425
|
languages?: string[] | undefined;
|
|
2426
|
+
prefill?: boolean | undefined;
|
|
2415
2427
|
} | undefined;
|
|
2416
2428
|
mdx?: {
|
|
2417
2429
|
auth?: {
|
|
@@ -3895,6 +3907,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3895
3907
|
examples?: {
|
|
3896
3908
|
defaults?: "all" | "required" | undefined;
|
|
3897
3909
|
languages?: string[] | undefined;
|
|
3910
|
+
prefill?: boolean | undefined;
|
|
3898
3911
|
} | undefined;
|
|
3899
3912
|
mdx?: {
|
|
3900
3913
|
auth?: {
|
|
@@ -4296,6 +4309,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4296
4309
|
examples?: {
|
|
4297
4310
|
defaults?: "all" | "required" | undefined;
|
|
4298
4311
|
languages?: string[] | undefined;
|
|
4312
|
+
prefill?: boolean | undefined;
|
|
4299
4313
|
} | undefined;
|
|
4300
4314
|
mdx?: {
|
|
4301
4315
|
auth?: {
|
|
@@ -4585,12 +4599,15 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4585
4599
|
examples: z.ZodOptional<z.ZodObject<{
|
|
4586
4600
|
defaults: z.ZodOptional<z.ZodEnum<["required", "all"]>>;
|
|
4587
4601
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4602
|
+
prefill: z.ZodOptional<z.ZodBoolean>;
|
|
4588
4603
|
}, "strip", z.ZodTypeAny, {
|
|
4589
4604
|
defaults?: "all" | "required" | undefined;
|
|
4590
4605
|
languages?: string[] | undefined;
|
|
4606
|
+
prefill?: boolean | undefined;
|
|
4591
4607
|
}, {
|
|
4592
4608
|
defaults?: "all" | "required" | undefined;
|
|
4593
4609
|
languages?: string[] | undefined;
|
|
4610
|
+
prefill?: boolean | undefined;
|
|
4594
4611
|
}>>;
|
|
4595
4612
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
4596
4613
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -4636,6 +4653,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4636
4653
|
examples?: {
|
|
4637
4654
|
defaults?: "all" | "required" | undefined;
|
|
4638
4655
|
languages?: string[] | undefined;
|
|
4656
|
+
prefill?: boolean | undefined;
|
|
4639
4657
|
} | undefined;
|
|
4640
4658
|
mdx?: {
|
|
4641
4659
|
auth?: {
|
|
@@ -4663,6 +4681,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4663
4681
|
examples?: {
|
|
4664
4682
|
defaults?: "all" | "required" | undefined;
|
|
4665
4683
|
languages?: string[] | undefined;
|
|
4684
|
+
prefill?: boolean | undefined;
|
|
4666
4685
|
} | undefined;
|
|
4667
4686
|
mdx?: {
|
|
4668
4687
|
auth?: {
|
|
@@ -6146,6 +6165,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6146
6165
|
examples?: {
|
|
6147
6166
|
defaults?: "all" | "required" | undefined;
|
|
6148
6167
|
languages?: string[] | undefined;
|
|
6168
|
+
prefill?: boolean | undefined;
|
|
6149
6169
|
} | undefined;
|
|
6150
6170
|
mdx?: {
|
|
6151
6171
|
auth?: {
|
|
@@ -6547,6 +6567,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6547
6567
|
examples?: {
|
|
6548
6568
|
defaults?: "all" | "required" | undefined;
|
|
6549
6569
|
languages?: string[] | undefined;
|
|
6570
|
+
prefill?: boolean | undefined;
|
|
6550
6571
|
} | undefined;
|
|
6551
6572
|
mdx?: {
|
|
6552
6573
|
auth?: {
|
|
@@ -6836,12 +6857,15 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6836
6857
|
examples: z.ZodOptional<z.ZodObject<{
|
|
6837
6858
|
defaults: z.ZodOptional<z.ZodEnum<["required", "all"]>>;
|
|
6838
6859
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6860
|
+
prefill: z.ZodOptional<z.ZodBoolean>;
|
|
6839
6861
|
}, "strip", z.ZodTypeAny, {
|
|
6840
6862
|
defaults?: "all" | "required" | undefined;
|
|
6841
6863
|
languages?: string[] | undefined;
|
|
6864
|
+
prefill?: boolean | undefined;
|
|
6842
6865
|
}, {
|
|
6843
6866
|
defaults?: "all" | "required" | undefined;
|
|
6844
6867
|
languages?: string[] | undefined;
|
|
6868
|
+
prefill?: boolean | undefined;
|
|
6845
6869
|
}>>;
|
|
6846
6870
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
6847
6871
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -6887,6 +6911,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6887
6911
|
examples?: {
|
|
6888
6912
|
defaults?: "all" | "required" | undefined;
|
|
6889
6913
|
languages?: string[] | undefined;
|
|
6914
|
+
prefill?: boolean | undefined;
|
|
6890
6915
|
} | undefined;
|
|
6891
6916
|
mdx?: {
|
|
6892
6917
|
auth?: {
|
|
@@ -6914,6 +6939,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6914
6939
|
examples?: {
|
|
6915
6940
|
defaults?: "all" | "required" | undefined;
|
|
6916
6941
|
languages?: string[] | undefined;
|
|
6942
|
+
prefill?: boolean | undefined;
|
|
6917
6943
|
} | undefined;
|
|
6918
6944
|
mdx?: {
|
|
6919
6945
|
auth?: {
|
|
@@ -8397,6 +8423,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8397
8423
|
examples?: {
|
|
8398
8424
|
defaults?: "all" | "required" | undefined;
|
|
8399
8425
|
languages?: string[] | undefined;
|
|
8426
|
+
prefill?: boolean | undefined;
|
|
8400
8427
|
} | undefined;
|
|
8401
8428
|
mdx?: {
|
|
8402
8429
|
auth?: {
|
|
@@ -8798,6 +8825,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8798
8825
|
examples?: {
|
|
8799
8826
|
defaults?: "all" | "required" | undefined;
|
|
8800
8827
|
languages?: string[] | undefined;
|
|
8828
|
+
prefill?: boolean | undefined;
|
|
8801
8829
|
} | undefined;
|
|
8802
8830
|
mdx?: {
|
|
8803
8831
|
auth?: {
|
|
@@ -9087,12 +9115,15 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
9087
9115
|
examples: z.ZodOptional<z.ZodObject<{
|
|
9088
9116
|
defaults: z.ZodOptional<z.ZodEnum<["required", "all"]>>;
|
|
9089
9117
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9118
|
+
prefill: z.ZodOptional<z.ZodBoolean>;
|
|
9090
9119
|
}, "strip", z.ZodTypeAny, {
|
|
9091
9120
|
defaults?: "all" | "required" | undefined;
|
|
9092
9121
|
languages?: string[] | undefined;
|
|
9122
|
+
prefill?: boolean | undefined;
|
|
9093
9123
|
}, {
|
|
9094
9124
|
defaults?: "all" | "required" | undefined;
|
|
9095
9125
|
languages?: string[] | undefined;
|
|
9126
|
+
prefill?: boolean | undefined;
|
|
9096
9127
|
}>>;
|
|
9097
9128
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
9098
9129
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -9138,6 +9169,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
9138
9169
|
examples?: {
|
|
9139
9170
|
defaults?: "all" | "required" | undefined;
|
|
9140
9171
|
languages?: string[] | undefined;
|
|
9172
|
+
prefill?: boolean | undefined;
|
|
9141
9173
|
} | undefined;
|
|
9142
9174
|
mdx?: {
|
|
9143
9175
|
auth?: {
|
|
@@ -9165,6 +9197,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
9165
9197
|
examples?: {
|
|
9166
9198
|
defaults?: "all" | "required" | undefined;
|
|
9167
9199
|
languages?: string[] | undefined;
|
|
9200
|
+
prefill?: boolean | undefined;
|
|
9168
9201
|
} | undefined;
|
|
9169
9202
|
mdx?: {
|
|
9170
9203
|
auth?: {
|
|
@@ -10648,6 +10681,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10648
10681
|
examples?: {
|
|
10649
10682
|
defaults?: "all" | "required" | undefined;
|
|
10650
10683
|
languages?: string[] | undefined;
|
|
10684
|
+
prefill?: boolean | undefined;
|
|
10651
10685
|
} | undefined;
|
|
10652
10686
|
mdx?: {
|
|
10653
10687
|
auth?: {
|
|
@@ -11049,6 +11083,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
11049
11083
|
examples?: {
|
|
11050
11084
|
defaults?: "all" | "required" | undefined;
|
|
11051
11085
|
languages?: string[] | undefined;
|
|
11086
|
+
prefill?: boolean | undefined;
|
|
11052
11087
|
} | undefined;
|
|
11053
11088
|
mdx?: {
|
|
11054
11089
|
auth?: {
|
|
@@ -11338,12 +11373,15 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
11338
11373
|
examples: z.ZodOptional<z.ZodObject<{
|
|
11339
11374
|
defaults: z.ZodOptional<z.ZodEnum<["required", "all"]>>;
|
|
11340
11375
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11376
|
+
prefill: z.ZodOptional<z.ZodBoolean>;
|
|
11341
11377
|
}, "strip", z.ZodTypeAny, {
|
|
11342
11378
|
defaults?: "all" | "required" | undefined;
|
|
11343
11379
|
languages?: string[] | undefined;
|
|
11380
|
+
prefill?: boolean | undefined;
|
|
11344
11381
|
}, {
|
|
11345
11382
|
defaults?: "all" | "required" | undefined;
|
|
11346
11383
|
languages?: string[] | undefined;
|
|
11384
|
+
prefill?: boolean | undefined;
|
|
11347
11385
|
}>>;
|
|
11348
11386
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
11349
11387
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -11389,6 +11427,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
11389
11427
|
examples?: {
|
|
11390
11428
|
defaults?: "all" | "required" | undefined;
|
|
11391
11429
|
languages?: string[] | undefined;
|
|
11430
|
+
prefill?: boolean | undefined;
|
|
11392
11431
|
} | undefined;
|
|
11393
11432
|
mdx?: {
|
|
11394
11433
|
auth?: {
|
|
@@ -11416,6 +11455,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
11416
11455
|
examples?: {
|
|
11417
11456
|
defaults?: "all" | "required" | undefined;
|
|
11418
11457
|
languages?: string[] | undefined;
|
|
11458
|
+
prefill?: boolean | undefined;
|
|
11419
11459
|
} | undefined;
|
|
11420
11460
|
mdx?: {
|
|
11421
11461
|
auth?: {
|
|
@@ -12899,6 +12939,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
12899
12939
|
examples?: {
|
|
12900
12940
|
defaults?: "all" | "required" | undefined;
|
|
12901
12941
|
languages?: string[] | undefined;
|
|
12942
|
+
prefill?: boolean | undefined;
|
|
12902
12943
|
} | undefined;
|
|
12903
12944
|
mdx?: {
|
|
12904
12945
|
auth?: {
|
|
@@ -13300,6 +13341,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13300
13341
|
examples?: {
|
|
13301
13342
|
defaults?: "all" | "required" | undefined;
|
|
13302
13343
|
languages?: string[] | undefined;
|
|
13344
|
+
prefill?: boolean | undefined;
|
|
13303
13345
|
} | undefined;
|
|
13304
13346
|
mdx?: {
|
|
13305
13347
|
auth?: {
|
|
@@ -13589,12 +13631,15 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13589
13631
|
examples: z.ZodOptional<z.ZodObject<{
|
|
13590
13632
|
defaults: z.ZodOptional<z.ZodEnum<["required", "all"]>>;
|
|
13591
13633
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13634
|
+
prefill: z.ZodOptional<z.ZodBoolean>;
|
|
13592
13635
|
}, "strip", z.ZodTypeAny, {
|
|
13593
13636
|
defaults?: "all" | "required" | undefined;
|
|
13594
13637
|
languages?: string[] | undefined;
|
|
13638
|
+
prefill?: boolean | undefined;
|
|
13595
13639
|
}, {
|
|
13596
13640
|
defaults?: "all" | "required" | undefined;
|
|
13597
13641
|
languages?: string[] | undefined;
|
|
13642
|
+
prefill?: boolean | undefined;
|
|
13598
13643
|
}>>;
|
|
13599
13644
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
13600
13645
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -13640,6 +13685,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13640
13685
|
examples?: {
|
|
13641
13686
|
defaults?: "all" | "required" | undefined;
|
|
13642
13687
|
languages?: string[] | undefined;
|
|
13688
|
+
prefill?: boolean | undefined;
|
|
13643
13689
|
} | undefined;
|
|
13644
13690
|
mdx?: {
|
|
13645
13691
|
auth?: {
|
|
@@ -13667,6 +13713,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13667
13713
|
examples?: {
|
|
13668
13714
|
defaults?: "all" | "required" | undefined;
|
|
13669
13715
|
languages?: string[] | undefined;
|
|
13716
|
+
prefill?: boolean | undefined;
|
|
13670
13717
|
} | undefined;
|
|
13671
13718
|
mdx?: {
|
|
13672
13719
|
auth?: {
|
|
@@ -15150,6 +15197,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
15150
15197
|
examples?: {
|
|
15151
15198
|
defaults?: "all" | "required" | undefined;
|
|
15152
15199
|
languages?: string[] | undefined;
|
|
15200
|
+
prefill?: boolean | undefined;
|
|
15153
15201
|
} | undefined;
|
|
15154
15202
|
mdx?: {
|
|
15155
15203
|
auth?: {
|
|
@@ -15551,6 +15599,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
15551
15599
|
examples?: {
|
|
15552
15600
|
defaults?: "all" | "required" | undefined;
|
|
15553
15601
|
languages?: string[] | undefined;
|
|
15602
|
+
prefill?: boolean | undefined;
|
|
15554
15603
|
} | undefined;
|
|
15555
15604
|
mdx?: {
|
|
15556
15605
|
auth?: {
|
|
@@ -40,12 +40,15 @@ export declare const apiSchema: z.ZodObject<{
|
|
|
40
40
|
examples: z.ZodOptional<z.ZodObject<{
|
|
41
41
|
defaults: z.ZodOptional<z.ZodEnum<["required", "all"]>>;
|
|
42
42
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43
|
+
prefill: z.ZodOptional<z.ZodBoolean>;
|
|
43
44
|
}, "strip", z.ZodTypeAny, {
|
|
44
45
|
defaults?: "all" | "required" | undefined;
|
|
45
46
|
languages?: string[] | undefined;
|
|
47
|
+
prefill?: boolean | undefined;
|
|
46
48
|
}, {
|
|
47
49
|
defaults?: "all" | "required" | undefined;
|
|
48
50
|
languages?: string[] | undefined;
|
|
51
|
+
prefill?: boolean | undefined;
|
|
49
52
|
}>>;
|
|
50
53
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
51
54
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -91,6 +94,7 @@ export declare const apiSchema: z.ZodObject<{
|
|
|
91
94
|
examples?: {
|
|
92
95
|
defaults?: "all" | "required" | undefined;
|
|
93
96
|
languages?: string[] | undefined;
|
|
97
|
+
prefill?: boolean | undefined;
|
|
94
98
|
} | undefined;
|
|
95
99
|
mdx?: {
|
|
96
100
|
auth?: {
|
|
@@ -118,6 +122,7 @@ export declare const apiSchema: z.ZodObject<{
|
|
|
118
122
|
examples?: {
|
|
119
123
|
defaults?: "all" | "required" | undefined;
|
|
120
124
|
languages?: string[] | undefined;
|
|
125
|
+
prefill?: boolean | undefined;
|
|
121
126
|
} | undefined;
|
|
122
127
|
mdx?: {
|
|
123
128
|
auth?: {
|
|
@@ -37,6 +37,10 @@ export const apiSchema = z
|
|
|
37
37
|
.array(z.string())
|
|
38
38
|
.optional()
|
|
39
39
|
.describe('Example languages for the autogenerated API snippets'),
|
|
40
|
+
prefill: z
|
|
41
|
+
.boolean()
|
|
42
|
+
.optional()
|
|
43
|
+
.describe('Whether to prefill the API playground with the examples'),
|
|
40
44
|
})
|
|
41
45
|
.optional()
|
|
42
46
|
.describe('Configurations for the autogenerated API examples'),
|
|
@@ -10,6 +10,7 @@ import { globalSchema } from './global.js';
|
|
|
10
10
|
import { decoratedGroupsSchema, groupsSchema } from './groups.js';
|
|
11
11
|
import { decoratedLanguagesSchema, languagesSchema } from './languages.js';
|
|
12
12
|
import { decoratedPagesSchema, pagesSchema } from './pages.js';
|
|
13
|
+
import { decoratedProductsSchema, productsSchema } from './products.js';
|
|
13
14
|
import { decoratedTabsSchema, tabsSchema } from './tabs.js';
|
|
14
15
|
import { decoratedVersionsSchema, versionsSchema } from './version.js';
|
|
15
16
|
export const baseAnchorSchema = z.object({
|
|
@@ -50,6 +51,12 @@ export const anchorSchema = z.union([
|
|
|
50
51
|
asyncapi: asyncApiSchema.optional(),
|
|
51
52
|
global: z.lazy(() => globalSchema).optional(),
|
|
52
53
|
}),
|
|
54
|
+
baseAnchorSchema.extend({
|
|
55
|
+
products: z.lazy(() => productsSchema),
|
|
56
|
+
openapi: openApiSchema.optional(),
|
|
57
|
+
asyncapi: asyncApiSchema.optional(),
|
|
58
|
+
global: z.lazy(() => globalSchema).optional(),
|
|
59
|
+
}),
|
|
53
60
|
baseAnchorSchema.extend({
|
|
54
61
|
groups: z.lazy(() => groupsSchema),
|
|
55
62
|
openapi: openApiSchema.optional(),
|
|
@@ -74,6 +81,7 @@ export const decoratedAnchorSchema = baseAnchorSchema.and(z.union([
|
|
|
74
81
|
z.lazy(() => z.object({ versions: decoratedVersionsSchema, global: globalSchema.optional() })),
|
|
75
82
|
z.lazy(() => z.object({ dropdowns: decoratedDropdownsSchema, global: globalSchema.optional() })),
|
|
76
83
|
z.lazy(() => z.object({ tabs: decoratedTabsSchema, global: globalSchema.optional() })),
|
|
84
|
+
z.lazy(() => z.object({ products: decoratedProductsSchema, global: globalSchema.optional() })),
|
|
77
85
|
z.lazy(() => z.object({ groups: decoratedGroupsSchema, global: globalSchema.optional() })),
|
|
78
86
|
z.lazy(() => z.object({ pages: decoratedPagesSchema, global: globalSchema.optional() })),
|
|
79
87
|
]));
|
|
@@ -10,6 +10,7 @@ import { globalSchema } from './global.js';
|
|
|
10
10
|
import { decoratedGroupsSchema, groupsSchema } from './groups.js';
|
|
11
11
|
import { decoratedLanguagesSchema, languagesSchema } from './languages.js';
|
|
12
12
|
import { decoratedPagesSchema, pagesSchema } from './pages.js';
|
|
13
|
+
import { decoratedProductsSchema, productsSchema } from './products.js';
|
|
13
14
|
import { decoratedTabsSchema, tabsSchema } from './tabs.js';
|
|
14
15
|
import { decoratedVersionsSchema, versionsSchema } from './version.js';
|
|
15
16
|
export const baseDropdownSchema = z.object({
|
|
@@ -51,6 +52,12 @@ export const dropdownSchema = z.union([
|
|
|
51
52
|
asyncapi: asyncApiSchema.optional(),
|
|
52
53
|
global: z.lazy(() => globalSchema).optional(),
|
|
53
54
|
}),
|
|
55
|
+
baseDropdownSchema.extend({
|
|
56
|
+
products: z.lazy(() => productsSchema),
|
|
57
|
+
openapi: openApiSchema.optional(),
|
|
58
|
+
asyncapi: asyncApiSchema.optional(),
|
|
59
|
+
global: z.lazy(() => globalSchema).optional(),
|
|
60
|
+
}),
|
|
54
61
|
baseDropdownSchema.extend({
|
|
55
62
|
groups: z.lazy(() => groupsSchema),
|
|
56
63
|
openapi: openApiSchema.optional(),
|
|
@@ -75,6 +82,7 @@ export const decoratedDropdownSchema = baseDropdownSchema.and(z.union([
|
|
|
75
82
|
z.lazy(() => z.object({ versions: decoratedVersionsSchema, global: globalSchema.optional() })),
|
|
76
83
|
z.lazy(() => z.object({ tabs: decoratedTabsSchema, global: globalSchema.optional() })),
|
|
77
84
|
z.lazy(() => z.object({ anchors: decoratedAnchorsSchema, global: globalSchema.optional() })),
|
|
85
|
+
z.lazy(() => z.object({ products: decoratedProductsSchema, global: globalSchema.optional() })),
|
|
78
86
|
z.lazy(() => z.object({ groups: decoratedGroupsSchema, global: globalSchema.optional() })),
|
|
79
87
|
z.lazy(() => z.object({ pages: decoratedPagesSchema, global: globalSchema.optional() })),
|
|
80
88
|
]));
|
|
@@ -9,6 +9,7 @@ import { decoratedDropdownsSchema, dropdownsSchema } from './dropdown.js';
|
|
|
9
9
|
import { globalSchema } from './global.js';
|
|
10
10
|
import { decoratedGroupsSchema, groupsSchema } from './groups.js';
|
|
11
11
|
import { decoratedPagesSchema, pagesSchema } from './pages.js';
|
|
12
|
+
import { decoratedProductsSchema, productsSchema } from './products.js';
|
|
12
13
|
import { decoratedTabsSchema, tabsSchema } from './tabs.js';
|
|
13
14
|
import { decoratedVersionsSchema, versionsSchema } from './version.js';
|
|
14
15
|
export const baseLanguageSchema = z.object({
|
|
@@ -49,6 +50,12 @@ export const languageSchema = z
|
|
|
49
50
|
asyncapi: asyncApiSchema.optional(),
|
|
50
51
|
global: z.lazy(() => globalSchema).optional(),
|
|
51
52
|
}),
|
|
53
|
+
baseLanguageSchema.extend({
|
|
54
|
+
products: z.lazy(() => productsSchema),
|
|
55
|
+
openapi: openApiSchema.optional(),
|
|
56
|
+
asyncapi: asyncApiSchema.optional(),
|
|
57
|
+
global: z.lazy(() => globalSchema).optional(),
|
|
58
|
+
}),
|
|
52
59
|
baseLanguageSchema.extend({
|
|
53
60
|
groups: z.lazy(() => groupsSchema),
|
|
54
61
|
openapi: openApiSchema.optional(),
|
|
@@ -75,6 +82,7 @@ export const decoratedLanguageSchema = baseLanguageSchema
|
|
|
75
82
|
z.lazy(() => z.object({ tabs: decoratedTabsSchema, global: globalSchema.optional() })),
|
|
76
83
|
z.lazy(() => z.object({ dropdowns: decoratedDropdownsSchema, global: globalSchema.optional() })),
|
|
77
84
|
z.lazy(() => z.object({ anchors: decoratedAnchorsSchema, global: globalSchema.optional() })),
|
|
85
|
+
z.lazy(() => z.object({ products: decoratedProductsSchema, global: globalSchema.optional() })),
|
|
78
86
|
z.lazy(() => z.object({ groups: decoratedGroupsSchema, global: globalSchema.optional() })),
|
|
79
87
|
z.lazy(() => z.object({ pages: decoratedPagesSchema, global: globalSchema.optional() })),
|
|
80
88
|
]))
|
|
@@ -11,6 +11,7 @@ import { decoratedGroupsSchema, groupsSchema } from './groups.js';
|
|
|
11
11
|
import { decoratedLanguagesSchema, languagesSchema } from './languages.js';
|
|
12
12
|
import { decoratedMenuSchema, menuSchema } from './menu.js';
|
|
13
13
|
import { decoratedPagesSchema, pagesSchema } from './pages.js';
|
|
14
|
+
import { decoratedProductsSchema, productsSchema } from './products.js';
|
|
14
15
|
import { decoratedVersionsSchema, versionsSchema } from './version.js';
|
|
15
16
|
export const baseTabSchema = z.object({
|
|
16
17
|
tab: z.string().nonempty().describe('The name of the tab'),
|
|
@@ -49,6 +50,12 @@ export const tabSchema = z.union([
|
|
|
49
50
|
asyncapi: asyncApiSchema.optional(),
|
|
50
51
|
global: z.lazy(() => globalSchema).optional(),
|
|
51
52
|
}),
|
|
53
|
+
baseTabSchema.extend({
|
|
54
|
+
products: z.lazy(() => productsSchema),
|
|
55
|
+
openapi: openApiSchema.optional(),
|
|
56
|
+
asyncapi: asyncApiSchema.optional(),
|
|
57
|
+
global: z.lazy(() => globalSchema).optional(),
|
|
58
|
+
}),
|
|
52
59
|
baseTabSchema.extend({
|
|
53
60
|
groups: z.lazy(() => groupsSchema),
|
|
54
61
|
openapi: openApiSchema.optional(),
|
|
@@ -79,6 +86,7 @@ export const decoratedTabSchema = baseTabSchema.and(z.union([
|
|
|
79
86
|
z.lazy(() => z.object({ versions: decoratedVersionsSchema, global: globalSchema.optional() })),
|
|
80
87
|
z.lazy(() => z.object({ dropdowns: decoratedDropdownsSchema, global: globalSchema.optional() })),
|
|
81
88
|
z.lazy(() => z.object({ anchors: decoratedAnchorsSchema, global: globalSchema.optional() })),
|
|
89
|
+
z.lazy(() => z.object({ products: decoratedProductsSchema, global: globalSchema.optional() })),
|
|
82
90
|
z.lazy(() => z.object({ groups: decoratedGroupsSchema, global: globalSchema.optional() })),
|
|
83
91
|
z.lazy(() => z.object({ pages: decoratedPagesSchema, global: globalSchema.optional() })),
|
|
84
92
|
z.lazy(() => z.object({ menu: decoratedMenuSchema, global: globalSchema.optional() })),
|
|
@@ -9,6 +9,7 @@ import { globalSchema } from './global.js';
|
|
|
9
9
|
import { decoratedGroupsSchema, groupsSchema } from './groups.js';
|
|
10
10
|
import { decoratedLanguagesSchema, languagesSchema } from './languages.js';
|
|
11
11
|
import { decoratedPagesSchema, pagesSchema } from './pages.js';
|
|
12
|
+
import { decoratedProductsSchema, productsSchema } from './products.js';
|
|
12
13
|
import { decoratedTabsSchema, tabsSchema } from './tabs.js';
|
|
13
14
|
export const baseVersionSchema = z.object({
|
|
14
15
|
version: z.string().nonempty().describe('The name of the version'),
|
|
@@ -47,6 +48,12 @@ export const versionSchema = z.union([
|
|
|
47
48
|
asyncapi: asyncApiSchema.optional(),
|
|
48
49
|
global: z.lazy(() => globalSchema).optional(),
|
|
49
50
|
}),
|
|
51
|
+
baseVersionSchema.extend({
|
|
52
|
+
products: z.lazy(() => productsSchema),
|
|
53
|
+
openapi: openApiSchema.optional(),
|
|
54
|
+
asyncapi: asyncApiSchema.optional(),
|
|
55
|
+
global: z.lazy(() => globalSchema).optional(),
|
|
56
|
+
}),
|
|
50
57
|
baseVersionSchema.extend({
|
|
51
58
|
groups: z.lazy(() => groupsSchema),
|
|
52
59
|
openapi: openApiSchema.optional(),
|
|
@@ -71,6 +78,7 @@ export const decoratedVersionSchema = baseVersionSchema.and(z.union([
|
|
|
71
78
|
z.lazy(() => z.object({ tabs: decoratedTabsSchema, global: globalSchema.optional() })),
|
|
72
79
|
z.lazy(() => z.object({ dropdowns: decoratedDropdownsSchema, global: globalSchema.optional() })),
|
|
73
80
|
z.lazy(() => z.object({ anchors: decoratedAnchorsSchema, global: globalSchema.optional() })),
|
|
81
|
+
z.lazy(() => z.object({ products: decoratedProductsSchema, global: globalSchema.optional() })),
|
|
74
82
|
z.lazy(() => z.object({ groups: decoratedGroupsSchema, global: globalSchema.optional() })),
|
|
75
83
|
z.lazy(() => z.object({ pages: decoratedPagesSchema, global: globalSchema.optional() })),
|
|
76
84
|
]));
|
|
@@ -80,12 +80,15 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
80
80
|
examples: z.ZodOptional<z.ZodObject<{
|
|
81
81
|
defaults: z.ZodOptional<z.ZodEnum<["required", "all"]>>;
|
|
82
82
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
83
|
+
prefill: z.ZodOptional<z.ZodBoolean>;
|
|
83
84
|
}, "strip", z.ZodTypeAny, {
|
|
84
85
|
defaults?: "all" | "required" | undefined;
|
|
85
86
|
languages?: string[] | undefined;
|
|
87
|
+
prefill?: boolean | undefined;
|
|
86
88
|
}, {
|
|
87
89
|
defaults?: "all" | "required" | undefined;
|
|
88
90
|
languages?: string[] | undefined;
|
|
91
|
+
prefill?: boolean | undefined;
|
|
89
92
|
}>>;
|
|
90
93
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
91
94
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -131,6 +134,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
131
134
|
examples?: {
|
|
132
135
|
defaults?: "all" | "required" | undefined;
|
|
133
136
|
languages?: string[] | undefined;
|
|
137
|
+
prefill?: boolean | undefined;
|
|
134
138
|
} | undefined;
|
|
135
139
|
mdx?: {
|
|
136
140
|
auth?: {
|
|
@@ -158,6 +162,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
158
162
|
examples?: {
|
|
159
163
|
defaults?: "all" | "required" | undefined;
|
|
160
164
|
languages?: string[] | undefined;
|
|
165
|
+
prefill?: boolean | undefined;
|
|
161
166
|
} | undefined;
|
|
162
167
|
mdx?: {
|
|
163
168
|
auth?: {
|
|
@@ -1641,6 +1646,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1641
1646
|
examples?: {
|
|
1642
1647
|
defaults?: "all" | "required" | undefined;
|
|
1643
1648
|
languages?: string[] | undefined;
|
|
1649
|
+
prefill?: boolean | undefined;
|
|
1644
1650
|
} | undefined;
|
|
1645
1651
|
mdx?: {
|
|
1646
1652
|
auth?: {
|
|
@@ -2042,6 +2048,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
2042
2048
|
examples?: {
|
|
2043
2049
|
defaults?: "all" | "required" | undefined;
|
|
2044
2050
|
languages?: string[] | undefined;
|
|
2051
|
+
prefill?: boolean | undefined;
|
|
2045
2052
|
} | undefined;
|
|
2046
2053
|
mdx?: {
|
|
2047
2054
|
auth?: {
|
|
@@ -80,12 +80,15 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
80
80
|
examples: z.ZodOptional<z.ZodObject<{
|
|
81
81
|
defaults: z.ZodOptional<z.ZodEnum<["required", "all"]>>;
|
|
82
82
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
83
|
+
prefill: z.ZodOptional<z.ZodBoolean>;
|
|
83
84
|
}, "strip", z.ZodTypeAny, {
|
|
84
85
|
defaults?: "all" | "required" | undefined;
|
|
85
86
|
languages?: string[] | undefined;
|
|
87
|
+
prefill?: boolean | undefined;
|
|
86
88
|
}, {
|
|
87
89
|
defaults?: "all" | "required" | undefined;
|
|
88
90
|
languages?: string[] | undefined;
|
|
91
|
+
prefill?: boolean | undefined;
|
|
89
92
|
}>>;
|
|
90
93
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
91
94
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -131,6 +134,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
131
134
|
examples?: {
|
|
132
135
|
defaults?: "all" | "required" | undefined;
|
|
133
136
|
languages?: string[] | undefined;
|
|
137
|
+
prefill?: boolean | undefined;
|
|
134
138
|
} | undefined;
|
|
135
139
|
mdx?: {
|
|
136
140
|
auth?: {
|
|
@@ -158,6 +162,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
158
162
|
examples?: {
|
|
159
163
|
defaults?: "all" | "required" | undefined;
|
|
160
164
|
languages?: string[] | undefined;
|
|
165
|
+
prefill?: boolean | undefined;
|
|
161
166
|
} | undefined;
|
|
162
167
|
mdx?: {
|
|
163
168
|
auth?: {
|
|
@@ -1641,6 +1646,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
1641
1646
|
examples?: {
|
|
1642
1647
|
defaults?: "all" | "required" | undefined;
|
|
1643
1648
|
languages?: string[] | undefined;
|
|
1649
|
+
prefill?: boolean | undefined;
|
|
1644
1650
|
} | undefined;
|
|
1645
1651
|
mdx?: {
|
|
1646
1652
|
auth?: {
|
|
@@ -2042,6 +2048,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
2042
2048
|
examples?: {
|
|
2043
2049
|
defaults?: "all" | "required" | undefined;
|
|
2044
2050
|
languages?: string[] | undefined;
|
|
2051
|
+
prefill?: boolean | undefined;
|
|
2045
2052
|
} | undefined;
|
|
2046
2053
|
mdx?: {
|
|
2047
2054
|
auth?: {
|
|
@@ -80,12 +80,15 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
80
80
|
examples: z.ZodOptional<z.ZodObject<{
|
|
81
81
|
defaults: z.ZodOptional<z.ZodEnum<["required", "all"]>>;
|
|
82
82
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
83
|
+
prefill: z.ZodOptional<z.ZodBoolean>;
|
|
83
84
|
}, "strip", z.ZodTypeAny, {
|
|
84
85
|
defaults?: "all" | "required" | undefined;
|
|
85
86
|
languages?: string[] | undefined;
|
|
87
|
+
prefill?: boolean | undefined;
|
|
86
88
|
}, {
|
|
87
89
|
defaults?: "all" | "required" | undefined;
|
|
88
90
|
languages?: string[] | undefined;
|
|
91
|
+
prefill?: boolean | undefined;
|
|
89
92
|
}>>;
|
|
90
93
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
91
94
|
auth: z.ZodOptional<z.ZodObject<{
|
|
@@ -131,6 +134,7 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
131
134
|
examples?: {
|
|
132
135
|
defaults?: "all" | "required" | undefined;
|
|
133
136
|
languages?: string[] | undefined;
|
|
137
|
+
prefill?: boolean | undefined;
|
|
134
138
|
} | undefined;
|
|
135
139
|
mdx?: {
|
|
136
140
|
auth?: {
|
|
@@ -158,6 +162,7 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
158
162
|
examples?: {
|
|
159
163
|
defaults?: "all" | "required" | undefined;
|
|
160
164
|
languages?: string[] | undefined;
|
|
165
|
+
prefill?: boolean | undefined;
|
|
161
166
|
} | undefined;
|
|
162
167
|
mdx?: {
|
|
163
168
|
auth?: {
|
|
@@ -1641,6 +1646,7 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1641
1646
|
examples?: {
|
|
1642
1647
|
defaults?: "all" | "required" | undefined;
|
|
1643
1648
|
languages?: string[] | undefined;
|
|
1649
|
+
prefill?: boolean | undefined;
|
|
1644
1650
|
} | undefined;
|
|
1645
1651
|
mdx?: {
|
|
1646
1652
|
auth?: {
|
|
@@ -2042,6 +2048,7 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
2042
2048
|
examples?: {
|
|
2043
2049
|
defaults?: "all" | "required" | undefined;
|
|
2044
2050
|
languages?: string[] | undefined;
|
|
2051
|
+
prefill?: boolean | undefined;
|
|
2045
2052
|
} | undefined;
|
|
2046
2053
|
mdx?: {
|
|
2047
2054
|
auth?: {
|