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
package/README.md ADDED
@@ -0,0 +1,2 @@
1
+ # wamygraphql
2
+ graphql for wamy/mwamy
@@ -0,0 +1,272 @@
1
+ fragment FragShortUoiResp on ShortUoiResp {
2
+ id
3
+ pid
4
+ name
5
+ pronoun
6
+ description
7
+ userID
8
+ avatarImageID
9
+ }
10
+ fragment FragShortTeamResp on ShortTeamResp {
11
+ id
12
+ pid
13
+ interestID
14
+ name
15
+ description
16
+ address
17
+ dateTime
18
+ avatarImageID
19
+ }
20
+ fragment FragShortPageResp on ShortPageResp {
21
+ id
22
+ pid
23
+ interestID
24
+ }
25
+ fragment FragShortEventResp on ShortEventResp {
26
+ id
27
+ pid
28
+ name
29
+ description
30
+ address
31
+ interestID
32
+ lat
33
+ lng
34
+ startTime
35
+ endTime
36
+ dateTime
37
+ avatarImageID
38
+ }
39
+ fragment FragShortArenaResp on ShortArenaResp {
40
+ id
41
+ pid
42
+ name
43
+ address
44
+ description
45
+ interestID
46
+ lat
47
+ lng
48
+ dateTime
49
+ avatarImageID
50
+ }
51
+ fragment FragShortGameResp on ShortGameResp {
52
+ id
53
+ pid
54
+ name
55
+ description
56
+ startTime
57
+ endTime
58
+ avatarImageID
59
+ }
60
+ fragment FragLoiResp on LoiResp {
61
+ id
62
+ pid
63
+ address
64
+ lat
65
+ lng
66
+ locationType
67
+ dateTime
68
+ }
69
+ fragment FragLocationResp on LocationResp {
70
+ id
71
+ pid
72
+ address
73
+ lat
74
+ lng
75
+ locationType
76
+ dateTime
77
+ }
78
+ fragment FragShortProfileResp on ShortProfileResp {
79
+ id
80
+ pid
81
+ userID
82
+ name
83
+ address
84
+ description
85
+ profileType
86
+ dateTime
87
+ startTime
88
+ endTime
89
+ avatarImageID
90
+ }
91
+ fragment FragPageCoreResp on PageResp {
92
+ id
93
+ pid
94
+ pageType
95
+ lat
96
+ lng
97
+ h3Cell
98
+ address
99
+ locationID
100
+ locationPID
101
+ locationType
102
+ }
103
+ fragment FragPageExtraResp on PageResp {
104
+ parentLoiPID
105
+ interestID
106
+ creator {
107
+ ...FragShortUoiResp
108
+ }
109
+ }
110
+ fragment FragProfileResp on ProfileResp {
111
+ id
112
+ name
113
+ description
114
+ avatarImageID
115
+ privacy
116
+ profileType
117
+ permission
118
+ }
119
+ fragment FragMemberingResp on MemberingResp {
120
+ status
121
+ newStatus
122
+ circleID
123
+ memberID
124
+ interestID
125
+ }
126
+ fragment FragMutBuddyingResp on BuddyingResp {
127
+ status
128
+ interestID
129
+ otherUoiID
130
+ myUoiID
131
+ newStatus
132
+ }
133
+ fragment FragQueryBuddyingResp on BuddyingResp {
134
+ status
135
+ interestID
136
+ otherUoiID
137
+ myUoiID
138
+ }
139
+ fragment FragUserResp on UserResp {
140
+ id
141
+ firstName
142
+ lastName
143
+ pronoun
144
+ page {
145
+ ...FragPageCoreResp
146
+ }
147
+ profile {
148
+ ...FragProfileResp
149
+ }
150
+ }
151
+ fragment FragPidLinkResp on PidLinkResp {
152
+ pid
153
+ startPos
154
+ }
155
+ fragment FragPostResp on PostResp {
156
+ id
157
+ pid
158
+ interestID
159
+ content
160
+ pidLinks {
161
+ ...FragPidLinkResp
162
+ }
163
+ hasMore
164
+ hasImage
165
+ privacy
166
+ createdAt
167
+ isCreator
168
+ }
169
+ fragment FragSubjectReactionsInfoResp on SubjectReactionsInfoResp {
170
+ subjectID
171
+ isReacted
172
+ count
173
+ reactionType
174
+ }
175
+ fragment FragSubjectCreatorResp on ShortProfileResp {
176
+ id
177
+ pid
178
+ name
179
+ userID
180
+ avatarImageID
181
+ profileType
182
+ }
183
+ fragment FragCommentResp on CommentResp {
184
+ id
185
+ createdAt
186
+ hasMore
187
+ content
188
+ creator {
189
+ ...FragSubjectCreatorResp
190
+ }
191
+ isCreator
192
+ }
193
+ fragment FragReplyResp on ReplyResp {
194
+ id
195
+ createdAt
196
+ creator {
197
+ ...FragSubjectCreatorResp
198
+ }
199
+ subjectCreator{
200
+ ...FragSubjectCreatorResp
201
+ }
202
+ content
203
+ }
204
+ fragment FragShortLeaderboardResp on ShortLeaderboardResp {
205
+ id
206
+ pid
207
+ name
208
+ description
209
+ avatarImageID
210
+ lat
211
+ lng
212
+ address
213
+ }
214
+ fragment FragCollectionResp on CollectionResp {
215
+ id
216
+ pid
217
+ name
218
+ description
219
+ avatarImageID
220
+ }
221
+ fragment FragCollectionMetaResp on CollectionMetaResp {
222
+ collectionType
223
+ label
224
+ }
225
+ fragment FragGameMetaResp on GameMetaResp {
226
+ label
227
+ gameType
228
+ }
229
+ fragment FragShortMarketResp on ShortMarketResp {
230
+ id
231
+ pid
232
+ name
233
+ description
234
+ address
235
+ }
236
+ fragment FragMarketMetaResp on MarketMetaResp {
237
+ label
238
+ marketType
239
+ }
240
+ fragment FragTimeGameScoreResp on TimeGameScoreResp {
241
+ hours
242
+ minutes
243
+ seconds
244
+ subsecs
245
+ }
246
+ fragment FragAutocompleteOptionResp on AutocompleteOptionResp {
247
+ id
248
+ value
249
+ }
250
+ fragment FragSocialMediaResp on SocialMediaResp {
251
+ socialMediaType
252
+ socialMediaLink
253
+ }
254
+ fragment FragNotificationsBatchResp on NotificationsBatchResp {
255
+ hasMore
256
+ pageState
257
+ notifications {
258
+ id
259
+ interestID
260
+ notificationType
261
+ isRead
262
+ createdAt
263
+ profiles {
264
+ id
265
+ pid
266
+ name
267
+ userID
268
+ avatarImageID
269
+ profileType
270
+ }
271
+ }
272
+ }
@@ -0,0 +1,11 @@
1
+ mutation mutMarkMessagesAsRead {
2
+ mutMarkMessagesAsRead
3
+ }
4
+
5
+ mutation mutMarkNotificationsAsRead {
6
+ mutMarkNotificationsAsRead
7
+ }
8
+
9
+ mutation mutSetPushNotificationAccess($state: PushNotificationAccessState!) {
10
+ mutSetPushNotificationAccess(state: $state)
11
+ }
@@ -0,0 +1,57 @@
1
+ mutation mutUpdateAttributePetByCollectionIDDob($input: UpdateAttributePetByCollectionIDInput!) {
2
+ mutUpdateAttributePetByCollectionID(input: $input) {
3
+ collectionID
4
+ dob
5
+ }
6
+ }
7
+
8
+ mutation mutUpdateAttributePetByCollectionIDHeight($input: UpdateAttributePetByCollectionIDInput!) {
9
+ mutUpdateAttributePetByCollectionID(input: $input) {
10
+ collectionID
11
+ height
12
+ }
13
+ }
14
+
15
+ mutation mutUpdateAttributePetByCollectionIDWeight($input: UpdateAttributePetByCollectionIDInput!) {
16
+ mutUpdateAttributePetByCollectionID(input: $input) {
17
+ collectionID
18
+ dob
19
+ weight
20
+ }
21
+ }
22
+
23
+ mutation mutUpdateAttributePetByCollectionIDGender($input: UpdateAttributePetByCollectionIDInput!) {
24
+ mutUpdateAttributePetByCollectionID(input: $input) {
25
+ collectionID
26
+ gender
27
+ }
28
+ }
29
+
30
+ mutation mutUpdateAttributePetByCollectionIDBreed($input: UpdateAttributePetByCollectionIDInput!) {
31
+ mutUpdateAttributePetByCollectionID(input: $input) {
32
+ collectionID
33
+ breed
34
+ }
35
+ }
36
+
37
+ mutation mutUpdateAttributePetByCollectionIDFather($input: UpdateAttributePetByCollectionIDInput!) {
38
+ mutUpdateAttributePetByCollectionID(input: $input) {
39
+ collectionID
40
+ father {
41
+ id
42
+ name
43
+ pid
44
+ }
45
+ }
46
+ }
47
+
48
+ mutation mutUpdateAttributePetByCollectionIDMother($input: UpdateAttributePetByCollectionIDInput!) {
49
+ mutUpdateAttributePetByCollectionID(input: $input) {
50
+ collectionID
51
+ mother {
52
+ id
53
+ name
54
+ pid
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,27 @@
1
+ mutation mutUpdateAttributeTennisByUoiIDBackhand($input: UpdateAttributeTennisByUoiIDInput!) {
2
+ mutUpdateAttributeTennisByUoiID(input: $input) {
3
+ uoiID
4
+ backhand
5
+ }
6
+ }
7
+
8
+ mutation mutUpdateAttributeTennisByUoiIDHandedness($input: UpdateAttributeTennisByUoiIDInput!) {
9
+ mutUpdateAttributeTennisByUoiID(input: $input) {
10
+ uoiID
11
+ handedness
12
+ }
13
+ }
14
+
15
+ mutation mutUpdateAttributeTennisByUoiIDLevel($input: UpdateAttributeTennisByUoiIDInput!) {
16
+ mutUpdateAttributeTennisByUoiID(input: $input) {
17
+ uoiID
18
+ level
19
+ }
20
+ }
21
+
22
+ mutation mutUpdateAttributeBasketballByUoiID($input: UpdateAttributeBasketballByUoiIDInput!) {
23
+ mutUpdateAttributeBasketballByUoiID(input: $input) {
24
+ uoiID
25
+ positions
26
+ }
27
+ }
@@ -0,0 +1,73 @@
1
+ mutation mutResumeAccount {
2
+ mutResumeAccount
3
+ }
4
+
5
+ mutation mutRegisterUser($email: String!, $password: String!) {
6
+ mutRegisterUser(email: $email, password: $password) {
7
+ jwt
8
+ email
9
+ status
10
+ }
11
+ }
12
+
13
+ mutation mutLogin($email: String!, $password: String!) {
14
+ mutLogin(email: $email, password: $password) {
15
+ email
16
+ jwt
17
+ status
18
+ }
19
+ }
20
+
21
+ mutation mutLoginWithGoogle($googleIdToken: String!) {
22
+ mutLoginWithGoogle(googleIdToken: $googleIdToken) {
23
+ email
24
+ jwt
25
+ status
26
+ }
27
+ }
28
+
29
+ mutation mutLoginWithApple($appleIdToken: String!) {
30
+ mutLoginWithApple(appleIdToken: $appleIdToken) {
31
+ email
32
+ jwt
33
+ status
34
+ }
35
+ }
36
+
37
+ mutation mutRequestPasswordReset($email: String!) {
38
+ mutRequestPasswordReset(email: $email)
39
+ }
40
+
41
+ mutation mutResetPassword($token: String!, $newPassword: String!) {
42
+ mutResetPassword(token: $token, newPassword: $newPassword)
43
+ }
44
+
45
+ mutation mutRefreshToken {
46
+ mutRefreshToken
47
+ }
48
+
49
+ mutation mutLogout {
50
+ mutLogout
51
+ }
52
+
53
+ mutation mutDeleteAccount {
54
+ mutDeleteAccount
55
+ }
56
+
57
+ mutation mutRegisterMyBasicInfo($input: RegisterMyBasicInfoInput!) {
58
+ mutRegisterMyBasicInfo(input: $input) {
59
+ status
60
+ me {
61
+ ...FragUserResp
62
+ }
63
+ }
64
+ }
65
+
66
+ mutation mutRegisterMyInterests($interestIDs: [UUID!]!) {
67
+ mutRegisterMyInterests(interestIDs: $interestIDs) {
68
+ status
69
+ myUois {
70
+ ...FragShortPageResp
71
+ }
72
+ }
73
+ }
@@ -0,0 +1,11 @@
1
+ mutation mutUpdateBuddyingStatus($input: UpdateBuddyingStatusInput!) {
2
+ mutUpdateBuddyingStatus(input: $input) {
3
+ ...FragMutBuddyingResp
4
+ }
5
+ }
6
+
7
+ mutation mutAddBuddy($input: AddBuddyInput!) {
8
+ mutAddBuddy(input: $input) {
9
+ ...FragMutBuddyingResp
10
+ }
11
+ }
@@ -0,0 +1,13 @@
1
+ mutation mutCheckInLocation($locationID: UUID!, $isCheckedIn: Boolean!) {
2
+ mutCheckInLocation(locationID: $locationID, isCheckedIn: $isCheckedIn) {
3
+ locationID
4
+ isCheckedIn
5
+ }
6
+ }
7
+
8
+ mutation mutCheckInLoi($loiID: UUID!, $isCheckedIn: Boolean!) {
9
+ mutCheckInLoi(loiID: $loiID, isCheckedIn: $isCheckedIn) {
10
+ loiID
11
+ isCheckedIn
12
+ }
13
+ }
@@ -0,0 +1,8 @@
1
+ mutation mutCreateComment($input: CreateCommentInput!) {
2
+ mutCreateComment(input: $input) {
3
+ subjectID
4
+ comment {
5
+ ...FragCommentResp
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,3 @@
1
+ mutation mutInviteByEmails($inputs: [InviteByEmailInput!]!) {
2
+ mutInviteByEmails(inputs: $inputs)
3
+ }
@@ -0,0 +1,21 @@
1
+ mutation mutCreateLocation($placeID: String!, $locationType: LocationType!) {
2
+ mutCreateLocation(placeID: $placeID, locationType: $locationType) {
3
+ id
4
+ pid
5
+ address
6
+ lat
7
+ lng
8
+ locationType
9
+ }
10
+ }
11
+
12
+ mutation mutCreateLocationManual($input: CreateLocationManualInput!) {
13
+ mutCreateLocationManual(input: $input) {
14
+ id
15
+ pid
16
+ address
17
+ lat
18
+ lng
19
+ locationType
20
+ }
21
+ }
@@ -0,0 +1,23 @@
1
+ mutation mutMeJoinCircle($input: MeJoinCircleInput!) {
2
+ mutMeJoinCircle(input: $input) {
3
+ ...FragMemberingResp
4
+ }
5
+ }
6
+
7
+ mutation mutInviteUoiToCircle($input: InviteUoiToCircleInput!) {
8
+ mutInviteUoiToCircle(input: $input) {
9
+ ...FragMemberingResp
10
+ }
11
+ }
12
+
13
+ mutation mutInviteTeamToCircle($input: InviteTeamToCircleInput!) {
14
+ mutInviteTeamToCircle(input: $input) {
15
+ ...FragMemberingResp
16
+ }
17
+ }
18
+
19
+ mutation mutUpdateMemberingStatus($input: UpdateMemberingStatusInput!) {
20
+ mutUpdateMemberingStatus(input: $input) {
21
+ ...FragMemberingResp
22
+ }
23
+ }
@@ -0,0 +1,14 @@
1
+ mutation mutSendMessage($peerID: UUID!, $content: String!) {
2
+ mutSendMessage(peerID: $peerID, content: $content) {
3
+ isFromMe
4
+ content
5
+ pidLinks {
6
+ ...FragPidLinkResp
7
+ }
8
+ createdAt
9
+ }
10
+ }
11
+
12
+ mutation mutMarkMessagePeerAsRead($peerID: UUID!) {
13
+ mutMarkMessagePeerAsRead(peerID: $peerID)
14
+ }
@@ -0,0 +1,3 @@
1
+ mutation mutMarkMyNotificationAsRead($id: UUID!) {
2
+ mutMarkMyNotificationAsRead(id: $id)
3
+ }
@@ -0,0 +1,7 @@
1
+ mutation mutAddLocationToCollection($input: AddLocationToCollectionInput!) {
2
+ mutAddLocationToCollection(input: $input)
3
+ }
4
+
5
+ mutation mutCreateCollection($input: CreateCollectionInput!) {
6
+ mutCreateCollection(input: $input)
7
+ }
@@ -0,0 +1,17 @@
1
+ mutation mutUploadMyAvatar($image: AvatarImageInput!) {
2
+ mutUploadMyAvatar(image: $image)
3
+ }
4
+
5
+ mutation mutUploadAvatarImage($input: UploadAvatarImageInput!) {
6
+ mutUploadAvatarImage(input: $input) {
7
+ pageID
8
+ imageID
9
+ }
10
+ }
11
+
12
+ mutation mutCreateAvatarImageUploadURL($input: AvatarImageUploadInput!) {
13
+ mutCreateAvatarImageUploadURL(input: $input) {
14
+ uploadUrl
15
+ id
16
+ }
17
+ }
@@ -0,0 +1,21 @@
1
+ mutation mutUploadImagesToPage($input: UploadImagesToPageInput!) {
2
+ mutUploadImagesToPage(input: $input) {
3
+ pageID
4
+ imageIDs
5
+ }
6
+ }
7
+
8
+ mutation mutUploadImagesToMyPage($imageIDs: [UUID!]!) {
9
+ mutUploadImagesToMyPage(imageIDs: $imageIDs)
10
+ }
11
+
12
+ mutation mutDeletePageImageByID($pageID: UUID!, $imageID: UUID!) {
13
+ mutDeletePageImageByID(pageID: $pageID, imageID: $imageID)
14
+ }
15
+
16
+ mutation mutCreatePageImageUploadURLs($input: PageImageUploadInput!) {
17
+ mutCreatePageImageUploadURLs(input: $input) {
18
+ uploadUrl
19
+ id
20
+ }
21
+ }
@@ -0,0 +1,6 @@
1
+ mutation mutCreateSubjectImageUploadURLs($input: SubjectImageUploadInput!) {
2
+ mutCreateSubjectImageUploadURLs(input: $input) {
3
+ uploadUrl
4
+ id
5
+ }
6
+ }
@@ -0,0 +1,11 @@
1
+ mutation mutAddLocationToPost($input: AddLocationToPostInput!) {
2
+ mutAddLocationToPost(input: $input)
3
+ }
4
+
5
+ mutation mutDeletePost($id: UUID!) {
6
+ mutDeletePost(id: $id)
7
+ }
8
+
9
+ mutation mutCreatePost($input: CreatePostInput!) {
10
+ mutCreatePost(input: $input)
11
+ }
@@ -0,0 +1,3 @@
1
+ mutation mutCreateArena($input: CreateArenaInput!) {
2
+ mutCreateArena(input: $input)
3
+ }
@@ -0,0 +1,3 @@
1
+ mutation mutCreateEvent($input: CreateEventInput!) {
2
+ mutCreateEvent(input: $input)
3
+ }