Skip to content

LuaScriptRole ​

Type: Enum

Which scripting surface the source is being checked against.

Values ​

ValueDescriptionDeprecated
ARCHIVEArchive script context (ctx.archive.last_checkpoint, exports.schema, exports.next_chunk, optional exports.checkpoint).
CUSTOM_APPCustom app server script context (ctx.dataContainer., ctx.graphql., etc.)
EDGE_APPEdge app bundle handler context (bridge.*, gopher-lua runtime).
INTEGRATIONIntegration script context (ctx.integration., ctx.device., ctx.cache.*, etc.)
SCRIPTTenant Script context (base API only — no ctx.dataContainer, no ctx.rpc, no ctx.integration).
TEMPLATE_RESOLVERProduct-template resolver script context (stdlib plus ctx.time/json/log and ctx.script.load, with a vertical-typed input global). Not a Script resource role — the source lives inline on a template snapshot — but a real checkable surface, so it can be validated and described like the others.

Connect machines, automate workflows, and build custom apps for print production.