In transition ... experimenting

This commit is contained in:
Matthew Aaron Raymer
2022-12-15 16:36:23 +08:00
parent 2c57bbf4ee
commit 9232afb5af
8 changed files with 81 additions and 8 deletions

15
src/db/tables/accounts.ts Normal file
View File

@@ -0,0 +1,15 @@
import { Table } from "dexie";
export type Account = {
id?: number;
publicKey: string;
identity: string;
};
export type AccountsTable = {
accounts: Table<Account>;
};
export const accountsSchema = {
accounts: "++id, publicKey, $identity",
};