@fowgence/api-schema 1.0.1-dev.43212508244.0 → 1.0.1-dev.43331478487.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 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.43212508244.0",
3
+ "version": "1.0.1-dev.43331478487.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
@@ -12,8 +12,6 @@ type UserSettingModel {
12
12
  notificationReward: Flag
13
13
  notificationReply: Flag
14
14
  notificationMention: Flag
15
- notificationGroupFollowRequest: Flag
16
- notificationGroupJoinRequest: Flag
17
15
  notificationGroupNewPost: Flag
18
16
  notificationGroupReply: Flag
19
17
  systemLanguage: Language
@@ -442,11 +440,9 @@ type GroupModel {
442
440
  externalLinks: [ExternalLinkModel]
443
441
  membersCount: Int
444
442
  followersCount: Int
445
- joinRequestsCount: Int
446
443
  postsCount: Int
447
444
  isHost: Boolean
448
445
  isMember: Boolean
449
- isRequesting: Boolean
450
446
  isFollowing: Boolean
451
447
  }
452
448
 
@@ -510,7 +506,6 @@ enum NotificationTemplate {
510
506
  FOLLOW
511
507
  GROUP_FOLLOW
512
508
  GROUP_JOIN
513
- GROUP_JOIN_REQ
514
509
  }
515
510
 
516
511
  type PostModel {
@@ -570,7 +565,6 @@ type Query {
570
565
  groupMembers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
571
566
  groupFollowers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
572
567
  followingGroups(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupModel]
573
- joinRequests(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
574
568
  post(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
575
569
  aiPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
576
570
  searchPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!): [PostModel]
@@ -623,10 +617,7 @@ type Mutation {
623
617
  unfollowGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
624
618
  deleteMember(groupId: ID!, memberId: ID!): Boolean
625
619
  leaveGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
626
- createJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
627
- cancelJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
628
- acceptJoinRequest(groupId: ID!, memberId: ID!): Boolean
629
- declineJoinRequest(groupId: ID!, memberId: ID!): Boolean
620
+ joinGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
630
621
  createPost(data: CreatePost!): PostModel!
631
622
  deletePost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean!
632
623
  updateNotification(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
@@ -689,8 +680,6 @@ input UpdateUserSetting {
689
680
  notificationReward: Flag
690
681
  notificationReply: Flag
691
682
  notificationMention: Flag
692
- notificationGroupFollowRequest: Flag
693
- notificationGroupJoinRequest: Flag
694
683
  notificationGroupNewPost: Flag
695
684
  notificationGroupReply: Flag
696
685
  }