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