General clean up related to permissions and updating fields.

This commit is contained in:
Scott Idem
2024-07-24 15:00:48 -04:00
parent c41be23995
commit 027d7a781d
4 changed files with 395 additions and 195 deletions

View File

@@ -439,6 +439,7 @@ export function handle_db_save_ae_obj_li__event_presenter(
event_presentation_start_datetime: obj.event_presentation_start_datetime,
person_external_id: obj.person_external_id,
person_external_sys_id: obj.person_external_sys_id,
person_given_name: obj.person_given_name,
person_family_name: obj.person_family_name,
person_full_name: obj.person_full_name,

View File

@@ -10,8 +10,8 @@ export interface Person {
person_id: string;
person_id_random: string;
external_id?: string;
external_sys_id?: string; // Generated by an external system
external_id?: string; // This may be semi-random or unique only withing the account.
external_sys_id?: string; // Generated by an external system. Ideally this should be something like a UUID. It may be the same as the external_id if nothing given.
code?: string;
account_id?: string; // Technically this is not required for global users.

View File

@@ -1,6 +1,7 @@
import Dexie, { type Table } from 'dexie';
import type { list } from 'postcss';
import type { key_val } from './ae_stores';
import type { o } from 'vitest/dist/reporters-B7ebVMkT.js';
// li = list
// kv = key value list
@@ -488,7 +489,8 @@ export interface Presenter {
event_presentation_name?: string;
event_presentation_start_datetime?: null|Date;
person_external_id?: null|string;
person_external_id?: null|string; // This may be semi-random or unique only withing the account.
person_external_sys_id?: null|string; // Generated by an external system. Ideally this should be something like a UUID. It may be the same as the external_id if nothing given.
person_given_name?: string;
person_family_name?: null|string;
person_full_name?: null|string;