Skip to content
0

katanakit-js / NotionParentSchema

Variable: NotionParentSchema ​

ts
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: src/schemas/notion.schema.ts:37

Parent reference for pages and databases.

Released under the MIT License.