Models mirror Hiboutik entities (categories tree, brands, suppliers, products and their versions, customers) plus addresses and orders for the upcoming sync. Every synced model is matched with Hiboutik through a unique hiboutikId. The generated client is ignored by git and env files other than .env.example are ignored.
10 lines
210 B
TypeScript
10 lines
210 B
TypeScript
import { Global, Module } from '@nestjs/common';
|
|
import { PrismaService } from './prisma.service';
|
|
|
|
@Global()
|
|
@Module({
|
|
providers: [PrismaService],
|
|
exports: [PrismaService],
|
|
})
|
|
export class PrismaModule {}
|