Skip to content

Variable: AttachmentSchema

ts
const AttachmentSchema: ZodObject<{
  bytes: ZodOptional<ZodNullable<ZodString>>;
  date: ZodOptional<ZodCoercedDate<unknown>>;
  edgeColor: ZodOptional<ZodNullable<ZodNullable<ZodCustom<
     | string & object
     | "green"
     | "yellow"
     | "orange"
     | "red"
     | "purple"
     | "blue"
     | "sky"
     | "lime"
     | "pink"
     | "black"
     | "green_light"
     | "green_dark"
     | "yellow_light"
     | "yellow_dark"
     | "orange_light"
     | "orange_dark"
     | "red_light"
     | "red_dark"
     | "purple_light"
     | "purple_dark"
     | "blue_light"
     | "blue_dark"
     | "sky_light"
     | "sky_dark"
     | "lime_light"
     | "lime_dark"
     | "pink_light"
     | "pink_dark"
     | "black_light"
     | "black_dark", 
     | string & object
     | "green"
     | "yellow"
     | "orange"
     | "red"
     | "purple"
     | "blue"
     | "sky"
     | "lime"
     | "pink"
     | "black"
     | "green_light"
     | "green_dark"
     | "yellow_light"
     | "yellow_dark"
     | "orange_light"
     | "orange_dark"
     | "red_light"
     | "red_dark"
     | "purple_light"
     | "purple_dark"
     | "blue_light"
     | "blue_dark"
     | "sky_light"
     | "sky_dark"
     | "lime_light"
     | "lime_dark"
     | "pink_light"
     | "pink_dark"
     | "black_light"
    | "black_dark">>>>;
  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