@fowgence/api-schema 1.0.1-dev.31977884916.0 → 1.0.1-dev.32536115374.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 +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.31977884916.0",
3
+ "version": "1.0.1-dev.32536115374.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
@@ -557,6 +557,7 @@ type UserItemModel {
557
557
  name: String!
558
558
  displayName: String!
559
559
  isFollowing: Boolean
560
+ isRequesting: Boolean
560
561
  }
561
562
 
562
563
  type Query {
@@ -573,11 +574,13 @@ type Query {
573
574
  groupsPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
574
575
  groupMembersPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
575
576
  groupFollowersPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
577
+ followingGroupsPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupModel]
576
578
  group(name: String!): GroupModel
577
579
  myGroups: [GroupModel]
578
580
  groups(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
579
581
  groupMembers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
580
582
  groupFollowers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
583
+ followingGroups(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupModel]
581
584
  joinRequests(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
582
585
  post(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
583
586
  searchPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]