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