findViewOptions()
function findViewOptions(options: readonly (
| {
[key: string]: unknown;
calendarSettings?: | {
[key: string]: unknown;
color?: | string & {
}
| "PROJECT"
| "LABEL"
| "PRIORITY"
| null;
layout?: | string & {
}
| "WEEK"
| "MONTH"
| null;
visibleDayCount?: 1 | 3 | 7 | null;
}
| null;
filteredBy?: string | null;
groupedBy?: | string & {
}
| "PROJECT"
| "LABEL"
| "ASSIGNEE"
| "ADDED_DATE"
| "DUE_DATE"
| "DEADLINE"
| "PRIORITY"
| "WORKSPACE"
| null;
isDeleted?: false;
objectId?: string | null;
propertySettings?: | {
[key: string]: unknown;
order?: string[];
properties?: Record<string, {
[key: string]: unknown;
is_hidden?: boolean;
width?: number;
}>;
}
| null;
showCompletedTasks?: boolean;
sortedBy?: | string & {
}
| "PROJECT"
| "LABEL"
| "ASSIGNEE"
| "ADDED_DATE"
| "DUE_DATE"
| "DEADLINE"
| "PRIORITY"
| "WORKSPACE"
| "MANUAL"
| "ALPHABETICALLY"
| null;
sortOrder?: | string & {
}
| "ASC"
| "DESC"
| null;
viewMode?: | string & {
}
| "LIST"
| "BOARD"
| "CALENDAR"
| "TABLE"
| null;
viewType: | string & {
}
| "TODAY"
| "UPCOMING"
| "PROJECT"
| "LABEL"
| "FILTER"
| "WORKSPACE_FILTER"
| "SEARCH"
| "TEMPLATE_PREVIEW"
| "TASK_DETAIL"
| "AUTOMATION"
| "ASSIGNED"
| "ASSIGNED_TO_ME"
| "OVERDUE"
| "WORKSPACE_OVERVIEW";
}
| {
[key: string]: unknown;
calendarSettings?: null;
filteredBy?: "";
groupedBy?: "";
isDeleted: true;
objectId?: string | null;
propertySettings?: null;
showCompletedTasks?: boolean;
sortedBy?: "";
sortOrder?: "";
viewMode?: "";
viewType: | string & {
}
| "TODAY"
| "UPCOMING"
| "PROJECT"
| "LABEL"
| "FILTER"
| "WORKSPACE_FILTER"
| "SEARCH"
| "TEMPLATE_PREVIEW"
| "TASK_DETAIL"
| "AUTOMATION"
| "ASSIGNED"
| "ASSIGNED_TO_ME"
| "OVERDUE"
| "WORKSPACE_OVERVIEW";
})[], args: FindViewOptionsArgs):
| {
[key: string]: unknown;
calendarSettings?: | {
[key: string]: unknown;
color?: | string & {
}
| "PROJECT"
| "LABEL"
| "PRIORITY"
| null;
layout?: | string & {
}
| "WEEK"
| "MONTH"
| null;
visibleDayCount?: 1 | 3 | 7 | null;
}
| null;
filteredBy?: string | null;
groupedBy?: | string & {
}
| "PROJECT"
| "LABEL"
| "ASSIGNEE"
| "ADDED_DATE"
| "DUE_DATE"
| "DEADLINE"
| "PRIORITY"
| "WORKSPACE"
| null;
isDeleted?: false;
objectId?: string | null;
propertySettings?: | {
[key: string]: unknown;
order?: string[];
properties?: Record<string, {
[key: string]: unknown;
is_hidden?: boolean;
width?: number;
}>;
}
| null;
showCompletedTasks?: boolean;
sortedBy?: | string & {
}
| "PROJECT"
| "LABEL"
| "ASSIGNEE"
| "ADDED_DATE"
| "DUE_DATE"
| "DEADLINE"
| "PRIORITY"
| "WORKSPACE"
| "MANUAL"
| "ALPHABETICALLY"
| null;
sortOrder?: | string & {
}
| "ASC"
| "DESC"
| null;
viewMode?: | string & {
}
| "LIST"
| "BOARD"
| "CALENDAR"
| "TABLE"
| null;
viewType: | string & {
}
| "TODAY"
| "UPCOMING"
| "PROJECT"
| "LABEL"
| "FILTER"
| "WORKSPACE_FILTER"
| "SEARCH"
| "TEMPLATE_PREVIEW"
| "TASK_DETAIL"
| "AUTOMATION"
| "ASSIGNED"
| "ASSIGNED_TO_ME"
| "OVERDUE"
| "WORKSPACE_OVERVIEW";
}
| undefined;
Finds the active saved options for one logical view.
Parameters
| Parameter | Type |
|---|---|
options | readonly ( | { [key: string]: unknown; calendarSettings?: | { [key: string]: unknown; color?: | string & { } | "PROJECT" | "LABEL" | "PRIORITY" | null; layout?: | string & { } | "WEEK" | "MONTH" | null; visibleDayCount?: 1 | 3 | 7 | null; } | null; filteredBy?: string | null; groupedBy?: | string & { } | "PROJECT" | "LABEL" | "ASSIGNEE" | "ADDED_DATE" | "DUE_DATE" | "DEADLINE" | "PRIORITY" | "WORKSPACE" | null; isDeleted?: false; objectId?: string | null; propertySettings?: | { [key: string]: unknown; order?: string[]; properties?: Record<string, { [key: string]: unknown; is_hidden?: boolean; width?: number; }>; } | null; showCompletedTasks?: boolean; sortedBy?: | string & { } | "PROJECT" | "LABEL" | "ASSIGNEE" | "ADDED_DATE" | "DUE_DATE" | "DEADLINE" | "PRIORITY" | "WORKSPACE" | "MANUAL" | "ALPHABETICALLY" | null; sortOrder?: | string & { } | "ASC" | "DESC" | null; viewMode?: | string & { } | "LIST" | "BOARD" | "CALENDAR" | "TABLE" | null; viewType: | string & { } | "TODAY" | "UPCOMING" | "PROJECT" | "LABEL" | "FILTER" | "WORKSPACE_FILTER" | "SEARCH" | "TEMPLATE_PREVIEW" | "TASK_DETAIL" | "AUTOMATION" | "ASSIGNED" | "ASSIGNED_TO_ME" | "OVERDUE" | "WORKSPACE_OVERVIEW"; } | { [key: string]: unknown; calendarSettings?: null; filteredBy?: ""; groupedBy?: ""; isDeleted: true; objectId?: string | null; propertySettings?: null; showCompletedTasks?: boolean; sortedBy?: ""; sortOrder?: ""; viewMode?: ""; viewType: | string & { } | "TODAY" | "UPCOMING" | "PROJECT" | "LABEL" | "FILTER" | "WORKSPACE_FILTER" | "SEARCH" | "TEMPLATE_PREVIEW" | "TASK_DETAIL" | "AUTOMATION" | "ASSIGNED" | "ASSIGNED_TO_ME" | "OVERDUE" | "WORKSPACE_OVERVIEW"; })[] |
args | FindViewOptionsArgs |
Returns
| {
[key: string]: unknown;
calendarSettings?: | {
[key: string]: unknown;
color?: | string & {
}
| "PROJECT"
| "LABEL"
| "PRIORITY"
| null;
layout?: | string & {
}
| "WEEK"
| "MONTH"
| null;
visibleDayCount?: 1 | 3 | 7 | null;
}
| null;
filteredBy?: string | null;
groupedBy?: | string & {
}
| "PROJECT"
| "LABEL"
| "ASSIGNEE"
| "ADDED_DATE"
| "DUE_DATE"
| "DEADLINE"
| "PRIORITY"
| "WORKSPACE"
| null;
isDeleted?: false;
objectId?: string | null;
propertySettings?: | {
[key: string]: unknown;
order?: string[];
properties?: Record<string, {
[key: string]: unknown;
is_hidden?: boolean;
width?: number;
}>;
}
| null;
showCompletedTasks?: boolean;
sortedBy?: | string & {
}
| "PROJECT"
| "LABEL"
| "ASSIGNEE"
| "ADDED_DATE"
| "DUE_DATE"
| "DEADLINE"
| "PRIORITY"
| "WORKSPACE"
| "MANUAL"
| "ALPHABETICALLY"
| null;
sortOrder?: | string & {
}
| "ASC"
| "DESC"
| null;
viewMode?: | string & {
}
| "LIST"
| "BOARD"
| "CALENDAR"
| "TABLE"
| null;
viewType: | string & {
}
| "TODAY"
| "UPCOMING"
| "PROJECT"
| "LABEL"
| "FILTER"
| "WORKSPACE_FILTER"
| "SEARCH"
| "TEMPLATE_PREVIEW"
| "TASK_DETAIL"
| "AUTOMATION"
| "ASSIGNED"
| "ASSIGNED_TO_ME"
| "OVERDUE"
| "WORKSPACE_OVERVIEW";
}
| undefined