feat: add sample sheet to accounts and bank transactions

This commit is contained in:
Ahmed Bouhuolia
2024-03-28 00:57:01 +02:00
parent 7a3e121942
commit f9e5028e0d
6 changed files with 94 additions and 39 deletions

View File

@@ -3,6 +3,7 @@ import { Knex } from 'knex';
import { IAccountCreateDTO } from '@/interfaces';
import { CreateAccount } from './CreateAccount';
import { Importable } from '../Import/Importable';
import { AccountsSampleData } from './AccountsImportable.SampleData';
@Service()
export class AccountsImportable extends Importable {
@@ -35,11 +36,10 @@ export class AccountsImportable extends Importable {
return 1;
}
public public sampleData(): any[] {
return [
{
}
]
/**
* Retrieves the sample data that used to download accounts sample sheet.
*/
public sampleData(): any[] {
return AccountsSampleData;
}
}