@fowgence/api-schema 1.0.1-dev.28378651340.0 → 1.0.1-dev.28658550544.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 +11 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.28378651340.0",
3
+ "version": "1.0.1-dev.28658550544.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
@@ -408,6 +408,7 @@ type CommentModel {
408
408
  createdAt: DateTime
409
409
  updatedAt: DateTime
410
410
  success: Boolean
411
+ parentId: String
411
412
  title: String
412
413
  content: String
413
414
  authorType: AuthorType
@@ -415,6 +416,11 @@ type CommentModel {
415
416
  medias: [Media]
416
417
  author: UserModel
417
418
  quotingComments: [CommentModel]
419
+ quotedCommentId: String
420
+ quoteType: QuoteType
421
+ quotedText: String
422
+ startIndex: Int
423
+ endIndex: Int
418
424
  children: [CommentModel]
419
425
  childrenCount: Int
420
426
  likesCount: Int
@@ -429,6 +435,11 @@ enum AuthorType {
429
435
  USER
430
436
  }
431
437
 
438
+ enum QuoteType {
439
+ QUOTE
440
+ CORRECT
441
+ }
442
+
432
443
  type GroupModel {
433
444
  id: ID!
434
445
  createdAt: DateTime
@@ -719,11 +730,6 @@ input CreateComment {
719
730
  askAi: Flag! = OFF
720
731
  }
721
732
 
722
- enum QuoteType {
723
- QUOTE
724
- CORRECT
725
- }
726
-
727
733
  enum ReportReason {
728
734
  SPAM
729
735
  SENSITIVE_CONTENT