mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 06:14:59 +00:00
148 lines
3.7 KiB
JSON
148 lines
3.7 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/json-script.schema.json",
|
|
"schemaVersion": "2.2.0",
|
|
"package": "user_manager",
|
|
"description": "User management business logic functions",
|
|
"functions": [
|
|
{
|
|
"id": "list_initialize",
|
|
"name": "initialize",
|
|
"exported": true,
|
|
"description": "Initialize user list with data loading",
|
|
"category": "lifecycle",
|
|
"luaScript": "list.lua"
|
|
},
|
|
{
|
|
"id": "list_filter_users",
|
|
"name": "filterUsers",
|
|
"exported": true,
|
|
"description": "Filter users based on search query",
|
|
"category": "data",
|
|
"luaScript": "list.lua"
|
|
},
|
|
{
|
|
"id": "list_sort_users",
|
|
"name": "sortUsers",
|
|
"exported": true,
|
|
"description": "Sort users by specified column",
|
|
"category": "data",
|
|
"luaScript": "list.lua"
|
|
},
|
|
{
|
|
"id": "list_select_user",
|
|
"name": "selectUser",
|
|
"exported": true,
|
|
"description": "Handle user selection",
|
|
"category": "data",
|
|
"luaScript": "list.lua"
|
|
},
|
|
{
|
|
"id": "list_refresh_users",
|
|
"name": "refreshUsers",
|
|
"exported": true,
|
|
"description": "Refresh user list from database",
|
|
"category": "data",
|
|
"luaScript": "list.lua"
|
|
},
|
|
{
|
|
"id": "actions_view_user",
|
|
"name": "viewUser",
|
|
"exported": true,
|
|
"description": "View detailed user information",
|
|
"category": "actions",
|
|
"luaScript": "actions.lua"
|
|
},
|
|
{
|
|
"id": "actions_edit_user",
|
|
"name": "editUser",
|
|
"exported": true,
|
|
"description": "Edit user profile and settings",
|
|
"category": "actions",
|
|
"luaScript": "actions.lua"
|
|
},
|
|
{
|
|
"id": "actions_create_user",
|
|
"name": "createUser",
|
|
"exported": true,
|
|
"description": "Create a new user account",
|
|
"category": "actions",
|
|
"luaScript": "actions.lua"
|
|
},
|
|
{
|
|
"id": "actions_delete_user",
|
|
"name": "deleteUser",
|
|
"exported": true,
|
|
"description": "Delete a user account",
|
|
"category": "actions",
|
|
"luaScript": "actions.lua"
|
|
},
|
|
{
|
|
"id": "actions_manage_permissions",
|
|
"name": "managePermissions",
|
|
"exported": true,
|
|
"description": "Manage user permissions and roles",
|
|
"category": "actions",
|
|
"luaScript": "actions.lua"
|
|
},
|
|
{
|
|
"id": "actions_ban_user",
|
|
"name": "banUser",
|
|
"exported": true,
|
|
"description": "Ban or suspend a user",
|
|
"category": "actions",
|
|
"luaScript": "actions.lua"
|
|
},
|
|
{
|
|
"id": "actions_activate_user",
|
|
"name": "activateUser",
|
|
"exported": true,
|
|
"description": "Activate a user account",
|
|
"category": "actions",
|
|
"luaScript": "actions.lua"
|
|
},
|
|
{
|
|
"id": "actions_deactivate_user",
|
|
"name": "deactivateUser",
|
|
"exported": true,
|
|
"description": "Deactivate a user account",
|
|
"category": "actions",
|
|
"luaScript": "actions.lua"
|
|
},
|
|
{
|
|
"id": "actions_reset_password",
|
|
"name": "resetPassword",
|
|
"exported": true,
|
|
"description": "Reset user password",
|
|
"category": "actions",
|
|
"luaScript": "actions.lua"
|
|
},
|
|
{
|
|
"id": "actions_send_email",
|
|
"name": "sendEmail",
|
|
"exported": true,
|
|
"description": "Send email to user",
|
|
"category": "actions",
|
|
"luaScript": "actions.lua"
|
|
}
|
|
],
|
|
"exports": {
|
|
"functions": [
|
|
"initialize",
|
|
"filterUsers",
|
|
"sortUsers",
|
|
"selectUser",
|
|
"refreshUsers",
|
|
"viewUser",
|
|
"editUser",
|
|
"createUser",
|
|
"deleteUser",
|
|
"managePermissions",
|
|
"banUser",
|
|
"activateUser",
|
|
"deactivateUser",
|
|
"resetPassword",
|
|
"sendEmail"
|
|
]
|
|
}
|
|
}
|