Type alias Scalars

Scalars: {
    ID: string;
    String: string;
    Boolean: boolean;
    Int: number;
    Float: number;
    Address: Address;
    BigInt: bigint;
    DateTime: Date;
    Hash: Hash;
    Hex: Hex;
    Int64: any;
    JSON: object;
    Signature: Hex;
    Upload: any;
    Void: any;
}

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

Type declaration

  • ID: string
  • String: string
  • Boolean: boolean
  • Int: number
  • Float: number
  • Address: Address
  • BigInt: bigint
  • DateTime: Date

    Date with time (isoformat)

  • Hash: Hash
  • Hex: Hex
  • Int64: any

    64-bit integer as a JSON number.

  • JSON: object

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

  • Signature: Hex
  • Upload: any

    Represents a file upload.

  • Void: any

    Represents NULL values