24 lines
505 B
TypeScript
Raw Normal View History

2024-05-26 17:16:20 +02:00
// TODO: This file can probably be removed by now
export interface Action {
2023-11-21 00:20:19 +01:00
values: any;
2024-02-25 20:55:48 +01:00
type: "wait" | "done" | "impose" | string;
actions?: Action[];
2023-11-14 17:34:50 +01:00
}
2023-11-17 20:38:45 +01:00
export interface WaitAction extends Action {
values: { id: number }
}
export interface ExtractAction extends Action {
values: { indexes: string | number[] }
2023-11-17 20:38:45 +01:00
}
export interface ImposeAction extends Action {
values: { nup: number, format: string }
}
2023-11-14 17:34:50 +01:00
export interface WaitAction extends Action {
values: { id: number }
2024-05-26 17:16:20 +02:00
}