Skip to content

Commit 23dba48

Browse files
committed
fix(location): Fix typedef to match the code
We need some way to exercise the typedef. Maybe generate a client etc.
1 parent 8d4bda6 commit 23dba48

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/type-defs.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ module.exports = `
3131
speakers: [Contact],
3232
tickets: [Ticket],
3333
keywords: [String],
34-
country: Country,
35-
city: String,
36-
address: String
34+
location: Contact
3735
}
3836
3937
type Page {
@@ -51,13 +49,16 @@ module.exports = `
5149
image: String,
5250
type: String,
5351
social: Social,
54-
location: Location,
5552
keywords: [String],
5653
keynotes: [Session],
5754
lightningTalks: [Session],
5855
presentations: [Session],
5956
talks: [Session],
60-
workshops: [Session]
57+
workshops: [Session],
58+
location: Location,
59+
country: Country,
60+
city: String,
61+
address: String
6162
}
6263
6364
type Social {

0 commit comments

Comments
 (0)