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