@mintlify/validation
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -10,2 +10,9 @@ import { z } from "zod"; | ||
}>>; | ||
clearbit: z.ZodOptional<z.ZodObject<{ | ||
publicApiKey: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
publicApiKey: string; | ||
}, { | ||
publicApiKey: string; | ||
}>>; | ||
fathom: z.ZodOptional<z.ZodObject<{ | ||
@@ -74,7 +81,7 @@ siteId: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
apiKey: string; | ||
apiHost?: string | undefined; | ||
}, { | ||
apiKey: string; | ||
}, { | ||
apiHost?: string | undefined; | ||
apiKey: string; | ||
}>>; | ||
@@ -92,2 +99,5 @@ plausible: z.ZodOptional<z.ZodObject<{ | ||
} | undefined; | ||
clearbit?: { | ||
publicApiKey: string; | ||
} | undefined; | ||
fathom?: { | ||
@@ -119,4 +129,4 @@ siteId: string; | ||
posthog?: { | ||
apiKey: string; | ||
apiHost?: string | undefined; | ||
apiKey: string; | ||
} | undefined; | ||
@@ -130,2 +140,5 @@ plausible?: { | ||
} | undefined; | ||
clearbit?: { | ||
publicApiKey: string; | ||
} | undefined; | ||
fathom?: { | ||
@@ -157,4 +170,4 @@ siteId: string; | ||
posthog?: { | ||
apiKey: string; | ||
apiHost?: string | undefined; | ||
apiKey: string; | ||
} | undefined; | ||
@@ -161,0 +174,0 @@ plausible?: { |
@@ -7,9 +7,9 @@ import { z } from "zod"; | ||
}, "strict", z.ZodTypeAny, { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
}, { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
}>]>; |
@@ -12,9 +12,9 @@ import { z } from "zod"; | ||
}, "strict", z.ZodTypeAny, { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
}, { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
}>]>>; | ||
@@ -24,25 +24,25 @@ isDefaultHidden: z.ZodOptional<z.ZodBoolean>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
url: string; | ||
icon?: string | undefined; | ||
iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined; | ||
color?: string | { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
} | undefined; | ||
isDefaultHidden?: boolean | undefined; | ||
version?: string | undefined; | ||
}, { | ||
name: string; | ||
url: string; | ||
}, { | ||
icon?: string | undefined; | ||
iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined; | ||
color?: string | { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
} | undefined; | ||
isDefaultHidden?: boolean | undefined; | ||
version?: string | undefined; | ||
name: string; | ||
url: string; | ||
}>, "many">; |
@@ -21,9 +21,9 @@ import { z } from "zod"; | ||
}, "strict", z.ZodTypeAny, { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
}, { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
}>]>>; | ||
@@ -33,2 +33,3 @@ ultraLight: z.ZodOptional<z.ZodAny>; | ||
}, "strict", z.ZodTypeAny, { | ||
primary: string; | ||
light?: string | undefined; | ||
@@ -41,10 +42,10 @@ dark?: string | undefined; | ||
anchors?: string | { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
} | undefined; | ||
ultraLight?: any; | ||
ultraDark?: any; | ||
}, { | ||
primary: string; | ||
}, { | ||
light?: string | undefined; | ||
@@ -57,9 +58,8 @@ dark?: string | undefined; | ||
anchors?: string | { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
} | undefined; | ||
ultraLight?: any; | ||
ultraDark?: any; | ||
primary: string; | ||
}>; |
@@ -1,2 +0,2 @@ | ||
import { z } from "zod"; | ||
import { z } from 'zod'; | ||
export declare const configSchema: z.ZodObject<{ | ||
@@ -11,9 +11,9 @@ $schema: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
}, "strip", z.ZodTypeAny, { | ||
href?: string | undefined; | ||
light: string; | ||
dark: string; | ||
href?: string | undefined; | ||
}, { | ||
href?: string | undefined; | ||
light: string; | ||
dark: string; | ||
href?: string | undefined; | ||
}>]>>; | ||
@@ -25,40 +25,50 @@ favicon: z.ZodEffects<z.ZodString, string, string>; | ||
auth: z.ZodOptional<z.ZodObject<{ | ||
method: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>; | ||
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key"]>>; | ||
name: z.ZodOptional<z.ZodString>; | ||
inputPrefix: z.ZodOptional<z.ZodString>; | ||
}, "strict", z.ZodTypeAny, { | ||
method?: "bearer" | "basic" | "key" | undefined; | ||
name?: string | undefined; | ||
method?: string | undefined; | ||
inputPrefix?: string | undefined; | ||
}, { | ||
method?: "bearer" | "basic" | "key" | undefined; | ||
name?: string | undefined; | ||
method?: string | undefined; | ||
inputPrefix?: string | undefined; | ||
}>>; | ||
hidePlayground: z.ZodOptional<z.ZodBoolean>; | ||
playground: z.ZodOptional<z.ZodObject<{ | ||
mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["show", "simple", "hide"]>>>; | ||
}, "strip", z.ZodTypeAny, { | ||
mode: "show" | "simple" | "hide"; | ||
}, { | ||
mode?: "show" | "simple" | "hide" | undefined; | ||
}>>; | ||
}, "strict", z.ZodTypeAny, { | ||
baseUrl?: string | string[] | undefined; | ||
auth?: { | ||
method?: "bearer" | "basic" | "key" | undefined; | ||
name?: string | undefined; | ||
method?: string | undefined; | ||
inputPrefix?: string | undefined; | ||
} | undefined; | ||
hidePlayground?: boolean | undefined; | ||
playground?: { | ||
mode: "show" | "simple" | "hide"; | ||
} | undefined; | ||
}, { | ||
baseUrl?: string | string[] | undefined; | ||
auth?: { | ||
method?: "bearer" | "basic" | "key" | undefined; | ||
name?: string | undefined; | ||
method?: string | undefined; | ||
inputPrefix?: string | undefined; | ||
} | undefined; | ||
hidePlayground?: boolean | undefined; | ||
playground?: { | ||
mode?: "show" | "simple" | "hide" | undefined; | ||
} | undefined; | ||
}>>; | ||
modeToggle: z.ZodOptional<z.ZodObject<{ | ||
default: z.ZodOptional<z.ZodString>; | ||
default: z.ZodOptional<z.ZodEnum<["light", "dark"]>>; | ||
isHidden: z.ZodOptional<z.ZodBoolean>; | ||
}, "strip", z.ZodTypeAny, { | ||
default?: string | undefined; | ||
default?: "light" | "dark" | undefined; | ||
isHidden?: boolean | undefined; | ||
}, { | ||
default?: string | undefined; | ||
default?: "light" | "dark" | undefined; | ||
isHidden?: boolean | undefined; | ||
@@ -87,9 +97,9 @@ }>>; | ||
}, "strict", z.ZodTypeAny, { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
}, { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
}>]>>; | ||
@@ -99,2 +109,3 @@ ultraLight: z.ZodOptional<z.ZodAny>; | ||
}, "strict", z.ZodTypeAny, { | ||
primary: string; | ||
light?: string | undefined; | ||
@@ -107,10 +118,10 @@ dark?: string | undefined; | ||
anchors?: string | { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
} | undefined; | ||
ultraLight?: any; | ||
ultraDark?: any; | ||
}, { | ||
primary: string; | ||
}, { | ||
light?: string | undefined; | ||
@@ -123,9 +134,8 @@ dark?: string | undefined; | ||
anchors?: string | { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
} | undefined; | ||
ultraLight?: any; | ||
ultraDark?: any; | ||
primary: string; | ||
}>; | ||
@@ -137,9 +147,9 @@ topbarCtaButton: z.ZodOptional<z.ZodUnion<[z.ZodObject<{ | ||
}, "strict", z.ZodTypeAny, { | ||
type?: "link" | undefined; | ||
name: string; | ||
url: string; | ||
type?: "link" | undefined; | ||
}, { | ||
type?: "link" | undefined; | ||
name: string; | ||
url: string; | ||
type?: "link" | undefined; | ||
}>, z.ZodObject<{ | ||
@@ -160,9 +170,9 @@ type: z.ZodLiteral<"github">; | ||
}, "strict", z.ZodTypeAny, { | ||
type?: "link" | undefined; | ||
name: string; | ||
url: string; | ||
type?: "link" | undefined; | ||
}, { | ||
type?: "link" | undefined; | ||
name: string; | ||
url: string; | ||
type?: "link" | undefined; | ||
}>, z.ZodObject<{ | ||
@@ -184,9 +194,9 @@ type: z.ZodLiteral<"github">; | ||
}, "strict", z.ZodTypeAny, { | ||
name: string; | ||
icon?: string | undefined; | ||
iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
}, { | ||
icon?: string | undefined; | ||
iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined; | ||
name: string; | ||
}>>; | ||
@@ -203,9 +213,9 @@ anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{ | ||
}, "strict", z.ZodTypeAny, { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
}, { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
}>]>>; | ||
@@ -215,25 +225,25 @@ isDefaultHidden: z.ZodOptional<z.ZodBoolean>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
url: string; | ||
icon?: string | undefined; | ||
iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined; | ||
color?: string | { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
} | undefined; | ||
isDefaultHidden?: boolean | undefined; | ||
version?: string | undefined; | ||
}, { | ||
name: string; | ||
url: string; | ||
}, { | ||
icon?: string | undefined; | ||
iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined; | ||
color?: string | { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
} | undefined; | ||
isDefaultHidden?: boolean | undefined; | ||
version?: string | undefined; | ||
name: string; | ||
url: string; | ||
}>, "many">>; | ||
@@ -259,2 +269,9 @@ footerSocials: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{ | ||
}>>; | ||
clearbit: z.ZodOptional<z.ZodObject<{ | ||
publicApiKey: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
publicApiKey: string; | ||
}, { | ||
publicApiKey: string; | ||
}>>; | ||
fathom: z.ZodOptional<z.ZodObject<{ | ||
@@ -323,7 +340,7 @@ siteId: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
apiKey: string; | ||
apiHost?: string | undefined; | ||
}, { | ||
apiKey: string; | ||
}, { | ||
apiHost?: string | undefined; | ||
apiKey: string; | ||
}>>; | ||
@@ -341,2 +358,5 @@ plausible: z.ZodOptional<z.ZodObject<{ | ||
} | undefined; | ||
clearbit?: { | ||
publicApiKey: string; | ||
} | undefined; | ||
fathom?: { | ||
@@ -368,4 +388,4 @@ siteId: string; | ||
posthog?: { | ||
apiKey: string; | ||
apiHost?: string | undefined; | ||
apiKey: string; | ||
} | undefined; | ||
@@ -379,2 +399,5 @@ plausible?: { | ||
} | undefined; | ||
clearbit?: { | ||
publicApiKey: string; | ||
} | undefined; | ||
fathom?: { | ||
@@ -406,4 +429,4 @@ siteId: string; | ||
posthog?: { | ||
apiKey: string; | ||
apiHost?: string | undefined; | ||
apiKey: string; | ||
} | undefined; | ||
@@ -423,7 +446,27 @@ plausible?: { | ||
}, "strip", z.ZodTypeAny, { | ||
$schema: string; | ||
name: string; | ||
favicon: string; | ||
colors: { | ||
primary: string; | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
background?: { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
} | undefined; | ||
anchors?: string | { | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
} | undefined; | ||
ultraLight?: any; | ||
ultraDark?: any; | ||
}; | ||
navigation: import("../types/navigation").NavigationType[]; | ||
mintlify?: string | undefined; | ||
logo?: string | { | ||
href?: string | undefined; | ||
light: string; | ||
dark: string; | ||
href?: string | undefined; | ||
} | undefined; | ||
@@ -434,10 +477,12 @@ openapi?: string | string[] | undefined; | ||
auth?: { | ||
method?: "bearer" | "basic" | "key" | undefined; | ||
name?: string | undefined; | ||
method?: string | undefined; | ||
inputPrefix?: string | undefined; | ||
} | undefined; | ||
hidePlayground?: boolean | undefined; | ||
playground?: { | ||
mode: "show" | "simple" | "hide"; | ||
} | undefined; | ||
} | undefined; | ||
modeToggle?: { | ||
default?: string | undefined; | ||
default?: "light" | "dark" | undefined; | ||
isHidden?: boolean | undefined; | ||
@@ -447,19 +492,6 @@ } | undefined; | ||
metadata?: Record<string, string> | undefined; | ||
anchors?: { | ||
icon?: string | undefined; | ||
iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined; | ||
color?: string | { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
} | undefined; | ||
isDefaultHidden?: boolean | undefined; | ||
version?: string | undefined; | ||
topbarCtaButton?: { | ||
name: string; | ||
url: string; | ||
}[] | undefined; | ||
topbarCtaButton?: { | ||
type?: "link" | undefined; | ||
name: string; | ||
url: string; | ||
} | { | ||
@@ -470,5 +502,5 @@ type: "github"; | ||
topbarLinks?: ({ | ||
type?: "link" | undefined; | ||
name: string; | ||
url: string; | ||
type?: "link" | undefined; | ||
} | { | ||
@@ -479,6 +511,19 @@ type: "github"; | ||
topAnchor?: { | ||
name: string; | ||
icon?: string | undefined; | ||
iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
anchors?: { | ||
name: string; | ||
} | undefined; | ||
url: string; | ||
icon?: string | undefined; | ||
iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined; | ||
color?: string | { | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
} | undefined; | ||
isDefaultHidden?: boolean | undefined; | ||
version?: string | undefined; | ||
}[] | undefined; | ||
footerSocials?: Record<string, string> | { | ||
@@ -493,2 +538,5 @@ type: string; | ||
} | undefined; | ||
clearbit?: { | ||
publicApiKey: string; | ||
} | undefined; | ||
fathom?: { | ||
@@ -520,4 +568,4 @@ siteId: string; | ||
posthog?: { | ||
apiKey: string; | ||
apiHost?: string | undefined; | ||
apiKey: string; | ||
} | undefined; | ||
@@ -532,6 +580,7 @@ plausible?: { | ||
__injected?: undefined; | ||
$schema: string; | ||
}, { | ||
name: string; | ||
favicon: string; | ||
colors: { | ||
primary: string; | ||
light?: string | undefined; | ||
@@ -544,18 +593,16 @@ dark?: string | undefined; | ||
anchors?: string | { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
} | undefined; | ||
ultraLight?: any; | ||
ultraDark?: any; | ||
primary: string; | ||
}; | ||
navigation: import("../types/navigation").NavigationType[]; | ||
}, { | ||
$schema?: string | undefined; | ||
mintlify?: string | undefined; | ||
logo?: string | { | ||
href?: string | undefined; | ||
light: string; | ||
dark: string; | ||
href?: string | undefined; | ||
} | undefined; | ||
@@ -566,10 +613,12 @@ openapi?: string | string[] | undefined; | ||
auth?: { | ||
method?: "bearer" | "basic" | "key" | undefined; | ||
name?: string | undefined; | ||
method?: string | undefined; | ||
inputPrefix?: string | undefined; | ||
} | undefined; | ||
hidePlayground?: boolean | undefined; | ||
playground?: { | ||
mode?: "show" | "simple" | "hide" | undefined; | ||
} | undefined; | ||
} | undefined; | ||
modeToggle?: { | ||
default?: string | undefined; | ||
default?: "light" | "dark" | undefined; | ||
isHidden?: boolean | undefined; | ||
@@ -579,19 +628,6 @@ } | undefined; | ||
metadata?: Record<string, string> | undefined; | ||
anchors?: { | ||
icon?: string | undefined; | ||
iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined; | ||
color?: string | { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
} | undefined; | ||
isDefaultHidden?: boolean | undefined; | ||
version?: string | undefined; | ||
topbarCtaButton?: { | ||
name: string; | ||
url: string; | ||
}[] | undefined; | ||
topbarCtaButton?: { | ||
type?: "link" | undefined; | ||
name: string; | ||
url: string; | ||
} | { | ||
@@ -602,5 +638,5 @@ type: "github"; | ||
topbarLinks?: ({ | ||
type?: "link" | undefined; | ||
name: string; | ||
url: string; | ||
type?: "link" | undefined; | ||
} | { | ||
@@ -611,6 +647,19 @@ type: "github"; | ||
topAnchor?: { | ||
name: string; | ||
icon?: string | undefined; | ||
iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
anchors?: { | ||
name: string; | ||
} | undefined; | ||
url: string; | ||
icon?: string | undefined; | ||
iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined; | ||
color?: string | { | ||
from: string; | ||
to: string; | ||
via?: string | undefined; | ||
} | undefined; | ||
isDefaultHidden?: boolean | undefined; | ||
version?: string | undefined; | ||
}[] | undefined; | ||
footerSocials?: Record<string, string> | { | ||
@@ -625,2 +674,5 @@ type: string; | ||
} | undefined; | ||
clearbit?: { | ||
publicApiKey: string; | ||
} | undefined; | ||
fathom?: { | ||
@@ -652,4 +704,4 @@ siteId: string; | ||
posthog?: { | ||
apiKey: string; | ||
apiHost?: string | undefined; | ||
apiKey: string; | ||
} | undefined; | ||
@@ -664,21 +716,2 @@ plausible?: { | ||
__injected?: undefined; | ||
name: string; | ||
favicon: string; | ||
colors: { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
background?: { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
} | undefined; | ||
anchors?: string | { | ||
via?: string | undefined; | ||
from: string; | ||
to: string; | ||
} | undefined; | ||
ultraLight?: any; | ||
ultraDark?: any; | ||
primary: string; | ||
}; | ||
navigation: import("../types/navigation").NavigationType[]; | ||
}>; |
{ | ||
"name": "@mintlify/validation", | ||
"version": "0.1.14", | ||
"version": "0.1.15", | ||
"description": "Validates mint.json files", | ||
@@ -5,0 +5,0 @@ "author": "Mintlify, Inc.", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138035
1033