Skip to content

LuaSampleSummary ​

Type: Object

A Lua sample script without its source

Fields ​

NameTypeArgsDescriptionDeprecated
apis[String!]!Every ctx.* function the sample calls, derived from its source rather than declared
descriptionString!One line saying what the sample demonstrates
idString!Stable identifier, e.g. "graphql-list-customers"
roleLuaScriptRole!Which scripting surface the sample is written against
tierLuaSampleTier!RECIPE for task-shaped examples, SNIPPET for one function
titleString!Short human-readable name, for a menu entry

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