Initial commit

This commit is contained in:
2026-05-09 23:50:24 +02:00
commit 0d25e52ebc
21 changed files with 867 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
export type KeePassEntry = {
title: string;
username: string;
password: string;
url: string;
notes: string;
groupPath?: string;
otp?: string;
};
export type KeePassGroup = {
name: string;
path: string;
};
export type KeePassOpenOptions = {
password: string;
keyFile?: string;
};
export type KeePassFindQuery = {
title?: string;
username?: string;
url?: string;
groupPath?: string;
};
export type KeePassCommand =
| { command: "list-entries" }
| { command: "find-entries"; query: KeePassFindQuery }
| { command: "list-groups" };
export type KeePassResponse<T> =
| {
ok: true;
data: T;
}
| {
ok: false;
error: string;
};