Skip to content

Variable: BlogPostNestedBodyWriteSchema

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