feat(browser): add native action commands
This commit is contained in:
15
src/browser/client-actions-types.ts
Normal file
15
src/browser/client-actions-types.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export type BrowserActionOk = { ok: true };
|
||||
|
||||
export type BrowserActionTabResult = {
|
||||
ok: true;
|
||||
targetId: string;
|
||||
url?: string;
|
||||
};
|
||||
|
||||
export type BrowserActionPathResult = {
|
||||
ok: true;
|
||||
path: string;
|
||||
targetId: string;
|
||||
url?: string;
|
||||
filename?: string;
|
||||
};
|
||||
Reference in New Issue
Block a user