OBJECT

CheermoteDisplayConfig

The CheermoteDisplayConfig provides information about how Cheermotes can be displayed This includes things like the possible sizes, colors, backgrounds, and display order.

link GraphQL Schema definition

1type CheermoteDisplayConfig {
2
3# A list of the backgrounds that a Cheermote can be rendered at. For example,
4# ["light", "dark"]
5# Although this is probably more accurately represented as an emum, these strings
6# are going to have to be used
7# when creating the full URL for a Cheermote from the template URL. Rather than
8# forcing each client to create the
9# same enum -> string mapping, we will just pass these directly as strings.
10backgrounds: [String!]!
11
12# A list of the colors that should be used to display text for each Cheer amount.
13colors: [CheermoteColorConfig!]!
14
15# A list of the order in which CheermoteTypes should be displayed.
16order: [CheermoteType!]!
17
18# A list of the scales that a Cheermote can be rendered at. For example, ["1",
19# "1.5", "2", "3", "4"]
20# Although this is probably more accurately represented as an emum, these strings
21# are going to have to be used
22# when creating the full URL for a Cheermote from the template URL. Rather than
23# forcing each client to create the
24# same enum -> string mapping, we will just pass these directly as strings.
25scales: [String!]!
26
27# A list of the display types available for Cheermotes.
28types: [CheermoteDisplayType!]!
29
30}