@fowgence/api-schema 1.0.1-dev.31963282115.0 → 1.0.1-dev.32308683829.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.31963282115.0",
3
+ "version": "1.0.1-dev.32308683829.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
@@ -573,11 +573,13 @@ type Query {
573
573
  groupsPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
574
574
  groupMembersPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
575
575
  groupFollowersPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
576
+ followingGroupsPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupModel]
576
577
  group(name: String!): GroupModel
577
578
  myGroups: [GroupModel]
578
579
  groups(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
579
580
  groupMembers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
580
581
  groupFollowers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
582
+ followingGroups(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupModel]
581
583
  joinRequests(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
582
584
  post(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
583
585
  searchPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
@@ -630,6 +632,7 @@ type Mutation {
630
632
  declineFollowRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
631
633
  createGroup(data: CreateGroup!): GroupModel!
632
634
  updateGroup(data: UpdateGroup!): GroupModel!
635
+ updateGroupIcon(groupId: ID!, iconId: String!): Boolean!
633
636
  deleteGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
634
637
  followGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
635
638
  unfollowGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean