@sellout/models 0.0.100 → 0.0.102

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,13 @@
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 generateUserProfileReport($query: UserProfileQueryInput) {
9
+ generateUserProfileReport(query: $query)
10
+ }
11
+ `;
12
+ exports.default = mutation;
13
+ //# sourceMappingURL=generateUserProfileReport.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateUserProfileReport.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/generateUserProfileReport.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;CAInB,CAAC;AAGF,kBAAe,QAAQ,CAAC"}
@@ -9,6 +9,7 @@ const event_fragment_1 = __importDefault(require("../fragments/event.fragment"))
9
9
  const query = graphql_tag_1.default `
10
10
  query orders($query: OrderQueryInput, $pagination: PaginationInput) {
11
11
  orders(query: $query, pagination: $pagination) {
12
+ _id
12
13
  event {
13
14
  _id
14
15
  name
@@ -1 +1 @@
1
- {"version":3,"file":"customerOrders.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/customerOrders.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,qFAAqF;AACrF,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4Bb,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,WAAW;IAC3B,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,aAAa;CAChC,CAAC;AAEF,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"customerOrders.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/customerOrders.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,qFAAqF;AACrF,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6Bb,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,WAAW;IAC3B,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,aAAa;CAChC,CAAC;AAEF,kBAAe,KAAK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.100",
3
+ "version": "0.0.102",
4
4
  "description": "Sellout.io models",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,8 +17,8 @@
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
19
  "@hapi/joi": "^16.1.7",
20
- "@sellout/service": "^0.0.100",
21
- "@sellout/utils": "^0.0.100",
20
+ "@sellout/service": "^0.0.102",
21
+ "@sellout/utils": "^0.0.102",
22
22
  "@types/hapi__joi": "^16.0.1",
23
23
  "@types/shortid": "0.0.29",
24
24
  "apollo-link-debounce": "^2.1.0",
@@ -32,5 +32,5 @@
32
32
  "protobufjs": "~6.10.1",
33
33
  "typescript": "^3.8.3"
34
34
  },
35
- "gitHead": "f48e2dfb74e348d50ccdd632f8f0d5933dbc055e"
35
+ "gitHead": "478c606fa93f1a790b5f4309986a8228101ad188"
36
36
  }
@@ -0,0 +1,10 @@
1
+ import gql from 'graphql-tag';
2
+
3
+ const mutation = gql`
4
+ mutation generateUserProfileReport($query: UserProfileQueryInput) {
5
+ generateUserProfileReport(query: $query)
6
+ }
7
+ `;
8
+
9
+
10
+ export default mutation;
@@ -5,6 +5,7 @@ import Event from "../fragments/event.fragment";
5
5
  const query = gql`
6
6
  query orders($query: OrderQueryInput, $pagination: PaginationInput) {
7
7
  orders(query: $query, pagination: $pagination) {
8
+ _id
8
9
  event {
9
10
  _id
10
11
  name
@@ -40,7 +40,6 @@ message CreateUserResponse {
40
40
  repeated Error errors = 2;
41
41
  User user = 3;
42
42
  }
43
-
44
43
 
45
44
  // Verify Email
46
45