add extract action type in frontend (#1631)

This commit is contained in:
Shuchang Zheng
2025-01-24 04:12:12 +08:00
committed by GitHub
parent dbdf3a0919
commit 3c1a65ae23

View File

@@ -145,6 +145,7 @@ export const ActionTypes = {
wait: "wait", wait: "wait",
terminate: "terminate", terminate: "terminate",
SolveCaptcha: "solve_captcha", SolveCaptcha: "solve_captcha",
extract: "extract",
} as const; } as const;
export type ActionType = (typeof ActionTypes)[keyof typeof ActionTypes]; export type ActionType = (typeof ActionTypes)[keyof typeof ActionTypes];
@@ -160,6 +161,7 @@ export const ReadableActionTypes: {
wait: "Wait", wait: "Wait",
terminate: "Terminate", terminate: "Terminate",
solve_captcha: "Solve Captcha", solve_captcha: "Solve Captcha",
extract: "Extract Data",
}; };
export type Option = { export type Option = {