@fowgence/api-schema 1.0.1-dev.29751597869.0 → 1.0.1-dev.29940636211.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.29751597869.0",
3
+ "version": "1.0.1-dev.29940636211.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
@@ -506,6 +506,7 @@ type PostModel {
506
506
  commentsCount: Int
507
507
  topComments: [String]
508
508
  likesCount: Int
509
+ score: Float
509
510
  isLiked: Boolean
510
511
  isBookmarked: Boolean
511
512
  rewardsCount: Int
@@ -607,8 +608,9 @@ type Mutation {
607
608
  deleteMember(groupId: ID!, memberId: ID!): Boolean
608
609
  leaveGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
609
610
  createJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
610
- deleteJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
611
- acceptJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
611
+ cancelJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
612
+ acceptJoinRequest(groupId: ID!, memberId: ID!): Boolean
613
+ declineJoinRequest(groupId: ID!, memberId: ID!): Boolean
612
614
  createPost(data: CreatePost!): PostModel!
613
615
  deletePost(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!): Boolean!
614
616
  updateNotificationsByIds(data: IdsModel!): Boolean