mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-21 00:38:14 +08:00
19 lines
447 B
TypeScript
19 lines
447 B
TypeScript
export interface LegacyExecutionSelector {
|
|
legacyCronId: number;
|
|
pid?: number;
|
|
logArtifactId?: string;
|
|
}
|
|
|
|
export interface LegacyExecutionCancellationFact
|
|
extends LegacyExecutionSelector {
|
|
atMs: number;
|
|
scope: 'all' | 'one';
|
|
reason: 'user' | 'policy' | 'shutdown' | 'reconcile';
|
|
}
|
|
|
|
export interface LegacyExecutionCallbackFact extends LegacyExecutionSelector {
|
|
atMs: number;
|
|
phase: 'running' | 'finished';
|
|
exitCode?: number;
|
|
}
|