feature: initial commit
This commit is contained in:
commit
2c27f003c9
15 changed files with 1601 additions and 0 deletions
16
models/password_entry.ts
Normal file
16
models/password_entry.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { FSDB_COLLECTION } from 'jsr:@andyburke/fsdb';
|
||||
|
||||
export type PASSWORD_ENTRY = {
|
||||
user_id: string;
|
||||
hash: string;
|
||||
salt: string;
|
||||
timestamps: {
|
||||
created: string;
|
||||
updated: string;
|
||||
};
|
||||
};
|
||||
|
||||
export const PASSWORD_ENTRY_STORE = new FSDB_COLLECTION<PASSWORD_ENTRY>({
|
||||
name: 'password_entries',
|
||||
id_field: 'user_id'
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue