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