-
-
Save sibelius/4c3ecff0dbc8fc475dd6843abdec5690 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type XYChartData { | |
x: Float! | |
y: Float! | |
label: String | |
} | |
type BarChart { | |
title: String | |
data: [XYChartData!]! | |
} | |
union Chart = BarChart | |
"""An edge in a connection.""" | |
type ChartEdge { | |
"""The item at the end of the edge""" | |
node: Chart! | |
"""A cursor for use in pagination""" | |
cursor: String! | |
} | |
"""A connection to a list of items.""" | |
type ChartConnection { | |
"""Information to aid in pagination.""" | |
pageInfo: PageInfo2! | |
"""A list of edges.""" | |
edges: [ChartEdge!]! | |
} | |
adminDashboard(from: Date!, to: Date): ChartConnection! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment