wamygraphql 0.7.0 → 0.8.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 FragShoutoutResp on ShoutoutResp {
170
- shoutoutID
171
- shoutoutPID
169
+ fragment FragPingResp on PingResp {
170
+ pingID
171
+ pingPID
172
172
  interestID
173
173
  content
174
174
  pidLinks {
@@ -0,0 +1,5 @@
1
+ mutation mutCreatePing($input: CreatePingInput!) {
2
+ mutCreatePing(input: $input) {
3
+ ...FragPingResp
4
+ }
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wamygraphql",
3
- "version": "0.7.0",
3
+ "version": "0.8.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 queryFetchPingsNearby($input: FetchPingsNearbyInput!) {
2
+ queryFetchPingsNearby(input: $input) {
3
+ nearbyIndex
4
+ pings {
5
+ ...FragPingResp
6
+ }
7
+ }
8
+ }
9
+
10
+ query queryFetchPingsByCreatorID($creatorID: UUID!) {
11
+ queryFetchPingsByCreatorID(creatorID: $creatorID) {
12
+ creatorID
13
+ pings {
14
+ ...FragPingResp
15
+ }
16
+ }
17
+ }
18
+
19
+ query queryFetchPingByPID($pid: String!) {
20
+ queryFetchPingByPID(pid: $pid) {
21
+ ...FragPingResp
22
+ }
23
+ }
@@ -1,5 +0,0 @@
1
- mutation mutCreateShoutout($input: CreateShoutoutInput!) {
2
- mutCreateShoutout(input: $input) {
3
- ...FragShoutoutResp
4
- }
5
- }
@@ -1,23 +0,0 @@
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
- }