@fowgence/api-schema 1.0.1-dev.30671150189.0 → 1.0.1-dev.30956725487.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 +20 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.30671150189.0",
3
+ "version": "1.0.1-dev.30956725487.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
@@ -558,17 +558,22 @@ type Query {
558
558
  followers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
559
559
  followings(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
560
560
  followRequests(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [UserItemModel]
561
- publicUser(name: String!): UserModel
561
+ userPublic(name: String!): UserModel
562
+ followersPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
563
+ followingsPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
562
564
  searchUsers(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [UserModel!]
565
+ groupPublic(name: String!): GroupModel
566
+ searchGroups(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [GroupModel]
567
+ groupsPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
568
+ groupMembersPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
569
+ groupFollowersPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
563
570
  group(name: String!): GroupModel
564
- searchGroups(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [GroupModel!]!
565
571
  myGroups: [GroupModel]
566
572
  groups(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
567
573
  groupMembers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
568
574
  groupFollowers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
569
575
  joinRequests(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
570
576
  post(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
571
- suggestPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
572
577
  searchPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
573
578
  recommendPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
574
579
  postsHome(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
@@ -578,7 +583,13 @@ type Query {
578
583
  likedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
579
584
  bookmarkedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
580
585
  rewardedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
581
- postPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): PostModel
586
+ aiPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
587
+ postPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
588
+ suggestPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
589
+ searchPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
590
+ recommendPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
591
+ userPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, authorId: ID!): [PostModel]
592
+ groupPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, groupId: ID!): [PostModel]
582
593
  notifications(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [NotificationModel]
583
594
  unreadCount: Int!
584
595
  rootAiComment(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): CommentModel!
@@ -589,7 +600,11 @@ type Query {
589
600
  bookmarkedComments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [CommentModel]
590
601
  rewardedComments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [CommentModel]
591
602
  replies(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!, parentId: String!): [CommentModel!]!
592
- rootAiCommentPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): CommentModel!
603
+ rootAiCommentPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): CommentModel!
604
+ commentsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!, excludeIds: [String]): [CommentModel!]!
605
+ repliesPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!, parentId: String!): [CommentModel!]!
606
+ commentPublic(postId: ID!, id: ID!): CommentModel!
607
+ userCommentsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, authorId: ID!): [CommentModel]
593
608
  }
594
609
 
595
610
  type Mutation {