Files
metabuilder/codegen/src/data/data-binding-designer.json
johndoe6345789 a51130a127 feat: Add external low-code and postgres repositories
- codegen: Low-code React app with JSON-driven component system
- packagerepo: Schema-driven package repository with backend/frontend
- postgres: Next.js app with Drizzle ORM and PostgreSQL

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 16:48:52 +00:00

79 lines
1.7 KiB
JSON

{
"header": {
"title": "Data Binding Designer",
"description": "Connect UI components to KV storage and static data"
},
"bindingsCard": {
"title": "Component Bindings",
"description": "Example components with data bindings",
"emptyState": "No bindings configured",
"actionLabel": "Bind"
},
"howItWorks": {
"title": "How It Works",
"steps": [
"Create data sources (KV store for persistence, static for constants)",
"Bind component properties to data sources for reactive updates"
]
},
"seed": {
"dataSources": [
{
"id": "userProfile",
"type": "kv",
"key": "user-profile",
"defaultValue": {
"name": "John Doe",
"email": "john@example.com"
}
},
{
"id": "counter",
"type": "kv",
"key": "app-counter",
"defaultValue": 0
}
],
"components": [
{
"id": "title",
"type": "Heading",
"props": {
"className": "text-2xl font-bold"
},
"bindings": {
"children": {
"source": "userProfile",
"path": "name"
}
}
},
{
"id": "counter-display",
"type": "Text",
"props": {
"className": "text-lg"
},
"bindings": {
"children": {
"source": "counter"
}
}
},
{
"id": "email-input",
"type": "Input",
"props": {
"placeholder": "Enter email"
},
"bindings": {
"value": {
"source": "userProfile",
"path": "email"
}
}
}
]
}
}