autonomous.contact/models/password_entry.ts
Andy Burke e397bc884b refactor: fix password auth
refactor: move tabs around
2025-07-23 13:01:52 -07:00

15 lines
303 B
TypeScript

import { FSDB_COLLECTION } from 'jsr:@andyburke/fsdb';
export type PASSWORD_ENTRY = {
user_id: string;
hash: string;
timestamps: {
created: string;
updated: string;
};
};
export const PASSWORD_ENTRIES = new FSDB_COLLECTION<PASSWORD_ENTRY>({
name: 'password_entries',
id_field: 'user_id'
});