import { ApplicationEvent } from './application'; import { BaseEvent } from './base'; export type PlatformApiReadyEvent = BaseEvent & { topic: 'application'; type: 'platform-api-ready'; }; export type PlatformSnapshotAppliedEvent = BaseEvent & { topic: 'application'; type: 'platform-snapshot-applied'; }; export type PlatformEvent = ApplicationEvent | PlatformApiReadyEvent | PlatformSnapshotAppliedEvent;