Skip to content

Commit 247fdc0

Browse files
committed
update db schema
1 parent d57c9e2 commit 247fdc0

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

apollo-client/basic/server/database/schema.generated.graphql

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# THIS FILE HAS BEEN AUTO-GENERATED BY THE "GRAPHCOOL DEPLOY" COMMAND AT 2017-12-19T17:05:24.811Z
1+
# THIS FILE HAS BEEN AUTO-GENERATED BY THE "GRAPHCOOL DEPLOY"
22
# DO NOT EDIT THIS FILE DIRECTLY
33

44
#
@@ -18,12 +18,21 @@ type Post implements Node {
1818
# Other Types
1919
#
2020

21+
type BatchPayload {
22+
count: Long!
23+
}
24+
2125
scalar DateTime
2226

27+
scalar Long
28+
2329
type Mutation {
2430
createPost(data: PostCreateInput!): Post!
2531
updatePost(data: PostUpdateInput!, where: PostWhereUniqueInput!): Post
2632
deletePost(where: PostWhereUniqueInput!): Post
33+
upsertPost(where: PostWhereUniqueInput!, create: PostCreateInput!, update: PostUpdateInput!): Post!
34+
updatePosts(data: PostUpdateInput!, where: PostWhereInput!): BatchPayload!
35+
deletePosts(where: PostWhereInput!): BatchPayload!
2736
resetData: Boolean
2837
}
2938

@@ -40,7 +49,7 @@ type PageInfo {
4049

4150
type PostConnection {
4251
pageInfo: PageInfo!
43-
edges: [PostEdge]
52+
edges: [PostEdge!]
4453
}
4554

4655
input PostCreateInput {

0 commit comments

Comments
 (0)