-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathschema.graphql
53 lines (48 loc) · 886 Bytes
/
schema.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
type Dialect {
area: Int
completeBtnText: String
createdAt: ISO8601DateTime!
description: String!
id: ID!
nameEn: String
nameJp: String
nextBtnText: String
placeInfos: [PlaceInfo!]
startBtnText: String
updatedAt: ISO8601DateTime!
}
"""
An ISO 8601-encoded datetime
"""
scalar ISO8601DateTime
type Mutation {
"""
An example field added by the generator
"""
testField: String!
}
type PlaceInfo {
address: String
category: String
createdAt: ISO8601DateTime!
description: String
dialect: Dialect!
id: ID!
imageUrls: [String!]
latitude: Float
longtitude: Float
nameEn: String
nameJp: String
updatedAt: ISO8601DateTime!
website: String
}
type Query {
"""
Find a dialect by ID
"""
dialect(id: ID!): Dialect!
"""
Find place infos by dialect id
"""
placeInfos(category: String = null, dialectId: ID!): [PlaceInfo!]!
}