template-saas/apps/backend/node_modules/@nestjs/bullmq/dist/interfaces/shared-bull-config.interface.d.ts
rckrdmrd 50a821a415
Some checks failed
CI / Backend CI (push) Has been cancelled
CI / Frontend CI (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / CI Summary (push) Has been cancelled
[SIMCO-V38] feat: Actualizar a SIMCO v3.8.0
- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8
- Actualizaciones de configuracion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 08:53:08 -06:00

54 lines
1.6 KiB
TypeScript

import { FactoryProvider, ModuleMetadata, Provider, Type } from '@nestjs/common';
import * as Bull from 'bullmq';
/**
* @publicApi
*/
export interface BullModuleExtraOptions {
/**
* If set to true, the module will not register the Bull queues automatically.
* This is useful when you want to manually register the queues.
*/
manualRegistration?: boolean;
}
/**
* @publicApi
*/
export interface BullRootModuleOptions extends Bull.QueueOptions {
extraOptions?: BullModuleExtraOptions;
}
/**
* @publicApi
*/
export interface SharedBullConfigurationFactory {
createSharedConfiguration(): Promise<BullRootModuleOptions> | BullRootModuleOptions;
}
/**
* @publicApi
*/
export interface SharedBullAsyncConfiguration extends Pick<ModuleMetadata, 'imports'> {
/**
* Existing Provider to be used.
*/
useExisting?: Type<SharedBullConfigurationFactory>;
/**
* Type (class name) of provider (instance to be registered and injected).
*/
useClass?: Type<SharedBullConfigurationFactory>;
/**
* Factory function that returns an instance of the provider to be injected.
*/
useFactory?: (...args: any[]) => Promise<Bull.QueueOptions> | Bull.QueueOptions;
/**
* Optional list of providers to be injected into the context of the Factory function.
*/
inject?: FactoryProvider['inject'];
/**
* Extra options for the Bull module.
*/
extraOptions?: BullModuleExtraOptions;
/**
* Extra providers to be registered in the module context.
*/
extraProviders?: Provider[];
}
//# sourceMappingURL=shared-bull-config.interface.d.ts.map