chore: issue filters restructuring. (#5372)
This commit is contained in:
parent
49a895f117
commit
4ca45a971c
18 changed files with 94 additions and 29 deletions
8
packages/types/src/view-props.d.ts
vendored
8
packages/types/src/view-props.d.ts
vendored
|
|
@ -51,7 +51,7 @@ export type TIssueOrderByOptions =
|
|||
| "sub_issues_count"
|
||||
| "-sub_issues_count";
|
||||
|
||||
export type TIssueTypeFilters = "active" | "backlog" | null;
|
||||
export type TIssueGroupingFilters = "active" | "backlog" | null;
|
||||
|
||||
export type TIssueExtraOptions = "show_empty_groups" | "sub_issue";
|
||||
|
||||
|
|
@ -76,7 +76,8 @@ export type TIssueParams =
|
|||
| "sub_issue"
|
||||
| "show_empty_groups"
|
||||
| "cursor"
|
||||
| "per_page";
|
||||
| "per_page"
|
||||
| "issue_type";
|
||||
|
||||
export type TCalendarLayouts = "month" | "week";
|
||||
|
||||
|
|
@ -94,6 +95,7 @@ export interface IIssueFilterOptions {
|
|||
state_group?: string[] | null;
|
||||
subscriber?: string[] | null;
|
||||
target_date?: string[] | null;
|
||||
issue_type?: string[] | null;
|
||||
}
|
||||
|
||||
export interface IIssueDisplayFilterOptions {
|
||||
|
|
@ -107,7 +109,7 @@ export interface IIssueDisplayFilterOptions {
|
|||
order_by?: TIssueOrderByOptions;
|
||||
show_empty_groups?: boolean;
|
||||
sub_issue?: boolean;
|
||||
type?: TIssueTypeFilters;
|
||||
type?: TIssueGroupingFilters;
|
||||
}
|
||||
export interface IIssueDisplayProperties {
|
||||
assignee?: boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue