@fowgence/api-schema 1.0.1-dev.30099910224.0 → 1.0.1-dev.30132354559.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 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.30099910224.0",
3
+ "version": "1.0.1-dev.30132354559.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
@@ -497,7 +497,7 @@ type NotificationModel {
497
497
  success: Boolean
498
498
  template: NotificationTemplate
499
499
  readAt: DateTime
500
- user: UserModel
500
+ receiver: UserModel
501
501
  sender: UserModel
502
502
  group: GroupModel
503
503
  postId: String
@@ -577,7 +577,7 @@ type Query {
577
577
  bookmarkedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
578
578
  rewardedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
579
579
  postPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): PostModel
580
- notifications: [NotificationModel]
580
+ notifications(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [NotificationModel]
581
581
  rootAiComment(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): CommentModel!
582
582
  comment(postId: ID!, id: ID!): CommentModel!
583
583
  comments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!, excludeIds: [String]): [CommentModel!]!