@fowgence/api-schema 1.0.1-dev.32536115374.0 → 1.0.1-dev.37059842943.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 +11 -11
package/package.json
CHANGED
package/schema.gql
CHANGED
|
@@ -583,21 +583,21 @@ type Query {
|
|
|
583
583
|
followingGroups(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupModel]
|
|
584
584
|
joinRequests(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
|
|
585
585
|
post(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
|
|
586
|
+
aiPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
|
|
586
587
|
searchPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
|
|
587
588
|
recommendPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
|
|
588
589
|
homePosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
|
|
589
|
-
aiPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
|
|
590
590
|
userPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, authorId: ID!): [PostModel]
|
|
591
591
|
groupPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, groupId: ID!): [PostModel]
|
|
592
592
|
likedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
|
|
593
593
|
bookmarkedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
|
|
594
594
|
rewardedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
|
|
595
|
-
aiPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
|
|
596
|
-
homePostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
|
|
597
|
-
postPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
|
|
598
595
|
suggestPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
|
|
596
|
+
postPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
|
|
597
|
+
aiPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
|
|
599
598
|
searchPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
|
|
600
599
|
recommendPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
|
|
600
|
+
homePostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
|
|
601
601
|
userPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, authorId: ID!): [PostModel]
|
|
602
602
|
groupPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, groupId: ID!): [PostModel]
|
|
603
603
|
notifications(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [NotificationModel]
|
|
@@ -649,19 +649,19 @@ type Mutation {
|
|
|
649
649
|
updateNotifications(ids: [String!]!): Boolean
|
|
650
650
|
createComment(data: CreateComment!): CommentModel!
|
|
651
651
|
createReply(data: CreateComment!): CommentModel!
|
|
652
|
-
deleteComment(commentId: ID!, postId: String
|
|
652
|
+
deleteComment(commentId: ID!, postId: String): Boolean
|
|
653
653
|
likePost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
654
654
|
unlikePost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
655
|
-
likeComment(commentId: ID!, postId: String
|
|
656
|
-
unlikeComment(commentId: ID!, postId: String
|
|
655
|
+
likeComment(commentId: ID!, postId: String): Boolean
|
|
656
|
+
unlikeComment(commentId: ID!, postId: String): Boolean
|
|
657
657
|
bookmarkPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
658
658
|
unbookmarkPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
659
|
-
bookmarkComment(commentId: ID!, postId: String
|
|
660
|
-
unbookmarkComment(commentId: ID!, postId: String
|
|
659
|
+
bookmarkComment(commentId: ID!, postId: String): Boolean
|
|
660
|
+
unbookmarkComment(commentId: ID!, postId: String): Boolean
|
|
661
661
|
rewardPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
662
662
|
unrewardPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
663
|
-
rewardComment(commentId: ID!, postId: String
|
|
664
|
-
unrewardComment(commentId: ID!, postId: String
|
|
663
|
+
rewardComment(commentId: ID!, postId: String): Boolean
|
|
664
|
+
unrewardComment(commentId: ID!, postId: String): Boolean
|
|
665
665
|
reportPost(postId: ID!, reason: ReportReason!): Boolean
|
|
666
666
|
reportComment(commentId: ID!, reason: ReportReason!): Boolean
|
|
667
667
|
}
|