Files
OSIT-AE-API-FastAPI/app/object_definitions/lookups.py
Scott Idem b8a417a5d7 Key Accomplishments:
1. Badge Model Updates: Added print_count, print_first_datetime, and print_last_datetime to the
      Event_Badge_Basic_Base model.
   2. Soft Delete in V3 CRUD: Implemented a method query parameter (delete, hide, disable) for the DELETE
      endpoints in api_crud_v3.py.
   3. Security Hardening: Populated searchable_fields allowlists for all objects across the V3 CRUD
      definitions (core.py, events.py, orders.py, cms.py, lookups.py, membership.py, other.py).
   4. Shared Documentation: Created /home/scott/agents_sync/Aether/api_v3.md to coordinate these V3 API
      features with the Svelte agent and other tools.
2026-01-05 20:05:33 -05:00

57 lines
1.6 KiB
Python

lu_obj_li = {
'lu_country': {
'tbl': 'lu_country',
'tbl_default': 'v_lu_country',
'tbl_alt': None,
'tbl_update': 'lu_country',
'mdl': None,
'mdl_default': None,
'mdl_in': None,
'mdl_out': None,
# Legacy V2 keys:
'table_name': 'v_lu_country',
'tbl_name_update': 'lu_country',
'base_name': None,
# V3 Search Security:
'searchable_fields': [
'id', 'alpha_2_code', 'alpha_3_code', 'numeric_code', 'name'
],
},
'lu_country_subdivision': {
'tbl': 'lu_country_subdivision',
'tbl_default': 'v_lu_country_subdivision',
'tbl_alt': None,
'tbl_update': 'lu_country_subdivision',
'mdl': None,
'mdl_default': None,
'mdl_in': None,
'mdl_out': None,
# Legacy V2 keys:
'table_name': 'v_lu_country_subdivision',
'tbl_name_update': 'lu_country_subdivision',
'base_name': None,
# V3 Search Security:
'searchable_fields': [
'id', 'country_alpha_2_code', 'subdivision_code', 'name'
],
},
'lu_time_zone': {
'tbl': 'lu_time_zone',
'tbl_default': 'v_lu_time_zone',
'tbl_alt': 'v_lu_time_zone_cust',
'tbl_update': 'lu_time_zone',
'mdl': None,
'mdl_default': None,
'mdl_in': None,
'mdl_out': None,
# Legacy V2 keys:
'table_name': 'v_lu_time_zone',
'tbl_name_update': 'lu_time_zone',
'base_name': None,
# V3 Search Security:
'searchable_fields': [
'id', 'timezone', 'offset', 'name'
],
},
}