V3: Standardize Primary AE Objects and Synchronize Search Whitelists.
- Synchronized searchable_fields (V3 whitelists) across all Primary and Active AE objects (Identity, People, Events, Journals, Posts, Archives, Business).
- Standardized Pydantic models for core objects to include the 10 common fields (id, id_random, enable, hide, priority, sort, group, notes, created_on, updated_on).
- Fixed field aliases and uncommented valid database columns in User_Base and Organization_Base.
- Pruned non-existent fields from searchable lists in legacy or config-specific definitions (account_cfg, user_role, log_client_viewing).
- Added system discovery and validation tools:
- ae_object_info.py: AE object status and metadata browser.
- export_all_interfaces.py: E2E TypeScript interface generator.
- Verification scripts for searchable field consistency.
- Updated Jan 8 milestone progress and platform roadmap in GEMINI.md.
This commit is contained in:
@@ -86,7 +86,7 @@ other_obj_li = {
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'archive_id_random', 'account_id_random', 'archive_type_id_random',
|
||||
'name', 'description', 'filename', 'original_location', 'enable',
|
||||
'archive_type', 'name', 'description', 'filename', 'original_location', 'enable',
|
||||
'hide', 'priority', 'sort', 'group', 'notes', 'created_on', 'updated_on'
|
||||
],
|
||||
},
|
||||
@@ -102,29 +102,12 @@ other_obj_li = {
|
||||
'table_name': 'v_archive_content',
|
||||
'tbl_name_update': 'archive_content',
|
||||
'base_name': Archive_Content_Base,
|
||||
'exp_default': [
|
||||
'archive_content_id_random',
|
||||
'archive_id_random',
|
||||
'archive_content_type_id_random',
|
||||
'lu_media_type_id_random',
|
||||
'name', 'description',
|
||||
'content_html', 'content_json',
|
||||
'content_url', 'content_url_text',
|
||||
'hosted_file_id_random',
|
||||
'file_path',
|
||||
'filename', 'file_extension',
|
||||
'original_datetime', 'original_timezone', 'original_location', 'original_address_id',
|
||||
'original_url', 'original_url_text',
|
||||
'meta_data', 'access_key',
|
||||
'enable_for_public',
|
||||
'enable', 'enable_from', 'enable_to',
|
||||
'hide', 'priority', 'sort', 'group', 'notes', 'created_on', 'updated_on',
|
||||
],
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'archive_content_id_random', 'archive_id_random', 'name',
|
||||
'description', 'filename', 'original_location', 'enable', 'hide',
|
||||
'priority', 'sort', 'group', 'notes', 'created_on', 'updated_on'
|
||||
'archive_content_id_random', 'account_id_random', 'archive_id_random',
|
||||
'archive_content_type', 'lu_media_type', 'name', 'description',
|
||||
'filename', 'file_extension', 'original_location', 'original_url',
|
||||
'enable', 'hide', 'priority', 'sort', 'group', 'notes', 'created_on', 'updated_on'
|
||||
],
|
||||
},
|
||||
'hosted_file': {
|
||||
@@ -170,9 +153,8 @@ other_obj_li = {
|
||||
'base_name': Hosted_File_Link_Base,
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'hosted_file_link_id_random', 'hosted_file_id_random', 'for_type',
|
||||
'for_id_random', 'enable', 'hide', 'priority', 'sort', 'group', 'notes',
|
||||
'created_on', 'updated_on'
|
||||
'id', 'account_id_random', 'hosted_file_id_random', 'link_to_type',
|
||||
'link_to_id_random', 'created_on', 'updated_on'
|
||||
],
|
||||
},
|
||||
'stripe_log': {
|
||||
|
||||
Reference in New Issue
Block a user