@fowgence/api-schema 1.0.1-dev.27971292097.0 → 1.0.1-dev.28378651340.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 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.27971292097.0",
3
+ "version": "1.0.1-dev.28378651340.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
@@ -479,6 +479,7 @@ type PostModel {
479
479
  content: String
480
480
  medias: [Media]
481
481
  author: UserModel
482
+ authorType: AuthorType
482
483
  group: GroupModel
483
484
  comments: [CommentModel!]
484
485
  tags: [String]
@@ -553,7 +554,7 @@ type Query {
553
554
  rewardedPosts(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime): [PostModel]
554
555
  postPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): PostModel
555
556
  notifications: [Notification]
556
- rootAiComment(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): CommentModel!
557
+ rootAiComment(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!): CommentModel!
557
558
  comment(postId: ID!, id: ID!): CommentModel!
558
559
  comments(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!, excludeIds: [String]): [CommentModel!]!
559
560
  userComments(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, authorId: ID!): [CommentModel]
@@ -714,6 +715,7 @@ input CreateComment {
714
715
  quoteType: QuoteType
715
716
  quotedText: String
716
717
  startIndex: Int
718
+ endIndex: Int
717
719
  askAi: Flag! = OFF
718
720
  }
719
721