Skip to content

Variable: BlogPostNestedBodyWriteSchema

ts
const BlogPostNestedBodyWriteSchema: 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>;
  }, $loose>>>;
  storage: ZodOptional<ZodNullable<ZodObject<{
     representation: ZodOptional<ZodCustom<"storage" | string & object | "wiki" | "atlas_doc_format", "storage" | string & object | "wiki" | "atlas_doc_format">>;
     value: ZodOptional<ZodString>;
  }, $loose>>>;
  wiki: ZodOptional<ZodNullable<ZodObject<{
     representation: ZodOptional<ZodCustom<"storage" | string & object | "wiki" | "atlas_doc_format", "storage" | string & object | "wiki" | "atlas_doc_format">>;
     value: ZodOptional<ZodString>;
  }, $loose>>>;
}, $loose>;

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

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