@fowgence/api-schema 1.0.1-dev.29267372076.0 → 1.0.1-dev.29356875194.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 +8 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.29267372076.0",
3
+ "version": "1.0.1-dev.29356875194.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 {
@@ -474,9 +475,13 @@ type GroupMemberModel {
474
475
  createdAt: DateTime
475
476
  updatedAt: DateTime
476
477
  success: Boolean
477
- userId: String!
478
- userName: String!
479
478
  role: MemberRole!
479
+ userId: String
480
+ userName: String
481
+ userDisplayName: String
482
+ groupId: String
483
+ groupName: String
484
+ groupDisplayName: String
480
485
  }
481
486
 
482
487
  enum MemberRole {
@@ -551,7 +556,7 @@ type Query {
551
556
  group(name: String!): GroupModel
552
557
  searchGroups(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, term: String!): [GroupModel!]!
553
558
  myGroups: [GroupModel]
554
- groups(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupModel]
559
+ groups(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
555
560
  groupMembers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
556
561
  groupFollowers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
557
562
  joinRequests(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]