@mintlify/validation
Advanced tools
Comparing version 0.1.238 to 0.1.239
@@ -12,3 +12,4 @@ import { zodToJsonSchema } from 'zod-to-json-schema'; | ||
export { formatIssue } from './mint-config/formatIssue.js'; | ||
export { upgradeToDocsConfig } from './mint-config/upgrades/upgradeToDocsConfig.js'; | ||
export const mintConfigJsonSchema = zodToJsonSchema(mintConfigSchema, 'Schema'); | ||
export const docsConfigJsonSchema = zodToJsonSchema(docsConfigSchema, 'Schema'); |
@@ -10,2 +10,3 @@ import { DocsConfig } from './mint-config/schemas/v2/index.js'; | ||
export { formatIssue } from './mint-config/formatIssue.js'; | ||
export { upgradeToDocsConfig } from './mint-config/upgrades/upgradeToDocsConfig.js'; | ||
export declare const mintConfigJsonSchema: import("zod-to-json-schema/src/parseDef.js").JsonSchema7Type & { | ||
@@ -12,0 +13,0 @@ $schema?: string | undefined; |
@@ -12,3 +12,4 @@ import { zodToJsonSchema } from 'zod-to-json-schema'; | ||
export { formatIssue } from './mint-config/formatIssue.js'; | ||
export { upgradeToDocsConfig } from './mint-config/upgrades/upgradeToDocsConfig.js'; | ||
export const mintConfigJsonSchema = zodToJsonSchema(mintConfigSchema, 'Schema'); | ||
export const docsConfigJsonSchema = zodToJsonSchema(docsConfigSchema, 'Schema'); |
@@ -6,10 +6,10 @@ import { z } from 'zod'; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -31,3 +31,3 @@ color: z.ZodOptional<z.ZodObject<{ | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -43,3 +43,3 @@ color?: { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -51,8 +51,2 @@ color?: { | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -64,3 +58,5 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>; | ||
}>>; | ||
export declare const anchorsSchema: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">; | ||
export type AnchorsConfig = z.infer<typeof anchorsSchema>; | ||
export type AnchorConfig = z.infer<typeof anchorSchema>; |
@@ -29,3 +29,3 @@ import { z } from 'zod'; | ||
])); | ||
export const nonRecursiveAnchorSchema = baseAnchorSchema.and(z.union([z.object({ openapi: openApiSchema }), z.object({ href: hrefSchema })])); | ||
export const nonRecursiveAnchorSchema = baseAnchorSchema.and(z.object({ href: hrefSchema })); | ||
export const anchorsSchema = z.array(anchorSchema).describe('Organizing by anchors'); |
@@ -6,10 +6,10 @@ import { z } from 'zod'; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -21,3 +21,3 @@ hidden: z.ZodOptional<z.ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -29,11 +29,5 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -45,3 +39,3 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>; | ||
}>>; | ||
export declare const dropdownsSchema: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">; |
@@ -27,3 +27,3 @@ import { z } from 'zod'; | ||
])); | ||
export const nonRecursiveDropdownSchema = baseDropdownSchema.and(z.union([z.object({ openapi: openApiSchema }), z.object({ href: hrefSchema })])); | ||
export const nonRecursiveDropdownSchema = baseDropdownSchema.and(z.object({ href: hrefSchema })); | ||
export const dropdownsSchema = z.array(dropdownSchema).describe('Organizing by dropdowns'); |
@@ -12,8 +12,2 @@ import { z } from 'zod'; | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -25,3 +19,3 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
versions: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{ | ||
@@ -36,8 +30,2 @@ version: z.ZodString; | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -49,14 +37,14 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
tabs: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{ | ||
tab: z.ZodString; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -68,3 +56,3 @@ hidden: z.ZodOptional<z.ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -76,11 +64,5 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -92,14 +74,14 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
dropdowns: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{ | ||
dropdown: z.ZodString; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -111,3 +93,3 @@ hidden: z.ZodOptional<z.ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -119,11 +101,5 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -135,14 +111,14 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
anchors: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{ | ||
anchor: z.ZodString; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -164,3 +140,3 @@ color: z.ZodOptional<z.ZodObject<{ | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -176,3 +152,3 @@ color?: { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -184,8 +160,2 @@ color?: { | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -197,3 +167,3 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
}, "strict", z.ZodTypeAny, { | ||
@@ -203,15 +173,11 @@ languages?: ({ | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
versions?: ({ | ||
version: string; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
tabs?: ({ | ||
@@ -221,10 +187,8 @@ tab: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
dropdowns?: ({ | ||
@@ -234,10 +198,8 @@ dropdown: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
anchors?: ({ | ||
@@ -247,3 +209,3 @@ anchor: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -255,7 +217,5 @@ color?: { | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
}, { | ||
@@ -265,15 +225,11 @@ languages?: ({ | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
versions?: ({ | ||
version: string; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
tabs?: ({ | ||
@@ -283,10 +239,8 @@ tab: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
dropdowns?: ({ | ||
@@ -296,10 +250,8 @@ dropdown: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
anchors?: ({ | ||
@@ -309,3 +261,3 @@ anchor: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -317,7 +269,6 @@ color?: { | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
}>; | ||
export type GlobalConfig = z.infer<typeof globalSchema>; |
@@ -5,10 +5,10 @@ import { z } from 'zod'; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -21,3 +21,3 @@ hidden: z.ZodOptional<z.ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -30,3 +30,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -51,10 +51,10 @@ hidden?: boolean | undefined; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -67,3 +67,3 @@ hidden: z.ZodOptional<z.ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -76,3 +76,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -94,1 +94,3 @@ hidden?: boolean | undefined; | ||
}>>]>>, "many">; | ||
export type GroupConfig = z.infer<typeof groupSchema>; | ||
export type GroupsConfig = z.infer<typeof groupsSchema>; |
@@ -52,10 +52,10 @@ import { z } from 'zod'; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -68,3 +68,3 @@ hidden: z.ZodOptional<z.ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -77,3 +77,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -100,3 +100,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -115,3 +115,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -153,3 +153,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -187,3 +187,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -228,10 +228,10 @@ hidden?: boolean | undefined; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -244,3 +244,3 @@ hidden: z.ZodOptional<z.ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -253,3 +253,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -276,3 +276,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -291,3 +291,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -307,4 +307,4 @@ hidden?: boolean | undefined; | ||
pages: any[]; | ||
}>]>, z.ZodOptional<z.ZodObject<{ | ||
global: z.ZodObject<{ | ||
}>]>, z.ZodObject<{ | ||
global: z.ZodOptional<z.ZodObject<{ | ||
languages: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{ | ||
@@ -319,8 +319,2 @@ language: z.ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>; | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -332,3 +326,3 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
versions: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{ | ||
@@ -343,8 +337,2 @@ version: z.ZodString; | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -356,14 +344,14 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
tabs: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{ | ||
tab: z.ZodString; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -375,3 +363,3 @@ hidden: z.ZodOptional<z.ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -383,11 +371,5 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -399,14 +381,14 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
dropdowns: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{ | ||
dropdown: z.ZodString; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -418,3 +400,3 @@ hidden: z.ZodOptional<z.ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -426,11 +408,5 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -442,14 +418,14 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
anchors: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{ | ||
anchor: z.ZodString; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -471,3 +447,3 @@ color: z.ZodOptional<z.ZodObject<{ | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -483,3 +459,3 @@ color?: { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -491,8 +467,2 @@ color?: { | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -504,3 +474,3 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
}, "strict", z.ZodTypeAny, { | ||
@@ -510,15 +480,11 @@ languages?: ({ | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
versions?: ({ | ||
version: string; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
tabs?: ({ | ||
@@ -528,10 +494,8 @@ tab: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
dropdowns?: ({ | ||
@@ -541,10 +505,8 @@ dropdown: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
anchors?: ({ | ||
@@ -554,3 +516,3 @@ anchor: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -562,7 +524,5 @@ color?: { | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
}, { | ||
@@ -572,15 +532,11 @@ languages?: ({ | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
versions?: ({ | ||
version: string; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
tabs?: ({ | ||
@@ -590,10 +546,8 @@ tab: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
dropdowns?: ({ | ||
@@ -603,10 +557,8 @@ dropdown: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
anchors?: ({ | ||
@@ -616,3 +568,3 @@ anchor: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -624,26 +576,20 @@ color?: { | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
}>; | ||
})[] | undefined; | ||
}>>; | ||
}, "strip", z.ZodTypeAny, { | ||
global: { | ||
global?: { | ||
languages?: ({ | ||
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de"; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
versions?: ({ | ||
version: string; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
tabs?: ({ | ||
@@ -653,10 +599,8 @@ tab: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
dropdowns?: ({ | ||
@@ -666,10 +610,8 @@ dropdown: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
anchors?: ({ | ||
@@ -679,3 +621,3 @@ anchor: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -687,26 +629,20 @@ color?: { | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
}; | ||
})[] | undefined; | ||
} | undefined; | ||
}, { | ||
global: { | ||
global?: { | ||
languages?: ({ | ||
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de"; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
versions?: ({ | ||
version: string; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
tabs?: ({ | ||
@@ -716,10 +652,8 @@ tab: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
dropdowns?: ({ | ||
@@ -729,10 +663,8 @@ dropdown: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
anchors?: ({ | ||
@@ -742,3 +674,3 @@ anchor: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -750,8 +682,7 @@ color?: { | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
}; | ||
}>>>; | ||
})[] | undefined; | ||
} | undefined; | ||
}>>; | ||
export type NavigationConfig = z.infer<typeof navigationSchema>; |
@@ -20,3 +20,3 @@ import { z } from 'zod'; | ||
]) | ||
.and(z.object({ global: globalSchema }).optional()) | ||
.and(z.object({ global: globalSchema.optional() })) | ||
.describe('The navigation structure of the content'); |
@@ -51,10 +51,10 @@ import { z } from 'zod'; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -67,3 +67,3 @@ hidden: z.ZodOptional<z.ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -76,3 +76,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -99,3 +99,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -114,3 +114,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -140,8 +140,2 @@ hidden?: boolean | undefined; | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -153,3 +147,3 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>; | ||
}>>; | ||
export declare const languagesSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{ | ||
@@ -204,10 +198,10 @@ language: z.ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -220,3 +214,3 @@ hidden: z.ZodOptional<z.ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -229,3 +223,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -252,3 +246,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -267,3 +261,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -284,1 +278,3 @@ hidden?: boolean | undefined; | ||
}>>]>>, "many">; | ||
export type LanguagesConfig = z.infer<typeof languagesSchema>; | ||
export type LanguageConfig = z.infer<typeof languageSchema>; |
@@ -29,3 +29,3 @@ import { z } from 'zod'; | ||
.describe('Organizing by languages'); | ||
export const nonRecursiveLanguageSchema = baseLanguageSchema.and(z.union([z.object({ openapi: openApiSchema }), z.object({ href: hrefSchema })])); | ||
export const nonRecursiveLanguageSchema = baseLanguageSchema.and(z.object({ href: hrefSchema })); | ||
export const languagesSchema = z | ||
@@ -32,0 +32,0 @@ .array(languageSchema) |
import { z } from 'zod'; | ||
export declare const pagesSchema: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">; | ||
export type PagesConfig = z.infer<typeof pagesSchema>; |
@@ -6,10 +6,10 @@ import { z } from 'zod'; | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -21,3 +21,3 @@ hidden: z.ZodOptional<z.ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -29,11 +29,5 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -45,3 +39,5 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>; | ||
}>>; | ||
export declare const tabsSchema: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">; | ||
export type TabsConfig = z.infer<typeof tabsSchema>; | ||
export type TabConfig = z.infer<typeof tabSchema>; |
@@ -27,3 +27,3 @@ import { z } from 'zod'; | ||
])); | ||
export const nonRecursiveTabSchema = baseTabSchema.and(z.union([z.object({ openapi: openApiSchema }), z.object({ href: hrefSchema })])); | ||
export const nonRecursiveTabSchema = baseTabSchema.and(z.object({ href: hrefSchema })); | ||
export const tabsSchema = z.array(tabSchema).describe('Organizing by tabs'); |
@@ -12,8 +12,2 @@ import { z } from 'zod'; | ||
hidden?: boolean | undefined; | ||
}>, z.ZodUnion<[z.ZodObject<{ | ||
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>; | ||
}, "strip", z.ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, z.ZodObject<{ | ||
@@ -25,3 +19,5 @@ href: z.ZodString; | ||
href: string; | ||
}>]>>; | ||
}>>; | ||
export declare const versionsSchema: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">; | ||
export type VersionsConfig = z.infer<typeof versionsSchema>; | ||
export type VersionConfig = z.infer<typeof versionSchema>; |
@@ -25,3 +25,3 @@ import { z } from 'zod'; | ||
])); | ||
export const nonRecursiveVersionSchema = baseVersionSchema.and(z.union([z.object({ openapi: openApiSchema }), z.object({ href: hrefSchema })])); | ||
export const nonRecursiveVersionSchema = baseVersionSchema.and(z.object({ href: hrefSchema })); | ||
export const versionsSchema = z.array(versionSchema).describe('Organizing by versions'); |
import { z } from 'zod'; | ||
export declare const iconSchema: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: z.ZodEffects<z.ZodString, string, string>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>; | ||
export type IconConfig = z.infer<typeof iconSchema>; |
@@ -21,3 +21,3 @@ import { z } from 'zod'; | ||
export const iconSchema = z | ||
.union([iconNameSchema, z.object({ style: z.enum(iconTypes), name: iconNameSchema })]) | ||
.union([iconNameSchema, z.object({ style: z.enum(iconTypes).optional(), name: iconNameSchema })]) | ||
.describe('The icon to be displayed in the section'); |
@@ -5,3 +5,3 @@ import { z } from 'zod'; | ||
metatags: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>; | ||
indexing: z.ZodDefault<z.ZodEnum<["navigable", "all"]>>; | ||
indexing: z.ZodDefault<z.ZodOptional<z.ZodEnum<["navigable", "all"]>>>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -8,0 +8,0 @@ indexing: "all" | "navigable"; |
@@ -11,2 +11,3 @@ import { z } from 'zod'; | ||
.enum(['navigable', 'all']) | ||
.optional() | ||
.default('navigable') | ||
@@ -13,0 +14,0 @@ .describe('Specify which pages to be indexed by search engines. Setting "navigable" indexes pages that are set in navigation, "all" indexes all pages'), |
import { z } from 'zod'; | ||
export declare const primarySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ | ||
type: z.ZodLiteral<"button">; | ||
label: z.ZodString; | ||
href: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
type: "button"; | ||
href: string; | ||
label: string; | ||
}, { | ||
type: "button"; | ||
href: string; | ||
label: string; | ||
}>, z.ZodObject<{ | ||
type: z.ZodLiteral<"github">; | ||
href: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
type: "github"; | ||
href: string; | ||
}, { | ||
type: "github"; | ||
href: string; | ||
}>]>; | ||
export declare const topbarSchema: z.ZodObject<{ | ||
@@ -3,0 +25,0 @@ links: z.ZodOptional<z.ZodArray<z.ZodObject<{ |
@@ -16,3 +16,3 @@ import { z } from 'zod'; | ||
}); | ||
const primarySchema = z.discriminatedUnion('type', [buttonSchema, githubSchema]); | ||
export const primarySchema = z.discriminatedUnion('type', [buttonSchema, githubSchema]); | ||
export const topbarSchema = z | ||
@@ -19,0 +19,0 @@ .object({ |
@@ -77,2 +77,15 @@ export declare const standardConfigSchema: { | ||
}>>; | ||
feedback: import("zod").ZodOptional<import("zod").ZodObject<{ | ||
thumbs: import("zod").ZodOptional<import("zod").ZodBoolean>; | ||
edits: import("zod").ZodOptional<import("zod").ZodBoolean>; | ||
issues: import("zod").ZodOptional<import("zod").ZodBoolean>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
thumbs?: boolean | undefined; | ||
edits?: boolean | undefined; | ||
issues?: boolean | undefined; | ||
}, { | ||
thumbs?: boolean | undefined; | ||
edits?: boolean | undefined; | ||
issues?: boolean | undefined; | ||
}>>; | ||
appearance: import("zod").ZodOptional<import("zod").ZodObject<{ | ||
@@ -241,10 +254,10 @@ default: import("zod").ZodDefault<import("zod").ZodEnum<["system", "light", "dark"]>>; | ||
icon: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodObject<{ | ||
style: import("zod").ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: import("zod").ZodOptional<import("zod").ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: import("zod").ZodEffects<import("zod").ZodString, string, string>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -257,3 +270,3 @@ hidden: import("zod").ZodOptional<import("zod").ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -266,3 +279,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -289,3 +302,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -304,3 +317,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -342,3 +355,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -376,3 +389,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -417,10 +430,10 @@ hidden?: boolean | undefined; | ||
icon: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodObject<{ | ||
style: import("zod").ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: import("zod").ZodOptional<import("zod").ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: import("zod").ZodEffects<import("zod").ZodString, string, string>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -433,3 +446,3 @@ hidden: import("zod").ZodOptional<import("zod").ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -442,3 +455,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -465,3 +478,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -480,3 +493,3 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -496,4 +509,4 @@ hidden?: boolean | undefined; | ||
pages: any[]; | ||
}>]>, import("zod").ZodOptional<import("zod").ZodObject<{ | ||
global: import("zod").ZodObject<{ | ||
}>]>, import("zod").ZodObject<{ | ||
global: import("zod").ZodOptional<import("zod").ZodObject<{ | ||
languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodIntersection<import("zod").ZodObject<{ | ||
@@ -508,8 +521,2 @@ language: import("zod").ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>; | ||
hidden?: boolean | undefined; | ||
}>, import("zod").ZodUnion<[import("zod").ZodObject<{ | ||
openapi: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">]>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, import("zod").ZodObject<{ | ||
@@ -521,3 +528,3 @@ href: import("zod").ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
versions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodIntersection<import("zod").ZodObject<{ | ||
@@ -532,8 +539,2 @@ version: import("zod").ZodString; | ||
hidden?: boolean | undefined; | ||
}>, import("zod").ZodUnion<[import("zod").ZodObject<{ | ||
openapi: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">]>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, import("zod").ZodObject<{ | ||
@@ -545,14 +546,14 @@ href: import("zod").ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
tabs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodIntersection<import("zod").ZodObject<{ | ||
tab: import("zod").ZodString; | ||
icon: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodObject<{ | ||
style: import("zod").ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: import("zod").ZodOptional<import("zod").ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: import("zod").ZodEffects<import("zod").ZodString, string, string>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -564,3 +565,3 @@ hidden: import("zod").ZodOptional<import("zod").ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -572,11 +573,5 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
}>, import("zod").ZodUnion<[import("zod").ZodObject<{ | ||
openapi: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">]>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, import("zod").ZodObject<{ | ||
@@ -588,14 +583,14 @@ href: import("zod").ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
dropdowns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodIntersection<import("zod").ZodObject<{ | ||
dropdown: import("zod").ZodString; | ||
icon: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodObject<{ | ||
style: import("zod").ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: import("zod").ZodOptional<import("zod").ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: import("zod").ZodEffects<import("zod").ZodString, string, string>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -607,3 +602,3 @@ hidden: import("zod").ZodOptional<import("zod").ZodBoolean>; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -615,11 +610,5 @@ hidden?: boolean | undefined; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
}>, import("zod").ZodUnion<[import("zod").ZodObject<{ | ||
openapi: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">]>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, import("zod").ZodObject<{ | ||
@@ -631,14 +620,14 @@ href: import("zod").ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
anchors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodIntersection<import("zod").ZodObject<{ | ||
anchor: import("zod").ZodString; | ||
icon: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodObject<{ | ||
style: import("zod").ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>; | ||
style: import("zod").ZodOptional<import("zod").ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>; | ||
name: import("zod").ZodEffects<import("zod").ZodString, string, string>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}, { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
@@ -660,3 +649,3 @@ color: import("zod").ZodOptional<import("zod").ZodObject<{ | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -672,3 +661,3 @@ color?: { | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -680,8 +669,2 @@ color?: { | ||
hidden?: boolean | undefined; | ||
}>, import("zod").ZodUnion<[import("zod").ZodObject<{ | ||
openapi: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">]>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}, { | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
}>, import("zod").ZodObject<{ | ||
@@ -693,3 +676,3 @@ href: import("zod").ZodString; | ||
href: string; | ||
}>]>>, "many">>; | ||
}>>, "many">>; | ||
}, "strict", import("zod").ZodTypeAny, { | ||
@@ -699,15 +682,11 @@ languages?: ({ | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
versions?: ({ | ||
version: string; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
tabs?: ({ | ||
@@ -717,10 +696,8 @@ tab: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
dropdowns?: ({ | ||
@@ -730,10 +707,8 @@ dropdown: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
anchors?: ({ | ||
@@ -743,3 +718,3 @@ anchor: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -751,7 +726,5 @@ color?: { | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
}, { | ||
@@ -761,15 +734,11 @@ languages?: ({ | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
versions?: ({ | ||
version: string; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
tabs?: ({ | ||
@@ -779,10 +748,8 @@ tab: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
dropdowns?: ({ | ||
@@ -792,10 +759,8 @@ dropdown: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
anchors?: ({ | ||
@@ -805,3 +770,3 @@ anchor: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -813,26 +778,20 @@ color?: { | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
}>; | ||
})[] | undefined; | ||
}>>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
global: { | ||
global?: { | ||
languages?: ({ | ||
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de"; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
versions?: ({ | ||
version: string; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
tabs?: ({ | ||
@@ -842,10 +801,8 @@ tab: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
dropdowns?: ({ | ||
@@ -855,10 +812,8 @@ dropdown: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
anchors?: ({ | ||
@@ -868,3 +823,3 @@ anchor: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -876,26 +831,20 @@ color?: { | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
}; | ||
})[] | undefined; | ||
} | undefined; | ||
}, { | ||
global: { | ||
global?: { | ||
languages?: ({ | ||
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de"; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
versions?: ({ | ||
version: string; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
tabs?: ({ | ||
@@ -905,10 +854,8 @@ tab: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
dropdowns?: ({ | ||
@@ -918,10 +865,8 @@ dropdown: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
})[] | undefined; | ||
anchors?: ({ | ||
@@ -931,3 +876,3 @@ anchor: string; | ||
name: string; | ||
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin"; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
@@ -939,9 +884,7 @@ color?: { | ||
hidden?: boolean | undefined; | ||
} & ({ | ||
openapi: (string | string[]) & (string | string[] | undefined); | ||
} | { | ||
} & { | ||
href: string; | ||
}))[] | undefined; | ||
}; | ||
}>>>; | ||
})[] | undefined; | ||
} | undefined; | ||
}>>; | ||
footer: import("zod").ZodOptional<import("zod").ZodObject<{ | ||
@@ -1002,3 +945,3 @@ socials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter"]>, import("zod").ZodString>>; | ||
metatags: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>; | ||
indexing: import("zod").ZodDefault<import("zod").ZodEnum<["navigable", "all"]>>; | ||
indexing: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["navigable", "all"]>>>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
@@ -1005,0 +948,0 @@ indexing: "all" | "navigable"; |
@@ -9,2 +9,3 @@ import { redirectsSchema } from '../../../v1/basics.js'; | ||
import { faviconSchema } from '../../properties/favicon.js'; | ||
import { feedbackSchema } from '../../properties/feedback.js'; | ||
import { fontsSchema } from '../../properties/font.js'; | ||
@@ -31,2 +32,3 @@ import { footerSchema } from '../../properties/footer.js'; | ||
api: apiSchema.optional(), | ||
feedback: feedbackSchema.optional(), | ||
appearance: appearanceSchema.optional(), | ||
@@ -33,0 +35,0 @@ background: backgroundSchema.optional(), |
{ | ||
"name": "@mintlify/validation", | ||
"version": "0.1.238", | ||
"version": "0.1.239", | ||
"description": "Validates mint.json files", | ||
@@ -63,3 +63,3 @@ "author": "Mintlify, Inc.", | ||
}, | ||
"gitHead": "c1bf59f1d13e6d7190b4db54560ae920afc50722" | ||
"gitHead": "6e1de1d641b43151b3dbd247b5aeea3264de1212" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
173
1087419
26579