-
-
Save sibelius/4c3ecff0dbc8fc475dd6843abdec5690 to your computer and use it in GitHub Desktop.
Revisions
-
janicduplessis created this gist
Aug 17, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ 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!