feat: 实现 Queue Q2 受控 dispatch
This commit is contained in:
@@ -239,6 +239,17 @@ export interface QueueCommanderSnapshot extends JsonRecord {
|
||||
generatedAt: string;
|
||||
}
|
||||
|
||||
export interface QueueDispatchResult extends JsonRecord {
|
||||
action: "queue-dispatch";
|
||||
mutation: true;
|
||||
task: QueueTaskRecord;
|
||||
run: RunRecord;
|
||||
command: CommandRecord;
|
||||
runnerJob: JsonRecord;
|
||||
latestAttempt: QueueAttemptRef;
|
||||
pollCommands: JsonRecord;
|
||||
}
|
||||
|
||||
export interface BackendEvent {
|
||||
type: EventType;
|
||||
payload: JsonRecord;
|
||||
|
||||
Reference in New Issue
Block a user