@mintlify/validation 0.1.803 → 0.1.805

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.
@@ -1,5 +1,37 @@
1
1
  import { z } from 'zod';
2
2
  export declare const willowConfigSchema: z.ZodObject<{
3
+ variations: z.ZodOptional<z.ZodEffects<z.ZodObject<{
4
+ options: z.ZodArray<z.ZodObject<{
5
+ id: z.ZodString;
6
+ label: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ id: string;
9
+ label: string;
10
+ }, {
11
+ id: string;
12
+ label: string;
13
+ }>, "many">;
14
+ }, "strip", z.ZodTypeAny, {
15
+ options: {
16
+ id: string;
17
+ label: string;
18
+ }[];
19
+ }, {
20
+ options: {
21
+ id: string;
22
+ label: string;
23
+ }[];
24
+ }>, {
25
+ options: {
26
+ id: string;
27
+ label: string;
28
+ }[];
29
+ }, {
30
+ options: {
31
+ id: string;
32
+ label: string;
33
+ }[];
34
+ }>>;
3
35
  $schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4
36
  name: z.ZodString;
5
37
  public: z.ZodOptional<z.ZodBoolean>;
@@ -1335,6 +1367,16 @@ export declare const willowConfigSchema: z.ZodObject<{
1335
1367
  value?: string | undefined;
1336
1368
  key?: string | undefined;
1337
1369
  }>>;
1370
+ transcend: z.ZodOptional<z.ZodObject<{
1371
+ bundleId: z.ZodString;
1372
+ analyticsPurpose: z.ZodOptional<z.ZodString>;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ bundleId: string;
1375
+ analyticsPurpose?: string | undefined;
1376
+ }, {
1377
+ bundleId: string;
1378
+ analyticsPurpose?: string | undefined;
1379
+ }>>;
1338
1380
  }, "strict", z.ZodTypeAny, {
1339
1381
  adobe?: {
1340
1382
  launchUrl: string;
@@ -1411,6 +1453,10 @@ export declare const willowConfigSchema: z.ZodObject<{
1411
1453
  value?: string | undefined;
1412
1454
  key?: string | undefined;
1413
1455
  } | undefined;
1456
+ transcend?: {
1457
+ bundleId: string;
1458
+ analyticsPurpose?: string | undefined;
1459
+ } | undefined;
1414
1460
  }, {
1415
1461
  adobe?: {
1416
1462
  launchUrl: string;
@@ -1487,6 +1533,10 @@ export declare const willowConfigSchema: z.ZodObject<{
1487
1533
  value?: string | undefined;
1488
1534
  key?: string | undefined;
1489
1535
  } | undefined;
1536
+ transcend?: {
1537
+ bundleId: string;
1538
+ analyticsPurpose?: string | undefined;
1539
+ } | undefined;
1490
1540
  }>>;
1491
1541
  banner: z.ZodOptional<z.ZodObject<{
1492
1542
  content: z.ZodString;
@@ -1993,6 +2043,10 @@ export declare const willowConfigSchema: z.ZodObject<{
1993
2043
  value?: string | undefined;
1994
2044
  key?: string | undefined;
1995
2045
  } | undefined;
2046
+ transcend?: {
2047
+ bundleId: string;
2048
+ analyticsPurpose?: string | undefined;
2049
+ } | undefined;
1996
2050
  } | undefined;
1997
2051
  search?: {
1998
2052
  prompt?: string | undefined;
@@ -2148,6 +2202,12 @@ export declare const willowConfigSchema: z.ZodObject<{
2148
2202
  schema?: boolean | undefined;
2149
2203
  instructions?: string | string[] | undefined;
2150
2204
  } | undefined;
2205
+ variations?: {
2206
+ options: {
2207
+ id: string;
2208
+ label: string;
2209
+ }[];
2210
+ } | undefined;
2151
2211
  }, {
2152
2212
  name: string;
2153
2213
  theme: "willow";
@@ -2405,6 +2465,10 @@ export declare const willowConfigSchema: z.ZodObject<{
2405
2465
  value?: string | undefined;
2406
2466
  key?: string | undefined;
2407
2467
  } | undefined;
2468
+ transcend?: {
2469
+ bundleId: string;
2470
+ analyticsPurpose?: string | undefined;
2471
+ } | undefined;
2408
2472
  } | undefined;
2409
2473
  search?: {
2410
2474
  prompt?: string | undefined;
@@ -2560,4 +2624,10 @@ export declare const willowConfigSchema: z.ZodObject<{
2560
2624
  schema?: boolean | undefined;
2561
2625
  instructions?: string | string[] | undefined;
2562
2626
  } | undefined;
2627
+ variations?: {
2628
+ options: {
2629
+ id: string;
2630
+ label: string;
2631
+ }[];
2632
+ } | undefined;
2563
2633
  }>;
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { variationsSchema } from '../properties/variations.js';
2
3
  import { standardConfigSchema } from './reusable/index.js';
3
4
  import { themeSchema } from './themes.js';
4
- export const willowConfigSchema = z.object(Object.assign({ theme: z.literal(themeSchema.enum.willow) }, standardConfigSchema));
5
+ export const willowConfigSchema = z.object(Object.assign(Object.assign({ theme: z.literal(themeSchema.enum.willow) }, standardConfigSchema), { variations: variationsSchema.optional() }));
@@ -759,6 +759,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
759
759
  value?: string | undefined;
760
760
  key?: string | undefined;
761
761
  } | undefined;
762
+ transcend?: {
763
+ bundleId: string;
764
+ analyticsPurpose?: string | undefined;
765
+ } | undefined;
762
766
  } | undefined;
