import { Global, Module } from '@nestjs/common';
import { IdempotencyService } from './idempotency.service';

/** Command-idempotency ledger, global so any feature module can wrap its commands. */
@Global()
@Module({
  providers: [IdempotencyService],
  exports: [IdempotencyService],
})
export class IdempotencyModule {}
