plane/app/types/views.d.ts

41 lines
795 B
TypeScript
Raw Normal View History

2023-04-21 23:30:36 +00:00
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: IQuery;
query_data: IQuery;
project: string;
workspace: string;
}
export interface IQuery {
state: string[] | null;
parent: string[] | null;
priority: string[] | null;
labels: string[] | null;
assignees: string[] | null;
created_by: string[] | null;
name: string | null;
created_at: [
{
datetime: string;
timeline: "before";
},
{
datetime: string;
timeline: "after";
}
];
updated_at: string[] | null;
start_date: string[] | null;
target_date: string[] | null;
completed_at: string[] | null;
type: string;
}