@maioradv/nestjs-core 1.1.0 → 1.1.2
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/model/cursor-query.abstract.d.ts +1 -1
- package/dist/model/cursor-query.abstract.js +3 -2
- package/dist/model/paginated-query.abstract.d.ts +1 -1
- package/dist/model/paginated-query.abstract.js +2 -1
- package/dist/utils/slug.helper.d.ts +1 -1
- package/dist/utils/slug.helper.js +2 -1
- package/dist/utils/storage.helper.d.ts +1 -1
- package/dist/utils/storage.helper.js +2 -1
- package/package.json +2 -2
|
@@ -6,11 +6,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.CursorQueryA = void 0;
|
|
9
10
|
const pagination_1 = require("../dto/pagination");
|
|
10
11
|
const graphql_1 = require("@nestjs/graphql");
|
|
11
12
|
let CursorQueryA = class CursorQueryA extends pagination_1.CursorQueryDto {
|
|
12
13
|
};
|
|
13
|
-
CursorQueryA =
|
|
14
|
+
exports.CursorQueryA = CursorQueryA;
|
|
15
|
+
exports.CursorQueryA = CursorQueryA = __decorate([
|
|
14
16
|
(0, graphql_1.ArgsType)()
|
|
15
17
|
], CursorQueryA);
|
|
16
|
-
exports.default = CursorQueryA;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DefaultClausesI } from "../dto/clauses";
|
|
2
2
|
import { PaginatedQueryDto } from "../dto/pagination";
|
|
3
|
-
export
|
|
3
|
+
export declare abstract class PaginatedQueryA extends PaginatedQueryDto implements DefaultClausesI {
|
|
4
4
|
id?: number[];
|
|
5
5
|
createdAt?: Date;
|
|
6
6
|
updatedAt?: Date;
|
|
@@ -9,11 +9,12 @@ 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.PaginatedQueryA = void 0;
|
|
12
13
|
const clauses_1 = require("../dto/clauses");
|
|
13
14
|
const pagination_1 = require("../dto/pagination");
|
|
14
15
|
class PaginatedQueryA extends pagination_1.PaginatedQueryDto {
|
|
15
16
|
}
|
|
16
|
-
exports.
|
|
17
|
+
exports.PaginatedQueryA = PaginatedQueryA;
|
|
17
18
|
__decorate([
|
|
18
19
|
(0, clauses_1.IsNumberClause)(),
|
|
19
20
|
__metadata("design:type", Array)
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Slugger = void 0;
|
|
3
4
|
class Slugger {
|
|
4
5
|
constructor(word) {
|
|
5
6
|
this.word = word;
|
|
@@ -20,4 +21,4 @@ class Slugger {
|
|
|
20
21
|
return result;
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
|
-
exports.
|
|
24
|
+
exports.Slugger = Slugger;
|
|
@@ -23,6 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.StorageHelper = void 0;
|
|
26
27
|
const fs = __importStar(require("fs"));
|
|
27
28
|
const util_1 = require("util");
|
|
28
29
|
const path_1 = require("path");
|
|
@@ -60,4 +61,4 @@ class StorageHelper {
|
|
|
60
61
|
fs.mkdirSync(dirPath, { recursive: true });
|
|
61
62
|
}
|
|
62
63
|
}
|
|
63
|
-
exports.
|
|
64
|
+
exports.StorageHelper = StorageHelper;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maioradv/nestjs-core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "NestJS helpers by MaiorADV",
|
|
5
5
|
"repository": "https://github.com/maioradv/nestjs-core.git",
|
|
6
6
|
"author": "Maior ADV Srl",
|
|
@@ -49,6 +49,6 @@
|
|
|
49
49
|
},
|
|
50
50
|
"keywords": [
|
|
51
51
|
"typescript",
|
|
52
|
-
"
|
|
52
|
+
"nestjs"
|
|
53
53
|
]
|
|
54
54
|
}
|