import { MultiTenantMessagingSettings } from '@axinom/mosaic-message-bus-abstractions'; export class HostingServiceMultiTenantMessagingSettings extends MultiTenantMessagingSettings { /** * Defines the messaging settings for the event with message type * "ObjectStorageDeleted" and aggregate type "object-storage". * The aggregate ID field contains the value of the "object storage ID" field. */ public static ObjectStorageDeleted = new HostingServiceMultiTenantMessagingSettings( 'ObjectStorageDeleted', 'object_storage:deleted', '*.*.object_storage.deleted', 'event', 'object-storage' ); /** * Defines the messaging settings for the event with message type * "ObjectStorageCredentialsRegenerated" and aggregate type "object-storage". * The aggregate ID field contains the value of the "object storage ID" field. */ public static ObjectStorageCredentialsRegenerated = new HostingServiceMultiTenantMessagingSettings( 'ObjectStorageCredentialsRegenerated', 'object_storage:credentials_regenerated', '*.*.object_storage.credentials_regenerated', 'event', 'object-storage' ); private constructor( messageType: string, queue: string, routingKey: string, action: 'command' | 'event', aggregateType: string, ) { super('ax-hosting-service', messageType, queue, routingKey, action, aggregateType); } public override toString = (): string => { return this.messageType; }; }