wamygraphql 0.11.0 → 0.13.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
@@ -177,9 +177,9 @@ fragment FragPostResp on PostResp {
177
177
  createdAt
178
178
  isCreator
179
179
  }
180
- fragment FragPingLimitResp on PingLimitResp {
180
+ fragment FragPingQuotaResp on PingQuotaResp {
181
181
  count
182
- limit
182
+ quota
183
183
  nextAllowedAt
184
184
  }
185
185
  fragment FragPingResp on PingResp {
@@ -9,3 +9,7 @@ mutation mutMarkNotificationsAsRead {
9
9
  mutation mutSetPushNotificationAccess($state: PushNotificationAccessState!) {
10
10
  mutSetPushNotificationAccess(state: $state)
11
11
  }
12
+
13
+ mutation mutSetEmailNotification($on: Boolean!) {
14
+ mutSetEmailNotification(on: $on)
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wamygraphql",
3
- "version": "0.11.0",
3
+ "version": "0.13.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"
@@ -8,3 +8,7 @@ query queryFetchAccountFlags {
8
8
  query queryFetchPushNotificationAccess {
9
9
  queryFetchPushNotificationAccess
10
10
  }
11
+
12
+ query queryFetchEmailNotification {
13
+ queryFetchEmailNotification
14
+ }
@@ -22,9 +22,9 @@ query queryFetchPingByPID($pid: String!) {
22
22
  }
23
23
  }
24
24
 
25
- query queryFetchMyPingLimit {
26
- queryFetchMyPingLimit {
27
- ...FragPingLimitResp
25
+ query queryFetchMyPingQuota {
26
+ queryFetchMyPingQuota {
27
+ ...FragPingQuotaResp
28
28
  }
29
29
  }
30
30