Work on new core person list, view, and edit
This commit is contained in:
@@ -3,18 +3,19 @@ import Dexie, { type Table } from 'dexie';
|
||||
// li = list
|
||||
// kv = key value list
|
||||
|
||||
// Updated 2024-06-10
|
||||
// Updated 2024-07-17
|
||||
export interface Person {
|
||||
id: string;
|
||||
// id_random: string;
|
||||
person_id: string;
|
||||
person_id_random?: string;
|
||||
person_id_random: string;
|
||||
|
||||
external_id?: string;
|
||||
external_sys_id?: string; // Generated by an external system
|
||||
code?: string;
|
||||
|
||||
account_id: string;
|
||||
account_id_random?: string;
|
||||
account_id?: string; // Technically this is not required for global users.
|
||||
account_id_random?: string; // Technically this is not required for global users.
|
||||
|
||||
person_profile_id?: null|string;
|
||||
person_profile_id_random?: null|string; // The new table person_profile will be used soon...
|
||||
@@ -57,7 +58,14 @@ export interface Person {
|
||||
updated_on?: null|Date;
|
||||
|
||||
// Additional fields for convenience (database views)
|
||||
username?: null|string;
|
||||
username?: string;
|
||||
user_name?: null|string;
|
||||
user_email?: null|string;
|
||||
user_allow_auth_key?: null|boolean; // For sign in without password
|
||||
user_super?: boolean;
|
||||
user_manager?: boolean;
|
||||
user_administrator?: boolean;
|
||||
user_public?: boolean;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user