Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(@InjectConnection() private connection: Connection, private configService: ConfigService) {}
export function ActiveConnection() {
const cm = getConnectionManager();
return InjectConnection(getConfig().dbConnectionOptions.name);
}
constructor(
@InjectConnection() private readonly connection: Connection,
) {
}
constructor(
@InjectConnection() private connection: Connection,
private translatableSaver: TranslatableSaver,
) {}
constructor(
private eventBus: EventBus,
@InjectConnection() private connection: Connection,
private moduleRef: ModuleRef,
) {}
constructor(
@InjectConnection() private readonly connection: Connection,
private readonly categoryService: CategoryService,
private readonly serviceCategoryService: ServiceCategoryService
) { }
constructor(
@InjectConnection() private connection: Connection,
@Inject(ELASTIC_SEARCH_OPTIONS) private options: Required,
@Inject(ELASTIC_SEARCH_CLIENT) private client: Client,
private productVariantService: ProductVariantService,
private jobService: JobService,
) {}
constructor(@InjectConnection() private connection: Connection) {}
constructor(
@InjectConnection() private connection: Connection,
private passwordCipher: PasswordCiper,
private configService: ConfigService,
private orderService: OrderService,
private eventBus: EventBus,
) {
this.sessionDurationInMs = ms(this.configService.authOptions.sessionDuration as string);
}
constructor(@InjectConnection() private connection: Connection) {}