UNPKG

@kenniy/event-contracts

Version:

Shared event schemas and stream definitions for 8Medical microservices architecture

22 lines 1.57 kB
export { EventStreams, StreamsByService, FutureDomainStreams, getStreamsByService, isValidStream, type EventStreamName, type DomainStreamName, type ServiceStreamGroup, } from './streams'; export { ConsumerGroups, ConsumerGroupStreams, ServiceConsumerRecommendations, getServiceConsumerGroups, getConsumerGroupStreams, type ConsumerGroupName, type ServiceName, } from './consumers'; export { type BaseEvent, type EventEnvelope, type EventMetadata, type BusinessEntityIds, type EventErrorInfo, type Address, type ContactInfo, type BusinessType, type UserType, type EntityStatus, type VerificationStatus, type EventData, type EventHandler, type EventBatch, } from './schemas/base-event'; export * from './events/user-service'; export declare const PackageInfo: { readonly name: "@8medical/event-contracts"; readonly version: "1.0.0"; readonly description: "Shared event schemas and stream definitions for 8Medical microservices"; readonly phase: "Phase 1: Service-Based Streams"; readonly repository: "https://github.com/8medical/event-contracts"; }; export declare const MigrationHelpers: { readonly legacyStreamMappings: { readonly 'user-service': "user-service-events"; readonly user_service_events: "user-service-events"; readonly 'hrm-service': "hrm-service-events"; readonly hrm_service_events: "hrm-service-events"; readonly 'notification-events': "notification-service-events"; }; readonly getLegacyMapping: (legacyName: string) => string | undefined; }; //# sourceMappingURL=index.d.ts.map