/*********************************************************************************************************************************************************************** * File Name: task_completion.attributes.js * Type of Program: Attributes / Field Config * Description: Attribute exclusion lists for TaskCompletion and TaskCompletionFile. * Admins see audit fields; clients see only their own completion data. * * Author: Kenneth Obsequio (@lash0000) * Date Created: Jun. 13, 2026 ***********************************************************************************************************************************************************************/ // ─── Shared base exclusions (neither role needs these) ──────────────────────── const excludeAttributes = []; // ─── Admin: can see audit trails ────────────────────────────────────────────── const adminExclude = [ ...excludeAttributes, ]; // ─── Client: no audit trails ────────────────────────────────────────────────── const clientExclude = [ ...excludeAttributes, 'createdBy', 'updatedBy', 'deletedBy', 'deletedAt', 'storage_key', ]; const jsonbSchemas = {}; const computedAttributes = []; const filterableFields = {}; module.exports = { adminExclude, clientExclude, excludeAttributes, jsonbSchemas, computedAttributes, filterableFields, };