@fowgence/api-schema 1.0.1-dev.30486461811.0 → 1.0.1-dev.30577928766.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 +6 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.30486461811.0",
3
+ "version": "1.0.1-dev.30577928766.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
@@ -433,6 +433,7 @@ type CommentModel {
433
433
  rewardsCount: Int
434
434
  isRewarded: Boolean
435
435
  isReported: Boolean
436
+ hasAccess: Boolean
436
437
  }
437
438
 
438
439
  enum AuthorType {
@@ -539,6 +540,7 @@ type PostModel {
539
540
  rewardsCount: Int
540
541
  isRewarded: Boolean
541
542
  isReported: Boolean
543
+ hasAccess: Boolean
542
544
  }
543
545
 
544
546
  type UserItemModel {
@@ -558,17 +560,17 @@ type Query {
558
560
  followings(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
559
561
  followRequests(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [UserItemModel]
560
562
  publicUser(name: String!): UserModel
561
- searchUsers(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!): [UserModel!]
563
+ searchUsers(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [UserModel!]
562
564
  group(name: String!): GroupModel
563
- searchGroups(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!): [GroupModel!]!
565
+ searchGroups(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [GroupModel!]!
564
566
  myGroups: [GroupModel]
565
567
  groups(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
566
568
  groupMembers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
567
569
  groupFollowers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
568
570
  joinRequests(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
569
571
  post(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
570
- suggestPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!): [PostModel]
571
- searchPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!): [PostModel]
572
+ suggestPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
573
+ searchPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!, privacy: Privacy): [PostModel]
572
574
  recommendPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
573
575
  postsHome(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]
574
576
  aiPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [PostModel]