-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.generated.graphql
130 lines (115 loc) · 2.49 KB
/
schema.generated.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# THIS FILE HAS BEEN AUTO-GENERATED BY THE "GRAPHCOOL DEPLOY" COMMAND AT 2017-12-20T20:26:39.363Z
# DO NOT EDIT THIS FILE DIRECTLY
#
# Model Types
#
type Post implements Node {
id: ID!
isPublished: Boolean!
title: String!
text: String!
}
#
# Other Types
#
type Mutation {
createPost(data: PostCreateInput!): Post!
updatePost(data: PostUpdateInput!, where: PostWhereUniqueInput!): Post
deletePost(where: PostWhereUniqueInput!): Post
upsertPost(where: PostWhereUniqueInput!, create: PostCreateInput!, update: PostUpdateInput!): Post!
resetData: Boolean
}
interface Node {
id: ID!
}
type PageInfo {
hasNextPage: Boolean!
hasPreviousPage: Boolean!
startCursor: String
endCursor: String
}
type PostConnection {
pageInfo: PageInfo!
edges: [PostEdge]
}
input PostCreateInput {
isPublished: Boolean!
title: String!
text: String!
}
type PostEdge {
node: Post!
cursor: String!
}
enum PostOrderByInput {
id_ASC
id_DESC
isPublished_ASC
isPublished_DESC
title_ASC
title_DESC
text_ASC
text_DESC
}
input PostUpdateInput {
isPublished: Boolean
title: String
text: String
}
input PostWhereInput {
AND: [PostWhereInput!]
OR: [PostWhereInput!]
id: ID
id_not: ID
id_in: [ID!]
id_not_in: [ID!]
id_lt: ID
id_lte: ID
id_gt: ID
id_gte: ID
id_contains: ID
id_not_contains: ID
id_starts_with: ID
id_not_starts_with: ID
id_ends_with: ID
id_not_ends_with: ID
isPublished: Boolean
isPublished_not: Boolean
title: String
title_not: String
title_in: [String!]
title_not_in: [String!]
title_lt: String
title_lte: String
title_gt: String
title_gte: String
title_contains: String
title_not_contains: String
title_starts_with: String
title_not_starts_with: String
title_ends_with: String
title_not_ends_with: String
text: String
text_not: String
text_in: [String!]
text_not_in: [String!]
text_lt: String
text_lte: String
text_gt: String
text_gte: String
text_contains: String
text_not_contains: String
text_starts_with: String
text_not_starts_with: String
text_ends_with: String
text_not_ends_with: String
}
input PostWhereUniqueInput {
id: ID
}
type Query {
posts(where: PostWhereInput, orderBy: PostOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Post]!
post(where: PostWhereUniqueInput!): Post
postsConnection(where: PostWhereInput, orderBy: PostOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): PostConnection!
node(id: ID!): Node
}