mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-11 10:59:37 -06:00
14 lines
316 B
TypeScript
14 lines
316 B
TypeScript
import { Constructor } from '@api/integrations/integration.dto';
|
|
|
|
export class RabbitmqDto {
|
|
enabled: boolean;
|
|
events?: string[];
|
|
}
|
|
|
|
export function RabbitMQInstanceMixin<TBase extends Constructor>(Base: TBase) {
|
|
return class extends Base {
|
|
rabbitmqEnabled?: boolean;
|
|
rabbitmqEvents?: string[];
|
|
};
|
|
}
|