763
767
  search?: {
764
768
  prompt?: string | undefined;
@@ -1171,6 +1175,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1171
1175
  value?: string | undefined;
1172
1176
  key?: string | undefined;
1173
1177
  } | undefined;
1178
+ transcend?: {
1179
+ bundleId: string;
1180
+ analyticsPurpose?: string | undefined;
1181
+ } | undefined;
1174
1182
  } | undefined;
1175
1183
  search?: {
1176
1184
  prompt?: string | undefined;
@@ -1583,6 +1591,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1583
1591
  value?: string | undefined;
1584
1592
  key?: string | undefined;
1585
1593
  } | undefined;
1594
+ transcend?: {
1595
+ bundleId: string;
1596
+ analyticsPurpose?: string | undefined;
1597
+ } | undefined;
1586
1598
  } | undefined;
1587
1599
  search?: {
1588
1600
  prompt?: string | undefined;
@@ -1995,6 +2007,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1995
2007
  value?: string | undefined;
1996
2008
  key?: string | undefined;
1997
2009
  } | undefined;
2010
+ transcend?: {
2011
+ bundleId: string;
2012
+ analyticsPurpose?: string | undefined;
2013
+ } | undefined;
1998
2014
  } | undefined;
1999
2015
  search?: {
2000
2016
  prompt?: string | undefined;
@@ -2407,6 +2423,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2407
2423
  value?: string | undefined;
2408
2424
  key?: string | undefined;
2409
2425
  } | undefined;
2426
+ transcend?: {
2427
+ bundleId: string;
2428
+ analyticsPurpose?: string | undefined;
2429
+ } | undefined;
2410
2430
  } | undefined;
2411
2431
  search?: {
2412
2432
  prompt?: string | undefined;
@@ -2819,6 +2839,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2819
2839
  value?: string | undefined;
2820
2840
  key?: string | undefined;
2821
2841
  } | undefined;
2842
+ transcend?: {
2843
+ bundleId: string;
2844
+ analyticsPurpose?: string | undefined;
2845
+ } | undefined;
2822
2846
  } | undefined;
2823
2847
  search?: {
2824
2848
  prompt?: string | undefined;
@@ -3231,6 +3255,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3231
3255
  value?: string | undefined;
3232
3256
  key?: string | undefined;
3233
3257
  } | undefined;
3258
+ transcend?: {
3259
+ bundleId: string;
3260
+ analyticsPurpose?: string | undefined;
3261
+ } | undefined;
3234
3262
  } | undefined;
3235
3263
  search?: {
3236
3264
  prompt?: string | undefined;
@@ -3643,6 +3671,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3643
3671
  value?: string | undefined;
3644
3672
  key?: string | undefined;
3645
3673
  } | undefined;
3674
+ transcend?: {
3675
+ bundleId: string;
3676
+ analyticsPurpose?: string | undefined;
3677
+ } | undefined;
3646
3678
  } | undefined;
3647
3679
  search?: {
3648
3680
  prompt?: string | undefined;
@@ -4055,6 +4087,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4055
4087
  value?: string | undefined;
4056
4088
  key?: string | undefined;
4057
4089
  } | undefined;
4090
+ transcend?: {
4091
+ bundleId: string;
4092
+ analyticsPurpose?: string | undefined;
4093
+ } | undefined;
4058
4094
  } | undefined;
4059
4095
  search?: {
4060
4096
  prompt?: string | undefined;
@@ -4210,6 +4246,12 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4210
4246
  schema?: boolean | undefined;
4211
4247
  instructions?: string | string[] | undefined;
4212
4248
  } | undefined;
