@fowgence/api-schema 1.0.1-dev.43104152178.0 → 1.0.1-dev.43212508244.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 +0 -11
package/package.json
CHANGED
package/schema.gql
CHANGED
|
@@ -11,7 +11,6 @@ type UserSettingModel {
|
|
|
11
11
|
notificationLike: Flag
|
|
12
12
|
notificationReward: Flag
|
|
13
13
|
notificationReply: Flag
|
|
14
|
-
notificationFollowRequest: Flag
|
|
15
14
|
notificationMention: Flag
|
|
16
15
|
notificationGroupFollowRequest: Flag
|
|
17
16
|
notificationGroupJoinRequest: Flag
|
|
@@ -372,14 +371,12 @@ type UserModel {
|
|
|
372
371
|
externalLinks: [ExternalLinkModel]
|
|
373
372
|
followingsCount: Int
|
|
374
373
|
followersCount: Int
|
|
375
|
-
receivedFollowRequestsCount: Int
|
|
376
374
|
groupsCount: Int
|
|
377
375
|
followingGroupsCount: Int
|
|
378
376
|
postsCount: Int
|
|
379
377
|
commentsCount: Int
|
|
380
378
|
remainingRewardsCount: Int
|
|
381
379
|
isFollowing: Boolean
|
|
382
|
-
isRequesting: Boolean
|
|
383
380
|
}
|
|
384
381
|
|
|
385
382
|
enum UserRank {
|
|
@@ -511,7 +508,6 @@ enum NotificationTemplate {
|
|
|
511
508
|
REPLY
|
|
512
509
|
REWARD
|
|
513
510
|
FOLLOW
|
|
514
|
-
FOLLOW_REQ
|
|
515
511
|
GROUP_FOLLOW
|
|
516
512
|
GROUP_JOIN
|
|
517
513
|
GROUP_JOIN_REQ
|
|
@@ -552,14 +548,12 @@ type UserItemModel {
|
|
|
552
548
|
name: String!
|
|
553
549
|
displayName: String!
|
|
554
550
|
isFollowing: Boolean
|
|
555
|
-
isRequesting: Boolean
|
|
556
551
|
}
|
|
557
552
|
|
|
558
553
|
type Query {
|
|
559
554
|
user(name: String!): UserModel
|
|
560
555
|
followers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
|
|
561
556
|
followings(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
|
|
562
|
-
followRequests(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int): [UserItemModel]
|
|
563
557
|
userPublic(name: String!): UserModel
|
|
564
558
|
followersPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
|
|
565
559
|
followingsPublic(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
|
|
@@ -621,10 +615,6 @@ type Mutation {
|
|
|
621
615
|
followUser(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
622
616
|
unfollowUser(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
623
617
|
blockUser(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
624
|
-
createFollowRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
625
|
-
deleteFollowRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
626
|
-
acceptFollowRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
627
|
-
declineFollowRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
628
618
|
createGroup(data: CreateGroup!): GroupModel!
|
|
629
619
|
updateGroup(data: UpdateGroup!): GroupModel!
|
|
630
620
|
updateGroupIcon(groupId: ID!, iconId: String!): Boolean!
|
|
@@ -698,7 +688,6 @@ input UpdateUserSetting {
|
|
|
698
688
|
notificationLike: Flag
|
|
699
689
|
notificationReward: Flag
|
|
700
690
|
notificationReply: Flag
|
|
701
|
-
notificationFollowRequest: Flag
|
|
702
691
|
notificationMention: Flag
|
|
703
692
|
notificationGroupFollowRequest: Flag
|
|
704
693
|
notificationGroupJoinRequest: Flag
|