@fowgence/api-schema 1.0.1-dev.32536115374.0 → 1.0.1-dev.32603385696.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 +7 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.32536115374.0",
3
+ "version": "1.0.1-dev.32603385696.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
@@ -649,19 +649,19 @@ type Mutation {
649
649
  updateNotifications(ids: [String!]!): Boolean
650
650
  createComment(data: CreateComment!): CommentModel!
651
651
  createReply(data: CreateComment!): CommentModel!
652
- deleteComment(commentId: ID!, postId: String!): Boolean
652
+ deleteComment(commentId: ID!, postId: String): Boolean
653
653
  likePost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
654
654
  unlikePost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
655
- likeComment(commentId: ID!, postId: String!): Boolean
656
- unlikeComment(commentId: ID!, postId: String!): Boolean
655
+ likeComment(commentId: ID!, postId: String): Boolean
656
+ unlikeComment(commentId: ID!, postId: String): Boolean
657
657
  bookmarkPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
658
658
  unbookmarkPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
659
- bookmarkComment(commentId: ID!, postId: String!): Boolean
660
- unbookmarkComment(commentId: ID!, postId: String!): Boolean
659
+ bookmarkComment(commentId: ID!, postId: String): Boolean
660
+ unbookmarkComment(commentId: ID!, postId: String): Boolean
661
661
  rewardPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
662
662
  unrewardPost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean
663
- rewardComment(commentId: ID!, postId: String!): Boolean
664
- unrewardComment(commentId: ID!, postId: String!): Boolean
663
+ rewardComment(commentId: ID!, postId: String): Boolean
664
+ unrewardComment(commentId: ID!, postId: String): Boolean
665
665
  reportPost(postId: ID!, reason: ReportReason!): Boolean
666
666
  reportComment(commentId: ID!, reason: ReportReason!): Boolean
667
667
  }