Skip to content

Variable: AttachmentSchema

ts
const AttachmentSchema: ZodObject<{
  bytes: ZodOptional<ZodNullable<ZodString>>;
  date: ZodOptional<ZodCoercedDate<unknown>>;
  edgeColor: ZodOptional<ZodNullable<ZodNullable<ZodEnum<{
     black: "black";
     black_dark: "black_dark";
     black_light: "black_light";
     blue: "blue";
     blue_dark: "blue_dark";
     blue_light: "blue_light";
     green: "green";
     green_dark: "green_dark";
     green_light: "green_light";
     lime: "lime";
     lime_dark: "lime_dark";
     lime_light: "lime_light";
     orange: "orange";
     orange_dark: "orange_dark";
     orange_light: "orange_light";
     pink: "pink";
     pink_dark: "pink_dark";
     pink_light: "pink_light";
     purple: "purple";
     purple_dark: "purple_dark";
     purple_light: "purple_light";
     red: "red";
     red_dark: "red_dark";
     red_light: "red_light";
     sky: "sky";
     sky_dark: "sky_dark";
     sky_light: "sky_light";
     yellow: "yellow";
     yellow_dark: "yellow_dark";
     yellow_light: "yellow_light";
  }>>>>;
  fileName: ZodOptional<ZodNullable<ZodString>>;
  id: ZodString;
  idMember: ZodOptional<ZodString>;
  isMalicious: ZodOptional<ZodBoolean>;
  isUpload: ZodOptional<ZodBoolean>;
  limits: ZodOptional<ZodObject<{
     attachments: ZodOptional<ZodObject<{
        perBoard: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
        perCard: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
     }, $strip>>;
     boards: ZodOptional<ZodObject<{
        totalAccessRequestsPerBoard: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
        totalMembersPerBoard: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
        totalPerMember: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
     }, $strip>>;
     cards: ZodOptional<ZodObject<{
        openPerBoard: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
        openPerList: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
        totalPerBoard: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
        totalPerList: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
     }, $strip>>;
     checkItems: ZodOptional<ZodObject<{
        perChecklist: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
     }, $strip>>;
     checklists: ZodOptional<ZodObject<{
        perBoard: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
        perCard: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
     }, $strip>>;
     customFieldOptions: ZodOptional<ZodObject<{
        perField: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
     }, $strip>>;
     customFields: ZodOptional<ZodObject<{
        perBoard: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
     }, $strip>>;
     labels: ZodOptional<ZodObject<{
        perBoard: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
     }, $strip>>;
     lists: ZodOptional<ZodObject<{
        openPerBoard: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
        totalPerBoard: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
     }, $strip>>;
     orgs: ZodOptional<ZodObject<{
        freeBoardsPerOrg: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
        totalMembersPerOrg: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
        totalPerMember: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
        usersPerFreeOrg: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
     }, $strip>>;
     reactions: ZodOptional<ZodObject<{
        perAction: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
        uniquePerAction: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
     }, $strip>>;
     stickers: ZodOptional<ZodObject<{
        perCard: ZodOptional<ZodObject<{
           count: ...;
           disableAt: ...;
           status: ...;
           warnAt: ...;
        }, $strip>>;
     }, $strip>>;
  }, $strip>>;
  mimeType: ZodOptional<ZodString>;
  name: ZodOptional<ZodString>;
  pos: ZodOptional<ZodNumber>;
  previews: ZodOptional<ZodArray<ZodString>>;
  sourceView: ZodOptional<ZodUnknown>;
  url: ZodOptional<ZodString>;
}, $strip>;

Defined in: models/attachment.ts:6