Skip to content
0

katanakit-js / NotionCoverSchema

Variable: NotionCoverSchema ​

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

Cover image on a page.

Released under the MIT License.