@fowgence/api-schema 1.0.1-dev.23298829854.0 → 1.0.1-dev.23496316375.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 +5 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fowgence/api-schema",
3
- "version": "1.0.1-dev.23298829854.0",
3
+ "version": "1.0.1-dev.23496316375.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
@@ -336,7 +336,10 @@ type Query {
336
336
  groupFollowers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupFollowerModel]
337
337
  joinRequests(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [JoinRequestModel]
338
338
  post(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Post
339
- postsRecommendation(data: QueryPostsFeedModel!): [Post]
339
+ postsRecommend(data: QueryPostsFeedModel!): [Post]
340
+ postsHome(authorId: String, groupId: String, limit: Float, lastTimestamp: DateTime): [Post]
341
+ userPosts(authorId: String, groupId: String, limit: Float, lastTimestamp: DateTime): [Post]
342
+ groupPosts(authorId: String, groupId: String, limit: Float, lastTimestamp: DateTime): [Post]
340
343
  postPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Post
341
344
  postsRecommendationPublic(data: QueryPostsFeedModel!): [Post]
342
345
  searchPosts(searchTerm: String!, max: Float): [Post]
@@ -449,7 +452,6 @@ input UpdateGroup {
449
452
  }
450
453
 
451
454
  input CreatePost {
452
- id: ID!
453
455
  lon: Float
454
456
  lat: Float
455
457
  privacy: Privacy! = PUBLIC
@@ -507,5 +509,5 @@ type Subscription {
507
509
  unreadNotificationsCount: Int!
508
510
  unreadNotifications: [Notification!]!
509
511
  aiCommentAdded(postId: String!): String!
510
- commentAdded: [String!]!
512
+ aiReplyAdded(commentId: String!): [String!]!
511
513
  }