wamygraphql 0.1.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/README.md +2 -0
- package/fragments.graphql +272 -0
- package/mutation/account.graphql +11 -0
- package/mutation/attributes/collections/pets.graphql +57 -0
- package/mutation/attributes/uois/sports.graphql +27 -0
- package/mutation/auth.graphql +73 -0
- package/mutation/buddying.graphql +11 -0
- package/mutation/checkIn.graphql +13 -0
- package/mutation/comment.graphql +8 -0
- package/mutation/invite.graphql +3 -0
- package/mutation/locationCreation.graphql +21 -0
- package/mutation/membering.graphql +23 -0
- package/mutation/message.graphql +14 -0
- package/mutation/notification.graphql +3 -0
- package/mutation/page/collection.graphql +7 -0
- package/mutation/page/image/avatar.graphql +17 -0
- package/mutation/page/image/page.graphql +21 -0
- package/mutation/page/image/subject.graphql +6 -0
- package/mutation/page/post/post.graphql +11 -0
- package/mutation/page/profile/arena.graphql +3 -0
- package/mutation/page/profile/event.graphql +3 -0
- package/mutation/page/profile/game.graphql +92 -0
- package/mutation/page/profile/gameCreate.graphql +3 -0
- package/mutation/page/profile/leaderboard.graphql +3 -0
- package/mutation/page/profile/market.graphql +3 -0
- package/mutation/page/profile/marketCollection.graphql +3 -0
- package/mutation/page/profile/me.graphql +27 -0
- package/mutation/page/profile/profile.graphql +13 -0
- package/mutation/page/profile/socialMedia.graphql +14 -0
- package/mutation/page/profile/team.graphql +3 -0
- package/mutation/reaction.graphql +11 -0
- package/mutation/reply.graphql +17 -0
- package/package.json +11 -0
- package/query/account.graphql +10 -0
- package/query/attributes/collections/pets.graphql +25 -0
- package/query/attributes/uois/sports.graphql +15 -0
- package/query/autocompleteAddress.graphql +17 -0
- package/query/buddying.graphql +24 -0
- package/query/checkIn.graphql +54 -0
- package/query/comment.graphql +23 -0
- package/query/interest.graphql +26 -0
- package/query/location.graphql +30 -0
- package/query/membering.graphql +76 -0
- package/query/message.graphql +23 -0
- package/query/notifications.graphql +5 -0
- package/query/page/collection.graphql +91 -0
- package/query/page/image/page.graphql +6 -0
- package/query/page/loi.graphql +50 -0
- package/query/page/post/post.graphql +107 -0
- package/query/page/profile/arena.graphql +34 -0
- package/query/page/profile/entity.graphql +16 -0
- package/query/page/profile/event.graphql +43 -0
- package/query/page/profile/game.graphql +149 -0
- package/query/page/profile/leaderboard.graphql +128 -0
- package/query/page/profile/market.graphql +110 -0
- package/query/page/profile/profile.graphql +39 -0
- package/query/page/profile/profilesByCreatorID.graphql +9 -0
- package/query/page/profile/socialMedia.graphql +14 -0
- package/query/page/profile/team.graphql +24 -0
- package/query/page/profile/uoi.graphql +25 -0
- package/query/page/profile/uoiNearby.graphql +8 -0
- package/query/page/profile/user.graphql +17 -0
- package/query/reaction.graphql +15 -0
- package/query/reply.graphql +15 -0
- package/query/rss.graphql +25 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
mutation mutAddPlayerToDuelGame(
|
|
2
|
+
$input: AddPlayerToDuelGameInput!,
|
|
3
|
+
$skipPlayer1: Boolean!,
|
|
4
|
+
$skipPlayer2: Boolean!
|
|
5
|
+
) {
|
|
6
|
+
mutAddPlayerToDuelGame(input: $input) {
|
|
7
|
+
gameID
|
|
8
|
+
playerType
|
|
9
|
+
player1 @skip(if: $skipPlayer1) {
|
|
10
|
+
id
|
|
11
|
+
pid
|
|
12
|
+
name
|
|
13
|
+
userID
|
|
14
|
+
}
|
|
15
|
+
player2 @skip(if: $skipPlayer2) {
|
|
16
|
+
id
|
|
17
|
+
pid
|
|
18
|
+
name
|
|
19
|
+
userID
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
mutation mutUpdateDuelGameResult($input: UpdateDuelGameResultInput!) {
|
|
25
|
+
mutUpdateDuelGameResult(input: $input) {
|
|
26
|
+
gameID
|
|
27
|
+
score1
|
|
28
|
+
score2
|
|
29
|
+
player1GameResultType
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
mutation mutUpdateTimeGamePlayerScore($input: UpdateTimeGamePlayerScoreInput!) {
|
|
34
|
+
mutUpdateTimeGamePlayerScore(input: $input) {
|
|
35
|
+
gameID
|
|
36
|
+
playerID
|
|
37
|
+
playerType
|
|
38
|
+
score
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
mutation mutUpdateScoreGamePlayerScore($input: UpdateScoreGamePlayerScoreInput!) {
|
|
43
|
+
mutUpdateScoreGamePlayerScore(input: $input) {
|
|
44
|
+
gameID
|
|
45
|
+
playerID
|
|
46
|
+
playerType
|
|
47
|
+
score
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
mutation mutUpdateDistanceGamePlayerScore($input: UpdateDistanceGamePlayerScoreInput!) {
|
|
52
|
+
mutUpdateDistanceGamePlayerScore(input: $input) {
|
|
53
|
+
gameID
|
|
54
|
+
playerID
|
|
55
|
+
playerType
|
|
56
|
+
score
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
mutation mutUpdateWeightGamePlayerScore($input: UpdateWeightGamePlayerScoreInput!) {
|
|
61
|
+
mutUpdateWeightGamePlayerScore(input: $input) {
|
|
62
|
+
gameID
|
|
63
|
+
playerID
|
|
64
|
+
playerType
|
|
65
|
+
score
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
mutation mutAddPlayersToNonDuelGame($input: AddPlayersToNonDuelGameInput!) {
|
|
70
|
+
mutAddPlayersToNonDuelGame(input: $input) {
|
|
71
|
+
gameID
|
|
72
|
+
playerType
|
|
73
|
+
leaderboardType
|
|
74
|
+
players {
|
|
75
|
+
id
|
|
76
|
+
pid
|
|
77
|
+
name
|
|
78
|
+
userID
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
mutation mutAddGameToLeaderboard($input: AddGameToLeaderboardInput!) {
|
|
84
|
+
mutAddGameToLeaderboard(input: $input) {
|
|
85
|
+
gameID
|
|
86
|
+
leaderboard {
|
|
87
|
+
id
|
|
88
|
+
pid
|
|
89
|
+
name
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
mutation mutPickInterests($interestIDs: [UUID!]!) {
|
|
2
|
+
mutPickInterests(interestIDs: $interestIDs) {
|
|
3
|
+
...FragShortPageResp
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
mutation mutUpdateMyName($firstName: String!, $lastName: String!) {
|
|
8
|
+
mutUpdateMyName(firstName: $firstName, lastName: $lastName) {
|
|
9
|
+
firstName
|
|
10
|
+
lastName
|
|
11
|
+
name
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
mutation mutUpdateMyPronoun($pronoun: Pronoun!) {
|
|
16
|
+
mutUpdateMyPronoun(pronoun: $pronoun)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
mutation mutUpdateMyLocation($input: UpdateMyLocationInput!) {
|
|
20
|
+
mutUpdateMyLocation(input: $input) {
|
|
21
|
+
lat
|
|
22
|
+
lng
|
|
23
|
+
h3Cell
|
|
24
|
+
address
|
|
25
|
+
locationID
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
mutation mutUpdateProfileDescription($id: UUID!, $description: String!) {
|
|
2
|
+
mutUpdateProfileDescription(id: $id, description: $description) {
|
|
3
|
+
id
|
|
4
|
+
description
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
mutation mutUpdateProfileName($id: UUID!, $name: String!) {
|
|
9
|
+
mutUpdateProfileName(id: $id, name: $name) {
|
|
10
|
+
id
|
|
11
|
+
name
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
mutation mutAddMySocialMedias($socialMedias: [SocialMediaInput!]!) {
|
|
2
|
+
mutAddMySocialMedias(socialMedias: $socialMedias) {
|
|
3
|
+
added {
|
|
4
|
+
...FragSocialMediaResp
|
|
5
|
+
}
|
|
6
|
+
failed {
|
|
7
|
+
...FragSocialMediaResp
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
mutation mutDeleteMySocialMedia($socialMediaType: SocialMediaType!, $socialMediaLink: String!) {
|
|
13
|
+
mutDeleteMySocialMedia(socialMediaType: $socialMediaType, socialMediaLink: $socialMediaLink)
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
mutation mutReactToSubject($input: ReactToSubjectInput!) {
|
|
2
|
+
mutReactToSubject(input: $input) {
|
|
3
|
+
...FragSubjectReactionsInfoResp
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
mutation mutUnreactToSubject($input: UnreactToSubjectInput!) {
|
|
8
|
+
mutUnreactToSubject(input: $input) {
|
|
9
|
+
...FragSubjectReactionsInfoResp
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
mutation mutReplyToComment($input: ReplyToCommentInput!) {
|
|
2
|
+
mutReplyToComment(input: $input) {
|
|
3
|
+
commentID
|
|
4
|
+
reply {
|
|
5
|
+
...FragReplyResp
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
mutation mutReplyToReply($input: ReplyToReplyInput!) {
|
|
11
|
+
mutReplyToReply(input: $input) {
|
|
12
|
+
commentID
|
|
13
|
+
reply {
|
|
14
|
+
...FragReplyResp
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wamygraphql",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Shared GraphQL operations (queries, mutations, fragments) for pmain, consumed by wamy and wamymobile codegen",
|
|
5
|
+
"files": [
|
|
6
|
+
"query",
|
|
7
|
+
"mutation",
|
|
8
|
+
"fragments.graphql"
|
|
9
|
+
],
|
|
10
|
+
"license": "ISC"
|
|
11
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
query queryFetchAttributePetByCollectionID($collectionID: UUID!) {
|
|
2
|
+
queryFetchAttributePetByCollectionID(collectionID: $collectionID) {
|
|
3
|
+
collectionID
|
|
4
|
+
dob
|
|
5
|
+
height
|
|
6
|
+
weight
|
|
7
|
+
gender
|
|
8
|
+
breed
|
|
9
|
+
father {
|
|
10
|
+
id
|
|
11
|
+
pid
|
|
12
|
+
name
|
|
13
|
+
}
|
|
14
|
+
mother {
|
|
15
|
+
id
|
|
16
|
+
pid
|
|
17
|
+
name
|
|
18
|
+
}
|
|
19
|
+
children {
|
|
20
|
+
id
|
|
21
|
+
pid
|
|
22
|
+
name
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
query queryFetchAttributeTennisByUoiID($uoiID: UUID!) {
|
|
2
|
+
queryFetchAttributeTennisByUoiID(uoiID: $uoiID) {
|
|
3
|
+
uoiID
|
|
4
|
+
backhand
|
|
5
|
+
level
|
|
6
|
+
handedness
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
query queryFetchAttributeBasketballByUoiID($uoiID: UUID!) {
|
|
11
|
+
queryFetchAttributeBasketballByUoiID(uoiID: $uoiID) {
|
|
12
|
+
uoiID
|
|
13
|
+
positions
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
query queryFetchCityCandidatesByAutocomplete($searchText: String!) {
|
|
2
|
+
queryFetchCityCandidatesByAutocomplete(searchText: $searchText) {
|
|
3
|
+
...FragAutocompleteOptionResp
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
query queryFetchCityCandidatesBySearch($searchText: String!) {
|
|
8
|
+
queryFetchCityCandidatesBySearch(searchText: $searchText) {
|
|
9
|
+
...FragAutocompleteOptionResp
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
query queryFetchPointCandidates($searchText: String!) {
|
|
14
|
+
queryFetchPointCandidates(searchText: $searchText) {
|
|
15
|
+
...FragAutocompleteOptionResp
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
query queryFetchBuddyingByOtherUoiID($otherUoiID: UUID!, $interestID: UUID!) {
|
|
2
|
+
queryFetchBuddyingByOtherUoiID(otherUoiID: $otherUoiID, interestID: $interestID) {
|
|
3
|
+
...FragQueryBuddyingResp
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
query queryFetchBuddiesByUoiIDStatus($uoiID: UUID!, $status: BuddyingStatus!) {
|
|
8
|
+
queryFetchBuddiesByUoiIDStatus(uoiID: $uoiID, status: $status) {
|
|
9
|
+
uoiID
|
|
10
|
+
status
|
|
11
|
+
buddies {
|
|
12
|
+
...FragShortUoiResp
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
query queryFetchMyAcceptedBuddiesByInterestID($interestID: UUID!) {
|
|
18
|
+
queryFetchMyAcceptedBuddiesByInterestID(interestID: $interestID) {
|
|
19
|
+
interestID
|
|
20
|
+
buddies {
|
|
21
|
+
...FragShortUoiResp
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
query queryFetchCheckInUoisByLoiID($loiID: UUID!) {
|
|
2
|
+
queryFetchCheckInUoisByLoiID(loiID: $loiID) {
|
|
3
|
+
loiID
|
|
4
|
+
uois {
|
|
5
|
+
...FragShortUoiResp
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
query queryFetchCheckInUsersByLocationID($locationID: UUID!) {
|
|
11
|
+
queryFetchCheckInUsersByLocationID(locationID: $locationID) {
|
|
12
|
+
locationID
|
|
13
|
+
users {
|
|
14
|
+
id
|
|
15
|
+
pid
|
|
16
|
+
name
|
|
17
|
+
pronoun
|
|
18
|
+
description
|
|
19
|
+
dateTime
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
query queryFetchCheckInLoisByUoiID($uoiID: UUID!) {
|
|
25
|
+
queryFetchCheckInLoisByUoiID(uoiID: $uoiID) {
|
|
26
|
+
uoiID
|
|
27
|
+
lois {
|
|
28
|
+
...FragLoiResp
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
query queryFetchCheckInLocationsByUserID($userID: UUID!) {
|
|
34
|
+
queryFetchCheckInLocationsByUserID(userID: $userID) {
|
|
35
|
+
userID
|
|
36
|
+
locations {
|
|
37
|
+
...FragLocationResp
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
query queryFetchIsCheckedInLocation($locationID: UUID!) {
|
|
43
|
+
queryFetchIsCheckedInLocation(locationID: $locationID) {
|
|
44
|
+
locationID
|
|
45
|
+
isCheckedIn
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
query queryFetchIsCheckedInLoi($loiID: UUID!) {
|
|
50
|
+
queryFetchIsCheckedInLoi(loiID: $loiID) {
|
|
51
|
+
loiID
|
|
52
|
+
isCheckedIn
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
query queryFetchCommentsBySubjectID($subjectID: UUID!) {
|
|
2
|
+
queryFetchCommentsBySubjectID(subjectID: $subjectID) {
|
|
3
|
+
subjectID
|
|
4
|
+
comments {
|
|
5
|
+
...FragCommentResp
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
query queryFetchCommentsCountBySubjectID($subjectID: UUID!) {
|
|
11
|
+
queryFetchCommentsCountBySubjectID(subjectID: $subjectID) {
|
|
12
|
+
subjectID
|
|
13
|
+
count
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
query queryFetchCommentByID($id: UUID!, $withContent: Boolean = false) {
|
|
18
|
+
queryFetchCommentByID(id: $id) {
|
|
19
|
+
id
|
|
20
|
+
content @include(if: $withContent)
|
|
21
|
+
isCreator
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
query queryFetchAllCategories {
|
|
2
|
+
queryFetchAllCategories {
|
|
3
|
+
categoryType
|
|
4
|
+
label
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
query queryFetchInterestsByCategoryType($categoryType: String!) {
|
|
9
|
+
queryFetchInterestsByCategoryType(categoryType: $categoryType) {
|
|
10
|
+
categoryType
|
|
11
|
+
interests {
|
|
12
|
+
id
|
|
13
|
+
label
|
|
14
|
+
interestType
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
query queryFetchInterestByID($id: UUID!) {
|
|
20
|
+
queryFetchInterestByID(id: $id) {
|
|
21
|
+
id
|
|
22
|
+
label
|
|
23
|
+
interestType
|
|
24
|
+
categoryType
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
query queryFetchLocationByPID($pid: String!) {
|
|
2
|
+
queryFetchLocationByPID(pid: $pid) {
|
|
3
|
+
id
|
|
4
|
+
pid
|
|
5
|
+
address
|
|
6
|
+
locationType
|
|
7
|
+
parentPID
|
|
8
|
+
h3Cell
|
|
9
|
+
lat
|
|
10
|
+
lng
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
query queryFetchLocationsNearby($h3Cell: String!) {
|
|
15
|
+
queryFetchLocationsNearby(h3Cell: $h3Cell) {
|
|
16
|
+
h3Cell
|
|
17
|
+
locations {
|
|
18
|
+
...FragLocationResp
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
query queryFetchLocationsByParentLocationID($parentLocationID: UUID!) {
|
|
24
|
+
queryFetchLocationsByParentLocationID(parentLocationID: $parentLocationID) {
|
|
25
|
+
parentLocationID
|
|
26
|
+
locations {
|
|
27
|
+
...FragLocationResp
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
query queryFetchMemberingByInterestIDCircleID($interestID: UUID!, $circleID: UUID!) {
|
|
2
|
+
queryFetchMemberingByInterestIDCircleID(interestID: $interestID, circleID: $circleID) {
|
|
3
|
+
...FragMemberingResp
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
query queryFetchMyAdminTeamsByInterestID($interestID: UUID!) {
|
|
8
|
+
queryFetchMyAdminTeamsByInterestID(interestID: $interestID) {
|
|
9
|
+
interestID
|
|
10
|
+
teams {
|
|
11
|
+
id
|
|
12
|
+
pid
|
|
13
|
+
name
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
query queryFetchUoisByCircleID($circleID: UUID!, $status: MemberingStatus!) {
|
|
19
|
+
queryFetchUoisByCircleID(circleID: $circleID, status: $status) {
|
|
20
|
+
circleID
|
|
21
|
+
status
|
|
22
|
+
uois {
|
|
23
|
+
...FragShortUoiResp
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
query queryFetchTeamsByCircleID($circleID: UUID!, $status: MemberingStatus!) {
|
|
29
|
+
queryFetchTeamsByCircleID(circleID: $circleID, status: $status) {
|
|
30
|
+
circleID
|
|
31
|
+
status
|
|
32
|
+
teams {
|
|
33
|
+
...FragShortTeamResp
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
query queryFetchLeaderboardsByMemberID($memberID: UUID!, $status: MemberingStatus!) {
|
|
39
|
+
queryFetchLeaderboardsByMemberID(memberID: $memberID, status: $status) {
|
|
40
|
+
memberID
|
|
41
|
+
status
|
|
42
|
+
leaderboards {
|
|
43
|
+
...FragShortLeaderboardResp
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
query queryFetchTeamsByMemberID($memberID: UUID!, $status: MemberingStatus!) {
|
|
49
|
+
queryFetchTeamsByMemberID(memberID: $memberID, status: $status) {
|
|
50
|
+
memberID
|
|
51
|
+
status
|
|
52
|
+
teams {
|
|
53
|
+
...FragShortTeamResp
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
query queryFetchArenasByMemberID($memberID: UUID!, $status: MemberingStatus!) {
|
|
59
|
+
queryFetchArenasByMemberID(memberID: $memberID, status: $status) {
|
|
60
|
+
memberID
|
|
61
|
+
status
|
|
62
|
+
arenas {
|
|
63
|
+
...FragShortArenaResp
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
query queryFetchEventsByMemberID($memberID: UUID!, $status: MemberingStatus!) {
|
|
69
|
+
queryFetchEventsByMemberID(memberID: $memberID, status: $status) {
|
|
70
|
+
memberID
|
|
71
|
+
status
|
|
72
|
+
events {
|
|
73
|
+
...FragShortEventResp
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
query queryFetchMyMessagePeers($isRead: Boolean!) {
|
|
2
|
+
queryFetchMyMessagePeers(isRead: $isRead) {
|
|
3
|
+
id
|
|
4
|
+
pid
|
|
5
|
+
name
|
|
6
|
+
avatarImageID
|
|
7
|
+
updatedAt
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
query queryFetchMyMessagesByPeerID($peerID: UUID!) {
|
|
12
|
+
queryFetchMyMessagesByPeerID(peerID: $peerID) {
|
|
13
|
+
peerID
|
|
14
|
+
messages {
|
|
15
|
+
isFromMe
|
|
16
|
+
content
|
|
17
|
+
pidLinks {
|
|
18
|
+
...FragPidLinkResp
|
|
19
|
+
}
|
|
20
|
+
createdAt
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
query queryFetchCollectionByPID($pid: String!) {
|
|
2
|
+
queryFetchCollectionByPID(pid: $pid) {
|
|
3
|
+
id
|
|
4
|
+
pid
|
|
5
|
+
name
|
|
6
|
+
description
|
|
7
|
+
avatarImageID
|
|
8
|
+
interestID
|
|
9
|
+
collectionTypeLabel
|
|
10
|
+
collectionType
|
|
11
|
+
isOwner
|
|
12
|
+
owner {
|
|
13
|
+
...FragShortUoiResp
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
query queryFetchOwnedCollectionsByOwnerID($ownerID: UUID!) {
|
|
19
|
+
queryFetchOwnedCollectionsByOwnerID(ownerID: $ownerID) {
|
|
20
|
+
ownerID
|
|
21
|
+
collections {
|
|
22
|
+
...FragCollectionResp
|
|
23
|
+
collectionType
|
|
24
|
+
collectionTypeLabel
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
query queryFetchCollectionMetasByOwnerIDStatus($ownerID: UUID!, $status: CollectionOwnerStatus!) {
|
|
30
|
+
queryFetchCollectionMetasByOwnerIDStatus(ownerID: $ownerID, status: $status) {
|
|
31
|
+
ownerID
|
|
32
|
+
status
|
|
33
|
+
collectionMetas {
|
|
34
|
+
...FragCollectionMetaResp
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
query queryFetchCollectionMetasByMarketID($marketID: UUID!) {
|
|
40
|
+
queryFetchCollectionMetasByMarketID(marketID: $marketID) {
|
|
41
|
+
marketID
|
|
42
|
+
collectionMetas {
|
|
43
|
+
...FragCollectionMetaResp
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
query queryFetchCollectionsByMarketIDCollectionType($input: FetchCollectionsByMarketIDCollectionTypeInput!) {
|
|
49
|
+
queryFetchCollectionsByMarketIDCollectionType(input: $input) {
|
|
50
|
+
marketID
|
|
51
|
+
collectionType
|
|
52
|
+
collections {
|
|
53
|
+
...FragCollectionResp
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
query queryFetchCollectionsByOwnerCollectionType($input: FetchCollectionsByOwnerCollectionTypeInput!) {
|
|
59
|
+
queryFetchCollectionsByOwnerCollectionType(input: $input) {
|
|
60
|
+
ownerID
|
|
61
|
+
status
|
|
62
|
+
collectionType
|
|
63
|
+
collections {
|
|
64
|
+
...FragCollectionResp
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
query queryFetchCollectionOptionsByInterestID($interestID: UUID!) {
|
|
70
|
+
queryFetchCollectionOptionsByInterestID(interestID: $interestID) {
|
|
71
|
+
interestID
|
|
72
|
+
collectionOptions {
|
|
73
|
+
value
|
|
74
|
+
label
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
query queryFetchCollectionLocations($collectionID: UUID!) {
|
|
80
|
+
queryFetchCollectionLocations(collectionID: $collectionID) {
|
|
81
|
+
collectionID
|
|
82
|
+
locations {
|
|
83
|
+
id
|
|
84
|
+
pid
|
|
85
|
+
address
|
|
86
|
+
locationType
|
|
87
|
+
lat
|
|
88
|
+
lng
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|