Parse large Excel imports asynchronously to avoid gateway 502 timeouts.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1260,6 +1260,19 @@ export interface ImportContactsResult {
|
||||
/** مرحله بعدی وجود دارد */
|
||||
hasMore?: boolean;
|
||||
nextOffset?: number;
|
||||
/** وضعیت آمادهسازی ناهمگام فایل بزرگ */
|
||||
status?: "parsing" | "ready" | "error";
|
||||
parsed?: number;
|
||||
}
|
||||
|
||||
export interface ExcelImportPrepareStatus {
|
||||
sessionId: string;
|
||||
status: "parsing" | "ready" | "error";
|
||||
total: number;
|
||||
parsed: number;
|
||||
error?: string;
|
||||
hasMore?: boolean;
|
||||
nextOffset?: number;
|
||||
}
|
||||
|
||||
export interface ExcelFieldOption {
|
||||
|
||||
Reference in New Issue
Block a user