feat: data persistence interface
This commit is contained in:
@@ -17,6 +17,11 @@ import fs from "fs";
|
|||||||
import { getBestSelectorForAction } from "../utils";
|
import { getBestSelectorForAction } from "../utils";
|
||||||
import { browserPool } from "../../server";
|
import { browserPool } from "../../server";
|
||||||
|
|
||||||
|
interface PersistedGeneratedData {
|
||||||
|
lastUsedSelector: string;
|
||||||
|
lastIndex: number|null;
|
||||||
|
lastAction: string;
|
||||||
|
}
|
||||||
|
|
||||||
interface MetaData {
|
interface MetaData {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -26,4 +31,3 @@ interface MetaData {
|
|||||||
params: string[],
|
params: string[],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user