@fowgence/api-schema 1.0.1-dev.29695970567.0 → 1.0.1-dev.29784184402.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 +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.29695970567.0",
3
+ "version": "1.0.1-dev.29784184402.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
@@ -461,6 +461,7 @@ type GroupModel {
461
461
  postsCount: Int
462
462
  isHost: Boolean
463
463
  isMember: Boolean
464
+ isRequesting: Boolean
464
465
  isFollowing: Boolean
465
466
  }
466
467
 
@@ -606,8 +607,9 @@ type Mutation {
606
607
  deleteMember(groupId: ID!, memberId: ID!): Boolean
607
608
  leaveGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
608
609
  createJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
609
- deleteJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
610
- acceptJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
610
+ cancelJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
611
+ acceptJoinRequest(groupId: ID!, memberId: ID!): Boolean
612
+ declineJoinRequest(groupId: ID!, memberId: ID!): Boolean
611
613
  createPost(data: CreatePost!): PostModel!
612
614
  deletePost(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!): Boolean!
613
615
  updateNotificationsByIds(data: IdsModel!): Boolean