Files
metabuilder/packages/database_manager/scripts/functions.json
johndoe6345789 9284b9a67b Refactor function definitions across multiple packages to remove luaScript references
- Updated functions.json files in theme_editor, ui_auth, ui_footer, ui_header, ui_home, ui_intro, ui_level2, ui_level3, ui_level4, ui_level5, ui_level6, ui_login, ui_pages, ui_permissions, user_manager, and workflow_editor packages.
- Removed luaScript entries from function definitions, retaining only category and other relevant metadata.
- Adjusted documentation in prisma/README.md to remove LuaScript entity reference.
2026-01-07 14:54:33 +00:00

101 lines
2.7 KiB
JSON

{
"$schema": "https://metabuilder.dev/schemas/json-script.schema.json",
"schemaVersion": "2.2.0",
"package": "database_manager",
"description": "Database management functions for export, import, statistics, and operations",
"functions": [
{
"id": "db_get_statistics",
"name": "getStatistics",
"exported": true,
"description": "Retrieve database statistics including record counts for all entities",
"category": "statistics"
},
{
"id": "db_get_entity_count",
"name": "getEntityCount",
"exported": true,
"description": "Get record count for a specific entity",
"category": "statistics"
},
{
"id": "db_export_all",
"name": "exportDatabase",
"exported": true,
"description": "Export all database data to JSON format",
"category": "export"
},
{
"id": "db_export_entity",
"name": "exportEntity",
"exported": true,
"description": "Export a specific entity's data to JSON",
"category": "export"
},
{
"id": "db_import_all",
"name": "importDatabase",
"exported": true,
"description": "Import database data from JSON format",
"category": "import"
},
{
"id": "db_validate_import",
"name": "validateImportData",
"exported": true,
"description": "Validate import data before applying",
"category": "import"
},
{
"id": "db_initialize",
"name": "initializeDatabase",
"exported": true,
"description": "Initialize database with default schema and seed data",
"category": "operations"
},
{
"id": "db_clear",
"name": "clearDatabase",
"exported": true,
"description": "Clear all data from the database",
"category": "operations"
},
{
"id": "db_vacuum",
"name": "vacuumDatabase",
"exported": true,
"description": "Optimize database by reclaiming unused space",
"category": "operations"
},
{
"id": "db_get_entities",
"name": "getEntities",
"exported": true,
"description": "Get list of all database entities with metadata",
"category": "schema"
},
{
"id": "db_get_entity_schema",
"name": "getEntitySchema",
"exported": true,
"description": "Get schema definition for a specific entity",
"category": "schema"
}
],
"exports": {
"functions": [
"getStatistics",
"getEntityCount",
"exportDatabase",
"exportEntity",
"importDatabase",
"validateImportData",
"initializeDatabase",
"clearDatabase",
"vacuumDatabase",
"getEntities",
"getEntitySchema"
]
}
}