feat: data persistence interface

This commit is contained in:
karishmas6
2024-06-07 23:24:18 +05:30
parent b99e1ecb08
commit 571683a285

View File

@@ -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[],
}