Add saved report views with personal/org filters and in-org share links.

This commit is contained in:
2026-09-27 11:11:33 +03:30
parent 6a9e864b07
commit a16c2f0a9b
7 changed files with 550 additions and 34 deletions
+19 -1
View File
@@ -3051,7 +3051,25 @@ export type SavedViewScope =
| "people"
| "companies"
| "activities"
| "project_cards";
| "project_cards"
| "reports";
export const SAVED_VIEW_SCOPES: SavedViewScope[] = [
"deals",
"people",
"companies",
"activities",
"project_cards",
"reports",
];
/** فیلترهای ذخیره‌شدهٔ صفحه گزارشات */
export interface ReportsViewFilters {
/** today | week | month | quarter | year | custom */
period: string;
from?: string;
to?: string;
}
export interface SavedViewDto {
id: string;