@fowgence/api-schema 1.0.1-dev.29940636211.0 → 1.0.1-dev.30053331020.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 +28 -28
package/package.json
CHANGED
package/schema.gql
CHANGED
|
@@ -553,37 +553,37 @@ type Query {
|
|
|
553
553
|
user(name: String!): UserModel
|
|
554
554
|
followers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
|
|
555
555
|
followings(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
|
|
556
|
-
followRequests(lastScore: Float, limit:
|
|
556
|
+
followRequests(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [UserItemModel]
|
|
557
557
|
publicUser(name: String!): UserModel
|
|
558
|
-
searchUsers(lastScore: Float, limit:
|
|
558
|
+
searchUsers(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!): [UserModel!]
|
|
559
559
|
group(name: String!): GroupModel
|
|
560
|
-
searchGroups(lastScore: Float, limit:
|
|
560
|
+
searchGroups(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!): [GroupModel!]!
|
|
561
561
|
myGroups: [GroupModel]
|
|
562
562
|
groups(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
|
|
563
563
|
groupMembers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
|
|
564
564
|
groupFollowers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
|
|
565
565
|
joinRequests(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
|
|
566
|
-
post(lastScore: Float, limit:
|
|
567
|
-
suggestPosts(lastScore: Float, limit:
|
|
568
|
-
searchPosts(lastScore: Float, limit:
|
|
569
|
-
recommendPosts(lastScore: Float, limit:
|
|
570
|
-
postsHome(lastScore: Float, limit:
|
|
571
|
-
aiPosts(lastScore: Float, limit:
|
|
572
|
-
userPosts(lastScore: Float, limit:
|
|
573
|
-
groupPosts(lastScore: Float, limit:
|
|
574
|
-
likedPosts(lastScore: Float, limit:
|
|
575
|
-
bookmarkedPosts(lastScore: Float, limit:
|
|
576
|
-
rewardedPosts(lastScore: Float, limit:
|
|
566
|
+
post(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
|
|
567
|
+
suggestPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!): [PostModel]
|
|
568
|
+
searchPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!): [PostModel]
|
|
569
|
+
recommendPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
|
|
570
|
+
postsHome(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
|
|
571
|
+
aiPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
|
|
572
|
+
userPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, authorId: ID!): [PostModel]
|
|
573
|
+
groupPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, groupId: ID!): [PostModel]
|
|
574
|
+
likedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
|
|
575
|
+
bookmarkedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
|
|
576
|
+
rewardedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
|
|
577
577
|
postPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): PostModel
|
|
578
578
|
notifications: [Notification]
|
|
579
|
-
rootAiComment(lastScore: Float, limit:
|
|
579
|
+
rootAiComment(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): CommentModel!
|
|
580
580
|
comment(postId: ID!, id: ID!): CommentModel!
|
|
581
|
-
comments(lastScore: Float, limit:
|
|
582
|
-
userComments(lastScore: Float, limit:
|
|
583
|
-
likedComments(lastScore: Float, limit:
|
|
584
|
-
bookmarkedComments(lastScore: Float, limit:
|
|
585
|
-
rewardedComments(lastScore: Float, limit:
|
|
586
|
-
replies(lastScore: Float, limit:
|
|
581
|
+
comments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!, excludeIds: [String]): [CommentModel!]!
|
|
582
|
+
userComments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, authorId: ID!): [CommentModel]
|
|
583
|
+
likedComments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [CommentModel]
|
|
584
|
+
bookmarkedComments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [CommentModel]
|
|
585
|
+
rewardedComments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [CommentModel]
|
|
586
|
+
replies(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!, parentId: String!): [CommentModel!]!
|
|
587
587
|
rootAiCommentPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): CommentModel!
|
|
588
588
|
}
|
|
589
589
|
|
|
@@ -612,7 +612,7 @@ type Mutation {
|
|
|
612
612
|
acceptJoinRequest(groupId: ID!, memberId: ID!): Boolean
|
|
613
613
|
declineJoinRequest(groupId: ID!, memberId: ID!): Boolean
|
|
614
614
|
createPost(data: CreatePost!): PostModel!
|
|
615
|
-
deletePost(lastScore: Float, limit:
|
|
615
|
+
deletePost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean!
|
|
616
616
|
updateNotificationsByIds(data: IdsModel!): Boolean
|
|
617
617
|
updateGroupNotification(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
618
618
|
updatePostNotification(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
@@ -620,16 +620,16 @@ type Mutation {
|
|
|
620
620
|
createComment(data: CreateComment!): CommentModel!
|
|
621
621
|
createReply(data: CreateComment!): CommentModel!
|
|
622
622
|
deleteComment(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
623
|
-
likePost(lastScore: Float, limit:
|
|
624
|
-
unlikePost(lastScore: Float, limit:
|
|
623
|
+
likePost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
624
|
+
unlikePost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
625
625
|
likeComment(commentId: ID!): Boolean
|
|
626
626
|
unlikeComment(commentId: ID!): Boolean
|
|
627
|
-
bookmarkPost(lastScore: Float, limit:
|
|
628
|
-
unbookmarkPost(lastScore: Float, limit:
|
|
627
|
+
bookmarkPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
628
|
+
unbookmarkPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
629
629
|
bookmarkComment(commentId: ID!): Boolean
|
|
630
630
|
unbookmarkComment(commentId: ID!): Boolean
|
|
631
|
-
rewardPost(lastScore: Float, limit:
|
|
632
|
-
unrewardPost(lastScore: Float, limit:
|
|
631
|
+
rewardPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
632
|
+
unrewardPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
|
|
633
633
|
rewardComment(commentId: ID!): Boolean
|
|
634
634
|
unrewardComment(commentId: ID!): Boolean
|
|
635
635
|
reportPost(postId: ID!, reason: ReportReason!): Boolean
|