Skip to content

Variable: PageNestedBodyWriteSchema ​

ts
const PageNestedBodyWriteSchema: ZodObject<{
  atlas_doc_format: ZodOptional<ZodNullable<ZodObject<{
     representation: ZodOptional<ZodCustom<"storage" | string & object | "wiki" | "atlas_doc_format", "storage" | string & object | "wiki" | "atlas_doc_format">>;
     value: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>>;
  storage: ZodOptional<ZodNullable<ZodObject<{
     representation: ZodOptional<ZodCustom<"storage" | string & object | "wiki" | "atlas_doc_format", "storage" | string & object | "wiki" | "atlas_doc_format">>;
     value: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>>;
  wiki: ZodOptional<ZodNullable<ZodObject<{
     representation: ZodOptional<ZodCustom<"storage" | string & object | "wiki" | "atlas_doc_format", "storage" | string & object | "wiki" | "atlas_doc_format">>;
     value: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/v2/models/pageNestedBodyWrite.ts:6

Body of the page. Only one body format should be specified as the property for this object, e.g. storage.