forked from github/plane
3a6d72e4b6
* 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
35 lines
743 B
TypeScript
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;
|
|
}
|