@fowgence/api-schema 1.0.1-dev.43212508244.0 → 1.0.1-dev.43230874029.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 +1 -10
package/package.json
CHANGED
package/schema.gql
CHANGED
|
@@ -13,7 +13,6 @@ type UserSettingModel {
|
|
|
13
13
|
notificationReply: Flag
|
|
14
14
|
notificationMention: Flag
|
|
15
15
|
notificationGroupFollowRequest: Flag
|
|
16
|
-
notificationGroupJoinRequest: Flag
|
|
17
16
|
notificationGroupNewPost: Flag
|
|
18
17
|
notificationGroupReply: Flag
|
|
19
18
|
systemLanguage: Language
|
|
@@ -442,11 +441,9 @@ type GroupModel {
|
|
|
442
441
|
externalLinks: [ExternalLinkModel]
|
|
443
442
|
membersCount: Int
|
|
444
443
|
followersCount: Int
|
|
445
|
-
joinRequestsCount: Int
|
|
446
444
|
postsCount: Int
|
|
447
445
|
isHost: Boolean
|
|
448
446
|
isMember: Boolean
|
|
449
|
-
isRequesting: Boolean
|
|
450
447
|
isFollowing: Boolean
|
|
451
448
|
}
|
|
452
449
|
|
|
@@ -510,7 +507,6 @@ enum NotificationTemplate {
|
|
|
510
507
|
FOLLOW
|
|
511
508
|
GROUP_FOLLOW
|
|
512
509
|
GROUP_JOIN
|
|
513
|
-
GROUP_JOIN_REQ
|
|
514
510
|
}
|
|
515
511
|
|
|
516
512
|
type PostModel {
|
|
@@ -570,7 +566,6 @@ type Query {
|
|
|
570
566
|
groupMembers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupMemberModel]
|
|
571
567
|
groupFollowers(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
|
|
572
568
|
followingGroups(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [GroupModel]
|
|
573
|
-
joinRequests(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): [UserItemModel]
|
|
574
569
|
post(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): PostModel
|
|
575
570
|
aiPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, language: Language): [PostModel]
|
|
576
571
|
searchPosts(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, term: String!): [PostModel]
|
|
@@ -623,10 +618,7 @@ type Mutation {
|
|
|
623
618
|
unfollowGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
624
619
|
deleteMember(groupId: ID!, memberId: ID!): Boolean
|
|
625
620
|
leaveGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
626
|
-
|
|
627
|
-
cancelJoinRequest(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
628
|
-
acceptJoinRequest(groupId: ID!, memberId: ID!): Boolean
|
|
629
|
-
declineJoinRequest(groupId: ID!, memberId: ID!): Boolean
|
|
621
|
+
joinGroup(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
630
622
|
createPost(data: CreatePost!): PostModel!
|
|
631
623
|
deletePost(lastScore: Float, limit: Int! = 20, lastId: String, lastTimestamp: DateTime, offset: Int, postId: ID!): Boolean!
|
|
632
624
|
updateNotification(id: ID!, limit: Float, lastId: String, lastTimestamp: Int): Boolean
|
|
@@ -690,7 +682,6 @@ input UpdateUserSetting {
|
|
|
690
682
|
notificationReply: Flag
|
|
691
683
|
notificationMention: Flag
|
|
692
684
|
notificationGroupFollowRequest: Flag
|
|
693
|
-
notificationGroupJoinRequest: Flag
|
|
694
685
|
notificationGroupNewPost: Flag
|
|
695
686
|
notificationGroupReply: Flag
|
|
696
687
|
}
|