SwoffSwoff

GraphQL

Full schema for swoff.config.json features.graphql — every field, its type, default, and description.

features.graphql

Object-only feature (boolean shorthand not supported).

FieldTypeDefaultDescription
enabledbooleanfalseGenerate GraphQL wrapper (queryGql / mutateGql)
endpointsstring[]["/graphql"]GraphQL API endpoints. Supports multiple — pass endpointIndex to fetchWithCache(), useSwoffFetch(), queryGql(), or mutateGql() to select one.

On this page