Skip to content

NotionParentSchema

katanakit-js / NotionParentSchema

const NotionParentSchema: ZodUnion<
readonly [
ZodObject<
{
database_id: ZodString;
type: ZodLiteral<"database_id">;
},
$loose
>,
ZodObject<
{
page_id: ZodString;
type: ZodLiteral<"page_id">;
},
$loose
>,
ZodObject<
{
type: ZodLiteral<"workspace">;
workspace: ZodLiteral<true>;
},
$loose
>,
]
>;

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

Parent reference for pages and databases.