Skip to content

NotionCoverSchema

katanakit-js / NotionCoverSchema

const NotionCoverSchema: ZodUnion<
readonly [
ZodObject<
{
external: ZodObject<
{
url: ZodString;
},
$loose
>;
type: ZodLiteral<"external">;
},
$loose
>,
ZodObject<
{
file: ZodObject<
{
url: ZodString;
},
$loose
>;
type: ZodLiteral<"file">;
},
$loose
>,
]
>;

Defined in: schemas/notion.schema.ts:112

Cover image on a page.