Skip to content

Variable: CreateCardSchema

ts
const CreateCardSchema: ZodObject<{
  address: ZodOptional<ZodString>;
  cardRole: ZodOptional<ZodCustom<"link" | string & object | "board" | "separator" | "mirror", "link" | string & object | "board" | "separator" | "mirror">>;
  coordinates: ZodOptional<ZodString>;
  desc: ZodOptional<ZodString>;
  due: ZodOptional<ZodString>;
  dueComplete: ZodOptional<ZodBoolean>;
  fileSource: ZodOptional<ZodString>;
  idCardSource: ZodOptional<ZodString>;
  idLabels: ZodOptional<ZodArray<ZodString>>;
  idList: ZodString;
  idMembers: ZodOptional<ZodArray<ZodString>>;
  keepFromSource: ZodOptional<ZodCustom<
     | "all"
     | "start"
     | "labels"
     | string & object
     | "attachments"
     | "checklists"
     | "customFields"
     | "stickers"
     | "comments"
     | "due"
     | "members", 
     | "all"
     | "start"
     | "labels"
     | string & object
     | "attachments"
     | "checklists"
     | "customFields"
     | "stickers"
     | "comments"
     | "due"
    | "members">>;
  locationName: ZodOptional<ZodString>;
  mimeType: ZodOptional<ZodString>;
  name: ZodOptional<ZodString>;
  pos: ZodOptional<ZodUnion<readonly [ZodCustom<"top" | "bottom" | string & object, "top" | "bottom" | string & object>, ZodNumber]>>;
  start: ZodOptional<ZodString>;
  urlSource: ZodOptional<ZodString>;
}, $strip>;

Defined in: parameters/createCard.ts:4