Skip to content

Variable: CommentNestedBodyWriteSchema

ts
const CommentNestedBodyWriteSchema: 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/commentNestedBodyWrite.ts:6

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