feat(server): wip import resources

This commit is contained in:
Ahmed Bouhuolia
2024-03-11 20:05:12 +02:00
parent 90b4f3ef6d
commit 4270d66928
16 changed files with 328 additions and 75 deletions

View File

@@ -23,14 +23,6 @@ export class AccountsImportable {
return this.accountsApp.createAccount(tenantId, createAccountDTO, trx);
}
/**
*
* @returns {}
*/
public validation() {
return AccountDTOSchema;
}
/**
*
* @param data
@@ -39,7 +31,6 @@ export class AccountsImportable {
public transform(data) {
return {
...data,
accountType: this.mapAccountType(data.accounType),
};
}