Skip to content

Commit 2e0ef16

Browse files
feat: add machine ID retrieval to Window API interface
1 parent 58e0188 commit 2e0ef16

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/env.d.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ declare interface Window {
2222
listShares: () => Promise<Array<{ id: string; url: string; title: string; createdAt: number }>>;
2323
deleteShare: (id: string) => Promise<void>;
2424
};
25+
machine?: {
26+
getId: () => Promise<string>;
27+
};
2528
[key: string]: unknown;
2629
};
2730
/** Exposed by the renderer for HTML export triggered from the main process. */

0 commit comments

Comments
 (0)