crelte / queries / QueryOptions
Type Alias: QueryOptions
ts
type QueryOptions = object;Options to configure the request
If you use Crelte*.query the following options will be set automatically:
- path
- route
- previewToken
- siteToken
Properties
bearerToken?
ts
optional bearerToken: string;A GraphQl Token generated in Craft
caching?
ts
optional caching: boolean;Configure caching
Default
ts
truepreviewToken?
ts
optional previewToken: string;Usually automatically set
siteToken?
ts
optional siteToken: string;Usually automatically set