Skip to content

Variable: CustomContentNestedBodyWriteSchema

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