@fowgence/api-schema 1.0.2 → 1.0.3-90.1

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 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.2",
3
+ "version": "1.0.3-90.1",
4
4
  "description": "Auto-generated GraphQL schema for the Next.js frontend",
5
5
  "main": "schema.gql",
6
6
  "files": [
package/schema.gql CHANGED
@@ -15,7 +15,7 @@ type UserSettingModel {
15
15
  notificationGroupNewPost: Flag
16
16
  notificationGroupReply: Flag
17
17
  systemLanguage: Language
18
- postsLanguages: [Language!]
18
+ contentLanguages: [Language!]
19
19
  country: Country
20
20
  }
21
21
 
@@ -552,8 +552,16 @@ type Query {
552
552
  userPublic(name: String!): UserModel
553
553
  followersPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
554
554
  followingsPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
555
+
556
+ """
557
+ Search users by name or display name and return public bios and profile counts.
558
+ """
555
559
  searchUsers(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!): [UserModel!]
556
560
  groupPublic(name: String!): GroupModel
561
+
562
+ """
563
+ Search groups by name or display name and return public bios and profile counts.
564
+ """
557
565
  searchGroups(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!): [GroupModel]
558
566
  groupsPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
559
567
  groupMembersPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
@@ -654,7 +662,7 @@ input CreateUser {
654
662
  input CreateUserSetting {
655
663
  theme: Theme
656
664
  systemLanguage: Language!
657
- postsLanguages: [Language!]!
665
+ contentLanguages: [Language!]!
658
666
  country: Country!
659
667
  }
660
668
 
@@ -674,7 +682,7 @@ input UpdateUser {
674
682
  input UpdateUserSetting {
675
683
  theme: Theme
676
684
  systemLanguage: Language
677
- postsLanguages: [Language!]
685
+ contentLanguages: [Language!]
678
686
  country: Country
679
687
  notificationLike: Flag
680
688
  notificationReward: Flag