@mintlify/validation 0.1.753 → 0.1.755

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.
Files changed (25) hide show
  1. package/dist/mint-config/schemas/v1/analytics.d.ts +5 -0
  2. package/dist/mint-config/schemas/v1/analytics.js +1 -0
  3. package/dist/mint-config/schemas/v1/config.d.ts +7 -0
  4. package/dist/mint-config/schemas/v2/index.d.ts +190 -120
  5. package/dist/mint-config/schemas/v2/properties/integrations.d.ts +5 -0
  6. package/dist/mint-config/schemas/v2/properties/integrations.js +1 -0
  7. package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +6 -6
  8. package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +20 -16
  9. package/dist/mint-config/schemas/v2/properties/navigation/pages.d.ts +6 -4
  10. package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +4 -4
  11. package/dist/mint-config/schemas/v2/properties/reusable/page.d.ts +3 -0
  12. package/dist/mint-config/schemas/v2/properties/reusable/page.js +1 -0
  13. package/dist/mint-config/schemas/v2/themes/almond.d.ts +19 -12
  14. package/dist/mint-config/schemas/v2/themes/aspen.d.ts +19 -12
  15. package/dist/mint-config/schemas/v2/themes/linden.d.ts +19 -12
  16. package/dist/mint-config/schemas/v2/themes/luma.d.ts +19 -12
  17. package/dist/mint-config/schemas/v2/themes/maple.d.ts +19 -12
  18. package/dist/mint-config/schemas/v2/themes/mint.d.ts +19 -12
  19. package/dist/mint-config/schemas/v2/themes/palm.d.ts +19 -12
  20. package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +13 -8
  21. package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +19 -12
  22. package/dist/mint-config/schemas/v2/themes/willow.d.ts +19 -12
  23. package/dist/mint-config/validateConfig.d.ts +56 -36
  24. package/dist/tsconfig.build.tsbuildinfo +1 -1
  25. package/package.json +3 -3
@@ -92,10 +92,13 @@ export declare const analyticsSchema: z.ZodObject<{
92
92
  }>>;
93
93
  mixpanel: z.ZodOptional<z.ZodObject<{
94
94
  projectToken: z.ZodString;
95
+ region: z.ZodOptional<z.ZodEnum<["us", "eu", "in"]>>;
95
96
  }, "strip", z.ZodTypeAny, {
96
97
  projectToken: string;
98
+ region?: "us" | "eu" | "in" | undefined;
97
99
  }, {
98
100
  projectToken: string;
101
+ region?: "us" | "eu" | "in" | undefined;
99
102
  }>>;
100
103
  pirsch: z.ZodOptional<z.ZodObject<{
101
104
  id: z.ZodString;
@@ -175,6 +178,7 @@ export declare const analyticsSchema: z.ZodObject<{
175
178
  } | undefined;
176
179
  mixpanel?: {
177
180
  projectToken: string;
181
+ region?: "us" | "eu" | "in" | undefined;
178
182
  } | undefined;
179
183
  pirsch?: {
180
184
  id: string;
@@ -232,6 +236,7 @@ export declare const analyticsSchema: z.ZodObject<{
232
236
  } | undefined;
233
237
  mixpanel?: {
234
238
  projectToken: string;
239
+ region?: "us" | "eu" | "in" | undefined;
235
240
  } | undefined;
236
241
  pirsch?: {
237
242
  id: string;
@@ -29,6 +29,7 @@ const logrocketConfigInterfaceSchema = z.object({
29
29
  });
30
30
  const mixpanelConfigInterfaceSchema = z.object({
31
31
  projectToken: z.string(),
32
+ region: z.enum(['us', 'eu', 'in']).optional(),
32
33
  });
33
34
  const pirschConfigInterfaceSchema = z.object({
34
35
  id: z.string(),
@@ -676,10 +676,13 @@ export declare const mintConfigSchema: z.ZodObject<{
676
676
  }>>;
677
677
  mixpanel: z.ZodOptional<z.ZodObject<{
678
678
  projectToken: z.ZodString;
679
+ region: z.ZodOptional<z.ZodEnum<["us", "eu", "in"]>>;
679
680
  }, "strip", z.ZodTypeAny, {
680
681
  projectToken: string;
682
+ region?: "us" | "eu" | "in" | undefined;
681
683
  }, {
682
684
  projectToken: string;
685
+ region?: "us" | "eu" | "in" | undefined;
683
686
  }>>;
684
687
  pirsch: z.ZodOptional<z.ZodObject<{
685
688
  id: z.ZodString;
@@ -759,6 +762,7 @@ export declare const mintConfigSchema: z.ZodObject<{
759
762
  } | undefined;
760
763
  mixpanel?: {
761
764
  projectToken: string;
765
+ region?: "us" | "eu" | "in" | undefined;
762
766
  } | undefined;
763
767
  pirsch?: {
764
768
  id: string;
@@ -816,6 +820,7 @@ export declare const mintConfigSchema: z.ZodObject<{
816
820
  } | undefined;
817
821
  mixpanel?: {
818
822
  projectToken: string;
823
+ region?: "us" | "eu" | "in" | undefined;
819
824
  } | undefined;
820
825
  pirsch?: {
821
826
  id: string;
@@ -1101,6 +1106,7 @@ export declare const mintConfigSchema: z.ZodObject<{
1101
1106
  } | undefined;
1102
1107
  mixpanel?: {
1103
1108
  projectToken: string;
1109
+ region?: "us" | "eu" | "in" | undefined;
1104
1110
  } | undefined;
1105
1111
  pirsch?: {
1106
1112
  id: string;
@@ -1348,6 +1354,7 @@ export declare const mintConfigSchema: z.ZodObject<{
1348
1354
  } | undefined;
1349
1355
  mixpanel?: {
1350
1356
  projectToken: string;
1357
+ region?: "us" | "eu" | "in" | undefined;
1351
1358
  } | undefined;
1352
1359
  pirsch?: {
1353
1360
  id: string;