@fowgence/api-schema 1.0.1-dev.28658550544.0 → 1.0.1-dev.29200847781.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 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.28658550544.0",
3
+ "version": "1.0.1-dev.29200847781.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
@@ -45,8 +45,8 @@ enum Theme {
45
45
  }
46
46
 
47
47
  enum Flag {
48
- OFF
49
48
  ON
49
+ OFF
50
50
  }
51
51
 
52
52
  enum Language {
@@ -390,6 +390,8 @@ type UserModel {
390
390
  receivedFollowRequestsCount: Int
391
391
  groupsCount: Int
392
392
  followingGroupsCount: Int
393
+ postsCount: Int
394
+ commentsCount: Int
393
395
  remainingRewardsCount: Int
394
396
  isFollowing: Boolean
395
397
  }
@@ -742,6 +744,8 @@ enum ReportReason {
742
744
  type Subscription {
743
745
  unreadNotificationsCount: Int!
744
746
  unreadNotifications: [Notification!]!
745
- aiCommentAdded(postId: String!): String!
746
- aiReplyAdded(commentId: String!): [String!]!
747
+ aiCommentAdded(postId: String!): CommentModel!
748
+ userCommentAdded(postId: String!): String!
749
+ aiReplyAdded(commentId: String!): CommentModel!
750
+ userReplyAdded(parentId: String!): String!
747
751
  }