feature: initial commit

This commit is contained in:
Andy Burke 2025-06-24 15:40:30 -07:00
commit 2c27f003c9
15 changed files with 1601 additions and 0 deletions

15
models/totp_entry.ts Normal file
View file

@ -0,0 +1,15 @@
import { FSDB_COLLECTION } from 'jsr:@andyburke/fsdb';
export type TOTP_ENTRY = {
user_id: string;
secret: string;
timestamps: {
created: string;
updated: string;
};
};
export const TOTP_ENTRY_STORE = new FSDB_COLLECTION<TOTP_ENTRY>({
name: 'totp_entries',
id_field: 'user_id'
});