@mintlify/validation 0.1.45 → 0.1.47

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.
@@ -486,7 +486,7 @@ export declare const configSchema: z.ZodObject<{
486
486
  integrations: z.ZodOptional<z.ZodObject<{
487
487
  intercom: z.ZodOptional<z.ZodString>;
488
488
  frontchat: z.ZodOptional<z.ZodString>;
489
- inkeepSchema: z.ZodOptional<z.ZodObject<{
489
+ inkeep: z.ZodOptional<z.ZodObject<{
490
490
  integrationApiKey: z.ZodString;
491
491
  }, "strip", z.ZodTypeAny, {
492
492
  integrationApiKey: string;
@@ -496,17 +496,17 @@ export declare const configSchema: z.ZodObject<{
496
496
  }, "strip", z.ZodTypeAny, {
497
497
  intercom?: string | undefined;
498
498
  frontchat?: string | undefined;
499
- inkeepSchema?: {
499
+ inkeep?: {
500
500
  integrationApiKey: string;
501
501
  } | undefined;
502
502
  }, {
503
503
  intercom?: string | undefined;
504
504
  frontchat?: string | undefined;
505
- inkeepSchema?: {
505
+ inkeep?: {
506
506
  integrationApiKey: string;
507
507
  } | undefined;
508
508
  }>>;
509
- Schema: z.ZodOptional<z.ZodBoolean>;
509
+ isWhiteLabeled: z.ZodOptional<z.ZodBoolean>;
510
510
  }, "strip", z.ZodTypeAny, {
511
511
  $schema: string;
512
512
  name: string;
@@ -654,11 +654,11 @@ export declare const configSchema: z.ZodObject<{
654
654
  integrations?: {
655
655
  intercom?: string | undefined;
656
656
  frontchat?: string | undefined;
657
- inkeepSchema?: {
657
+ inkeep?: {
658
658
  integrationApiKey: string;
659
659
  } | undefined;
660
660
  } | undefined;
661
- Schema?: boolean | undefined;
661
+ isWhiteLabeled?: boolean | undefined;
662
662
  }, {
663
663
  name: string;
664
664
  favicon: string;
@@ -806,9 +806,10 @@ export declare const configSchema: z.ZodObject<{
806
806
  integrations?: {
807
807
  intercom?: string | undefined;
808
808
  frontchat?: string | undefined;
809
- inkeepSchema?: {
809
+ inkeep?: {
810
810
  integrationApiKey: string;
811
811
  } | undefined;
812
812
  } | undefined;
813
- Schema?: boolean | undefined;
813
+ isWhiteLabeled?: boolean | undefined;
814
814
  }>;
815
+ export type ConfigType = z.infer<typeof configSchema>;
@@ -11,7 +11,7 @@ declare const inkeepSchema: z.ZodObject<{
11
11
  export declare const integrationsSchema: z.ZodObject<{
12
12
  intercom: z.ZodOptional<z.ZodString>;
13
13
  frontchat: z.ZodOptional<z.ZodString>;
14
- inkeepSchema: z.ZodOptional<z.ZodObject<{
14
+ inkeep: z.ZodOptional<z.ZodObject<{
15
15
  integrationApiKey: z.ZodString;
16
16
  }, "strip", z.ZodTypeAny, {
17
17
  integrationApiKey: string;
@@ -21,13 +21,13 @@ export declare const integrationsSchema: z.ZodObject<{
21
21
  }, "strip", z.ZodTypeAny, {
22
22
  intercom?: string | undefined;
23
23
  frontchat?: string | undefined;
24
- inkeepSchema?: {
24
+ inkeep?: {
25
25
  integrationApiKey: string;
26
26
  } | undefined;
27
27
  }, {
28
28
  intercom?: string | undefined;
29
29
  frontchat?: string | undefined;
30
- inkeepSchema?: {
30
+ inkeep?: {
31
31
  integrationApiKey: string;
32
32
  } | undefined;
33
33
  }>;
@@ -1,4 +1,4 @@
1
- export type { ConfigType, MintConfig } from './config';
1
+ export type { ConfigType } from '../schemas/config';
2
2
  export type { AnalyticsType, AmplitudeConfigInterface, ClearbitConfigInterface, FathomConfigInterface, GoogleAnalyticsConfigInterface, GoogleTagManagerConfigInterface, HotjarConfigInterface, KoalaConfigInterface, LogrocketConfigInterface, MixpanelConfigInterface, PirschConfigInterface, PostHogConfigInterface, PlausibleConfigInterface, } from '../schemas/analytics';
3
3
  export type { AnchorsType, AnchorType, TopAnchorType } from '../schemas/anchors';
4
4
  export type { ApiConfigType } from '../schemas/apiReference';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/validation",
3
- "version": "0.1.45",
3
+ "version": "0.1.47",
4
4
  "description": "Validates mint.json files",
5
5
  "author": "Mintlify, Inc.",
6
6
  "repository": {
@@ -71,5 +71,6 @@
71
71
  "typescript": "^4.8.2",
72
72
  "webpack": "^5.75.0",
73
73
  "webpack-cli": "^5.0.1"
74
- }
74
+ },
75
+ "gitHead": "fbd9d3db1899d7acfbff961012afbaefa731a25a"
75
76
  }
@@ -1,2 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const nameSchema: z.ZodString;
@@ -1,3 +0,0 @@
1
- import { z } from 'zod';
2
- import { analyticsSchema } from '../schemas/analytics';
3
- export type AnalyticsType = z.infer<typeof analyticsSchema>;
@@ -1,4 +0,0 @@
1
- import { z } from 'zod';
2
- import { anchorsSchema } from '../schemas/anchors';
3
- export type AnchorsType = z.infer<typeof anchorsSchema>;
4
- export type AnchorType = AnchorsType[0];
@@ -1,3 +0,0 @@
1
- import { z } from 'zod';
2
- import { colorsSchema } from '../schemas/colors';
3
- export type ColorsType = z.infer<typeof colorsSchema>;
@@ -1,55 +0,0 @@
1
- import { z } from 'zod';
2
- import { AnalyticsType } from '../schemas/analytics';
3
- import { AnchorsType } from '../schemas/anchors';
4
- import { ApiConfigType } from '../schemas/apiReference';
5
- import { FeedbackType, LogoType, FooterSocialsType, NavbarLink, IconType } from '../schemas/basics';
6
- import { ColorsType } from '../schemas/colors';
7
- import { configSchema } from '../schemas/config';
8
- import { IntegrationsType } from '../schemas/integrations';
9
- import { TabType } from '../schemas/tabs';
10
- import { VersionsType } from '../schemas/versions';
11
- import { ModeToggleType } from './enums';
12
- import { MintNavigation } from './navigation';
13
- export type ConfigType = z.infer<typeof configSchema>;
14
- export type MintConfig = {
15
- name: string;
16
- backgroundImage?: string;
17
- colors?: ColorsType;
18
- favicon?: string;
19
- feedback?: FeedbackType;
20
- footerSocials?: FooterSocialsType;
21
- logo?: LogoType;
22
- metadata?: Record<string, string>;
23
- modeToggle?: {
24
- default?: ModeToggleType;
25
- isHidden?: boolean;
26
- };
27
- openapi?: string | string[];
28
- api?: ApiConfigType;
29
- navigation?: MintNavigation;
30
- anchors?: AnchorsType;
31
- versions?: VersionsType;
32
- topbarCtaButton?: NavbarLink;
33
- topAnchor?: {
34
- name: string;
35
- icon?: string;
36
- iconType?: IconType;
37
- };
38
- topbarLinks?: NavbarLink[];
39
- primaryTab?: {
40
- name: string;
41
- };
42
- tabs?: TabType[];
43
- repo?: {
44
- github?: {
45
- owner: string;
46
- repo: string;
47
- deployBranch: string;
48
- contentDirectory: string;
49
- isPrivate?: boolean;
50
- };
51
- };
52
- analytics?: AnalyticsType;
53
- integrations?: IntegrationsType;
54
- isWhiteLabeled?: boolean;
55
- };
@@ -1,3 +0,0 @@
1
- import { z } from 'zod';
2
- import { versionsSchema } from '../schemas/versions';
3
- export type VersionsType = z.infer<typeof versionsSchema>;