feat(import): add currency and number format support for CSV imports (#1819)

* feat(import): add currency and number format support for CSV imports

* feat(import): add currency and format for mint and trade

* fix(imports): remove currency field in favor of currency csv col

* fix(imports): remove validate column from import model

* test(import): add some tests for imports

* test(import): add some tests for generate_rows_from_csv

* fix: change method name for import model

* fix: change before validation

---------

Co-authored-by: danestves <danestves@users.noreply.github.com>
This commit is contained in:
Daniel Esteves
2025-02-10 16:31:28 -04:00
committed by GitHub
parent 9e5f1574bc
commit 077694bbde
9 changed files with 307 additions and 13 deletions

View File

@@ -7,3 +7,7 @@ en:
attributes:
raw_file_str:
invalid_csv_format: is not a valid CSV format
attributes:
import:
currency: Currency
number_format: Number Format