Appearance
LuaSampleSummary
Type: Object
A Lua sample script without its source
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| apis | [String!]! | Every ctx.* function the sample calls, derived from its source rather than declared | ||
| description | String! | One line saying what the sample demonstrates | ||
| id | String! | Stable identifier, e.g. "graphql-list-customers" | ||
| role | LuaScriptRole! | Which scripting surface the sample is written against | ||
| tier | LuaSampleTier! | RECIPE for task-shaped examples, SNIPPET for one function | ||
| title | String! | Short human-readable name, for a menu entry |