mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
Revert "refactor(microservices): Extract AmqpExchangeType"
This reverts commit d8f80ef986.
This commit is contained in:
@@ -68,10 +68,3 @@ export interface AmqplibQueueOptions {
|
||||
maxPriority?: number;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
type AmqpMainExchangeType = 'direct' | 'fanout' | 'topic' | 'headers';
|
||||
|
||||
/**
|
||||
* @publicApi
|
||||
*/
|
||||
export type AmqpExchangeType = AmqpMainExchangeType | (string & {});
|
||||
|
||||
@@ -14,7 +14,6 @@ import { MqttClientOptions, QoS } from '../external/mqtt-options.interface';
|
||||
import { IORedisOptions } from '../external/redis.interface';
|
||||
import {
|
||||
AmqpConnectionManagerSocketOptions,
|
||||
AmqpExchangeType,
|
||||
AmqplibQueueOptions,
|
||||
RmqUrl,
|
||||
} from '../external/rmq-url.interface';
|
||||
@@ -287,7 +286,7 @@ export interface RmqOptions {
|
||||
* Type of the exchange
|
||||
* @default 'topic'
|
||||
*/
|
||||
exchangeType?: AmqpExchangeType;
|
||||
exchangeType?: string;
|
||||
/**
|
||||
* Additional routing key for the topic exchange.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user