import { ICriteria, SequelizeCriteria } from '@aurorajs.dev/core-back';
import { Global, Module } from '@nestjs/common';

@Global()
@Module({
  providers: [
    {
      provide: ICriteria,
      useClass: SequelizeCriteria,
    },
  ],
  exports: [
    {
      provide: ICriteria,
      useClass: SequelizeCriteria,
    },
  ],
})
export class CriteriaConfigModule {}
