@sellout/models 0.0.51 → 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.
- package/.dist/graphql/queries/profile.query.js +1 -0
- package/.dist/graphql/queries/profile.query.js.map +1 -1
- package/.dist/graphql/queries/venue.query.d.ts +2 -0
- package/.dist/graphql/queries/venue.query.js +36 -0
- package/.dist/graphql/queries/venue.query.js.map +1 -0
- package/.dist/graphql/queries/venues.query.d.ts +2 -0
- package/.dist/graphql/queries/venues.query.js +48 -0
- package/.dist/graphql/queries/venues.query.js.map +1 -0
- package/.dist/interfaces/ISecondaryEmail.d.ts +4 -0
- package/.dist/interfaces/ISecondaryEmail.js +3 -0
- package/.dist/interfaces/ISecondaryEmail.js.map +1 -0
- package/.dist/interfaces/IUser.d.ts +1 -0
- package/.dist/schemas/SecondaryEmail.d.ts +12 -0
- package/.dist/schemas/SecondaryEmail.js +14 -0
- package/.dist/schemas/SecondaryEmail.js.map +1 -0
- package/.dist/sellout-proto.js +2268 -0
- package/package.json +4 -4
- package/src/graphql/queries/profile.query.ts +1 -0
- package/src/graphql/queries/venue.query.ts +32 -0
- package/src/graphql/queries/venues.query.ts +45 -0
- package/src/interfaces/IUser.ts +1 -0
- package/src/proto/user.proto +53 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/profile.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA
|
|
1
|
+
{"version":3,"file":"profile.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/profile.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiFhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
|
|
@@ -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,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ISecondaryEmail.js","sourceRoot":"","sources":["../../src/interfaces/ISecondaryEmail.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
email: {
|
|
5
|
+
type: String,
|
|
6
|
+
required: true,
|
|
7
|
+
},
|
|
8
|
+
verifiedAt: {
|
|
9
|
+
type: Number,
|
|
10
|
+
required: false,
|
|
11
|
+
default: 0,
|
|
12
|
+
},
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=SecondaryEmail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecondaryEmail.js","sourceRoot":"","sources":["../../src/schemas/SecondaryEmail.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACf;IACD,UAAU,EAAE;QACV,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,CAAC;KACX;CACF,CAAC"}
|