@factorialco/shadowdog
Version:
<img src="https://raw.githubusercontent.com/factorialco/shadowdog/refs/heads/main/logo.png" alt="drawing" width="100"/>
37 lines (36 loc) • 820 B
TypeScript
import { EventEmitter } from 'node:events';
import { ArtifactConfig } from './config';
type ShadowdogEvents = {
initialized: [];
exit: [number?];
begin: [{
artifacts: ArtifactConfig[];
}];
end: [{
artifacts: ArtifactConfig[];
}];
error: [{
artifacts: ArtifactConfig[];
errorMessage: string;
}];
changed: [{
path: string;
type: 'add' | 'change' | 'unlink';
}];
configLoaded: [{
config: unknown;
}];
allTasksComplete: [];
generateStarted: [];
pause: [];
resume: [];
computeArtifact: [{
artifactOutput: string;
}];
computeAllArtifacts: [{
artifacts: ArtifactConfig[];
}];
};
export declare class ShadowdogEventEmitter extends EventEmitter<ShadowdogEvents> {
}
export {};