Skip to content

Commit

Permalink
eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRefactoring committed May 5, 2024
1 parent bc3fa2e commit 831b9a0
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 111 deletions.
28 changes: 14 additions & 14 deletions src/api/parameters/createCard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,17 @@ export interface CreateCard {
* - Stickers
*/
keepFromSource?:
| 'all'
| 'all'
| 'attachments'
| 'checklists'
| 'customFields'
| 'comments'
| 'due'
| 'labels'
| 'members'
| 'start'
| 'stickers'
| (
| 'attachments'
| 'checklists'
| 'customFields'
Expand All @@ -45,19 +55,9 @@ export interface CreateCard {
| 'members'
| 'start'
| 'stickers'
| (
| 'attachments'
| 'checklists'
| 'customFields'
| 'comments'
| 'due'
| 'labels'
| 'members'
| 'start'
| 'stickers'
)[]
| string
| string[];
)[]
| string
| string[];
/** For use with/by the Map View */
address?: string;
/** For use with/by the Map View */
Expand Down
58 changes: 29 additions & 29 deletions src/api/parameters/getBoard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,34 @@ export interface GetBoard {
* `subscribed`, `url`
*/
fields?:
| 'all'
| string
| string[]
| 'all'
| string
| string[]
| 'badges'
| 'checkItemStates'
| 'closed'
| 'dateLastActivity'
| 'desc'
| 'descData'
| 'due'
| 'email'
| 'idAttachmentCover'
| 'idBoard'
| 'idChecklists'
| 'idLabels'
| 'idList'
| 'idMembers'
| 'idMembersVoted'
| 'idShort'
| 'labels'
| 'manualCoverAttachment'
| 'name'
| 'pos'
| 'shortLink'
| 'shortUrl'
| 'subscribed'
| 'url'
| (
| 'badges'
| 'checkItemStates'
| 'closed'
Expand All @@ -50,32 +75,7 @@ export interface GetBoard {
| 'shortUrl'
| 'subscribed'
| 'url'
| (
| 'badges'
| 'checkItemStates'
| 'closed'
| 'dateLastActivity'
| 'desc'
| 'descData'
| 'due'
| 'email'
| 'idAttachmentCover'
| 'idBoard'
| 'idChecklists'
| 'idLabels'
| 'idList'
| 'idMembers'
| 'idMembersVoted'
| 'idShort'
| 'labels'
| 'manualCoverAttachment'
| 'name'
| 'pos'
| 'shortLink'
| 'shortUrl'
| 'subscribed'
| 'url'
)[];
)[];
/** Whether to include the parent list with card results */
list?: boolean;
/** Whether to include member objects with card results */
Expand Down
12 changes: 6 additions & 6 deletions src/api/parameters/getEnterprise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ export interface GetEnterprise {
paidAccounts?: boolean;
/** Comma-seperated list of: `me`, `normal`, `admin`, `active`, `deactivated` */
memberships?:
| 'me'
| 'normal'
| 'admin'
| 'active'
| 'deactivated'
| ('me' | 'normal' | 'admin' | 'active' | 'deactivated')[];
| 'me'
| 'normal'
| 'admin'
| 'active'
| 'deactivated'
| ('me' | 'normal' | 'admin' | 'active' | 'deactivated')[];
};

/**
Expand Down
124 changes: 62 additions & 62 deletions src/api/parameters/getSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ export interface GetSearch {
* `cards`, `members`, `organizations`
*/
modelTypes?:
| 'all'
| string
| string[]
| 'actions'
| 'boards'
| 'cards'
| 'members'
| 'organizations'
| ('actions' | 'boards' | 'cards' | 'members' | 'organizations')[];
| 'all'
| string
| string[]
| 'actions'
| 'boards'
| 'cards'
| 'members'
| 'organizations'
| ('actions' | 'boards' | 'cards' | 'members' | 'organizations')[];

board?: {
/**
Expand All @@ -29,9 +29,29 @@ export interface GetSearch {
* `shortLink`, `shortUrl`, `starred`, `subscribed`, `url`
*/
fields?:
| 'all'
| string
| string[]
| 'all'
| string
| string[]
| 'closed'
| 'dateLastActivity'
| 'dateLastView'
| 'desc'
| 'descData'
| 'idOrganization'
| 'invitations'
| 'invited'
| 'labelNames'
| 'memberships'
| 'name'
| 'pinned'
| 'powerUps'
| 'prefs'
| 'shortLink'
| 'shortUrl'
| 'starred'
| 'subscribed'
| 'url'
| (
| 'closed'
| 'dateLastActivity'
| 'dateLastView'
Expand All @@ -51,27 +71,7 @@ export interface GetSearch {
| 'starred'
| 'subscribed'
| 'url'
| (
| 'closed'
| 'dateLastActivity'
| 'dateLastView'
| 'desc'
| 'descData'
| 'idOrganization'
| 'invitations'
| 'invited'
| 'labelNames'
| 'memberships'
| 'name'
| 'pinned'
| 'powerUps'
| 'prefs'
| 'shortLink'
| 'shortUrl'
| 'starred'
| 'subscribed'
| 'url'
)[];
)[];
organization?: string;
};

Expand All @@ -88,9 +88,34 @@ export interface GetSearch {
* `subscribed`, `url`
*/
fields?:
| 'all'
| string
| string[]
| 'all'
| string
| string[]
| 'badges'
| 'checkItemStates'
| 'closed'
| 'dateLastActivity'
| 'desc'
| 'descData'
| 'due'
| 'email'
| 'idAttachmentCover'
| 'idBoard'
| 'idChecklists'
| 'idLabels'
| 'idList'
| 'idMembers'
| 'idMembersVoted'
| 'idShort'
| 'labels'
| 'manualCoverAttachment'
| 'name'
| 'pos'
| 'shortLink'
| 'shortUrl'
| 'subscribed'
| 'url'
| (
| 'badges'
| 'checkItemStates'
| 'closed'
Expand All @@ -115,32 +140,7 @@ export interface GetSearch {
| 'shortUrl'
| 'subscribed'
| 'url'
| (
| 'badges'
| 'checkItemStates'
| 'closed'
| 'dateLastActivity'
| 'desc'
| 'descData'
| 'due'
| 'email'
| 'idAttachmentCover'
| 'idBoard'
| 'idChecklists'
| 'idLabels'
| 'idList'
| 'idMembers'
| 'idMembersVoted'
| 'idShort'
| 'labels'
| 'manualCoverAttachment'
| 'name'
| 'pos'
| 'shortLink'
| 'shortUrl'
| 'subscribed'
| 'url'
)[];
)[];
/** Whether to include the parent board with card results */
board?: boolean;
/** Whether to include the parent list with card results */
Expand Down

0 comments on commit 831b9a0

Please sign in to comment.