@fowgence/api-schema 1.0.1-dev.30671150189.0 → 1.0.1-dev.31055220696.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 +27 -11
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.31055220696.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,27 +558,39 @@ 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
- recommendPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
574
- postsHome(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
575
- aiPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
578
+ recommendPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
579
+ homePosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
580
+ aiPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
576
581
  userPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, authorId: ID!): [PostModel]
577
582
  groupPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, groupId: ID!): [PostModel]
578
- likedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
579
- bookmarkedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
580
- rewardedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
581
- postPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): PostModel
583
+ likedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
584
+ bookmarkedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
585
+ rewardedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
586
+ aiPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
587
+ homePostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
588
+ postPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
589
+ suggestPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
590
+ searchPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
591
+ recommendPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
592
+ userPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, authorId: ID!): [PostModel]
593
+ groupPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, groupId: ID!): [PostModel]
582
594
  notifications(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [NotificationModel]
583
595
  unreadCount: Int!
584
596
  rootAiComment(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): CommentModel!
@@ -589,7 +601,11 @@ type Query {
589
601
  bookmarkedComments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [CommentModel]
590
602
  rewardedComments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [CommentModel]
591
603
  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!
604
+ rootAiCommentPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): CommentModel!
605
+ commentsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!, excludeIds: [String]): [CommentModel!]!
606
+ repliesPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!, parentId: String!): [CommentModel!]!
607
+ commentPublic(postId: ID!, id: ID!): CommentModel!
608
+ userCommentsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, authorId: ID!): [CommentModel]
593
609
  }
594
610
 
595
611
  type Mutation {