mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
chore: relocate backend into apps/api ahead of monorepo merge
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
const excludeAttributes = [];
|
||||
|
||||
const adminExclude = [
|
||||
...excludeAttributes,
|
||||
// admins can see audit fields, so nothing extra excluded
|
||||
];
|
||||
|
||||
const userExclude = [
|
||||
...excludeAttributes,
|
||||
// regular users cannot see audit trails
|
||||
"createdBy", "updatedBy", "deletedBy", "deletedAt",
|
||||
];
|
||||
|
||||
const jsonbSchemas = {};
|
||||
|
||||
const computedAttributes = [];
|
||||
|
||||
const filterableFields = {}
|
||||
|
||||
module.exports = { adminExclude, userExclude, excludeAttributes, jsonbSchemas, computedAttributes, filterableFields };
|
||||
Reference in New Issue
Block a user