Revert "refactor(microservices): Extract AmqpExchangeType"

This reverts commit d8f80ef986.
This commit is contained in:
ChangmoKang
2025-05-08 17:05:00 +09:00
parent d8f80ef986
commit 4eb4bf2291
2 changed files with 1 additions and 9 deletions

View File

@@ -68,10 +68,3 @@ export interface AmqplibQueueOptions {
maxPriority?: number;
[key: string]: any;
}
type AmqpMainExchangeType = 'direct' | 'fanout' | 'topic' | 'headers';
/**
* @publicApi
*/
export type AmqpExchangeType = AmqpMainExchangeType | (string & {});

View File

@@ -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.
*/