mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 14:25:02 +00:00
- 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.
141 lines
3.6 KiB
JSON
141 lines
3.6 KiB
JSON
{
|
|
"$schema": "https://metabuilder.dev/schemas/json-script.schema.json",
|
|
"schemaVersion": "2.2.0",
|
|
"package": "github_tools",
|
|
"description": "GitHub Tools functions for fetching runs, analyzing data, and filtering results",
|
|
"functions": [
|
|
{
|
|
"id": "init_initialize",
|
|
"name": "initialize",
|
|
"exported": true,
|
|
"description": "Initialize the GitHub Tools package with configuration",
|
|
"category": "initialization"
|
|
},
|
|
{
|
|
"id": "fetch_runs_fetchRuns",
|
|
"name": "fetchRuns",
|
|
"exported": true,
|
|
"description": "Fetch workflow runs from GitHub API",
|
|
"category": "api"
|
|
},
|
|
{
|
|
"id": "fetch_runs_fetchJobs",
|
|
"name": "fetchJobs",
|
|
"exported": true,
|
|
"description": "Fetch jobs for a specific workflow run",
|
|
"category": "api"
|
|
},
|
|
{
|
|
"id": "fetch_runs_fetchLogs",
|
|
"name": "fetchLogs",
|
|
"exported": true,
|
|
"description": "Fetch logs for a specific job",
|
|
"category": "api"
|
|
},
|
|
{
|
|
"id": "analyze_calculateStats",
|
|
"name": "calculateStats",
|
|
"exported": true,
|
|
"description": "Calculate statistics from workflow runs",
|
|
"category": "analytics"
|
|
},
|
|
{
|
|
"id": "analyze_getSuccessTrend",
|
|
"name": "getSuccessTrend",
|
|
"exported": true,
|
|
"description": "Get trend data for success rate over time",
|
|
"category": "analytics"
|
|
},
|
|
{
|
|
"id": "analyze_getFailureBreakdown",
|
|
"name": "getFailureBreakdown",
|
|
"exported": true,
|
|
"description": "Get failure breakdown by type",
|
|
"category": "analytics"
|
|
},
|
|
{
|
|
"id": "filter_filterRuns",
|
|
"name": "filterRuns",
|
|
"exported": true,
|
|
"description": "Apply filters to workflow runs",
|
|
"category": "filtering"
|
|
},
|
|
{
|
|
"id": "filter_applyFilters",
|
|
"name": "applyFilters",
|
|
"exported": true,
|
|
"description": "Apply filters from form data",
|
|
"category": "filtering"
|
|
},
|
|
{
|
|
"id": "filter_sortRuns",
|
|
"name": "sortRuns",
|
|
"exported": true,
|
|
"description": "Sort runs by field",
|
|
"category": "filtering"
|
|
},
|
|
{
|
|
"id": "status_getStatusColor",
|
|
"name": "getStatusColor",
|
|
"exported": true,
|
|
"description": "Get color for run status",
|
|
"category": "display"
|
|
},
|
|
{
|
|
"id": "status_getStatusIcon",
|
|
"name": "getStatusIcon",
|
|
"exported": true,
|
|
"description": "Get icon name for run status",
|
|
"category": "display"
|
|
},
|
|
{
|
|
"id": "status_getStatusLabel",
|
|
"name": "getStatusLabel",
|
|
"exported": true,
|
|
"description": "Get human-readable status label",
|
|
"category": "display"
|
|
},
|
|
{
|
|
"id": "status_renderBadge",
|
|
"name": "renderBadge",
|
|
"exported": true,
|
|
"description": "Render status badge component",
|
|
"category": "display"
|
|
},
|
|
{
|
|
"id": "status_formatDuration",
|
|
"name": "formatDuration",
|
|
"exported": true,
|
|
"description": "Format duration in human-readable form",
|
|
"category": "display"
|
|
},
|
|
{
|
|
"id": "status_formatRelativeTime",
|
|
"name": "formatRelativeTime",
|
|
"exported": true,
|
|
"description": "Format timestamp as relative time",
|
|
"category": "display"
|
|
}
|
|
],
|
|
"exports": {
|
|
"functions": [
|
|
"initialize",
|
|
"fetchRuns",
|
|
"fetchJobs",
|
|
"fetchLogs",
|
|
"calculateStats",
|
|
"getSuccessTrend",
|
|
"getFailureBreakdown",
|
|
"filterRuns",
|
|
"applyFilters",
|
|
"sortRuns",
|
|
"getStatusColor",
|
|
"getStatusIcon",
|
|
"getStatusLabel",
|
|
"renderBadge",
|
|
"formatDuration",
|
|
"formatRelativeTime"
|
|
]
|
|
}
|
|
}
|