mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 14:25:02 +00:00
144 lines
5.6 KiB
JSON
144 lines
5.6 KiB
JSON
{
|
|
"entity": "Notification",
|
|
"version": "1.0",
|
|
"package": "notification_center",
|
|
"description": "Sample notifications demonstrating all notification types",
|
|
"records": [
|
|
{
|
|
"id": "clx1notif01welcome0",
|
|
"tenantId": "default",
|
|
"userId": "user_testuser",
|
|
"type": "success",
|
|
"title": "Welcome to MetaBuilder",
|
|
"message": "Your account has been created successfully. Explore the dashboard to get started with your first project.",
|
|
"icon": "celebration",
|
|
"read": true,
|
|
"data": "{\"action\": \"/dashboard\", \"source\": \"system\"}",
|
|
"createdAt": 0,
|
|
"expiresAt": null
|
|
},
|
|
{
|
|
"id": "clx1notif02deploysuc",
|
|
"tenantId": "default",
|
|
"userId": "user_testuser",
|
|
"type": "success",
|
|
"title": "Deployment Successful",
|
|
"message": "Your project 'MetaBuilder Frontend' has been deployed to production. Build time: 2m 34s. All health checks passing.",
|
|
"icon": "cloud_done",
|
|
"read": true,
|
|
"data": "{\"action\": \"/deployments/dep_frontend_prod\", \"buildId\": \"build_20260220_001\", \"environment\": \"production\"}",
|
|
"createdAt": 0,
|
|
"expiresAt": null
|
|
},
|
|
{
|
|
"id": "clx1notif03buildfail",
|
|
"tenantId": "default",
|
|
"userId": "user_testuser",
|
|
"type": "error",
|
|
"title": "Build Failed: DBAL Daemon",
|
|
"message": "The DBAL daemon build failed during the Conan dependency resolution step. Missing profile for linux-x86_64. Check the build logs for details.",
|
|
"icon": "error",
|
|
"read": false,
|
|
"data": "{\"action\": \"/builds/build_dbal_20260220\", \"logUrl\": \"/logs/dbal-build-error.log\", \"step\": \"conan-install\"}",
|
|
"createdAt": 0,
|
|
"expiresAt": null
|
|
},
|
|
{
|
|
"id": "clx1notif04securityw",
|
|
"tenantId": "default",
|
|
"userId": "user_testuser",
|
|
"type": "warning",
|
|
"title": "Security Advisory: npm Vulnerability",
|
|
"message": "7 moderate vulnerabilities detected in lodash via @prisma/dev. Production risk is low but review recommended. Run npm audit for details.",
|
|
"icon": "shield",
|
|
"read": false,
|
|
"data": "{\"action\": \"/security/advisories\", \"severity\": \"moderate\", \"count\": 7, \"package\": \"lodash\"}",
|
|
"createdAt": 0,
|
|
"expiresAt": null
|
|
},
|
|
{
|
|
"id": "clx1notif05mention01",
|
|
"tenantId": "default",
|
|
"userId": "user_testuser",
|
|
"type": "mention",
|
|
"title": "Mentioned in Thread",
|
|
"message": "admin mentioned you in 'How to configure DBAL with multiple database backends simultaneously': Thanks @testuser for the detailed reproduction steps.",
|
|
"icon": "alternate_email",
|
|
"read": false,
|
|
"data": "{\"action\": \"/forum/thread/clx1thr001dbalmulti\", \"threadTitle\": \"DBAL multiple backends\", \"mentionedBy\": \"admin\"}",
|
|
"createdAt": 0,
|
|
"expiresAt": null
|
|
},
|
|
{
|
|
"id": "clx1notif06replyfor",
|
|
"tenantId": "default",
|
|
"userId": "user_testuser",
|
|
"type": "reply",
|
|
"title": "New Reply to Your Thread",
|
|
"message": "admin replied to your thread 'Built a multiplayer Pong game using the game engine': This looks fantastic. The ECS approach with EnTT is exactly what we recommend.",
|
|
"icon": "reply",
|
|
"read": false,
|
|
"data": "{\"action\": \"/forum/thread/clx1thr003gameengin#clx1post06gameshow1\", \"threadId\": \"clx1thr003gameengin\", \"repliedBy\": \"admin\"}",
|
|
"createdAt": 0,
|
|
"expiresAt": null
|
|
},
|
|
{
|
|
"id": "clx1notif07likepost",
|
|
"tenantId": "default",
|
|
"userId": "user_testuser",
|
|
"type": "like",
|
|
"title": "Your Post Was Liked",
|
|
"message": "Your post in 'Workflow engine plugin development guide' received 5 new likes.",
|
|
"icon": "thumb_up",
|
|
"read": true,
|
|
"data": "{\"action\": \"/forum/thread/clx1thr002workflowd\", \"postId\": \"clx1post05wfplugin2\", \"likeCount\": 5}",
|
|
"createdAt": 0,
|
|
"expiresAt": null
|
|
},
|
|
{
|
|
"id": "clx1notif08sysupdat",
|
|
"tenantId": "default",
|
|
"userId": "user_testuser",
|
|
"type": "system",
|
|
"title": "System Maintenance Scheduled",
|
|
"message": "MetaBuilder will undergo scheduled maintenance on Sunday 02:00-04:00 UTC for database migration and index optimization. Expect brief downtime.",
|
|
"icon": "engineering",
|
|
"read": false,
|
|
"data": "{\"action\": \"/system/maintenance\", \"scheduledStart\": \"2026-02-23T02:00:00Z\", \"scheduledEnd\": \"2026-02-23T04:00:00Z\"}",
|
|
"createdAt": 0,
|
|
"expiresAt": null
|
|
},
|
|
{
|
|
"id": "clx1notif09followusr",
|
|
"tenantId": "default",
|
|
"userId": "user_testuser",
|
|
"type": "follow",
|
|
"title": "New Follower",
|
|
"message": "admin started following your activity. You now have 3 followers.",
|
|
"icon": "person_add",
|
|
"read": true,
|
|
"data": "{\"action\": \"/profile/user_admin_system\", \"followerId\": \"user_admin_system\", \"totalFollowers\": 3}",
|
|
"createdAt": 0,
|
|
"expiresAt": null
|
|
},
|
|
{
|
|
"id": "clx1notif10infopkg0",
|
|
"tenantId": "default",
|
|
"userId": "user_testuser",
|
|
"type": "info",
|
|
"title": "Package Update Available",
|
|
"message": "The forum_forge package has been updated to v1.2.0 with thread pinning, moderator tools, and improved search. Update from the Package Manager.",
|
|
"icon": "update",
|
|
"read": false,
|
|
"data": "{\"action\": \"/packages/forum_forge\", \"packageId\": \"forum_forge\", \"currentVersion\": \"1.1.0\", \"newVersion\": \"1.2.0\"}",
|
|
"createdAt": 0,
|
|
"expiresAt": null
|
|
}
|
|
],
|
|
"metadata": {
|
|
"bootstrap": false,
|
|
"skipIfExists": true,
|
|
"timestampField": "createdAt",
|
|
"useCurrentTimestamp": true
|
|
}
|
|
} |