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.
Files changed (65) hide show
  1. package/README.md +2 -0
  2. package/fragments.graphql +272 -0
  3. package/mutation/account.graphql +11 -0
  4. package/mutation/attributes/collections/pets.graphql +57 -0
  5. package/mutation/attributes/uois/sports.graphql +27 -0
  6. package/mutation/auth.graphql +73 -0
  7. package/mutation/buddying.graphql +11 -0
  8. package/mutation/checkIn.graphql +13 -0
  9. package/mutation/comment.graphql +8 -0
  10. package/mutation/invite.graphql +3 -0
  11. package/mutation/locationCreation.graphql +21 -0
  12. package/mutation/membering.graphql +23 -0
  13. package/mutation/message.graphql +14 -0
  14. package/mutation/notification.graphql +3 -0
  15. package/mutation/page/collection.graphql +7 -0
  16. package/mutation/page/image/avatar.graphql +17 -0
  17. package/mutation/page/image/page.graphql +21 -0
  18. package/mutation/page/image/subject.graphql +6 -0
  19. package/mutation/page/post/post.graphql +11 -0
  20. package/mutation/page/profile/arena.graphql +3 -0
  21. package/mutation/page/profile/event.graphql +3 -0
  22. package/mutation/page/profile/game.graphql +92 -0
  23. package/mutation/page/profile/gameCreate.graphql +3 -0
  24. package/mutation/page/profile/leaderboard.graphql +3 -0
  25. package/mutation/page/profile/market.graphql +3 -0
  26. package/mutation/page/profile/marketCollection.graphql +3 -0
  27. package/mutation/page/profile/me.graphql +27 -0
  28. package/mutation/page/profile/profile.graphql +13 -0
  29. package/mutation/page/profile/socialMedia.graphql +14 -0
  30. package/mutation/page/profile/team.graphql +3 -0
  31. package/mutation/reaction.graphql +11 -0
  32. package/mutation/reply.graphql +17 -0
  33. package/package.json +11 -0
  34. package/query/account.graphql +10 -0
  35. package/query/attributes/collections/pets.graphql +25 -0
  36. package/query/attributes/uois/sports.graphql +15 -0
  37. package/query/autocompleteAddress.graphql +17 -0
  38. package/query/buddying.graphql +24 -0
  39. package/query/checkIn.graphql +54 -0
  40. package/query/comment.graphql +23 -0
  41. package/query/interest.graphql +26 -0
  42. package/query/location.graphql +30 -0
  43. package/query/membering.graphql +76 -0
  44. package/query/message.graphql +23 -0
  45. package/query/notifications.graphql +5 -0
  46. package/query/page/collection.graphql +91 -0
  47. package/query/page/image/page.graphql +6 -0
  48. package/query/page/loi.graphql +50 -0
  49. package/query/page/post/post.graphql +107 -0
  50. package/query/page/profile/arena.graphql +34 -0
  51. package/query/page/profile/entity.graphql +16 -0
  52. package/query/page/profile/event.graphql +43 -0
  53. package/query/page/profile/game.graphql +149 -0
  54. package/query/page/profile/leaderboard.graphql +128 -0
  55. package/query/page/profile/market.graphql +110 -0
  56. package/query/page/profile/profile.graphql +39 -0
  57. package/query/page/profile/profilesByCreatorID.graphql +9 -0
  58. package/query/page/profile/socialMedia.graphql +14 -0
  59. package/query/page/profile/team.graphql +24 -0
  60. package/query/page/profile/uoi.graphql +25 -0
  61. package/query/page/profile/uoiNearby.graphql +8 -0
  62. package/query/page/profile/user.graphql +17 -0
  63. package/query/reaction.graphql +15 -0
  64. package/query/reply.graphql +15 -0
  65. package/query/rss.graphql +25 -0
