@sellout/models 0.0.53 → 0.0.55
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/profiles.query.d.ts +2 -0
- package/.dist/graphql/queries/profiles.query.js +39 -0
- package/.dist/graphql/queries/profiles.query.js.map +1 -0
- 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/package.json +4 -4
- package/src/graphql/queries/profiles.query.ts +35 -0
- package/src/graphql/queries/venue.query.ts +32 -0
- package/src/graphql/queries/venues.query.ts +45 -0
|
@@ -0,0 +1,39 @@
|
|
|
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 userProfiles($query: UserProfileQueryInput, $pagination: PaginationInput) {
|
|
9
|
+
userProfiles(query: $query, pagination: $pagination) {
|
|
10
|
+
userId
|
|
11
|
+
imageUrl
|
|
12
|
+
firstName
|
|
13
|
+
lastName
|
|
14
|
+
email
|
|
15
|
+
phoneNumber
|
|
16
|
+
authyId
|
|
17
|
+
stripeCustomerId
|
|
18
|
+
metrics {
|
|
19
|
+
orgId
|
|
20
|
+
yearToDateValue
|
|
21
|
+
lifeTimeValue
|
|
22
|
+
createdAt
|
|
23
|
+
lifeTimeUpgradesPurchased
|
|
24
|
+
lifeTimeUpgradesRefunded
|
|
25
|
+
}
|
|
26
|
+
address {
|
|
27
|
+
address1
|
|
28
|
+
address2
|
|
29
|
+
city
|
|
30
|
+
state
|
|
31
|
+
zip
|
|
32
|
+
country
|
|
33
|
+
phone
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
`;
|
|
38
|
+
exports.default = query;
|
|
39
|
+
//# sourceMappingURL=profiles.query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profiles.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/profiles.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BhB,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/models",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.55",
|
|
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.
|
|
20
|
-
"@sellout/utils": "^0.0.
|
|
19
|
+
"@sellout/service": "^0.0.55",
|
|
20
|
+
"@sellout/utils": "^0.0.55",
|
|
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": "
|
|
32
|
+
"gitHead": "1f315d68f2092fbb20a259776a6148d270027e7c"
|
|
33
33
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import gql from "graphql-tag";
|
|
2
|
+
|
|
3
|
+
const query = gql`
|
|
4
|
+
query userProfiles($query: UserProfileQueryInput, $pagination: PaginationInput) {
|
|
5
|
+
userProfiles(query: $query, pagination: $pagination) {
|
|
6
|
+
userId
|
|
7
|
+
imageUrl
|
|
8
|
+
firstName
|
|
9
|
+
lastName
|
|
10
|
+
email
|
|
11
|
+
phoneNumber
|
|
12
|
+
authyId
|
|
13
|
+
stripeCustomerId
|
|
14
|
+
metrics {
|
|
15
|
+
orgId
|
|
16
|
+
yearToDateValue
|
|
17
|
+
lifeTimeValue
|
|
18
|
+
createdAt
|
|
19
|
+
lifeTimeUpgradesPurchased
|
|
20
|
+
lifeTimeUpgradesRefunded
|
|
21
|
+
}
|
|
22
|
+
address {
|
|
23
|
+
address1
|
|
24
|
+
address2
|
|
25
|
+
city
|
|
26
|
+
state
|
|
27
|
+
zip
|
|
28
|
+
country
|
|
29
|
+
phone
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
34
|
+
|
|
35
|
+
export default query;
|
|
@@ -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;
|