Skip to content

Variable: CustomContentNestedBodyWriteSchema

ts
const CustomContentNestedBodyWriteSchema: ZodObject<{
  atlas_doc_format: ZodOptional<ZodNullable<ZodObject<{
     representation: ZodOptional<ZodCustom<"raw" | "storage" | string & object | "atlas_doc_format", "raw" | "storage" | string & object | "atlas_doc_format">>;
     value: ZodOptional<ZodString>;
  }, $loose>>>;
  raw: ZodOptional<ZodNullable<ZodObject<{
     representation: ZodOptional<ZodCustom<"raw" | "storage" | string & object | "atlas_doc_format", "raw" | "storage" | string & object | "atlas_doc_format">>;
     value: ZodOptional<ZodString>;
  }, $loose>>>;
  storage: ZodOptional<ZodNullable<ZodObject<{
     representation: ZodOptional<ZodCustom<"raw" | "storage" | string & object | "atlas_doc_format", "raw" | "storage" | string & object | "atlas_doc_format">>;
     value: ZodOptional<ZodString>;
  }, $loose>>>;
}, $loose>;

Defined in: src/v2/models/customContentNestedBodyWrite.ts:9

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