From 874e8a2fe03e964a2fc7bbd2f2640b0a409edbf7 Mon Sep 17 00:00:00 2001 From: JohnDoe6345789 Date: Tue, 30 Dec 2025 01:17:45 +0000 Subject: [PATCH] feat(dbal_demo): add DBAL Integration Demo package with TypeScript client and components --- packages/index.json | 21 +++++++++++++++++++++ packages/lua_test/src/lua-test-runner.ts | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/packages/index.json b/packages/index.json index 2ca9a1910..110a3b3a3 100644 --- a/packages/index.json +++ b/packages/index.json @@ -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", diff --git a/packages/lua_test/src/lua-test-runner.ts b/packages/lua_test/src/lua-test-runner.ts index b173fab8a..7e41baeeb 100644 --- a/packages/lua_test/src/lua-test-runner.ts +++ b/packages/lua_test/src/lua-test-runner.ts @@ -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