Fixing the error when importing a large Excel file

This commit is contained in:
2026-10-03 15:01:01 +03:30
parent f8313c0ea5
commit 2e315c9cfd
15 changed files with 503 additions and 86 deletions
+13
View File
@@ -1251,6 +1251,15 @@ export interface ImportContactsResult {
errors: Array<{ row: number; message: string }>;
boardId?: string;
boards?: string[];
/** جلسه چندمرحله‌ای برای فایل‌های بزرگ */
sessionId?: string;
/** تعداد کل ردیف‌های داده‌ای فایل */
total?: number;
/** تا این آفست پردازش شده */
processed?: number;
/** مرحله بعدی وجود دارد */
hasMore?: boolean;
nextOffset?: number;
}
export interface ExcelFieldOption {
@@ -1270,6 +1279,10 @@ export interface ExcelPreviewResult {
fields: ExcelFieldOption[];
suggested: Record<string, string>;
needsMapping: boolean;
/** تعداد ردیف‌های غیرخالی (بدون هدر) */
rowCount: number;
/** پیشنهاد ایمپورت چندمرحله‌ای */
largeFile?: boolean;
}
export interface ProductDto {