autonomous.contact/models/password_entry.ts

17 lines
318 B
TypeScript
Raw Permalink Normal View History

2025-06-24 15:40:30 -07:00
import { FSDB_COLLECTION } from 'jsr:@andyburke/fsdb';
export type PASSWORD_ENTRY = {
user_id: string;
hash: string;
salt: string;
timestamps: {
created: string;
updated: string;
};
};
2025-06-24 16:17:00 -07:00
export const PASSWORD_ENTRIES = new FSDB_COLLECTION<PASSWORD_ENTRY>({
2025-06-24 15:40:30 -07:00
name: 'password_entries',
id_field: 'user_id'
});