wamygraphql 0.6.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 FragBroadcastResp on BroadcastResp {
170
- broadcastID
171
- broadcastPID
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.6.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 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
- }