ColorPalette Object

Root Connection

All ColorPalette objects of an account are accessible by a query on the root connection colorPalettes. Such a query will return a ColorPaletteConnection!, which contains the ColorPalette objects in its nodes field.

colorPalettes (ColorPaletteConnection!)

Root connection for retrieving ColorPalette records.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

filter ColorPaletteFilter

Filter to determine which ColorPalette records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

Fields

The fields in this section list which values can be retrieved when querying ColorPalette records.

account (Account)

The account this record belongs to.

createdAt (ISO8601Timestamp)

The date and time at which the record was created.

disabled (Boolean)

Whether the color palette may no longer be selected.

id (ID!)

Unique identifier of the record.

name (String)

The name of the color palette.

source (String)

An identifier for the client application submitting the resource or the name of an external system.

sourceID (String)

The unique identifier of the resource in an external system.

updatedAt (ISO8601Timestamp)

The date and time of the last update of the record. If the record has no updates it contains the createdAt value.

Connections

The connection fields in this section allow (paged) access to objects related to a specific ColorPalette record. The actual objects will be in the nodes field of the connection.

basicColors (PaletteColorConnection)

Basic colors of the color palette, which the charts use in this order.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

specialColors (PaletteColorConnection)

Special colors of the color palette, such as the colors of target states, impact levels and heatmaps.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

Implements

ColorPalette implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a ColorPalette.