Appearance
LuaScriptRole
Type: Enum
Which scripting surface the source is being checked against.
Values
| Value | Description | Deprecated |
|---|---|---|
ARCHIVE | Archive script context (ctx.archive.last_checkpoint, exports.schema, exports.next_chunk, optional exports.checkpoint). | |
CUSTOM_APP | Custom app server script context (ctx.dataContainer., ctx.graphql., etc.) | |
EDGE_APP | Edge app bundle handler context (bridge.*, gopher-lua runtime). | |
INTEGRATION | Integration script context (ctx.integration., ctx.device., ctx.cache.*, etc.) | |
SCRIPT | Tenant Script context (base API only — no ctx.dataContainer, no ctx.rpc, no ctx.integration). | |
TEMPLATE_RESOLVER | Product-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. |