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