import { TypeDaprPubSubCallback } from "../DaprPubSubCallback.type"; import { KeyValueType } from "../KeyValue.type"; import { BulkSubscribeConfig } from "./BulkSubscribeConfig.type"; import { DaprPubSubRouteType } from "./DaprPubSubRouteType.type"; /** * PubSubSubscriptionOptionsType defines the options we can pass while subscribing */ export type PubSubSubscriptionOptionsType = { metadata?: KeyValueType; deadLetterTopic?: string; deadLetterCallback?: TypeDaprPubSubCallback; callback?: TypeDaprPubSubCallback; route?: string | DaprPubSubRouteType; bulkSubscribe?: BulkSubscribeConfig; };