@obisey/nest 0.1.14 → 0.1.16
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/package.json +12 -21
- package/types.d.ts +1 -2
- package/types.js +4 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@obisey/nest",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"description": "NestJS utilities and base classes by Obisey",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -20,35 +20,26 @@
|
|
|
20
20
|
"author": "Ulises",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@apollo/subgraph": "^2.
|
|
24
|
-
"graphql": "^16.
|
|
25
|
-
"graphql-scalars": "^1.23.0",
|
|
23
|
+
"@apollo/subgraph": "^2.11.0",
|
|
24
|
+
"graphql": "^16.0.0",
|
|
26
25
|
"lodash": "^4.17.21",
|
|
27
|
-
"sequelize": "^6.
|
|
28
|
-
"sequelize-typescript": "^2.1.
|
|
29
|
-
"type-graphql": "^1.2.0-beta.1",
|
|
30
|
-
"typegraphql-nestjs": "^0.7.0"
|
|
26
|
+
"sequelize": "^6.37.7",
|
|
27
|
+
"sequelize-typescript": "^2.1.6"
|
|
31
28
|
},
|
|
32
29
|
"devDependencies": {
|
|
33
30
|
"@nestjs/axios": "^4.0.0",
|
|
34
31
|
"@nestjs/cache-manager": "^3.0.1",
|
|
35
|
-
"@nestjs/common": "^
|
|
36
|
-
"@nestjs/core": "^
|
|
37
|
-
"@nestjs/graphql": "^
|
|
32
|
+
"@nestjs/common": "^11.1.3",
|
|
33
|
+
"@nestjs/core": "^11.1.3",
|
|
34
|
+
"@nestjs/graphql": "^13.1.0",
|
|
38
35
|
"@types/sequelize": "^4.28.20",
|
|
39
36
|
"cache-manager": "^7.0.0",
|
|
40
37
|
"cache-manager-redis-store": "^3.0.1",
|
|
41
|
-
"graphql": "^16.
|
|
38
|
+
"graphql": "^16.0.0",
|
|
42
39
|
"ioredis": "^5.6.1",
|
|
43
40
|
"reflect-metadata": "^0.2.2",
|
|
44
|
-
"sequelize": "^6.
|
|
45
|
-
"sequelize-typescript": "^2.1.
|
|
46
|
-
"
|
|
47
|
-
"typegraphql-nestjs": "^0.7.0",
|
|
48
|
-
"typescript": "^5.4.5"
|
|
49
|
-
},
|
|
50
|
-
"dependencies": {
|
|
51
|
-
"dayjs": "^1.11.13",
|
|
52
|
-
"graphql-scalars": "^1.23.0"
|
|
41
|
+
"sequelize": "^6.37.7",
|
|
42
|
+
"sequelize-typescript": "^2.1.6",
|
|
43
|
+
"typescript": "^5.8.3"
|
|
53
44
|
}
|
|
54
45
|
}
|
package/types.d.ts
CHANGED
package/types.js
CHANGED
|
@@ -9,10 +9,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.UtilsTypes = exports.OrderInput = exports.ArgsFechas = exports.Status = exports.Conteo = exports.peticion = exports.paginate = void 0;
|
|
13
13
|
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
-
const common_1 = require("@nestjs/common");
|
|
15
|
-
const typegraphql_nestjs_1 = require("typegraphql-nestjs");
|
|
16
14
|
const paginate = ({ where, pagina, limite, order }) => {
|
|
17
15
|
const offset = (pagina - 1) * limite;
|
|
18
16
|
const limit = limite;
|
|
@@ -84,15 +82,6 @@ __decorate([
|
|
|
84
82
|
exports.OrderInput = OrderInput = __decorate([
|
|
85
83
|
(0, graphql_1.InputType)()
|
|
86
84
|
], OrderInput);
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
exports.UtilsModule = UtilsModule = __decorate([
|
|
91
|
-
(0, common_1.Module)({
|
|
92
|
-
imports: [
|
|
93
|
-
typegraphql_nestjs_1.TypeGraphQLModule.forFeature({
|
|
94
|
-
orphanedTypes: [ArgsFechas, Status, Conteo, OrderInput],
|
|
95
|
-
}),
|
|
96
|
-
],
|
|
97
|
-
})
|
|
98
|
-
], UtilsModule);
|
|
85
|
+
exports.UtilsTypes = [
|
|
86
|
+
ArgsFechas, Status, Conteo, OrderInput
|
|
87
|
+
];
|