2023-09-26 14:26:59 +00:00
|
|
|
import { IIssueFilterOptions } from "./view-props";
|
|
|
|
|
2023-03-15 05:30:05 +00:00
|
|
|
export interface IView {
|
|
|
|
id: string;
|
|
|
|
access: string;
|
|
|
|
created_at: Date;
|
|
|
|
updated_at: Date;
|
2023-03-28 11:18:46 +00:00
|
|
|
is_favorite: boolean;
|
2023-03-15 05:30:05 +00:00
|
|
|
created_by: string;
|
|
|
|
updated_by: string;
|
|
|
|
name: string;
|
|
|
|
description: string;
|
2023-09-26 14:26:59 +00:00
|
|
|
query: IIssueFilterOptions;
|
|
|
|
query_data: IIssueFilterOptions;
|
2023-03-15 05:30:05 +00:00
|
|
|
project: string;
|
|
|
|
workspace: string;
|
2023-09-26 14:26:59 +00:00
|
|
|
workspace_detail: {
|
|
|
|
id: string;
|
|
|
|
name: string;
|
|
|
|
slug: string;
|
|
|
|
};
|
2023-03-15 05:30:05 +00:00
|
|
|
}
|
2023-03-16 08:37:19 +00:00
|
|
|
|
|
|
|
export interface IQuery {
|
|
|
|
assignees: string[] | null;
|
|
|
|
created_by: string[] | null;
|
2023-07-26 12:21:26 +00:00
|
|
|
labels: string[] | null;
|
|
|
|
priority: string[] | null;
|
|
|
|
state: string[] | null;
|
2023-08-24 14:15:23 +00:00
|
|
|
start_date: string[] | null;
|
2023-03-16 08:37:19 +00:00
|
|
|
target_date: string[] | null;
|
2023-07-26 12:21:26 +00:00
|
|
|
type: "active" | "backlog" | null;
|
2023-09-26 14:26:59 +00:00
|
|
|
project: string[] | null;
|
2023-03-16 08:37:19 +00:00
|
|
|
}
|