@message-queue-toolkit/core
Advanced tools
Comparing version 10.0.0 to 10.1.0
@@ -19,2 +19,3 @@ import type { ErrorReporter, ErrorResolver } from '@lokalise/node-core'; | ||
logMessages?: boolean; | ||
deletionConfig?: DeletionConfig; | ||
}; | ||
@@ -31,10 +32,8 @@ type CommonCreationConfigType = { | ||
locatorConfig?: never; | ||
deletionConfig?: DeletionConfig; | ||
creationConfig: CreationConfigType; | ||
} & CommonQueueOptions; | ||
}; | ||
type ExistingQueueOptions<QueueLocatorType extends object> = { | ||
locatorConfig: QueueLocatorType; | ||
deletionConfig?: DeletionConfig; | ||
creationConfig?: never; | ||
} & CommonQueueOptions; | ||
}; | ||
export type QueueOptions<CreationConfigType extends CommonCreationConfigType, QueueLocatorType extends object> = CommonQueueOptions & (NewQueueOptions<CreationConfigType> | ExistingQueueOptions<QueueLocatorType>); | ||
@@ -44,5 +43,9 @@ export type QueuePublisherOptions<CreationConfigType extends CommonCreationConfigType, QueueLocatorType extends object, MessagePayloadSchemas extends object> = QueueOptions<CreationConfigType, QueueLocatorType> & { | ||
}; | ||
export type QueueConsumerOptions<CreationConfigType extends object, QueueLocatorType extends object, MessagePayloadSchemas extends object, ExecutionContext, PrehandlerOutput = undefined> = QueueOptions<CreationConfigType, QueueLocatorType> & { | ||
export type DeadLetterQueueOptions<CreationConfigType extends object, QueueLocatorType extends object, DeadLetterQueueIntegrationOptions extends object> = { | ||
deletionConfig?: DeletionConfig; | ||
} & DeadLetterQueueIntegrationOptions & (NewQueueOptions<CreationConfigType> | ExistingQueueOptions<QueueLocatorType>); | ||
export type QueueConsumerOptions<CreationConfigType extends object, QueueLocatorType extends object, DeadLetterQueueIntegrationOptions extends object, MessagePayloadSchemas extends object, ExecutionContext, PrehandlerOutput = undefined> = QueueOptions<CreationConfigType, QueueLocatorType> & { | ||
handlers: MessageHandlerConfig<MessagePayloadSchemas, ExecutionContext, PrehandlerOutput>[]; | ||
deadLetterQueue?: DeadLetterQueueOptions<CreationConfigType, QueueLocatorType, DeadLetterQueueIntegrationOptions>; | ||
}; | ||
export {}; |
{ | ||
"name": "@message-queue-toolkit/core", | ||
"version": "10.0.0", | ||
"version": "10.1.0", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59006
837