---
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
fragment RegularError on FieldError {
|
||||
field
|
||||
message
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
fragment RegularPost on Post {
|
||||
id
|
||||
authorID
|
||||
title
|
||||
content
|
||||
createdAt
|
||||
updatedAt
|
||||
snippet
|
||||
points
|
||||
upvoted
|
||||
downvoted
|
||||
author {
|
||||
...RegularUser
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fragment RegularPostResponse on PostResponse {
|
||||
errors {
|
||||
...RegularError
|
||||
}
|
||||
post {
|
||||
...RegularPost
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fragment RegularUser on User {
|
||||
id
|
||||
email
|
||||
username
|
||||
password
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fragment RegularUserResponse on UserResponse {
|
||||
errors {
|
||||
...RegularError
|
||||
}
|
||||
user {
|
||||
...RegularUser
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user