Skip to content

Variable: ContentBodyCreateSchema

ts
const ContentBodyCreateSchema: ZodObject<{
  representation: ZodCustom<
     | "raw"
     | "storage"
     | "view"
     | string & object
     | "export_view"
     | "styled_view"
     | "editor"
     | "editor2"
     | "anonymous_export_view"
     | "wiki"
     | "atlas_doc_format"
     | "plain", 
     | "raw"
     | "storage"
     | "view"
     | string & object
     | "export_view"
     | "styled_view"
     | "editor"
     | "editor2"
     | "anonymous_export_view"
     | "wiki"
     | "atlas_doc_format"
    | "plain">;
  value: ZodString;
}, $loose>;

Defined in: src/v1/models/contentBodyCreate.ts:5

This object is used when creating or updating content.