plane/web/types/views.d.ts
2023-09-25 19:28:55 +05:30

35 lines
743 B
TypeScript

import { IIssueFilterOptions } from "./view-props";
export interface IView {
id: string;
access: string;
created_at: Date;
updated_at: Date;
is_favorite: boolean;
created_by: string;
updated_by: string;
name: string;
description: string;
query: IIssueFilterOptions;
query_data: IIssueFilterOptions;
project: string;
workspace: string;
workspace_detail: {
id: string;
name: string;
slug: string;
};
}
export interface IQuery {
assignees: string[] | null;
created_by: string[] | null;
labels: string[] | null;
priority: string[] | null;
state: string[] | null;
start_date: string[] | null;
target_date: string[] | null;
type: "active" | "backlog" | null;
project: string[] | null;
}