@@ -0,0 +1,50 @@
1
+ query queryFetchLoisByParentLoiID($parentLoiID: UUID!) {
2
+ queryFetchLoisByParentLoiID(parentLoiID: $parentLoiID) {
3
+ parentLoiID
4
+ lois {
5
+ ...FragLoiResp
6
+ }
7
+ }
8
+ }
9
+
10
+ query queryFetchLoisByLocationID($locationID: UUID!) {
11
+ queryFetchLoisByLocationID(locationID: $locationID) {
12
+ locationID
13
+ lois {
14
+ ...FragShortPageResp
15
+ }
16
+ }
17
+ }
18
+
19
+ query queryFetchLoisNearby($h3Cell: String!, $interestID: UUID!) {
20
+ queryFetchLoisNearby(h3Cell: $h3Cell, interestID: $interestID) {
21
+ nearbyIndex
22
+ lois {
23
+ ...FragLoiResp
24
+ }
25
+ }
26
+ }
27
+
28
+ query queryFetchInterestsNearby($h3Cell: String!) {
29
+ queryFetchInterestsNearby(h3Cell: $h3Cell) {
30
+ h3Cell
31
+ interestIDs
32
+ }
33
+ }
34
+
35
+ query queryFetchLoiByPID($pid: String!) {
36
+ queryFetchLoiByPID(pid: $pid) {
37
+ id
38
+ pid
39
+ interestID
40
+ parentLoiPID
41
+ lat
42
+ lng
43
+ h3Cell
44
+ address
45
+ locationID
46
+ locationPID
47
+ locationType
48
+ pageType
49
+ }
50
+ }
@@ -0,0 +1,107 @@
1
+ query queryFetchPostByID($id: UUID!, $withContent: Boolean = false, $withPage: Boolean = false, $withImageFIDs: Boolean = false) {
2
+ queryFetchPostByID(id: $id) {
3
+ id
4
+ content @include(if: $withContent)
5
+ pidLinks @include(if: $withContent) {
6
+ ...FragPidLinkResp
7
+ }
8
+ imageFIDs @include(if: $withImageFIDs)
9
+ isCreator
10
+ page @include(if: $withPage) {
11
+ id
12
+ pid
13
+ pageType
14
+ name
15
+ profileType
16
+ address
17
+ locationType
18
+ avatarImageID
19
+ }
20
+ }
21
+ }
22
+
23
+ query queryFetchPostByPID($pid: String!) {
24
+ queryFetchPostByPID(pid: $pid) {
25
+ ...FragPostResp
26
+ imageFIDs
27
+ creator {
28
+ ...FragShortUoiResp
29
+ }
30
+ page {
31
+ id
32
+ pid
33
+ pageType
34
+ name
35
+ profileType
36
+ address
37
+ locationType
38
+ avatarImageID
39
+ }
40
+ }
41
+ }
42
+
43
+ query queryFetchPostsByPageID($pageID: UUID!) {
44
+ queryFetchPostsByPageID(pageID: $pageID) {
45
+ pageID
46
+ posts {
47
+ id
48
+ pid
49
+ content
50
+ pidLinks {
51
+ ...FragPidLinkResp
52
+ }
53
+ hasImage
54
+ hasMore
55
+ createdAt
56
+ isCreator
57
+ creator {
58
+ id
59
+ pid
60
+ name
61
+ userID
62
+ avatarImageID
63
+ }
64
+ }
65
+ }
66
+ }
67
+
68
+ query queryFetchPostsByCreatorID($creatorID: UUID!) {
69
+ queryFetchPostsByCreatorID(creatorID: $creatorID) {
70
+ creatorID
71
+ posts {
72
+ id
73
+ pid
74
+ content
75
+ pidLinks {
76
+ ...FragPidLinkResp
77
+ }
78
+ hasImage
79
+ hasMore
80
+ createdAt
81
+ isCreator
82
+ }
83
+ }
84
+ }
85
+
86
+ fragment FragPostContent on PostResp {
87
+ id
88
+ content
89
+ pidLinks {
90
+ ...FragPidLinkResp
91
+ }
92
+ imageFIDs
93
+ }
94
+
95
+ query queryFetchPostLocations($postID: UUID!) {
96
+ queryFetchPostLocations(postID: $postID) {
97
+ postID
98
+ locations {
99
+ id
100
+ pid
101
+ address
102
+ locationType
103
+ lat
104
+ lng
105
+ }
106
+ }
107
+ }
@@ -0,0 +1,34 @@
1
+ fragment FragArenaContent on ArenaResp {
2
+ id
3
+ }
4
+
5
+ query queryFetchArenaByPID($pid: String!) {
6
+ queryFetchArenaByPID(pid: $pid) {
7
+ id
8
+ page {
9
+ ...FragPageCoreResp
10
+ ...FragPageExtraResp
11
+ }
12
+ profile {
13
+ ...FragProfileResp
14
+ }
15
+ }
16
+ }
17
+
18
+ query queryFetchArenasByPageID($pageID: UUID!) {
19
+ queryFetchArenasByPageID(pageID: $pageID) {
20
+ pageID
21
+ arenas {
22
+ ...FragShortArenaResp
23
+ }
24
+ }
25
+ }
26
+
27
+ query queryFetchArenasNearby($h3Cell: String!, $interestID: UUID!) {
28
+ queryFetchArenasNearby(h3Cell: $h3Cell, interestID: $interestID) {
29
+ nearbyIndex
30
+ arenas {
31
+ ...FragShortArenaResp
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,16 @@
1
+ query queryFetchEntityToAdd($input: FetchEntityToAddInput!) {
2
+ queryFetchEntityToAdd(input: $input) {
3
+ id
4
+ pid
5
+ name
6
+ userID
7
+ avatarImageID
8
+ entityType
9
+ leaderboardType
10
+ leaderboardFlag
11
+ marketType
12
+ marketTypeLabel
13
+ collectionType
14
+ collectionTypeLabel
15
+ }
16
+ }
@@ -0,0 +1,43 @@
1
+ fragment FragEventContent on EventResp {
2
+ id
3
+ startTime
4
+ endTime
5
+ arena {
6
+ id
7
+ pid
8
+ name
9
+ }
10
+ }
11
+
12
+ query queryFetchEventByPID($pid: String!) {
13
+ queryFetchEventByPID(pid: $pid) {
14
+ ...FragEventContent
15
+ page {
16
+ ...FragPageCoreResp
17
+ ...FragPageExtraResp
18
+ }
19
+ profile {
20
+ ...FragProfileResp
21
+ }
22
+ }
23
+ }
24
+
25
+ query queryFetchEventsByPageID($pageID: UUID!, $isUpcoming: Boolean!) {
26
+ queryFetchEventsByPageID(pageID: $pageID, isUpcoming: $isUpcoming) {
27
+ pageID
28
+ isUpcoming
29
+ events {
30
+ ...FragShortEventResp
31
+ }
32
+ }
33
+ }
34
+
35
+ query queryFetchEventsNearby($input: FetchEventsNearbyInput!) {
36
+ queryFetchEventsNearby(input: $input) {
37
+ nearbyIndex
38
+ isUpcoming
39
+ events {
40
+ ...FragShortEventResp
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,149 @@
1
+ fragment FragGameContent on GameResp {
2
+ id
3
+ label
4
+ gameType
5
+ leaderboardType
6
+ playerType
7
+ startTime
8
+ endTime
9
+ arena {
10
+ id
11
+ pid
12
+ name
13
+ description
14
+ interestID
15
+ avatarImageID
16
+ }
17
+ event {
18
+ id
19
+ pid
20
+ name
21
+ description
22
+ startTime
23
+ endTime
24
+ interestID
25
+ avatarImageID
26
+ }
27
+ }
28
+
29
+ query queryFetchGameByPID($pid: String!) {
30
+ queryFetchGameByPID(pid: $pid) {
31
+ ...FragGameContent
32
+ page {
33
+ ...FragPageCoreResp
34
+ ...FragPageExtraResp
35
+ }
36
+ profile {
37
+ ...FragProfileResp
38
+ }
39
+ }
40
+ }
41
+
42
+ query queryFetchGamesByPageID($pageID: UUID!) {
43
+ queryFetchGamesByPageID(pageID: $pageID) {
44
+ pageID
45
+ games {
46
+ ...FragGameMetaResp
47
+ }
48
+ }
49
+ }
50
+
51
+ query queryFetchGamesByPageIDGameType($input: GamesByPageIDGameTypeInput!) {
52
+ queryFetchGamesByPageIDGameType(input: $input) {
53
+ pageID
54
+ gameType
55
+ isUpcoming
56
+ games {
57
+ ...FragShortGameResp
58
+ }
59
+ }
60
+ }
61
+
62
+ query queryFetchDuelGame($gameID: UUID!, $playerType: PlayerType!) {
63
+ queryFetchDuelGame(gameID: $gameID, playerType: $playerType) {
64
+ gameID
65
+ playerType
66
+ player1 {
67
+ id
68
+ pid
69
+ name
70
+ userID
71
+ avatarImageID
72
+ }
73
+ player2 {
74
+ id
75
+ pid
76
+ name
77
+ userID
78
+ avatarImageID
79
+ }
80
+ score1
81
+ score2
82
+ player1GameResultType
83
+ }
84
+ }
85
+
86
+ query queryFetchNonDuelGameResult($input: NonDuelGameResultInput!) {
87
+ queryFetchNonDuelGameResult(input: $input) {
88
+ gameID
89
+ playerType
90
+ leaderboardType
91
+ players {
92
+ id
93
+ pid
94
+ name
95
+ userID
96
+ score
97
+ avatarImageID
98
+ }
99
+ }
100
+ }
101
+
102
+ query queryFetchGameMetasNearby($input: FetchGamesNearbyInput!) {
103
+ queryFetchGameMetasNearby(input: $input) {
104
+ nearbyIndex
105
+ gameMetas {
106
+ ...FragGameMetaResp
107
+ }
108
+ }
109
+ }
110
+
111
+ query queryFetchGamesByTypeNearby($input: FetchGamesByTypeNearbyInput!) {
112
+ queryFetchGamesByTypeNearby(input: $input) {
113
+ nearbyIndex
114
+ isUpcoming
115
+ gameType
116
+ games {
117
+ ...FragShortGameResp
118
+ }
119
+ }
120
+ }
121
+
122
+ query queryFetchGameOptionsByInterestID($interestID: UUID!) {
123
+ queryFetchGameOptionsByInterestID(interestID: $interestID) {
124
+ interestID
125
+ gameOptions {
126
+ value
127
+ label
128
+ leaderboardType
129
+ playerType
130
+ gameFlag
131
+ leaderboardFlag
132
+ }
133
+ }
134
+ }
135
+
136
+ query queryFetchGamePlayerCandidates($input: FetchGamePlayerCandidatesInput!) {
137
+ queryFetchGamePlayerCandidates(input: $input) {
138
+ profileID
139
+ profileType
140
+ playerType
141
+ players {
142
+ id
143
+ pid
144
+ name
145
+ userID
146
+ avatarImageID
147
+ }
148
+ }
149
+ }
@@ -0,0 +1,128 @@
1
+ fragment FragLeaderboardContent on LeaderboardResp {
2
+ id
3
+ label
4
+ gameType
5
+ leaderboardType
6
+ playerType
7
+ arena {
8
+ id
9
+ pid
10
+ name
11
+ description
12
+ interestID
13
+ avatarImageID
14
+ }
15
+ event {
16
+ id
17
+ pid
18
+ name
19
+ interestID
20
+ description
21
+ startTime
22
+ endTime
23
+ avatarImageID
24
+ }
25
+ }
26
+
27
+ query queryFetchLeaderboardByPID($pid: String!) {
28
+ queryFetchLeaderboardByPID(pid: $pid) {
29
+ ...FragLeaderboardContent
30
+ page {
31
+ ...FragPageCoreResp
32
+ ...FragPageExtraResp
33
+ }
34
+ profile {
35
+ ...FragProfileResp
36
+ }
37
+ }
38
+ }
39
+
40
+ query queryFetchGamesByLeaderboardID($leaderboardID: UUID!) {
41
+ queryFetchGamesByLeaderboardID(leaderboardID: $leaderboardID) {
42
+ leaderboardID
43
+ games {
44
+ id
45
+ pid
46
+ name
47
+ avatarImageID
48
+ }
49
+ }
50
+ }
51
+
52
+ query queryFetchLeaderboardsByPageID($pageID: UUID!) {
53
+ queryFetchLeaderboardsByPageID(pageID: $pageID) {
54
+ pageID
55
+ leaderboards {
56
+ ...FragGameMetaResp
57
+ }
58
+ }
59
+ }
60
+
61
+ query queryFetchLeaderboardsByPageIDGameType($pageID: UUID!, $gameType: GameType!) {
62
+ queryFetchLeaderboardsByPageIDGameType(pageID: $pageID, gameType: $gameType) {
63
+ pageID
64
+ gameType
65
+ leaderboards {
66
+ ...FragShortLeaderboardResp
67
+ }
68
+ }
69
+ }
70
+
71
+ query queryFetchLeaderboardRankings($input: FetchLeaderboardRankingInput!) {
72
+ queryFetchLeaderboardRankings(input: $input) {
73
+ leaderboardID
74
+ leaderboardType
75
+ playerType
76
+ rankings {
77
+ ranking
78
+ player {
79
+ id
80
+ pid
81
+ name
82
+ userID
83
+ avatarImageID
84
+ }
85
+ result
86
+ }
87
+ }
88
+ }
89
+
90
+ query queryFetchLeaderboardMetasNearby($h3Cell: String!, $interestID: UUID!) {
91
+ queryFetchLeaderboardMetasNearby(h3Cell: $h3Cell, interestID: $interestID) {
92
+ nearbyIndex
93
+ leaderboardMetas {
94
+ ...FragGameMetaResp
95
+ }
96
+ }
97
+ }
98
+
99
+ query queryFetchLeaderboardsByGameTypeNearby($input: FetchLeaderboardsByGameTypeNearbyInput!) {
100
+ queryFetchLeaderboardsByGameTypeNearby(input: $input) {
101
+ nearbyIndex
102
+ gameType
103
+ leaderboards {
104
+ ...FragShortLeaderboardResp
105
+ }
106
+ }
107
+ }
108
+
109
+ query queryFetchLeaderboardsByGameID($gameID: UUID!) {
110
+ queryFetchLeaderboardsByGameID(gameID: $gameID) {
111
+ gameID
112
+ leaderboards {
113
+ ...FragShortLeaderboardResp
114
+ }
115
+ }
116
+ }
117
+
118
+ query queryFetchDuelGamesByLeaderboardIDPlayerID($leaderboardID: UUID!, $playerID: UUID!) {
119
+ queryFetchDuelGamesByLeaderboardIDPlayerID(leaderboardID: $leaderboardID, playerID: $playerID) {
120
+ leaderboardID
121
+ playerID
122
+ games {
123
+ gamePID
124
+ otherPlayerName
125
+ result
126
+ }
127
+ }
128
+ }
@@ -0,0 +1,110 @@
1
+ fragment FragShortMarketTypeResp on ShortMarketResp {
2
+ marketType
3
+ label
4
+ }
5
+
6
+ fragment FragMarketContent on MarketResp {
7
+ id
8
+ marketType
9
+ label
10
+ }
11
+
12
+ fragment FragMarketTypeResp on MarketResp {
13
+ marketType
14
+ label
15
+ }
16
+
17
+ query queryFetchMarketsByPageID($pageID: UUID!) {
18
+ queryFetchMarketsByPageID(pageID: $pageID) {
19
+ pageID
20
+ markets {
21
+ ...FragMarketMetaResp
22
+ }
23
+ }
24
+ }
25
+
26
+ query queryFetchMarketsByPageIDMarketType($pageID: UUID!, $marketType: String!) {
27
+ queryFetchMarketsByPageIDMarketType(pageID: $pageID, marketType: $marketType) {
28
+ pageID
29
+ marketType
30
+ markets {
31
+ ...FragShortMarketResp
32
+ }
33
+ }
34
+ }
35
+
36
+ query queryFetchMarketOptionsByInterestID($interestID: UUID!) {
37
+ queryFetchMarketOptionsByInterestID(interestID: $interestID) {
38
+ interestID
39
+ marketOptions {
40
+ value
41
+ label
42
+ }
43
+ }
44
+ }
45
+
46
+ query queryFetchCommonMarketOptions {
47
+ queryFetchCommonMarketOptions {
48
+ value
49
+ label
50
+ }
51
+ }
52
+
53
+ query queryFetchMarketsByTypeNearby($input: FetchMarketsNearbyByTypeInput!) {
54
+ queryFetchMarketsByTypeNearby(input: $input) {
55
+ nearbyIndex
56
+ marketType
57
+ markets {
58
+ ...FragShortMarketResp
59
+ }
60
+ }
61
+ }
62
+
63
+ query queryFetchMarketsByCollectionIDMarketType($input: FetchMarketsByCollectionIDMarketTypeInput!) {
64
+ queryFetchMarketsByCollectionIDMarketType(input: $input) {
65
+ collectionID
66
+ marketType
67
+ markets {
68
+ ...FragShortMarketResp
69
+ }
70
+ }
71
+ }
72
+
73
+ query queryFetchMarketMetasByCollectionID($collectionID: UUID!) {
74
+ queryFetchMarketMetasByCollectionID(collectionID: $collectionID) {
75
+ collectionID
76
+ marketMetas {
77
+ ...FragMarketMetaResp
78
+ }
79
+ }
80
+ }
81
+
82
+ query queryFetchMarketMetasNearby($h3Cell: String!, $interestID: UUID!) {
83
+ queryFetchMarketMetasNearby(h3Cell: $h3Cell, interestID: $interestID) {
84
+ nearbyIndex
85
+ marketMetas {
86
+ ...FragMarketMetaResp
87
+ }
88
+ }
89
+ }
90
+
91
+ query queryFetchMarketsForCollection($uoiID: UUID!) {
92
+ queryFetchMarketsForCollection(uoiID: $uoiID) {
93
+ ...FragShortMarketResp
94
+ ...FragShortMarketTypeResp
95
+ }
96
+ }
97
+
98
+ query queryFetchMarketByPID($pid: String!) {
99
+ queryFetchMarketByPID(pid: $pid) {
100
+ id
101
+ ...FragMarketTypeResp
102
+ page {
103
+ ...FragPageCoreResp
104
+ ...FragPageExtraResp
105
+ }
106
+ profile {
107
+ ...FragProfileResp
108
+ }
109
+ }
110
+ }
@@ -0,0 +1,39 @@
1
+ query queryFetchSchedulesByProfileID($profileID: UUID!) {
2
+ queryFetchSchedulesByProfileID(profileID: $profileID) {
3
+ profileID
4
+ schedules {
5
+ id
6
+ pid
7
+ name
8
+ description
9
+ interestID
10
+ startTime
11
+ endTime
12
+ label
13
+ address
14
+ scheduleType
15
+ lat
16
+ lng
17
+ avatarImageID
18
+ }
19
+ }
20
+ }
21
+
22
+ query queryFetchMySchedules {
23
+ queryFetchMySchedules {
24
+ schedules {
25
+ id
26
+ pid
27
+ name
28
+ description
29
+ interestID
30
+ startTime
31
+ endTime
32
+ label
33
+ address
34
+ scheduleType
35
+ lat
36
+ lng
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,9 @@
1
+ query queryFetchProfilesByCreatorID($creatorID: UUID!, $profileType: ProfileType!) {
2
+ queryFetchProfilesByCreatorID(creatorID: $creatorID, profileType: $profileType) {
3
+ creatorID
4
+ profileType
5
+ profiles {
6
+ ...FragShortProfileResp
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,14 @@
1
+ query queryFetchMySocialMedias {
2
+ queryFetchMySocialMedias {
3
+ ...FragSocialMediaResp
4
+ }
5
+ }
6
+
7
+ query queryFetchSocialMediasByPageID($pageID: UUID!) {
8
+ queryFetchSocialMediasByPageID(pageID: $pageID) {
9
+ pageID
10
+ socialMedias {
11
+ ...FragSocialMediaResp
12
+ }
13
+ }
14
+ }