@fowgence/api-schema 1.0.1-dev.32308683829.0 → 1.0.1-dev.32603385696.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schema.gql +8 -7
package/package.json
CHANGED
package/schema.gql
CHANGED
|
@@ -557,6 +557,7 @@ type UserItemModel {
|
|
|
557
557
|
name: String!
|
|
558
558
|
displayName: String!
|
|
559
559
|
isFollowing: Boolean
|
|
560
|
+
isRequesting: Boolean
|
|
560
561
|
}
|
|
561
562
|
|
|
562
563
|
type Query {
|
|
@@ -648,19 +649,19 @@ type Mutation {
|
|
|
648
649
|
updateNotifications(ids: [String!]!): Boolean
|
|
649
650
|
createComment(data: CreateComment!): CommentModel!
|
|
650
651
|
createReply(data: CreateComment!): CommentModel!
|
|
651
|
-
deleteComment(commentId: ID!, postId: String
|
|
652
|
+
deleteComment(commentId: ID!, postId: String): Boolean
|
|
652
653
|
likePost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
653
654
|
unlikePost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
654
|
-
likeComment(commentId: ID!, postId: String
|
|
655
|
-
unlikeComment(commentId: ID!, postId: String
|
|
655
|
+
likeComment(commentId: ID!, postId: String): Boolean
|
|
656
|
+
unlikeComment(commentId: ID!, postId: String): Boolean
|
|
656
657
|
bookmarkPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
657
658
|
unbookmarkPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
658
|
-
bookmarkComment(commentId: ID!, postId: String
|
|
659
|
-
unbookmarkComment(commentId: ID!, postId: String
|
|
659
|
+
bookmarkComment(commentId: ID!, postId: String): Boolean
|
|
660
|
+
unbookmarkComment(commentId: ID!, postId: String): Boolean
|
|
660
661
|
rewardPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
661
662
|
unrewardPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
662
|
-
rewardComment(commentId: ID!, postId: String
|
|
663
|
-
unrewardComment(commentId: ID!, postId: String
|
|
663
|
+
rewardComment(commentId: ID!, postId: String): Boolean
|
|
664
|
+
unrewardComment(commentId: ID!, postId: String): Boolean
|
|
664
665
|
reportPost(postId: ID!, reason: ReportReason!): Boolean
|
|
665
666
|
reportComment(commentId: ID!, reason: ReportReason!): Boolean
|
|
666
667
|
}
|