Browse Source

add DB file for the secret

split_build_process
Trent Larson 1 month ago
parent
commit
6274f083a1
  1. 18
      src/db/tables/secret.ts

18
src/db/tables/secret.ts

@ -0,0 +1,18 @@
/**
* Represents an account stored in the database.
*/
export type Secret = {
/**
* Auto-generated ID by Dexie
*/
id: number;
/**
* The secret key used to decrypt the identity if they're not using their own password
*/
secret: string;
};
export const SecretSchema = { secret: "++id, secret" };
export const MASTER_SECRET_KEY = 0;
Loading…
Cancel
Save