@fowgence/api-schema 1.0.1-dev.29751597869.0 → 1.0.1-dev.29940636211.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.
- package/package.json +1 -1
- package/schema.gql +4 -2
package/package.json
CHANGED
package/schema.gql
CHANGED
|
@@ -506,6 +506,7 @@ type PostModel {
|
|
|
506
506
|
commentsCount: Int
|
|
507
507
|
topComments: [String]
|
|
508
508
|
likesCount: Int
|
|
509
|
+
score: Float
|
|
509
510
|
isLiked: Boolean
|
|
510
511
|
isBookmarked: Boolean
|
|
511
512
|
rewardsCount: Int
|
|
@@ -607,8 +608,9 @@ type Mutation {
|
|
|
607
608
|
deleteMember(groupId: ID!, memberId: ID!): Boolean
|
|
608
609
|
leaveGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
609
610
|
createJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
610
|
-
|
|
611
|
-
acceptJoinRequest(
|
|
611
|
+
cancelJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
612
|
+
acceptJoinRequest(groupId: ID!, memberId: ID!): Boolean
|
|
613
|
+
declineJoinRequest(groupId: ID!, memberId: ID!): Boolean
|
|
612
614
|
createPost(data: CreatePost!): PostModel!
|
|
613
615
|
deletePost(lastScore: Float, limit: Float! = 20, lastId: String, lastTimestamp: DateTime, postId: ID!): Boolean!
|
|
614
616
|
updateNotificationsByIds(data: IdsModel!): Boolean
|