@fowgence/api-schema 1.0.1-dev.30956725487.0 → 1.0.1-dev.31815769378.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 +15 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.30956725487.0",
3
+ "version": "1.0.1-dev.31815769378.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
@@ -368,6 +368,8 @@ type UserModel {
368
368
  createdAt: DateTime
369
369
  updatedAt: DateTime
370
370
  success: Boolean
371
+ iconId: String
372
+ backgroundId: String
371
373
  name: String
372
374
  displayName: String
373
375
  bio: String
@@ -467,6 +469,7 @@ type GroupMemberModel {
467
469
  success: Boolean
468
470
  role: MemberRole!
469
471
  userId: String
472
+ userIconId: String
470
473
  userName: String
471
474
  userDisplayName: String
472
475
  groupId: String
@@ -548,6 +551,7 @@ type UserItemModel {
548
551
  updatedAt: DateTime
549
552
  success: Boolean
550
553
  userId: String!
554
+ iconId: String!
551
555
  name: String!
552
556
  displayName: String!
553
557
  isFollowing: Boolean
@@ -575,19 +579,20 @@ type Query {
575
579
  joinRequests(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
576
580
  post(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
577
581
  searchPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
578
- recommendPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
579
- postsHome(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
580
- aiPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
582
+ recommendPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
583
+ homePosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
584
+ aiPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
581
585
  userPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, authorId: ID!): [PostModel]
582
586
  groupPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, groupId: ID!): [PostModel]
583
- likedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
584
- bookmarkedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
585
- rewardedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
586
- aiPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
587
+ likedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
588
+ bookmarkedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
589
+ rewardedPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
590
+ aiPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
591
+ homePostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
587
592
  postPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
588
593
  suggestPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
589
594
  searchPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
590
- recommendPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
595
+ recommendPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
591
596
  userPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, authorId: ID!): [PostModel]
592
597
  groupPostsPublic(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, groupId: ID!): [PostModel]
593
598
  notifications(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [NotificationModel]
@@ -655,6 +660,7 @@ type Mutation {
655
660
  }
656
661
 
657
662
  input CreateUser {
663
+ iconId: String!
658
664
  displayName: String!
659
665
  bio: String
660
666
  setting: CreateUserSetting!
@@ -676,6 +682,7 @@ input UpsertExternalLink {
676
682
  }
677
683
 
678
684
  input UpdateUser {
685
+ iconId: String
679
686
  displayName: String
680
687
  bio: String
681
688
  externalLinks: [UpsertExternalLink!]