-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathschema.generated.graphql
155 lines (137 loc) · 3.2 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# THIS FILE HAS BEEN AUTO-GENERATED BY THE "GRAPHCOOL DEPLOY"
# DO NOT EDIT THIS FILE DIRECTLY
#
# Model Types
#
type Post implements Node {
id: ID!
createdAt: DateTime!
updatedAt: DateTime!
description: String!
imageUrl: String!
}
#
# Other Types
#
type BatchPayload {
count: Long!
}
scalar DateTime
scalar Long
type Mutation {
createPost(data: PostCreateInput!): Post!
updatePost(data: PostUpdateInput!, where: PostWhereUniqueInput!): Post
deletePost(where: PostWhereUniqueInput!): Post
upsertPost(where: PostWhereUniqueInput!, create: PostCreateInput!, update: PostUpdateInput!): Post!
updatePosts(data: PostUpdateInput!, where: PostWhereInput!): BatchPayload!
deletePosts(where: PostWhereInput!): BatchPayload!
resetData: Boolean
}
interface Node {
id: ID!
}
type PageInfo {
hasNextPage: Boolean!
hasPreviousPage: Boolean!
startCursor: String
endCursor: String
}
type PostConnection {
pageInfo: PageInfo!
edges: [PostEdge!]
}
input PostCreateInput {
description: String!
imageUrl: String!
}
type PostEdge {
node: Post!
cursor: String!
}
enum PostOrderByInput {
id_ASC
id_DESC
createdAt_ASC
createdAt_DESC
updatedAt_ASC
updatedAt_DESC
description_ASC
description_DESC
imageUrl_ASC
imageUrl_DESC
}
input PostUpdateInput {
description: String
imageUrl: 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
createdAt: DateTime
createdAt_not: DateTime
createdAt_in: [DateTime!]
createdAt_not_in: [DateTime!]
createdAt_lt: DateTime
createdAt_lte: DateTime
createdAt_gt: DateTime
createdAt_gte: DateTime
updatedAt: DateTime
updatedAt_not: DateTime
updatedAt_in: [DateTime!]
updatedAt_not_in: [DateTime!]
updatedAt_lt: DateTime
updatedAt_lte: DateTime
updatedAt_gt: DateTime
updatedAt_gte: DateTime
description: String
description_not: String
description_in: [String!]
description_not_in: [String!]
description_lt: String
description_lte: String
description_gt: String
description_gte: String
description_contains: String
description_not_contains: String
description_starts_with: String
description_not_starts_with: String
description_ends_with: String
description_not_ends_with: String
imageUrl: String
imageUrl_not: String
imageUrl_in: [String!]
imageUrl_not_in: [String!]
imageUrl_lt: String
imageUrl_lte: String
imageUrl_gt: String
imageUrl_gte: String
imageUrl_contains: String
imageUrl_not_contains: String
imageUrl_starts_with: String
imageUrl_not_starts_with: String
imageUrl_ends_with: String
imageUrl_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
}