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>;
  }, ApiObjectConfig<undefined>>>>;
  raw: ZodOptional<ZodNullable<ZodObject<{
     representation: ZodOptional<ZodCustom<"raw" | "storage" | string & object | "atlas_doc_format", "raw" | "storage" | string & object | "atlas_doc_format">>;
     value: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>>;
  storage: ZodOptional<ZodNullable<ZodObject<{
     representation: ZodOptional<ZodCustom<"raw" | "storage" | string & object | "atlas_doc_format", "raw" | "storage" | string & object | "atlas_doc_format">>;
     value: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>>;
}, ApiObjectConfig<undefined>>;

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

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