@sellout/models 0.0.206 → 0.0.208
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/userProfilesAdmin.query.js +5 -2
- package/.dist/graphql/queries/userProfilesAdmin.query.js.map +1 -1
- package/.dist/interfaces/IPagination.d.ts +2 -1
- package/.dist/interfaces/IPagination.js +1 -0
- package/.dist/interfaces/IPagination.js.map +1 -1
- package/package.json +3 -3
- package/src/graphql/queries/userProfilesAdmin.query.ts +5 -2
- package/src/interfaces/IPagination.ts +10 -9
|
@@ -5,8 +5,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
7
7
|
const query = (0, graphql_tag_1.default) `
|
|
8
|
-
query userProfilesAdmin(
|
|
9
|
-
|
|
8
|
+
query userProfilesAdmin(
|
|
9
|
+
$query: UserProfileQueryInput
|
|
10
|
+
$pagination: PaginationInput
|
|
11
|
+
) {
|
|
12
|
+
userProfilesAdmin(query: $query, pagination: $pagination) {
|
|
10
13
|
_id
|
|
11
14
|
userId
|
|
12
15
|
imageUrl
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userProfilesAdmin.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/userProfilesAdmin.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA
|
|
1
|
+
{"version":3,"file":"userProfilesAdmin.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/userProfilesAdmin.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2ChB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
|
|
@@ -11,6 +11,7 @@ export declare enum PaginationTypes {
|
|
|
11
11
|
Venues = "Venues",
|
|
12
12
|
PlateformSettings = "PlateformSettings",
|
|
13
13
|
OrganizationSettings = "OrganizationSettings",
|
|
14
|
-
EventSettings = "EventSettings"
|
|
14
|
+
EventSettings = "EventSettings",
|
|
15
|
+
Customers = "Customers"
|
|
15
16
|
}
|
|
16
17
|
export declare type PaginationMap = Map<PaginationTypes, IPagination>;
|
|
@@ -12,5 +12,6 @@ var PaginationTypes;
|
|
|
12
12
|
PaginationTypes["PlateformSettings"] = "PlateformSettings";
|
|
13
13
|
PaginationTypes["OrganizationSettings"] = "OrganizationSettings";
|
|
14
14
|
PaginationTypes["EventSettings"] = "EventSettings";
|
|
15
|
+
PaginationTypes["Customers"] = "Customers";
|
|
15
16
|
})(PaginationTypes = exports.PaginationTypes || (exports.PaginationTypes = {}));
|
|
16
17
|
//# sourceMappingURL=IPagination.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPagination.js","sourceRoot":"","sources":["../../src/interfaces/IPagination.ts"],"names":[],"mappings":";;;AAKA,IAAY,
|
|
1
|
+
{"version":3,"file":"IPagination.js","sourceRoot":"","sources":["../../src/interfaces/IPagination.ts"],"names":[],"mappings":";;;AAKA,IAAY,eAWX;AAXD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,8CAA2B,CAAA;IAC3B,oDAAiC,CAAA;IACjC,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,0DAAuC,CAAA;IACvC,gEAA6C,CAAA;IAC7C,kDAA+B,CAAA;IAC/B,0CAAuB,CAAA;AACzB,CAAC,EAXW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAW1B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/models",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.208",
|
|
4
4
|
"description": "Sellout.io models",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@hapi/joi": "^16.1.7",
|
|
20
|
-
"@sellout/utils": "^0.0.
|
|
20
|
+
"@sellout/utils": "^0.0.208",
|
|
21
21
|
"@types/hapi__joi": "^16.0.1",
|
|
22
22
|
"@types/shortid": "^0.0.29",
|
|
23
23
|
"apollo-link-debounce": "^2.1.0",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"protobufjs": "^6.11.2",
|
|
32
32
|
"typescript": "^4.4.2"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "43d7eceeccbe9cd008ed1a66f7aa7c943e4dead3"
|
|
35
35
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import gql from "graphql-tag";
|
|
2
2
|
|
|
3
3
|
const query = gql`
|
|
4
|
-
query userProfilesAdmin(
|
|
5
|
-
|
|
4
|
+
query userProfilesAdmin(
|
|
5
|
+
$query: UserProfileQueryInput
|
|
6
|
+
$pagination: PaginationInput
|
|
7
|
+
) {
|
|
8
|
+
userProfilesAdmin(query: $query, pagination: $pagination) {
|
|
6
9
|
_id
|
|
7
10
|
userId
|
|
8
11
|
imageUrl
|
|
@@ -4,15 +4,16 @@ export default interface IPagination {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
export enum PaginationTypes {
|
|
7
|
-
Orders =
|
|
8
|
-
EventOrders =
|
|
9
|
-
CustomerOrders =
|
|
10
|
-
Events =
|
|
11
|
-
Artists =
|
|
12
|
-
Venues =
|
|
13
|
-
PlateformSettings =
|
|
14
|
-
OrganizationSettings =
|
|
15
|
-
EventSettings =
|
|
7
|
+
Orders = "Orders",
|
|
8
|
+
EventOrders = "EventOrders",
|
|
9
|
+
CustomerOrders = "CustomerOrders",
|
|
10
|
+
Events = "Events",
|
|
11
|
+
Artists = "Artists",
|
|
12
|
+
Venues = "Venues",
|
|
13
|
+
PlateformSettings = "PlateformSettings",
|
|
14
|
+
OrganizationSettings = "OrganizationSettings",
|
|
15
|
+
EventSettings = "EventSettings",
|
|
16
|
+
Customers = "Customers",
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
export type PaginationMap = Map<PaginationTypes, IPagination>;
|