• Public
  • Public/Protected
  • All

All built-in and custom scalars, mapped to their actual values


  • Scalars



Boolean: boolean

The Boolean scalar type represents true or false.

CurrencyAmount: string

Represents an amount of some currency. Specified as a string so user's aren't tempted to do math on the value.

DateTime: Date

A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the date-time format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.

EmailAddress: string

A field whose value conforms to the standard internet email address format as specified in RFC822: https://www.w3.org/Protocols/rfc822/.

Float: number

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

GadgetID: string

The ID of a record in Gadget

HydrationPlan: unknown

Instructions for a client to turn raw transport types (like strings) into useful client side types (like Dates). Unstable and not intended for developer use.

ISO8601DateString: string

Represents a UTC date formatted an ISO-8601 formatted 'full-date' string.

Int: number

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

JSON: null | string | any[] | {}

The JSON scalar type represents JSON values as specified by ECMA-404.

JSONObject: {}

The JSONObject scalar type represents JSON objects as specified by ECMA-404.

Type declaration

  • [key: string]: any
RecordState: string | {}

Represents the state of one record in a Gadget database. Represented as either a string or set of strings nested in objects.

String: string

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

URL: string

A field whose value conforms to the standard URL format as specified in RFC3986: https://www.ietf.org/rfc/rfc3986.txt.

Upload: File

A file object produced by a browser for uploading to cloud storage

Generated using TypeDoc