import { Module, Global } from '@nestjs/common'
import { MongooseModule } from '@nestjs/mongoose'
import { GravityTransaction, GravityTransactionSchema } from './gravity-transaction.schema'

@Global()
@Module({
  imports: [MongooseModule.forFeature([{ name: GravityTransaction.name, schema: GravityTransactionSchema }])],
  exports: [MongooseModule],
})
export class GravityTransactionModule {}
