Type Alias: CreateCard
type CreateCard = object;Defined in: parameters/createCard.ts:60
Type Declaration
address?
optional address?: string;For use with/by the Map View
cardRole?
optional cardRole?: "link" | string & object | "board" | "separator" | "mirror" | null;For displaying cards in different ways based on the card name. Board cards must have a name that is a link to a Trello board. Mirror cards must have a name that is a link to a Trello card.
coordinates?
optional coordinates?: string;For use with/by the Map View. Should take the form latitude,longitude
desc?
optional desc?: string;The description for the card
due?
optional due?: string;A due date for the card
dueComplete?
optional dueComplete?: boolean;Whether the status of the card is complete
fileSource?
optional fileSource?: string;idCardSource?
optional idCardSource?: string;The ID of a card to copy into the new card
idLabels?
optional idLabels?: string[];Comma-separated list of label IDs to add to the card
idList
idList: string;The ID of the list the card should be created in
idMembers?
optional idMembers?: string[];Comma-separated list of member IDs to add to the card
keepFromSource?
optional keepFromSource?:
| "all"
| "start"
| "labels"
| string & object
| "due"
| "attachments"
| "checklists"
| "customFields"
| "stickers"
| "comments"
| "members";If using idCardSource you can specify which properties to copy over. all or comma-separated list of: attachments,checklists,customFields,comments,due,start,labels,members,start,stickers
locationName?
optional locationName?: string;For use with/by the Map View
mimeType?
optional mimeType?: string;The mimeType of the attachment. Max length 256
name?
optional name?: string;The name for the card
pos?
optional pos?: number | "top" | "bottom" | string & object;The position of the new card. top, bottom, or a positive float
start?
optional start?: string | null;The start date of a card, or null
urlSource?
optional urlSource?: string;A URL starting with http:// or https://. The URL will be attached to the card upon creation.