UNPKG

@nestjstools/messaging-google-pubsub-extension

Version:
13 lines (12 loc) 519 B
import { ChannelConfig } from '@nestjstools/messaging'; export declare class GooglePubSubChannelConfig extends ChannelConfig { readonly credentials?: Credentials; readonly topicName: string; readonly subscriptionName: string; readonly autoCreate?: boolean; constructor({ name, credentials, topicName, subscriptionName, autoCreate, enableConsumer, avoidErrorsForNotExistedHandlers, middlewares, normalizer, }: GooglePubSubChannelConfig); } interface Credentials { projectId: string; } export {};