mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-06-23 07:55:07 +00:00
24 lines
505 B
TypeScript
24 lines
505 B
TypeScript
// TODO: This file can probably be removed by now
|
|
|
|
export interface Action {
|
|
values: any;
|
|
type: "wait" | "done" | "impose" | string;
|
|
actions?: Action[];
|
|
}
|
|
|
|
export interface WaitAction extends Action {
|
|
values: { id: number }
|
|
}
|
|
|
|
export interface ExtractAction extends Action {
|
|
values: { indexes: string | number[] }
|
|
}
|
|
|
|
export interface ImposeAction extends Action {
|
|
values: { nup: number, format: string }
|
|
}
|
|
|
|
export interface WaitAction extends Action {
|
|
values: { id: number }
|
|
}
|