wamygraphql 0.5.0 → 0.7.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/fragments.graphql CHANGED
@@ -166,9 +166,9 @@ fragment FragPostResp on PostResp {
166
166
  createdAt
167
167
  isCreator
168
168
  }
169
- fragment FragBroadcastResp on BroadcastResp {
170
- broadcastID
171
- broadcastPID
169
+ fragment FragShoutoutResp on ShoutoutResp {
170
+ shoutoutID
171
+ shoutoutPID
172
172
  interestID
173
173
  content
174
174
  pidLinks {
@@ -201,6 +201,9 @@ fragment FragCommentResp on CommentResp {
201
201
  createdAt
202
202
  hasMore
203
203
  content
204
+ pidLinks {
205
+ ...FragPidLinkResp
206
+ }
204
207
  creator {
205
208
  ...FragSubjectCreatorResp
206
209
  }
@@ -0,0 +1,5 @@
1
+ mutation mutCreateShoutout($input: CreateShoutoutInput!) {
2
+ mutCreateShoutout(input: $input) {
3
+ ...FragShoutoutResp
4
+ }
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wamygraphql",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Shared GraphQL operations (queries, mutations, fragments) for pmain, consumed by wamy and wamymobile codegen",
5
5
  "scripts": {
6
6
  "deploy": "npm publish"
@@ -0,0 +1,23 @@
1
+ query queryFetchShoutoutsNearby($input: FetchShoutoutsNearbyInput!) {
2
+ queryFetchShoutoutsNearby(input: $input) {
3
+ nearbyIndex
4
+ shoutouts {
5
+ ...FragShoutoutResp
6
+ }
7
+ }
8
+ }
9
+
10
+ query queryFetchShoutoutsByCreatorID($creatorID: UUID!) {
11
+ queryFetchShoutoutsByCreatorID(creatorID: $creatorID) {
12
+ creatorID
13
+ shoutouts {
14
+ ...FragShoutoutResp
15
+ }
16
+ }
17
+ }
18
+
19
+ query queryFetchShoutoutByPID($pid: String!) {
20
+ queryFetchShoutoutByPID(pid: $pid) {
21
+ ...FragShoutoutResp
22
+ }
23
+ }
@@ -1,5 +0,0 @@
1
- mutation mutCreateBroadcast($input: CreateBroadcastInput!) {
2
- mutCreateBroadcast(input: $input) {
3
- ...FragBroadcastResp
4
- }
5
- }
@@ -1,23 +0,0 @@
1
- query queryFetchBroadcastsNearby($input: FetchBroadcastsNearbyInput!) {
2
- queryFetchBroadcastsNearby(input: $input) {
3
- nearbyIndex
4
- broadcasts {
5
- ...FragBroadcastResp
6
- }
7
- }
8
- }
9
-
10
- query queryFetchBroadcastsByCreatorID($creatorID: UUID!) {
11
- queryFetchBroadcastsByCreatorID(creatorID: $creatorID) {
12
- creatorID
13
- broadcasts {
14
- ...FragBroadcastResp
15
- }
16
- }
17
- }
18
-
19
- query queryFetchBroadcastByPID($pid: String!) {
20
- queryFetchBroadcastByPID(pid: $pid) {
21
- ...FragBroadcastResp
22
- }
23
- }