mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Add dubios vanished code again
This commit is contained in:
parent
d5afb6c790
commit
b2db3118f2
@ -1,3 +1,41 @@
|
|||||||
|
enum _CommentOrdering {
|
||||||
|
id_asc
|
||||||
|
id_desc
|
||||||
|
content_asc
|
||||||
|
content_desc
|
||||||
|
createdAt_asc
|
||||||
|
createdAt_desc
|
||||||
|
updatedAt_asc
|
||||||
|
updatedAt_desc
|
||||||
|
}
|
||||||
|
|
||||||
|
input _CommentFilter {
|
||||||
|
AND: [_CommentFilter!]
|
||||||
|
OR: [_CommentFilter!]
|
||||||
|
id: ID
|
||||||
|
id_not: ID
|
||||||
|
id_in: [ID!]
|
||||||
|
id_not_in: [ID!]
|
||||||
|
author: _UserFilter
|
||||||
|
author_not: _UserFilter
|
||||||
|
author_in: [_UserFilter!]
|
||||||
|
author_not_in: [_UserFilter!]
|
||||||
|
content: String
|
||||||
|
content_not: String
|
||||||
|
content_in: [String!]
|
||||||
|
content_not_in: [String!]
|
||||||
|
content_contains: String
|
||||||
|
content_not_contains: String
|
||||||
|
content_starts_with: String
|
||||||
|
content_not_starts_with: String
|
||||||
|
content_ends_with: String
|
||||||
|
content_not_ends_with: String
|
||||||
|
post: _PostFilter
|
||||||
|
post_not: _PostFilter
|
||||||
|
post_in: [_PostFilter!]
|
||||||
|
post_not_in: [_PostFilter!]
|
||||||
|
}
|
||||||
|
|
||||||
type Comment {
|
type Comment {
|
||||||
id: ID!
|
id: ID!
|
||||||
activityId: String
|
activityId: String
|
||||||
@ -20,6 +58,19 @@ type Comment {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Query {
|
||||||
|
Comment(
|
||||||
|
id: ID
|
||||||
|
content: String
|
||||||
|
createdAt: String
|
||||||
|
updatedAt: String
|
||||||
|
first: Int
|
||||||
|
offset: Int
|
||||||
|
orderBy: [_CommentOrdering]
|
||||||
|
filter: _CommentFilter
|
||||||
|
): [Comment]
|
||||||
|
}
|
||||||
|
|
||||||
type Mutation {
|
type Mutation {
|
||||||
CreateComment(
|
CreateComment(
|
||||||
id: ID
|
id: ID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user