Skip to content

Variable: CommentNestedBodyWriteSchema

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

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