feat: import sheet files on initializing demo account

This commit is contained in:
Ahmed Bouhuolia
2024-08-20 18:30:21 +02:00
parent d29079a8c5
commit 408c807fc2
11 changed files with 176 additions and 7 deletions

View File

@@ -116,6 +116,7 @@ import { DecrementUncategorizedTransactionOnCategorize } from '@/services/Cashfl
import { DisconnectPlaidItemOnAccountDeleted } from '@/services/Banking/BankAccounts/events/DisconnectPlaidItemOnAccountDeleted';
import { LoopsEventsSubscriber } from '@/services/Loops/LoopsEventsSubscriber';
import { DeleteUncategorizedTransactionsOnAccountDeleting } from '@/services/Banking/BankAccounts/events/DeleteUncategorizedTransactionsOnAccountDeleting';
import { SeedInitialDemoAccountDataOnOrgBuild } from '@/services/OneClickDemo/events/SeedInitialDemoAccountData';
export default () => {
return new EventPublisher();
@@ -282,5 +283,8 @@ export const susbcribers = () => {
// Loops
LoopsEventsSubscriber
// Demo Account
SeedInitialDemoAccountDataOnOrgBuild
];
};

View File

@@ -2,6 +2,7 @@ import { I18n } from 'i18n';
export default () => new I18n({
locales: ['en', 'ar'],
defaultLocale: 'en',
register: global,
directory: global.__locales_dir,
updateFiles: false,