[WEB-4321]chore: workspace views refactor (#7214)

* chore: workspace views reafactor

* chore: resolved coderabbit suggestions

* chore: added project level workspace filter

* chore: added enum for roles

* chore: removed redundant type definition

* chore: optimised the query

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
This commit is contained in:
Vamsi Krishna
2025-06-19 16:26:32 +05:30
committed by GitHub
parent 8988cf9a85
commit 64fd0b2830
24 changed files with 381 additions and 172 deletions

View File

@@ -9,6 +9,7 @@ export interface IGanttBlock {
sort_order: number | undefined;
start_date: string | undefined;
target_date: string | undefined;
project_id: string | undefined;
}
export interface IBlockUpdateData {
@@ -25,6 +26,7 @@ export interface IBlockUpdateDependencyData {
id: string;
start_date?: string;
target_date?: string;
project_id?: string;
}
export type TGanttViews = "week" | "month" | "quarter";