mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-27 07:14:56 +00:00
16 lines
378 B
Lua
16 lines
378 B
Lua
-- Gate module facade
|
|
-- Re-exports all gate functions for backward compatibility
|
|
|
|
local check_mod = require("gate.check")
|
|
local wrap_mod = require("gate.wrap")
|
|
|
|
---@class GateModule
|
|
---@field check fun(ctx: GateContext): CheckResult
|
|
---@field wrap fun(ctx: GateContext): UIComponent|table
|
|
local M = {}
|
|
|
|
M.check = check_mod.check
|
|
M.wrap = wrap_mod.wrap
|
|
|
|
return M
|