fix: import accounts issue

This commit is contained in:
Ahmed Bouhuolia
2024-03-22 20:45:05 +02:00
parent 858e3541cb
commit 973d1832bd
14 changed files with 125 additions and 48 deletions

View File

@@ -25,7 +25,12 @@ export interface ImportFileUploadPOJO {
resource: string;
};
sheetColumns: string[];
resourceColumns: { key: string; name: string }[];
resourceColumns: {
key: string;
name: string;
required?: boolean;
hint?: string;
}[];
}
export interface ImportFileMapPOJO {
@@ -45,7 +50,6 @@ export interface ImportFilePreviewPOJO {
unmappedColumnsCount: number;
}
export interface ImportOperSuccess {
data: unknown;
index: number;
@@ -54,4 +58,4 @@ export interface ImportOperSuccess {
export interface ImportOperError {
error: ImportInsertError;
index: number;
}
}