plane/web/types/views.d.ts
Anmol Singh Bhatia 3a6d72e4b6
feat: workspace global view, style: spreadsheet view revamp (#2273)
* chore: workspace view types, services and hooks added

* style: spreadsheet view revamp and code refactor

* feat: workspace view

* fix: build fix

* chore: sidebar workspace issues redirection updated
2023-09-26 19:56:59 +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;
}