Skip to content

Variable: ContentUpdateSchema

ts
const ContentUpdateSchema: ZodObject<{
  ancestors: ZodOptional<ZodNullable<ZodArray<ZodObject<{
     id: ZodUnion<readonly [ZodNumber, ZodString]>;
  }, $loose>>>>;
  body: ZodOptional<ZodObject<{
     anonymous_export_view: ZodOptional<ZodObject<{
        representation: ZodCustom<
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
           | "plain", 
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
          | "plain">;
        value: ZodString;
     }, $loose>>;
     atlas_doc_format: ZodOptional<ZodObject<{
        representation: ZodCustom<
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
           | "plain", 
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
          | "plain">;
        value: ZodString;
     }, $loose>>;
     editor: ZodOptional<ZodObject<{
        representation: ZodCustom<
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
           | "plain", 
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
          | "plain">;
        value: ZodString;
     }, $loose>>;
     editor2: ZodOptional<ZodObject<{
        representation: ZodCustom<
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
           | "plain", 
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
          | "plain">;
        value: ZodString;
     }, $loose>>;
     export_view: ZodOptional<ZodObject<{
        representation: ZodCustom<
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
           | "plain", 
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
          | "plain">;
        value: ZodString;
     }, $loose>>;
     storage: ZodOptional<ZodObject<{
        representation: ZodCustom<
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format", 
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
          | "atlas_doc_format">;
        value: ZodString;
     }, $loose>>;
     styled_view: ZodOptional<ZodObject<{
        representation: ZodCustom<
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
           | "plain", 
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
          | "plain">;
        value: ZodString;
     }, $loose>>;
     view: ZodOptional<ZodObject<{
        representation: ZodCustom<
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
           | "plain", 
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
          | "plain">;
        value: ZodString;
     }, $loose>>;
     wiki: ZodOptional<ZodObject<{
        representation: ZodCustom<
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
           | "plain", 
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
          | "plain">;
        value: ZodString;
     }, $loose>>;
  }, $loose>>;
  status: ZodOptional<ZodCustom<
     | "deleted"
     | string & object
     | "current"
     | "historical"
     | "draft"
     | "trashed", 
     | "deleted"
     | string & object
     | "current"
     | "historical"
     | "draft"
    | "trashed">>;
  title: ZodOptional<ZodNullable<ZodString>>;
  type: ZodNullable<ZodString>;
  version: ZodNullable<ZodObject<{
     message: ZodOptional<ZodNullable<ZodString>>;
     number: ZodNumber;
  }, $loose>>;
}, $loose>;

Defined in: src/v1/models/contentUpdate.ts:6