@sellout/models 0.0.67 → 0.0.68

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.
@@ -0,0 +1,2 @@
1
+ declare const mutation: import("graphql").DocumentNode;
2
+ export default mutation;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const graphql_tag_1 = __importDefault(require("graphql-tag"));
7
+ const mutation = graphql_tag_1.default `
8
+ mutation updateUserEmail ($newEmail: String!) {
9
+ updateUserEmail (newEmail: $newEmail) {
10
+ _id
11
+ firstName
12
+ lastName
13
+ email
14
+ emailVerifiedAt
15
+ phoneNumber
16
+ phoneNumberVerifiedAt
17
+ orgContextId
18
+ phoneNumberWaitingForVerify
19
+ emailWaitingForVerify
20
+ userProfile {
21
+ imageUrl
22
+ }
23
+ }
24
+ }
25
+ `;
26
+ exports.default = mutation;
27
+ //# sourceMappingURL=updateUserEmail.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateUserEmail.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateUserEmail.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;CAkBnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.67",
3
+ "version": "0.0.68",
4
4
  "description": "Sellout.io models",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,8 +16,8 @@
16
16
  "author": "samheutmaker@gmail.com",
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
- "@sellout/service": "^0.0.67",
20
- "@sellout/utils": "^0.0.67",
19
+ "@sellout/service": "^0.0.68",
20
+ "@sellout/utils": "^0.0.68",
21
21
  "@types/shortid": "0.0.29",
22
22
  "apollo-link-debounce": "^2.1.0",
23
23
  "graphql": "^14.6.0",
@@ -30,5 +30,5 @@
30
30
  "protobufjs": "~6.10.1",
31
31
  "typescript": "^3.8.3"
32
32
  },
33
- "gitHead": "c54371e8d53146a1650b287c69e6d4d585256c3d"
33
+ "gitHead": "d5ab7b3e09d308e963b68a107762880f17f4fbbc"
34
34
  }
@@ -0,0 +1,23 @@
1
+ import gql from 'graphql-tag';
2
+
3
+ const mutation = gql`
4
+ mutation updateUserEmail ($newEmail: String!) {
5
+ updateUserEmail (newEmail: $newEmail) {
6
+ _id
7
+ firstName
8
+ lastName
9
+ email
10
+ emailVerifiedAt
11
+ phoneNumber
12
+ phoneNumberVerifiedAt
13
+ orgContextId
14
+ phoneNumberWaitingForVerify
15
+ emailWaitingForVerify
16
+ userProfile {
17
+ imageUrl
18
+ }
19
+ }
20
+ }
21
+ `;
22
+
23
+ export default mutation;