@fowgence/api-schema 1.0.1-dev.37059842943.0 → 1.0.1-dev.39690715815.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 +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.37059842943.0",
3
+ "version": "1.0.1-dev.39690715815.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
@@ -526,6 +526,7 @@ type PostModel {
526
526
  createdAt: DateTime
527
527
  updatedAt: DateTime
528
528
  success: Boolean
529
+ thumbnailId: String
529
530
  title: String
530
531
  content: String
531
532
  medias: [Media]
@@ -602,18 +603,18 @@ type Query {
602
603
  groupPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, groupId: ID!): [PostModel]
603
604
  notifications(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [NotificationModel]
604
605
  unreadCount: Int!
605
- rootAiComment(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): CommentModel!
606
- comment(postId: ID!, id: ID!): CommentModel!
606
+ rootAiComment(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): CommentModel
607
+ comment(postId: ID!, id: ID!): CommentModel
607
608
  comments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!, excludeIds: [String]): [CommentModel!]!
608
609
  userComments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, authorId: ID!): [CommentModel]
609
610
  likedComments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [CommentModel]
610
611
  bookmarkedComments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [CommentModel]
611
612
  rewardedComments(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [CommentModel]
612
613
  replies(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!, parentId: String!): [CommentModel!]!
613
- rootAiCommentPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): CommentModel!
614
+ rootAiCommentPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): CommentModel
614
615
  commentsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!, excludeIds: [String]): [CommentModel!]!
615
616
  repliesPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!, parentId: String!): [CommentModel!]!
616
- commentPublic(postId: ID!, id: ID!): CommentModel!
617
+ commentPublic(postId: ID!, id: ID!): CommentModel
617
618
  userCommentsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, authorId: ID!): [CommentModel]
618
619
  }
619
620
 
@@ -693,7 +694,6 @@ input UpdateUser {
693
694
  displayName: String
694
695
  bio: String
695
696
  externalLinks: [UpsertExternalLink!]
696
- setting: UpdateUserSetting
697
697
  }
698
698
 
699
699
  input UpdateUserSetting {