mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-26 06:44:58 +00:00
docs: script,nextjs,lua (3 files)
This commit is contained in:
@@ -93,4 +93,4 @@ add_test(NAME integration_tests COMMAND integration_tests)
|
||||
add_test(NAME conformance_tests COMMAND conformance_tests)
|
||||
|
||||
install(TARGETS dbal_daemon DESTINATION bin)
|
||||
install(DIRECTORY include/dbal DESTINATION include)
|
||||
install(DIRECTORY ${DBAL_INCLUDE_DIR}/dbal DESTINATION include)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { LuaScript } from '../../types/level-types'
|
||||
import { normalizeAllowedGlobals } from '../../lua/functions/sandbox/normalize-allowed-globals'
|
||||
import type { LuaScript } from '../../../types/level-types'
|
||||
import { normalizeAllowedGlobals } from '../../../lua/functions/sandbox/globals/normalize-allowed-globals'
|
||||
|
||||
export function buildLuaScriptUpdate(updates: Partial<LuaScript>): Record<string, unknown> {
|
||||
const data: Record<string, unknown> = {}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { LuaScript } from '../../types/level-types'
|
||||
import { normalizeAllowedGlobals } from '../../lua/functions/sandbox/normalize-allowed-globals'
|
||||
import type { LuaScript } from '../../../types/level-types'
|
||||
import { normalizeAllowedGlobals } from '../../../lua/functions/sandbox/globals/normalize-allowed-globals'
|
||||
|
||||
export function serializeLuaScript(script: LuaScript): Record<string, unknown> {
|
||||
const allowedGlobals = normalizeAllowedGlobals(script.allowedGlobals)
|
||||
|
||||
Reference in New Issue
Block a user