@mintlify/validation 0.1.228 → 0.1.229
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 +100 -100
- package/dist/mint-config/schemas/v2/properties/feedback.d.ts +9 -9
- package/dist/mint-config/schemas/v2/properties/feedback.js +3 -3
- package/dist/mint-config/schemas/v2/properties/legacy.d.ts +6 -6
- package/dist/mint-config/schemas/v2/properties/legacy.js +2 -1
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +25 -25
- package/dist/mint-config/schemas/v2/themes/prism.d.ts +25 -25
- package/dist/mint-config/schemas/v2/themes/quill.d.ts +25 -25
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +15 -15
- package/dist/mint-config/schemas/v2/themes/venus.d.ts +25 -25
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -530,17 +530,17 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
530
530
|
}[] | undefined;
|
|
531
531
|
}>>;
|
|
532
532
|
feedback: z.ZodOptional<z.ZodObject<{
|
|
533
|
-
thumbs: z.ZodBoolean
|
|
534
|
-
edits: z.ZodBoolean
|
|
535
|
-
issues: z.ZodBoolean
|
|
533
|
+
thumbs: z.ZodOptional<z.ZodBoolean>;
|
|
534
|
+
edits: z.ZodOptional<z.ZodBoolean>;
|
|
535
|
+
issues: z.ZodOptional<z.ZodBoolean>;
|
|
536
536
|
}, "strip", z.ZodTypeAny, {
|
|
537
|
-
thumbs
|
|
538
|
-
edits
|
|
539
|
-
issues
|
|
537
|
+
thumbs?: boolean | undefined;
|
|
538
|
+
edits?: boolean | undefined;
|
|
539
|
+
issues?: boolean | undefined;
|
|
540
540
|
}, {
|
|
541
|
-
thumbs
|
|
542
|
-
edits
|
|
543
|
-
issues
|
|
541
|
+
thumbs?: boolean | undefined;
|
|
542
|
+
edits?: boolean | undefined;
|
|
543
|
+
issues?: boolean | undefined;
|
|
544
544
|
}>>;
|
|
545
545
|
search: z.ZodOptional<z.ZodObject<{
|
|
546
546
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -946,14 +946,14 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
946
946
|
} | undefined;
|
|
947
947
|
}>>;
|
|
948
948
|
legacy: z.ZodOptional<z.ZodObject<{
|
|
949
|
-
baseurl: z.ZodString
|
|
950
|
-
auth: z.ZodEnum<["basic", "bearer", "cobo", "key"]
|
|
949
|
+
baseurl: z.ZodOptional<z.ZodString>;
|
|
950
|
+
auth: z.ZodOptional<z.ZodEnum<["basic", "bearer", "cobo", "key"]>>;
|
|
951
951
|
}, "strip", z.ZodTypeAny, {
|
|
952
|
-
|
|
953
|
-
|
|
952
|
+
baseurl?: string | undefined;
|
|
953
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
954
954
|
}, {
|
|
955
|
-
|
|
956
|
-
|
|
955
|
+
baseurl?: string | undefined;
|
|
956
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
957
957
|
}>>;
|
|
958
958
|
theme: z.ZodLiteral<"mint">;
|
|
959
959
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1140,9 +1140,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1140
1140
|
}[] | undefined;
|
|
1141
1141
|
} | undefined;
|
|
1142
1142
|
feedback?: {
|
|
1143
|
-
thumbs
|
|
1144
|
-
edits
|
|
1145
|
-
issues
|
|
1143
|
+
thumbs?: boolean | undefined;
|
|
1144
|
+
edits?: boolean | undefined;
|
|
1145
|
+
issues?: boolean | undefined;
|
|
1146
1146
|
} | undefined;
|
|
1147
1147
|
search?: {
|
|
1148
1148
|
prompt?: string | undefined;
|
|
@@ -1240,8 +1240,8 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1240
1240
|
} | undefined;
|
|
1241
1241
|
} | undefined;
|
|
1242
1242
|
legacy?: {
|
|
1243
|
-
|
|
1244
|
-
|
|
1243
|
+
baseurl?: string | undefined;
|
|
1244
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
1245
1245
|
} | undefined;
|
|
1246
1246
|
}, {
|
|
1247
1247
|
name: string;
|
|
@@ -1427,9 +1427,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1427
1427
|
}[] | undefined;
|
|
1428
1428
|
} | undefined;
|
|
1429
1429
|
feedback?: {
|
|
1430
|
-
thumbs
|
|
1431
|
-
edits
|
|
1432
|
-
issues
|
|
1430
|
+
thumbs?: boolean | undefined;
|
|
1431
|
+
edits?: boolean | undefined;
|
|
1432
|
+
issues?: boolean | undefined;
|
|
1433
1433
|
} | undefined;
|
|
1434
1434
|
search?: {
|
|
1435
1435
|
prompt?: string | undefined;
|
|
@@ -1527,8 +1527,8 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1527
1527
|
} | undefined;
|
|
1528
1528
|
} | undefined;
|
|
1529
1529
|
legacy?: {
|
|
1530
|
-
|
|
1531
|
-
|
|
1530
|
+
baseurl?: string | undefined;
|
|
1531
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
1532
1532
|
} | undefined;
|
|
1533
1533
|
}>, z.ZodObject<{
|
|
1534
1534
|
$schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -2060,17 +2060,17 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2060
2060
|
}[] | undefined;
|
|
2061
2061
|
}>>;
|
|
2062
2062
|
feedback: z.ZodOptional<z.ZodObject<{
|
|
2063
|
-
thumbs: z.ZodBoolean
|
|
2064
|
-
edits: z.ZodBoolean
|
|
2065
|
-
issues: z.ZodBoolean
|
|
2063
|
+
thumbs: z.ZodOptional<z.ZodBoolean>;
|
|
2064
|
+
edits: z.ZodOptional<z.ZodBoolean>;
|
|
2065
|
+
issues: z.ZodOptional<z.ZodBoolean>;
|
|
2066
2066
|
}, "strip", z.ZodTypeAny, {
|
|
2067
|
-
thumbs
|
|
2068
|
-
edits
|
|
2069
|
-
issues
|
|
2067
|
+
thumbs?: boolean | undefined;
|
|
2068
|
+
edits?: boolean | undefined;
|
|
2069
|
+
issues?: boolean | undefined;
|
|
2070
2070
|
}, {
|
|
2071
|
-
thumbs
|
|
2072
|
-
edits
|
|
2073
|
-
issues
|
|
2071
|
+
thumbs?: boolean | undefined;
|
|
2072
|
+
edits?: boolean | undefined;
|
|
2073
|
+
issues?: boolean | undefined;
|
|
2074
2074
|
}>>;
|
|
2075
2075
|
search: z.ZodOptional<z.ZodObject<{
|
|
2076
2076
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -2476,14 +2476,14 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2476
2476
|
} | undefined;
|
|
2477
2477
|
}>>;
|
|
2478
2478
|
legacy: z.ZodOptional<z.ZodObject<{
|
|
2479
|
-
baseurl: z.ZodString
|
|
2480
|
-
auth: z.ZodEnum<["basic", "bearer", "cobo", "key"]
|
|
2479
|
+
baseurl: z.ZodOptional<z.ZodString>;
|
|
2480
|
+
auth: z.ZodOptional<z.ZodEnum<["basic", "bearer", "cobo", "key"]>>;
|
|
2481
2481
|
}, "strip", z.ZodTypeAny, {
|
|
2482
|
-
|
|
2483
|
-
|
|
2482
|
+
baseurl?: string | undefined;
|
|
2483
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
2484
2484
|
}, {
|
|
2485
|
-
|
|
2486
|
-
|
|
2485
|
+
baseurl?: string | undefined;
|
|
2486
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
2487
2487
|
}>>;
|
|
2488
2488
|
theme: z.ZodLiteral<"prism">;
|
|
2489
2489
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2670,9 +2670,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2670
2670
|
}[] | undefined;
|
|
2671
2671
|
} | undefined;
|
|
2672
2672
|
feedback?: {
|
|
2673
|
-
thumbs
|
|
2674
|
-
edits
|
|
2675
|
-
issues
|
|
2673
|
+
thumbs?: boolean | undefined;
|
|
2674
|
+
edits?: boolean | undefined;
|
|
2675
|
+
issues?: boolean | undefined;
|
|
2676
2676
|
} | undefined;
|
|
2677
2677
|
search?: {
|
|
2678
2678
|
prompt?: string | undefined;
|
|
@@ -2770,8 +2770,8 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2770
2770
|
} | undefined;
|
|
2771
2771
|
} | undefined;
|
|
2772
2772
|
legacy?: {
|
|
2773
|
-
|
|
2774
|
-
|
|
2773
|
+
baseurl?: string | undefined;
|
|
2774
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
2775
2775
|
} | undefined;
|
|
2776
2776
|
}, {
|
|
2777
2777
|
name: string;
|
|
@@ -2957,9 +2957,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2957
2957
|
}[] | undefined;
|
|
2958
2958
|
} | undefined;
|
|
2959
2959
|
feedback?: {
|
|
2960
|
-
thumbs
|
|
2961
|
-
edits
|
|
2962
|
-
issues
|
|
2960
|
+
thumbs?: boolean | undefined;
|
|
2961
|
+
edits?: boolean | undefined;
|
|
2962
|
+
issues?: boolean | undefined;
|
|
2963
2963
|
} | undefined;
|
|
2964
2964
|
search?: {
|
|
2965
2965
|
prompt?: string | undefined;
|
|
@@ -3057,8 +3057,8 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3057
3057
|
} | undefined;
|
|
3058
3058
|
} | undefined;
|
|
3059
3059
|
legacy?: {
|
|
3060
|
-
|
|
3061
|
-
|
|
3060
|
+
baseurl?: string | undefined;
|
|
3061
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
3062
3062
|
} | undefined;
|
|
3063
3063
|
}>, z.ZodObject<{
|
|
3064
3064
|
$schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -3590,17 +3590,17 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3590
3590
|
}[] | undefined;
|
|
3591
3591
|
}>>;
|
|
3592
3592
|
feedback: z.ZodOptional<z.ZodObject<{
|
|
3593
|
-
thumbs: z.ZodBoolean
|
|
3594
|
-
edits: z.ZodBoolean
|
|
3595
|
-
issues: z.ZodBoolean
|
|
3593
|
+
thumbs: z.ZodOptional<z.ZodBoolean>;
|
|
3594
|
+
edits: z.ZodOptional<z.ZodBoolean>;
|
|
3595
|
+
issues: z.ZodOptional<z.ZodBoolean>;
|
|
3596
3596
|
}, "strip", z.ZodTypeAny, {
|
|
3597
|
-
thumbs
|
|
3598
|
-
edits
|
|
3599
|
-
issues
|
|
3597
|
+
thumbs?: boolean | undefined;
|
|
3598
|
+
edits?: boolean | undefined;
|
|
3599
|
+
issues?: boolean | undefined;
|
|
3600
3600
|
}, {
|
|
3601
|
-
thumbs
|
|
3602
|
-
edits
|
|
3603
|
-
issues
|
|
3601
|
+
thumbs?: boolean | undefined;
|
|
3602
|
+
edits?: boolean | undefined;
|
|
3603
|
+
issues?: boolean | undefined;
|
|
3604
3604
|
}>>;
|
|
3605
3605
|
search: z.ZodOptional<z.ZodObject<{
|
|
3606
3606
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -4006,14 +4006,14 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4006
4006
|
} | undefined;
|
|
4007
4007
|
}>>;
|
|
4008
4008
|
legacy: z.ZodOptional<z.ZodObject<{
|
|
4009
|
-
baseurl: z.ZodString
|
|
4010
|
-
auth: z.ZodEnum<["basic", "bearer", "cobo", "key"]
|
|
4009
|
+
baseurl: z.ZodOptional<z.ZodString>;
|
|
4010
|
+
auth: z.ZodOptional<z.ZodEnum<["basic", "bearer", "cobo", "key"]>>;
|
|
4011
4011
|
}, "strip", z.ZodTypeAny, {
|
|
4012
|
-
|
|
4013
|
-
|
|
4012
|
+
baseurl?: string | undefined;
|
|
4013
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
4014
4014
|
}, {
|
|
4015
|
-
|
|
4016
|
-
|
|
4015
|
+
baseurl?: string | undefined;
|
|
4016
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
4017
4017
|
}>>;
|
|
4018
4018
|
theme: z.ZodLiteral<"quill">;
|
|
4019
4019
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4200,9 +4200,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4200
4200
|
}[] | undefined;
|
|
4201
4201
|
} | undefined;
|
|
4202
4202
|
feedback?: {
|
|
4203
|
-
thumbs
|
|
4204
|
-
edits
|
|
4205
|
-
issues
|
|
4203
|
+
thumbs?: boolean | undefined;
|
|
4204
|
+
edits?: boolean | undefined;
|
|
4205
|
+
issues?: boolean | undefined;
|
|
4206
4206
|
} | undefined;
|
|
4207
4207
|
search?: {
|
|
4208
4208
|
prompt?: string | undefined;
|
|
@@ -4300,8 +4300,8 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4300
4300
|
} | undefined;
|
|
4301
4301
|
} | undefined;
|
|
4302
4302
|
legacy?: {
|
|
4303
|
-
|
|
4304
|
-
|
|
4303
|
+
baseurl?: string | undefined;
|
|
4304
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
4305
4305
|
} | undefined;
|
|
4306
4306
|
}, {
|
|
4307
4307
|
name: string;
|
|
@@ -4487,9 +4487,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4487
4487
|
}[] | undefined;
|
|
4488
4488
|
} | undefined;
|
|
4489
4489
|
feedback?: {
|
|
4490
|
-
thumbs
|
|
4491
|
-
edits
|
|
4492
|
-
issues
|
|
4490
|
+
thumbs?: boolean | undefined;
|
|
4491
|
+
edits?: boolean | undefined;
|
|
4492
|
+
issues?: boolean | undefined;
|
|
4493
4493
|
} | undefined;
|
|
4494
4494
|
search?: {
|
|
4495
4495
|
prompt?: string | undefined;
|
|
@@ -4587,8 +4587,8 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4587
4587
|
} | undefined;
|
|
4588
4588
|
} | undefined;
|
|
4589
4589
|
legacy?: {
|
|
4590
|
-
|
|
4591
|
-
|
|
4590
|
+
baseurl?: string | undefined;
|
|
4591
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
4592
4592
|
} | undefined;
|
|
4593
4593
|
}>, z.ZodObject<{
|
|
4594
4594
|
$schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -5120,17 +5120,17 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
5120
5120
|
}[] | undefined;
|
|
5121
5121
|
}>>;
|
|
5122
5122
|
feedback: z.ZodOptional<z.ZodObject<{
|
|
5123
|
-
thumbs: z.ZodBoolean
|
|
5124
|
-
edits: z.ZodBoolean
|
|
5125
|
-
issues: z.ZodBoolean
|
|
5123
|
+
thumbs: z.ZodOptional<z.ZodBoolean>;
|
|
5124
|
+
edits: z.ZodOptional<z.ZodBoolean>;
|
|
5125
|
+
issues: z.ZodOptional<z.ZodBoolean>;
|
|
5126
5126
|
}, "strip", z.ZodTypeAny, {
|
|
5127
|
-
thumbs
|
|
5128
|
-
edits
|
|
5129
|
-
issues
|
|
5127
|
+
thumbs?: boolean | undefined;
|
|
5128
|
+
edits?: boolean | undefined;
|
|
5129
|
+
issues?: boolean | undefined;
|
|
5130
5130
|
}, {
|
|
5131
|
-
thumbs
|
|
5132
|
-
edits
|
|
5133
|
-
issues
|
|
5131
|
+
thumbs?: boolean | undefined;
|
|
5132
|
+
edits?: boolean | undefined;
|
|
5133
|
+
issues?: boolean | undefined;
|
|
5134
5134
|
}>>;
|
|
5135
5135
|
search: z.ZodOptional<z.ZodObject<{
|
|
5136
5136
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -5536,14 +5536,14 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
5536
5536
|
} | undefined;
|
|
5537
5537
|
}>>;
|
|
5538
5538
|
legacy: z.ZodOptional<z.ZodObject<{
|
|
5539
|
-
baseurl: z.ZodString
|
|
5540
|
-
auth: z.ZodEnum<["basic", "bearer", "cobo", "key"]
|
|
5539
|
+
baseurl: z.ZodOptional<z.ZodString>;
|
|
5540
|
+
auth: z.ZodOptional<z.ZodEnum<["basic", "bearer", "cobo", "key"]>>;
|
|
5541
5541
|
}, "strip", z.ZodTypeAny, {
|
|
5542
|
-
|
|
5543
|
-
|
|
5542
|
+
baseurl?: string | undefined;
|
|
5543
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
5544
5544
|
}, {
|
|
5545
|
-
|
|
5546
|
-
|
|
5545
|
+
baseurl?: string | undefined;
|
|
5546
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
5547
5547
|
}>>;
|
|
5548
5548
|
theme: z.ZodLiteral<"venus">;
|
|
5549
5549
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5730,9 +5730,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
5730
5730
|
}[] | undefined;
|
|
5731
5731
|
} | undefined;
|
|
5732
5732
|
feedback?: {
|
|
5733
|
-
thumbs
|
|
5734
|
-
edits
|
|
5735
|
-
issues
|
|
5733
|
+
thumbs?: boolean | undefined;
|
|
5734
|
+
edits?: boolean | undefined;
|
|
5735
|
+
issues?: boolean | undefined;
|
|
5736
5736
|
} | undefined;
|
|
5737
5737
|
search?: {
|
|
5738
5738
|
prompt?: string | undefined;
|
|
@@ -5830,8 +5830,8 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
5830
5830
|
} | undefined;
|
|
5831
5831
|
} | undefined;
|
|
5832
5832
|
legacy?: {
|
|
5833
|
-
|
|
5834
|
-
|
|
5833
|
+
baseurl?: string | undefined;
|
|
5834
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
5835
5835
|
} | undefined;
|
|
5836
5836
|
}, {
|
|
5837
5837
|
name: string;
|
|
@@ -6017,9 +6017,9 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6017
6017
|
}[] | undefined;
|
|
6018
6018
|
} | undefined;
|
|
6019
6019
|
feedback?: {
|
|
6020
|
-
thumbs
|
|
6021
|
-
edits
|
|
6022
|
-
issues
|
|
6020
|
+
thumbs?: boolean | undefined;
|
|
6021
|
+
edits?: boolean | undefined;
|
|
6022
|
+
issues?: boolean | undefined;
|
|
6023
6023
|
} | undefined;
|
|
6024
6024
|
search?: {
|
|
6025
6025
|
prompt?: string | undefined;
|
|
@@ -6117,7 +6117,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6117
6117
|
} | undefined;
|
|
6118
6118
|
} | undefined;
|
|
6119
6119
|
legacy?: {
|
|
6120
|
-
|
|
6121
|
-
|
|
6120
|
+
baseurl?: string | undefined;
|
|
6121
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
6122
6122
|
} | undefined;
|
|
6123
6123
|
}>]>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const feedbackSchema: z.ZodObject<{
|
|
3
|
-
thumbs: z.ZodBoolean
|
|
4
|
-
edits: z.ZodBoolean
|
|
5
|
-
issues: z.ZodBoolean
|
|
3
|
+
thumbs: z.ZodOptional<z.ZodBoolean>;
|
|
4
|
+
edits: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
issues: z.ZodOptional<z.ZodBoolean>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
thumbs
|
|
8
|
-
edits
|
|
9
|
-
issues
|
|
7
|
+
thumbs?: boolean | undefined;
|
|
8
|
+
edits?: boolean | undefined;
|
|
9
|
+
issues?: boolean | undefined;
|
|
10
10
|
}, {
|
|
11
|
-
thumbs
|
|
12
|
-
edits
|
|
13
|
-
issues
|
|
11
|
+
thumbs?: boolean | undefined;
|
|
12
|
+
edits?: boolean | undefined;
|
|
13
|
+
issues?: boolean | undefined;
|
|
14
14
|
}>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export const feedbackSchema = z
|
|
3
3
|
.object({
|
|
4
|
-
thumbs: z.boolean().describe('Whether to enable thumbs up/down feedback'),
|
|
5
|
-
edits: z.boolean().describe('Whether to enable edit suggestions feedback'),
|
|
6
|
-
issues: z.boolean().describe('Whether to enable issue reporting feedback'),
|
|
4
|
+
thumbs: z.boolean().optional().describe('Whether to enable thumbs up/down feedback'),
|
|
5
|
+
edits: z.boolean().optional().describe('Whether to enable edit suggestions feedback'),
|
|
6
|
+
issues: z.boolean().optional().describe('Whether to enable issue reporting feedback'),
|
|
7
7
|
})
|
|
8
8
|
.describe('Feedback options presented to the viewers');
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const legacySchema: z.ZodObject<{
|
|
3
|
-
baseurl: z.ZodString
|
|
4
|
-
auth: z.ZodEnum<["basic", "bearer", "cobo", "key"]
|
|
3
|
+
baseurl: z.ZodOptional<z.ZodString>;
|
|
4
|
+
auth: z.ZodOptional<z.ZodEnum<["basic", "bearer", "cobo", "key"]>>;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
baseurl?: string | undefined;
|
|
7
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
8
8
|
}, {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
baseurl?: string | undefined;
|
|
10
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
11
11
|
}>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export const legacySchema = z
|
|
3
3
|
.object({
|
|
4
|
-
baseurl: z.string().describe('The base URL for legacy API calls'),
|
|
4
|
+
baseurl: z.string().optional().describe('The base URL for legacy API calls'),
|
|
5
5
|
auth: z
|
|
6
6
|
.enum(['basic', 'bearer', 'cobo', 'key'])
|
|
7
|
+
.optional()
|
|
7
8
|
.describe('The authentication type for legacy API calls'),
|
|
8
9
|
})
|
|
9
10
|
.describe('Legacy API configuration');
|
|
@@ -529,17 +529,17 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
529
529
|
}[] | undefined;
|
|
530
530
|
}>>;
|
|
531
531
|
feedback: z.ZodOptional<z.ZodObject<{
|
|
532
|
-
thumbs: z.ZodBoolean
|
|
533
|
-
edits: z.ZodBoolean
|
|
534
|
-
issues: z.ZodBoolean
|
|
532
|
+
thumbs: z.ZodOptional<z.ZodBoolean>;
|
|
533
|
+
edits: z.ZodOptional<z.ZodBoolean>;
|
|
534
|
+
issues: z.ZodOptional<z.ZodBoolean>;
|
|
535
535
|
}, "strip", z.ZodTypeAny, {
|
|
536
|
-
thumbs
|
|
537
|
-
edits
|
|
538
|
-
issues
|
|
536
|
+
thumbs?: boolean | undefined;
|
|
537
|
+
edits?: boolean | undefined;
|
|
538
|
+
issues?: boolean | undefined;
|
|
539
539
|
}, {
|
|
540
|
-
thumbs
|
|
541
|
-
edits
|
|
542
|
-
issues
|
|
540
|
+
thumbs?: boolean | undefined;
|
|
541
|
+
edits?: boolean | undefined;
|
|
542
|
+
issues?: boolean | undefined;
|
|
543
543
|
}>>;
|
|
544
544
|
search: z.ZodOptional<z.ZodObject<{
|
|
545
545
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -945,14 +945,14 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
945
945
|
} | undefined;
|
|
946
946
|
}>>;
|
|
947
947
|
legacy: z.ZodOptional<z.ZodObject<{
|
|
948
|
-
baseurl: z.ZodString
|
|
949
|
-
auth: z.ZodEnum<["basic", "bearer", "cobo", "key"]
|
|
948
|
+
baseurl: z.ZodOptional<z.ZodString>;
|
|
949
|
+
auth: z.ZodOptional<z.ZodEnum<["basic", "bearer", "cobo", "key"]>>;
|
|
950
950
|
}, "strip", z.ZodTypeAny, {
|
|
951
|
-
|
|
952
|
-
|
|
951
|
+
baseurl?: string | undefined;
|
|
952
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
953
953
|
}, {
|
|
954
|
-
|
|
955
|
-
|
|
954
|
+
baseurl?: string | undefined;
|
|
955
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
956
956
|
}>>;
|
|
957
957
|
theme: z.ZodLiteral<"mint">;
|
|
958
958
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1139,9 +1139,9 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1139
1139
|
}[] | undefined;
|
|
1140
1140
|
} | undefined;
|
|
1141
1141
|
feedback?: {
|
|
1142
|
-
thumbs
|
|
1143
|
-
edits
|
|
1144
|
-
issues
|
|
1142
|
+
thumbs?: boolean | undefined;
|
|
1143
|
+
edits?: boolean | undefined;
|
|
1144
|
+
issues?: boolean | undefined;
|
|
1145
1145
|
} | undefined;
|
|
1146
1146
|
search?: {
|
|
1147
1147
|
prompt?: string | undefined;
|
|
@@ -1239,8 +1239,8 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1239
1239
|
} | undefined;
|
|
1240
1240
|
} | undefined;
|
|
1241
1241
|
legacy?: {
|
|
1242
|
-
|
|
1243
|
-
|
|
1242
|
+
baseurl?: string | undefined;
|
|
1243
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
1244
1244
|
} | undefined;
|
|
1245
1245
|
}, {
|
|
1246
1246
|
name: string;
|
|
@@ -1426,9 +1426,9 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1426
1426
|
}[] | undefined;
|
|
1427
1427
|
} | undefined;
|
|
1428
1428
|
feedback?: {
|
|
1429
|
-
thumbs
|
|
1430
|
-
edits
|
|
1431
|
-
issues
|
|
1429
|
+
thumbs?: boolean | undefined;
|
|
1430
|
+
edits?: boolean | undefined;
|
|
1431
|
+
issues?: boolean | undefined;
|
|
1432
1432
|
} | undefined;
|
|
1433
1433
|
search?: {
|
|
1434
1434
|
prompt?: string | undefined;
|
|
@@ -1526,7 +1526,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1526
1526
|
} | undefined;
|
|
1527
1527
|
} | undefined;
|
|
1528
1528
|
legacy?: {
|
|
1529
|
-
|
|
1530
|
-
|
|
1529
|
+
baseurl?: string | undefined;
|
|
1530
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
1531
1531
|
} | undefined;
|
|
1532
1532
|
}>;
|
|
@@ -529,17 +529,17 @@ export declare const prismConfigSchema: z.ZodObject<{
|
|
|
529
529
|
}[] | undefined;
|
|
530
530
|
}>>;
|
|
531
531
|
feedback: z.ZodOptional<z.ZodObject<{
|
|
532
|
-
thumbs: z.ZodBoolean
|
|
533
|
-
edits: z.ZodBoolean
|
|
534
|
-
issues: z.ZodBoolean
|
|
532
|
+
thumbs: z.ZodOptional<z.ZodBoolean>;
|
|
533
|
+
edits: z.ZodOptional<z.ZodBoolean>;
|
|
534
|
+
issues: z.ZodOptional<z.ZodBoolean>;
|
|
535
535
|
}, "strip", z.ZodTypeAny, {
|
|
536
|
-
thumbs
|
|
537
|
-
edits
|
|
538
|
-
issues
|
|
536
|
+
thumbs?: boolean | undefined;
|
|
537
|
+
edits?: boolean | undefined;
|
|
538
|
+
issues?: boolean | undefined;
|
|
539
539
|
}, {
|
|
540
|
-
thumbs
|
|
541
|
-
edits
|
|
542
|
-
issues
|
|
540
|
+
thumbs?: boolean | undefined;
|
|
541
|
+
edits?: boolean | undefined;
|
|
542
|
+
issues?: boolean | undefined;
|
|
543
543
|
}>>;
|
|
544
544
|
search: z.ZodOptional<z.ZodObject<{
|
|
545
545
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -945,14 +945,14 @@ export declare const prismConfigSchema: z.ZodObject<{
|
|
|
945
945
|
} | undefined;
|
|
946
946
|
}>>;
|
|
947
947
|
legacy: z.ZodOptional<z.ZodObject<{
|
|
948
|
-
baseurl: z.ZodString
|
|
949
|
-
auth: z.ZodEnum<["basic", "bearer", "cobo", "key"]
|
|
948
|
+
baseurl: z.ZodOptional<z.ZodString>;
|
|
949
|
+
auth: z.ZodOptional<z.ZodEnum<["basic", "bearer", "cobo", "key"]>>;
|
|
950
950
|
}, "strip", z.ZodTypeAny, {
|
|
951
|
-
|
|
952
|
-
|
|
951
|
+
baseurl?: string | undefined;
|
|
952
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
953
953
|
}, {
|
|
954
|
-
|
|
955
|
-
|
|
954
|
+
baseurl?: string | undefined;
|
|
955
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
956
956
|
}>>;
|
|
957
957
|
theme: z.ZodLiteral<"prism">;
|
|
958
958
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1139,9 +1139,9 @@ export declare const prismConfigSchema: z.ZodObject<{
|
|
|
1139
1139
|
}[] | undefined;
|
|
1140
1140
|
} | undefined;
|
|
1141
1141
|
feedback?: {
|
|
1142
|
-
thumbs
|
|
1143
|
-
edits
|
|
1144
|
-
issues
|
|
1142
|
+
thumbs?: boolean | undefined;
|
|
1143
|
+
edits?: boolean | undefined;
|
|
1144
|
+
issues?: boolean | undefined;
|
|
1145
1145
|
} | undefined;
|
|
1146
1146
|
search?: {
|
|
1147
1147
|
prompt?: string | undefined;
|
|
@@ -1239,8 +1239,8 @@ export declare const prismConfigSchema: z.ZodObject<{
|
|
|
1239
1239
|
} | undefined;
|
|
1240
1240
|
} | undefined;
|
|
1241
1241
|
legacy?: {
|
|
1242
|
-
|
|
1243
|
-
|
|
1242
|
+
baseurl?: string | undefined;
|
|
1243
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
1244
1244
|
} | undefined;
|
|
1245
1245
|
}, {
|
|
1246
1246
|
name: string;
|
|
@@ -1426,9 +1426,9 @@ export declare const prismConfigSchema: z.ZodObject<{
|
|
|
1426
1426
|
}[] | undefined;
|
|
1427
1427
|
} | undefined;
|
|
1428
1428
|
feedback?: {
|
|
1429
|
-
thumbs
|
|
1430
|
-
edits
|
|
1431
|
-
issues
|
|
1429
|
+
thumbs?: boolean | undefined;
|
|
1430
|
+
edits?: boolean | undefined;
|
|
1431
|
+
issues?: boolean | undefined;
|
|
1432
1432
|
} | undefined;
|
|
1433
1433
|
search?: {
|
|
1434
1434
|
prompt?: string | undefined;
|
|
@@ -1526,7 +1526,7 @@ export declare const prismConfigSchema: z.ZodObject<{
|
|
|
1526
1526
|
} | undefined;
|
|
1527
1527
|
} | undefined;
|
|
1528
1528
|
legacy?: {
|
|
1529
|
-
|
|
1530
|
-
|
|
1529
|
+
baseurl?: string | undefined;
|
|
1530
|
+
auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
1531
1531
|
} | undefined;
|
|
1532
1532
|
}>;
|