import "@bluecadet/launchpad-utils/types"; /** * Content plugin events. * * This file uses TypeScript declaration merging to add content-specific * events to the LaunchpadEvents interface from the controller package. * * When @bluecadet/launchpad-controller is installed, these events become * fully type-safe. When it's not installed, the events can still be emitted * but without type checking. */ /** Content plugin event types for use with generic EventBus. */ export type ContentEvents = { "content:fetch:start": { timestamp: Date; }; "content:fetch:done": { sources: string[]; }; "content:fetch:error": { error: Error; source?: string; }; "content:source:start": { sourceId: string; sourceType: string; }; "content:source:done": { sourceId: string; }; "content:source:error": { sourceId: string; error: Error; }; "content:document:write": { sourceId: string; documentId: string; /** * Absolute path to the staged file written during the current fetch run. * The staged tree is promoted after a successful run. */ path: string; }; "content:document:error": { sourceId: string; documentId: string; error: Error; }; "content:transform:start": { transformName: string; }; "content:transform:done": { transformName: string; duration: number; }; "content:transform:error": { transformName: string; error: Error; }; }; declare module "@bluecadet/launchpad-utils/types" { interface LaunchpadEvents extends ContentEvents { } } //# sourceMappingURL=content-events.d.ts.map