This commit is contained in:
rgrgogu
2026-05-07 23:35:22 +08:00
parent 09660d7503
commit 58ccecd28a
10 changed files with 370 additions and 53 deletions
+11 -2
View File
@@ -1,5 +1,5 @@
const excludeAttributes = [
"password", "otp_code", "otp_expires_at",
"password", "otp_code", "otp_expires_at", 'must_change_password', 'password_expires_at',
"personal_info.name.given_name",
"personal_info.name.middle_name",
"personal_info.name.last_name",
@@ -46,4 +46,13 @@ const userExclude = [
"deleted_at",
];
module.exports = { excludeAttributes, adminExclude, userExclude, jsonbSchemas };
const computedAttributes = [
// {
// key: "memberCount",
// label: "Members",
// type: "number",
// order: 99, // adjust order as needed
// },
];
module.exports = { excludeAttributes, adminExclude, userExclude, jsonbSchemas, computedAttributes };