@fowgence/api-schema 1.0.1-dev.43104152178.0 → 1.0.1-dev.43230874029.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 +1 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.43104152178.0",
3
+ "version": "1.0.1-dev.43230874029.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
@@ -11,10 +11,8 @@ type UserSettingModel {
11
11
  notificationLike: Flag
12
12
  notificationReward: Flag
13
13
  notificationReply: Flag
14
- notificationFollowRequest: Flag
15
14
  notificationMention: Flag
16
15
  notificationGroupFollowRequest: Flag
17
- notificationGroupJoinRequest: Flag
18
16
  notificationGroupNewPost: Flag
19
17
  notificationGroupReply: Flag
20
18
  systemLanguage: Language
@@ -372,14 +370,12 @@ type UserModel {
372
370
  externalLinks: [ExternalLinkModel]
373
371
  followingsCount: Int
374
372
  followersCount: Int
375
- receivedFollowRequestsCount: Int
376
373
  groupsCount: Int
377
374
  followingGroupsCount: Int
378
375
  postsCount: Int
379
376
  commentsCount: Int
380
377
  remainingRewardsCount: Int
381
378
  isFollowing: Boolean
382
- isRequesting: Boolean
383
379
  }
384
380
 
385
381
  enum UserRank {
@@ -445,11 +441,9 @@ type GroupModel {
445
441
  externalLinks: [ExternalLinkModel]
446
442
  membersCount: Int
447
443
  followersCount: Int
448
- joinRequestsCount: Int
449
444
  postsCount: Int
450
445
  isHost: Boolean
451
446
  isMember: Boolean
452
- isRequesting: Boolean
453
447
  isFollowing: Boolean
454
448
  }
455
449
 
@@ -511,10 +505,8 @@ enum NotificationTemplate {
511
505
  REPLY
512
506
  REWARD
513
507
  FOLLOW
514
- FOLLOW_REQ
515
508
  GROUP_FOLLOW
516
509
  GROUP_JOIN
517
- GROUP_JOIN_REQ
518
510
  }
519
511
 
520
512
  type PostModel {
@@ -552,14 +544,12 @@ type UserItemModel {
552
544
  name: String!
553
545
  displayName: String!
554
546
  isFollowing: Boolean
555
- isRequesting: Boolean
556
547
  }
557
548
 
558
549
  type Query {
559
550
  user(name: String!): UserModel
560
551
  followers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
561
552
  followings(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
562
- followRequests(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [UserItemModel]
563
553
  userPublic(name: String!): UserModel
564
554
  followersPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
565
555
  followingsPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
@@ -576,7 +566,6 @@ type Query {
576
566
  groupMembers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
577
567
  groupFollowers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
578
568
  followingGroups(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupModel]
579
- joinRequests(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
580
569
  post(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
581
570
  aiPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
582
571
  searchPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!): [PostModel]
@@ -621,10 +610,6 @@ type Mutation {
621
610
  followUser(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
622
611
  unfollowUser(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
623
612
  blockUser(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
624
- createFollowRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
625
- deleteFollowRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
626
- acceptFollowRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
627
- declineFollowRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
628
613
  createGroup(data: CreateGroup!): GroupModel!
629
614
  updateGroup(data: UpdateGroup!): GroupModel!
630
615
  updateGroupIcon(groupId: ID!, iconId: String!): Boolean!
@@ -633,10 +618,7 @@ type Mutation {
633
618
  unfollowGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
634
619
  deleteMember(groupId: ID!, memberId: ID!): Boolean
635
620
  leaveGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
636
- createJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
637
- cancelJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
638
- acceptJoinRequest(groupId: ID!, memberId: ID!): Boolean
639
- declineJoinRequest(groupId: ID!, memberId: ID!): Boolean
621
+ joinGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
640
622
  createPost(data: CreatePost!): PostModel!
641
623
  deletePost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean!
642
624
  updateNotification(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
@@ -698,10 +680,8 @@ input UpdateUserSetting {
698
680
  notificationLike: Flag
699
681
  notificationReward: Flag
700
682
  notificationReply: Flag
701
- notificationFollowRequest: Flag
702
683
  notificationMention: Flag
703
684
  notificationGroupFollowRequest: Flag
704
- notificationGroupJoinRequest: Flag
705
685
  notificationGroupNewPost: Flag
706
686
  notificationGroupReply: Flag
707
687
  }