feat(dbal_demo): add DBAL Integration Demo package with TypeScript client and components

This commit is contained in:
2025-12-30 01:17:45 +00:00
parent 10702418ac
commit 874e8a2fe0
2 changed files with 22 additions and 1 deletions

View File

@@ -154,6 +154,27 @@
},
"minLevel": 2
},
{
"packageId": "dbal_demo",
"name": "DBAL Demo",
"version": "1.0.0",
"description": "DBAL Integration Demo - Demonstrates TypeScript DBAL client with MetaBuilder including KV store, blob storage, and caching.",
"icon": "🗄️",
"author": "MetaBuilder Team",
"category": "demo",
"dependencies": [],
"exports": {
"components": ["DBALDemo", "KVStorePanel", "BlobStoragePanel", "CachedDataPanel"],
"luaScripts": ["init", "kv_operations", "blob_operations", "cache_operations", "connection"]
},
"tags": ["dbal", "demo", "kv-store", "blob-storage", "cache"],
"minLevel": 3,
"bindings": {
"dbal": true,
"browser": false
},
"requiredHooks": ["dbal", "kv_store", "blob_storage", "cached_data"]
},
{
"packageId": "irc_webchat",
"name": "IRC Webchat",

View File

@@ -3,7 +3,7 @@
* TypeScript utilities for running Lua tests from packages
*/
import type { JsonValue } from '@/types/utility-types'
type JsonValue = string | number | boolean | null | JsonValue[] | { [key: string]: JsonValue }
export interface LuaTestResult {
name: string