Last active
January 23, 2018 18:36
-
-
Save brygrill/420b6273d842f3d66882b4ec48e3f797 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
const typeDefs = ` | |
scalar Coordinates | |
type PointGeometry { | |
type: String! | |
coordinates: Coordinates! | |
} | |
type PointProps { | |
id: Int! | |
lat: Float | |
lon: Float | |
} | |
type PointObject { | |
type: String! | |
geometry: PointGeometry | |
properties: PointProps | |
} | |
type FeatureCollection { | |
type: String! | |
features: [PointObject] | |
} | |
type Query { | |
transit_feed: FeatureCollection | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment