Skip to content

types

type HeadConfig = z.output<ReturnType<typeof HeadConfigSchema>>;

Defined in: studiocms/packages/@studiocms/blog/src/types.ts:6^


type HeadUserConfig = z.input<ReturnType<typeof HeadConfigSchema>>;

Defined in: studiocms/packages/@studiocms/blog/src/types.ts:5^


type StudioCMSBlogOptions = z.infer<typeof FrontEndConfigSchema>;

Defined in: studiocms/packages/@studiocms/blog/src/types.ts:94^

const FrontEndConfigSchema: ZodDefault<ZodOptional<ZodObject<{
blog: ZodDefault<ZodOptional<ZodObject<{
enableRSS: ZodDefault<ZodOptional<ZodBoolean>>;
route: ZodDefault<ZodOptional<ZodString>>;
title: ZodDefault<ZodOptional<ZodString>>;
}, "strip", ZodTypeAny, {
enableRSS: boolean;
route: string;
title: string;
}, {
enableRSS: boolean;
route: string;
title: string;
}>>>;
favicon: ZodDefault<ZodOptional<ZodEffects<ZodString, string, string>>>;
htmlDefaultHead: ZodDefault<ZodArray<ZodObject<{
attrs: ZodDefault<ZodRecord<ZodString, ZodUnion<...>>>;
content: ZodDefault<ZodString>;
tag: ZodEnum<["title", "base", "link", "style", "meta", "script", "noscript", "template"]>;
}, "strip", ZodTypeAny, {
attrs: Record<string, undefined | string | boolean>;
content: string;
tag: | "title"
| "link"
| "base"
| "style"
| "meta"
| "script"
| "noscript"
| "template";
}, {
attrs: Record<string, ... | ... | ... | ...>;
content: string;
tag: | "title"
| "link"
| "base"
| "style"
| "meta"
| "script"
| "noscript"
| "template";
}>, "many">>;
htmlDefaultLanguage: ZodDefault<ZodOptional<ZodString>>;
injectRoutes: ZodDefault<ZodOptional<ZodBoolean>>;
sitemap: ZodDefault<ZodOptional<ZodBoolean>>;
}, "strip", ZodTypeAny, {
blog: {
enableRSS: boolean;
route: string;
title: string;
};
favicon: string;
htmlDefaultHead: {
attrs: Record<string, undefined | string | boolean>;
content: string;
tag: | "title"
| "link"
| "base"
| "style"
| "meta"
| "script"
| "noscript"
| "template";
}[];
htmlDefaultLanguage: string;
injectRoutes: boolean;
sitemap: boolean;
}, {
blog: {
enableRSS: boolean;
route: string;
title: string;
};
favicon: string;
htmlDefaultHead: {
attrs: Record<string, undefined | string | boolean>;
content: string;
tag: | "title"
| "link"
| "base"
| "style"
| "meta"
| "script"
| "noscript"
| "template";
}[];
htmlDefaultLanguage: string;
injectRoutes: boolean;
sitemap: boolean;
}>>>;

Defined in: studiocms/packages/@studiocms/blog/src/types.ts:24^

Options for configuring the StudioCMS Blog.