@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.
- package/package.json +1 -1
- package/schema.gql +3 -1
package/package.json
CHANGED
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(
|
|
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
|
|