import { Module } from '@nestjs/common' import { MongooseModule } from '@nestjs/mongoose' import { Subscription, SubscriptionSchema } from '../schemas/subscription.schema.js' import { Tenant, TenantSchema } from '../schemas/tenant.schema.js' import { User, UserSchema } from '../schemas/user.schema.js' import { SeedService } from './seed.service.js' @Module({ imports: [ MongooseModule.forFeature([ { name: Tenant.name, schema: TenantSchema }, { name: User.name, schema: UserSchema }, { name: Subscription.name, schema: SubscriptionSchema }, ]), ], providers: [SeedService], }) export class SeedModule {}