Enums are a special schema type that represents a predefined list of possible values. This allows you to:
Use this document to guide you in using various enums throughout Insites.
Code example:
Values
Private.
Public (read-only).
Code example:
Values
Document count sort.
Alpha sort.
Code example:
Values
Ascending.
Descending.
Code example:
Values
A single-value metrics aggregation that keeps track and returns the average value among the values extracted from the aggregated documents.
A single-value metrics aggregation that keeps track and returns the maximum value among the values extracted from the aggregated documents.
A single-value metrics aggregation that keeps track and returns the minimum value among the values extracted from the aggregated documents.
A multi-bucket value source-based aggregation where buckets are dynamically built - one per unique value.
Code example:
Values
Default - max timeout: 5 minutes.
High - max timeout: 1 minute.
Low - max timeout: 4 hours.
Code example:
Values
Download.
Inline.
List of authentication providers.
Values
auth0.
Facebook.
Github.
Google.
Instagram.
LinkedIn.
Openid_connect.
Saml.
Twitter.
Background jobs type.
Values
Jobs that have failed max_attempts times and won't be retried anymore.
Jobs that have failed and are scheduled for a retry.
Jobs that are being processed at this moment.
Jobs that have been scheduled to be performed in the future.
Code example:
Values
Customization.
Transactable.
User.
User Profile.
Code example:
Values
Centimetres.
Kilometres.
Meters.
Miles.
Nautical Miles.
Yards.
Code example:
Values
Code example:
Values
Embed within both provided dimensions.
Crop to cover both provided dimensions.
Ignore the aspect ratio of the input and stretch to both provided dimensions.
Preserving the aspect ratio, resize the image to be as large as possible while ensuring its dimensions are less than or equal to those specified.
Preserving aspect ratio, resize the image to be as small as possible while ensuring its dimensions are greater than or equal to those specified. Some of these values are based on the object-fit CSS property.
Code example:
Values
Code example:
Values
List of available event types.
Values
Code example:
Values
Code example:
Values
All values should match.
Any value should match.
Code example:
Values
Code example:
Values
Code example:
Values
301 Moved Permanently.
302 Moved Temporarily.
Code example:
Values
Code example:
Values
pdf - body should be HTML to be converted to pdf.
text - choose it for things like CSV, json, XML, plain text etc.
Code example:
Values
Code example:
Values
An array of strings will be deprecated as the current implementation prevents arrays of other types.
Deprecated; please use string.
Code example:
Values
Code example:
Values
Code example:
Values
Embed within both provided dimensions.
Crop to cover both provided dimensions.
Ignore the aspect ratio of the input and stretch to both provided dimensions.
Preserving the aspect ratio, resize the image to be as large as possible while ensuring its dimensions are less than or equal to those specified.
Preserving aspect ratio, resize the image to be as small as possible while ensuring its dimensions are greater than or equal to those specified. Some of these values are based on the object-fit CSS property.
Code example:
Values
Code example:
Values
Match types for keywords.
Values
Match any characters on start and end foo.
Match any characters on start *foo.
Match whole words.
Match and allow typos. Keywodr -> Keyword.
Match any characters on end foo*.
Code example:
Values
For strings:
For strings:
Strategy how to set Translation JSON.
Values
Will do the deep merge with existing translations; nothing will be deleted.
It will remove all existing translations for the given key prefix and replace them with provided values.
Code example:
Values
Type for upload data.
Values
Image upload, generate versions.
Data for a PDF upload.
Data for a plain upload without any processing.
Code example:
Values
Code example:
Values
This topic is a compilation of knowledge found at Apollo GraphQL and GraphQL.org.
Didn't quite find what you are looking for or have feedback on how we can make the content better then we would love to hear from you. Please provide us feedback and we will get back to you shortly.