plane/web/types/views.d.ts

35 lines
743 B
TypeScript
Raw Normal View History

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;
is_favorite: boolean;
2023-03-15 05:30:05 +00:00
created_by: string;
updated_by: string;
name: string;
description: string;
query: IIssueFilterOptions;
query_data: IIssueFilterOptions;
2023-03-15 05:30:05 +00:00
project: string;
workspace: string;
workspace_detail: {
id: string;
name: string;
slug: string;
};
2023-03-15 05:30:05 +00:00
}
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;
}