@fowgence/api-schema 1.0.1-dev.29333917257.0 → 1.0.1-dev.29370553577.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 +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.29333917257.0",
3
+ "version": "1.0.1-dev.29370553577.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
@@ -394,6 +394,7 @@ type UserModel {
394
394
  commentsCount: Int
395
395
  remainingRewardsCount: Int
396
396
  isFollowing: Boolean
397
+ isRequesting: Boolean
397
398
  }
398
399
 
399
400
  enum UserRank {
@@ -551,6 +552,7 @@ type Query {
551
552
  followers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
552
553
  followings(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
553
554
  followRequests(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime): [UserItemModel]
555
+ publicUser(name: String!): UserModel
554
556
  searchUsers(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, term: String!): [UserModel!]
555
557
  group(name: String!): GroupModel
556
558
  searchGroups(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, term: String!): [GroupModel!]!