4249
+ variations?: {
4250
+ options: {
4251
+ id: string;
4252
+ label: string;
4253
+ }[];
4254
+ } | undefined;
4213
4255
  }> | {
4214
4256
  warnings: z.ZodIssue[];
4215
4257
  success: true;
@@ -4470,6 +4512,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4470
4512
  value?: string | undefined;
4471
4513
  key?: string | undefined;
4472
4514
  } | undefined;
4515
+ transcend?: {
4516
+ bundleId: string;
4517
+ analyticsPurpose?: string | undefined;
4518
+ } | undefined;
4473
4519
  } | undefined;
4474
4520
  search?: {
4475
4521
  prompt?: string | undefined;
@@ -4882,6 +4928,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4882
4928
  value?: string | undefined;
4883
4929
  key?: string | undefined;
4884
4930
  } | undefined;
4931
+ transcend?: {
4932
+ bundleId: string;
4933
+ analyticsPurpose?: string | undefined;
4934
+ } | undefined;
4885
4935
  } | undefined;
4886
4936
  search?: {
4887
4937
  prompt?: string | undefined;
@@ -5294,6 +5344,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
5294
5344
  value?: string | undefined;
5295
5345
  key?: string | undefined;
5296
5346
  } | undefined;
5347
+ transcend?: {
5348
+ bundleId: string;
5349
+ analyticsPurpose?: string | undefined;
5350
+ } | undefined;
5297
5351
  } | undefined;
5298
5352
  search?: {
5299
5353
  prompt?: string | undefined;
@@ -5706,6 +5760,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
5706
5760
  value?: string | undefined;
5707
5761
  key?: string | undefined;
5708
5762
  } | undefined;
5763
+ transcend?: {
5764
+ bundleId: string;
5765
+ analyticsPurpose?: string | undefined;
5766
+ } | undefined;
5709
5767
  } | undefined;
5710
5768
  search?: {
5711
5769
  prompt?: string | undefined;
@@ -6118,6 +6176,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
6118
6176
  value?: string | undefined;
6119
6177
  key?: string | undefined;
6120
6178
  } | undefined;
6179
+ transcend?: {
6180
+ bundleId: string;
6181
+ analyticsPurpose?: string | undefined;
6182
+ } | undefined;
6121
6183
  } | undefined;
6122
6184
  search?: {
6123
6185
  prompt?: string | undefined;
@@ -6530,6 +6592,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
6530
6592
  value?: string | undefined;
6531
6593
  key?: string | undefined;
6532
6594
  } | undefined;
6595
+ transcend?: {
6596
+ bundleId: string;
6597
+ analyticsPurpose?: string | undefined;
6598
+ } | undefined;
6533
6599
  } | undefined;
6534
6600
  search?: {
6535
6601
  prompt?: string | undefined;
@@ -6942,6 +7008,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
6942
7008
  value?: string | undefined;
6943
7009
  key?: string | undefined;
6944
7010
  } | undefined;
7011
+ transcend?: {
7012
+ bundleId: string;
7013
+ analyticsPurpose?: string | undefined;
7014
+ } | undefined;
6945
7015
  } | undefined;
6946
7016
  search?: {
6947
7017
  prompt?: string | undefined;
@@ -7354,6 +7424,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
7354
7424
  value?: string | undefined;
7355
7425
  key?: string | undefined;
7356
7426
  } | undefined;
7427
+ transcend?: {
7428
+ bundleId: string;
7429
+ analyticsPurpose?: string | undefined;
7430
+ } | undefined;
7357
7431
  } | undefined;
7358
7432
  search?: {
7359
7433
  prompt?: string | undefined;
@@ -7766,6 +7840,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
7766
7840
  value?: string | undefined;
7767
7841
  key?: string | undefined;
7768
7842
  } | undefined;
7843
+ transcend?: {
7844
+ bundleId: string;
7845
+ analyticsPurpose?: string | undefined;
7846
+ } | undefined;
7769
7847
  } | undefined;
7770
7848
  search?: {
7771
7849
  prompt?: string | undefined;
@@ -7921,6 +7999,12 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
7921
7999
  schema?: boolean | undefined;
7922
8000
  instructions?: string | string[] | undefined;
7923
8001
  } | undefined;
8002
+ variations?: {
8003
+ options: {
8004
+ id: string;
8005
+ label: string;
8006
+ }[];
8007
+ } | undefined;
7924
8008
  };
7925
8009
  error?: never;
7926
8010
  };