Files
metabuilder/frontends/nextjs/src/lib/db/lua-scripts/delete-lua-script.ts
JohnDoe6345789 78c2d1af50 feat(seed): add seed data module and tests for database initialization
feat(types): introduce builder and level types for component and user roles

feat(workflow): implement workflow engine with execution context and logging

style(theme): create modular theme exports for consistent styling

chore(tests): add comprehensive tests for workflow execution and Lua nodes
2025-12-25 17:33:26 +00:00

10 lines
234 B
TypeScript

import { getAdapter } from '../dbal-client'
/**
* Delete a Lua script by ID
*/
export async function deleteLuaScript(scriptId: string): Promise<void> {
const adapter = getAdapter()
await adapter.delete('LuaScript', scriptId)
}