Files
metabuilder/packages/notification_center/scripts/functions.json
johndoe6345789 af80a8e761 feat(form_builder): add contact form with validation and submission handling
- Created contact-form.json defining the structure and validation for the contact form.
- Added package.json for form_builder package with dependencies and exports.
- Implemented functions.json for form field handlers and validation functions.
- Configured storybook for form_builder with various form field stories.
- Established style tokens for form fields including colors and spacing.
- Defined validation patterns and functions for form fields in validators.json.

feat(notification_center): introduce notification components and event handling

- Added ui.json for notification components including summary, toast, and list.
- Created schema.json for Notification entity with fields and relations.
- Implemented event handlers for notification events in handlers.json.
- Established package.json for notification_center with components and scripts.
- Developed functions.json for notification management and display functions.
- Configured storybook for notification_center with various notification stories.
- Defined style tokens for notifications including colors and spacing.
2026-01-02 15:34:42 +00:00

84 lines
2.0 KiB
JSON

{
"$schema": "https://metabuilder.dev/schemas/json-script.schema.json",
"schemaVersion": "2.2.0",
"package": "notification_center",
"description": "Notification management and display functions",
"functions": [
{
"id": "init_load",
"name": "loadNotifications",
"exported": true,
"description": "Load user notifications",
"category": "lifecycle",
"luaScript": "init.lua"
},
{
"id": "toast_show",
"name": "showToast",
"exported": true,
"description": "Display toast notification",
"category": "ui",
"luaScript": "toast.lua"
},
{
"id": "toast_dismiss",
"name": "dismiss",
"exported": true,
"description": "Dismiss toast notification",
"category": "ui",
"luaScript": "toast.lua"
},
{
"id": "list_mark_read",
"name": "markAsRead",
"exported": true,
"description": "Mark notification as read",
"category": "actions",
"luaScript": "list.lua"
},
{
"id": "list_dismiss",
"name": "dismiss",
"exported": true,
"description": "Dismiss notification",
"category": "actions",
"luaScript": "list.lua"
},
{
"id": "list_mark_all_read",
"name": "markAllAsRead",
"exported": true,
"description": "Mark all notifications as read",
"category": "actions",
"luaScript": "list.lua"
},
{
"id": "summary_prepare",
"name": "prepareSummary",
"exported": true,
"description": "Prepare notification summary data",
"category": "analytics",
"luaScript": "summary.lua"
},
{
"id": "summary_count_by_type",
"name": "countByType",
"exported": true,
"description": "Count notifications by type",
"category": "analytics",
"luaScript": "summary.lua"
}
],
"exports": {
"functions": [
"loadNotifications",
"showToast",
"dismiss",
"markAsRead",
"markAllAsRead",
"prepareSummary",
"countByType"
]
}
}