2024-05-26 17:16:20 +02:00
|
|
|
// TODO: This file can probably be removed by now
|
|
|
|
|
2023-11-14 03:26:42 +03:00
|
|
|
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;
|
2023-11-14 03:26:42 +03:00
|
|
|
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 {
|
2023-11-19 11:38:55 +03:00
|
|
|
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
|
|
|
}
|