feat: keep deletions restorable and confirm a pipeline's deals before it is removed
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -930,6 +930,8 @@ export interface PipelineDto {
|
||||
name: string;
|
||||
isDefault: boolean;
|
||||
stages: PipelineStageDto[];
|
||||
/** تعداد معاملات؛ در فهرست کاریزها پر میشود */
|
||||
dealCount?: number;
|
||||
}
|
||||
|
||||
export interface DealDto {
|
||||
@@ -4011,6 +4013,33 @@ export interface AuditLogListResponse {
|
||||
limit: number;
|
||||
}
|
||||
|
||||
export type DeletionRetention =
|
||||
| 'month'
|
||||
| 'two_months'
|
||||
| 'three_months'
|
||||
| 'six_months'
|
||||
| 'year'
|
||||
| 'never';
|
||||
|
||||
export interface DeletionArchiveDto {
|
||||
id: string;
|
||||
model: string;
|
||||
modelLabel: string;
|
||||
entityId: string;
|
||||
label: string;
|
||||
deletedById: string | null;
|
||||
deletedByName: string | null;
|
||||
deletedAt: string;
|
||||
}
|
||||
|
||||
export interface DeletionArchiveListResponse {
|
||||
items: DeletionArchiveDto[];
|
||||
total: number;
|
||||
page: number;
|
||||
limit: number;
|
||||
retention: DeletionRetention;
|
||||
}
|
||||
|
||||
/* ——— فیلترهای ذخیرهشده ——— */
|
||||
|
||||
export type SavedViewScope =
|
||||
|
||||
Reference in New Issue
Block a user