Now with the ability to clone template entries

This commit is contained in:
Scott Idem
2025-04-02 12:56:08 -04:00
parent 0e72d27dbd
commit b4f2be0f13
9 changed files with 184 additions and 189 deletions

View File

@@ -357,6 +357,8 @@ export async function db_save_ae_obj_li__journal_entry(
person_id: obj.person_id_random,
template: obj.template ?? null, // Allow for a template to be used, otherwise null
activity_code: obj.activity_code,
category_code: obj.category_code,
type_code: obj.type_code,
@@ -369,6 +371,7 @@ export async function db_save_ae_obj_li__journal_entry(
professional: obj.professional,
name: obj.name,
short_name: obj.short_name ?? null,
summary: obj.summary,
outline: obj.outline,
// description: obj.description,
@@ -403,8 +406,8 @@ export async function db_save_ae_obj_li__journal_entry(
alert: obj.alert,
alert_msg: obj.alert_msg,
// cfg_json: obj.cfg_json,
data_json: obj.data_json,
// cfg_json: obj.cfg_json ?? {},
data_json: obj.data_json ?? {},
// This only allows for basic access to the data.
// passcode_read: obj.passcode_read, // For LLM (AI) generated summary...???