Optional
adminThe admin secret password for Hasura metadata endpoint. Will be used as 'x-hasura-admin-secret' http header.
undefined
Optional
allowBoolean indicating if aggregation should be added into graphql schema.
true
Optional
autotrackBoolean indicating if Hasura initializer should automatically track existing entities.
false
Optional
autotrackedThe entity and column names overrides, additional relationships definitions when autotracking used.
Optional
customThe custom mapping of tables, columns and relationships definitions. Useful especially for tracking and configuring views.
Optional
dropBoolean indicating if Hasura metadata (tracking tables and relationships, and permissions) should be cleared before its recreation.
false
Optional
namingNaming style for generated graphql schema relationships.
A value 'noTransformation'
or 'snakeCase'
.
'noTransformation'
Optional
selectNumber indicating limit of rows returned by graphql query.
An integer with minimum 1
.
100
Optional
sourceThe Hasura database source.
'default'
Optional
urlThe url where Hasura endpoints are available on.
An absolute URL string.
undefined
(no Hasura is used)
Generated using TypeDoc
Configures Hasura for the indexer app. This is used as a part of DappetizerConfigUsingDb.
Example
Sample usage (all properties specified explicitly) within
dappetizer.config.ts
file: