@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schema.gql +28 -28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.29940636211.0",
3
+ "version": "1.0.1-dev.30053331020.0",
4
4
  "description": "Auto-generated GraphQL schema for the Next.js frontend",
5
5
  "main": "schema.gql",
6
6
  "files": [
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: Float! = 20, lastId: String, lastTimestamp: DateTime): [UserItemModel]
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: Float! = 20, lastId: String, lastTimestamp: DateTime, term: String!): [UserModel!]
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: Float! = 20, lastId: String, lastTimestamp: DateTime, term: String!): [GroupModel!]!
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: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!): PostModel
567
- suggestPosts(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, term: String!): [PostModel]
568
- searchPosts(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, term: String!): [PostModel]
569
- recommendPosts(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime): [PostModel]
570
- postsHome(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime): [PostModel]
571
- aiPosts(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime): [PostModel]
572
- userPosts(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, authorId: ID!): [PostModel]
573
- groupPosts(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, groupId: ID!): [PostModel]
574
- likedPosts(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime): [PostModel]
575
- bookmarkedPosts(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime): [PostModel]
576
- rewardedPosts(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime): [PostModel]
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: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!): CommentModel!
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: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!, excludeIds: [String]): [CommentModel!]!
582
- userComments(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, authorId: ID!): [CommentModel]
583
- likedComments(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime): [CommentModel]
584
- bookmarkedComments(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime): [CommentModel]
585
- rewardedComments(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime): [CommentModel]
586
- replies(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!, parentId: String!): [CommentModel!]!
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: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!): Boolean!
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: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!): Boolean
624
- unlikePost(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!): Boolean
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: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!): Boolean
628
- unbookmarkPost(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!): Boolean
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: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!): Boolean
632
- unrewardPost(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!): Boolean
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