@fowgence/api-schema 1.0.1-dev.41532381896.0 → 1.0.1-dev.42131439627.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 +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.41532381896.0",
3
+ "version": "1.0.1-dev.42131439627.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
@@ -422,6 +422,7 @@ type CommentModel {
422
422
  isBookmarked: Boolean
423
423
  rewardsCount: Int
424
424
  isRewarded: Boolean
425
+ ratesCount: Int
425
426
  isRatedGood: Boolean
426
427
  isRatedBad: Boolean
427
428
  isReported: Boolean
@@ -663,7 +664,7 @@ type Mutation {
663
664
  bookmarkComment(commentId: ID!, postId: String): Boolean
664
665
  unbookmarkComment(commentId: ID!, postId: String): Boolean
665
666
  rateComment(commentId: ID!, type: RateType!): Boolean
666
- unrateComment(commentId: ID!, postId: String): Boolean
667
+ unrateComment(commentId: ID!, type: RateType!): Boolean
667
668
  rewardPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
668
669
  unrewardPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
669
670
  rewardComment(commentId: ID!, postId: String): Boolean