refactor: items services to Nestjs

This commit is contained in:
Ahmed Bouhuolia
2024-12-15 15:23:46 +02:00
parent 0a112c5655
commit 87e9cd64e8
21 changed files with 812 additions and 21 deletions

View File

@@ -4,10 +4,9 @@ import { TENANCY_DB_CONNECTION } from '../TenancyDB/TenancyDB.constants';
import { Item } from '../../../modules/Items/models/Item';
import { Account } from '@/modules/Accounts/models/Account';
import { TenantModel } from '@/modules/System/models/TenantModel';
import { TenantMetadata } from '@/modules/System/models/TenantMetadataModel';
import { ItemEntry } from '@/modules/Items/models/ItemEntry';
const models = [Item, Account, TenantModel, TenantMetadata];
const models = [Item, Account, ItemEntry];
const modelProviders = models.map((model) => {
return {