Variable FUNCTION_EVENT_TYPESConst
FUNCTION_EVENT_TYPES: readonly (
| "graphql.field.mapping"
| "graphql.resourcetype.mapping"
| "graphql.query"
| "appevent.filter"
| "appevent.handler"
| "appevent.transformation"
| "appaction.call"
| "resources.search"
| "resources.lookup"
)[] = ...
Every event topic a Contentful Function can accept, as a plain array of string values.
Derived from FunctionTypeEnum so the two cannot drift: consumers that need the values as data (to build a JSON Schema
enum, or to check membership) read them from here, and consumers that need a named topic keep referencing the enum member.Typed as FunctionEventTopic, not as the enum, so a schema built by mapping over these values describes plain strings — matching the data that actually arrives over the wire.