@sellout/models 0.0.53 → 0.0.54

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 query: import("graphql").DocumentNode;
2
+ export default query;
@@ -0,0 +1,36 @@
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 query = graphql_tag_1.default `
8
+ query venue($venueId: String) {
9
+ venue(venueId: $venueId) {
10
+ _id
11
+ name
12
+ description
13
+ capacity
14
+ address {
15
+ address1
16
+ address2
17
+ city
18
+ state
19
+ zip
20
+ country
21
+ phone
22
+ lat
23
+ lng
24
+ placeId
25
+ timezone
26
+ }
27
+ url
28
+ imageUrls
29
+ seatingMapIds
30
+ venueGlobalId
31
+ orgId
32
+ }
33
+ }
34
+ `;
35
+ exports.default = query;
36
+ //# sourceMappingURL=venue.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"venue.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/venue.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const query: import("graphql").DocumentNode;
2
+ export default query;
@@ -0,0 +1,48 @@
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 query = graphql_tag_1.default `
8
+ query venues($query: VenueQueryInput, $pagination: PaginationInput) {
9
+ venues(query: $query, pagination: $pagination) {
10
+ _id
11
+ name
12
+ description
13
+ capacity
14
+ address {
15
+ address1
16
+ address2
17
+ city
18
+ state
19
+ zip
20
+ country
21
+ phone
22
+ lat
23
+ lng
24
+ placeId
25
+ timezone
26
+ }
27
+ url
28
+ imageUrls
29
+ seatingMapIds
30
+ venueGlobalId
31
+ orgId
32
+ metrics {
33
+ lifeTimeTicketsPurchased
34
+ lifeTimeTicketsRefunded
35
+ lifeTimeValue
36
+ lifeTimeValueRefunded
37
+ yearToDateTicketsPurchased
38
+ yearToDateTicketsRefunded
39
+ yearToDateValue
40
+ yearToDateValueRefunded
41
+ lifeTimeUpgradesPurchased
42
+ lifeTimeUpgradesRefunded
43
+ }
44
+ }
45
+ }
46
+ `;
47
+ exports.default = query;
48
+ //# sourceMappingURL=venues.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"venues.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/venues.query.ts"],"names":[],"mappings":";;;;;AACA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuChB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.53",
3
+ "version": "0.0.54",
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.53",
20
- "@sellout/utils": "^0.0.53",
19
+ "@sellout/service": "^0.0.54",
20
+ "@sellout/utils": "^0.0.54",
21
21
  "@types/shortid": "0.0.29",
22
22
  "graphql": "^14.6.0",
23
23
  "graphql-tag": "^2.10.3",
@@ -29,5 +29,5 @@
29
29
  "protobufjs": "~6.8.8",
30
30
  "typescript": "^3.8.3"
31
31
  },
32
- "gitHead": "6d686366208dad8fc1228f43870290f6bd335694"
32
+ "gitHead": "381c26eb2e0af38f005a2a17320c238f8f0d4099"
33
33
  }
@@ -0,0 +1,32 @@
1
+ import gql from "graphql-tag";
2
+
3
+ const query = gql`
4
+ query venue($venueId: String) {
5
+ venue(venueId: $venueId) {
6
+ _id
7
+ name
8
+ description
9
+ capacity
10
+ address {
11
+ address1
12
+ address2
13
+ city
14
+ state
15
+ zip
16
+ country
17
+ phone
18
+ lat
19
+ lng
20
+ placeId
21
+ timezone
22
+ }
23
+ url
24
+ imageUrls
25
+ seatingMapIds
26
+ venueGlobalId
27
+ orgId
28
+ }
29
+ }
30
+ `;
31
+
32
+ export default query;
@@ -0,0 +1,45 @@
1
+
2
+ import gql from "graphql-tag";
3
+
4
+ const query = gql`
5
+ query venues($query: VenueQueryInput, $pagination: PaginationInput) {
6
+ venues(query: $query, pagination: $pagination) {
7
+ _id
8
+ name
9
+ description
10
+ capacity
11
+ address {
12
+ address1
13
+ address2
14
+ city
15
+ state
16
+ zip
17
+ country
18
+ phone
19
+ lat
20
+ lng
21
+ placeId
22
+ timezone
23
+ }
24
+ url
25
+ imageUrls
26
+ seatingMapIds
27
+ venueGlobalId
28
+ orgId
29
+ metrics {
30
+ lifeTimeTicketsPurchased
31
+ lifeTimeTicketsRefunded
32
+ lifeTimeValue
33
+ lifeTimeValueRefunded
34
+ yearToDateTicketsPurchased
35
+ yearToDateTicketsRefunded
36
+ yearToDateValue
37
+ yearToDateValueRefunded
38
+ lifeTimeUpgradesPurchased
39
+ lifeTimeUpgradesRefunded
40
+ }
41
+ }
42
+ }
43
+ `;
44
+
45
+ export default query;