lakutata 2.0.71 → 2.0.72
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/dtos.cjs +69 -0
- package/dtos.d.ts +19 -0
- package/dtos.mjs +59 -0
- package/helper.cjs +14 -10
- package/helper.d.ts +11 -1
- package/helper.mjs +2 -0
- package/package.json +6 -1
- package/src/dto/PaginationResultDTO.cjs +74 -0
- package/src/dto/PaginationResultDTO.mjs +68 -0
- package/src/dto/PaginationSearchDTO.cjs +69 -0
- package/src/dto/PaginationSearchDTO.mjs +63 -0
- package/src/lib/helpers/Paginator.cjs +11 -0
- package/src/lib/helpers/Paginator.mjs +5 -0
- package/vendor/Package.17.cjs +195 -184
- package/vendor/Package.17.mjs +187 -176
package/dtos.cjs
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, {
|
|
4
|
+
value: "Module"
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
require("./vendor/Package.4.cjs");
|
|
8
|
+
|
|
9
|
+
const e = require("./src/dto/PaginationSearchDTO.cjs");
|
|
10
|
+
|
|
11
|
+
const r = require("./src/dto/PaginationResultDTO.cjs");
|
|
12
|
+
|
|
13
|
+
require("./vendor/Package.5.cjs");
|
|
14
|
+
|
|
15
|
+
require("./vendor/Package.1.cjs");
|
|
16
|
+
|
|
17
|
+
require("./vendor/Package.2.cjs");
|
|
18
|
+
|
|
19
|
+
require("./src/lib/base/internal/DataValidator.cjs");
|
|
20
|
+
|
|
21
|
+
require("node:util/types");
|
|
22
|
+
|
|
23
|
+
require("./src/lib/validation/VLD.cjs");
|
|
24
|
+
|
|
25
|
+
require("url");
|
|
26
|
+
|
|
27
|
+
require("util");
|
|
28
|
+
|
|
29
|
+
require("./src/exceptions/dto/InvalidValueException.cjs");
|
|
30
|
+
|
|
31
|
+
require("./src/lib/base/abstracts/Exception.cjs");
|
|
32
|
+
|
|
33
|
+
require("./src/lib/base/internal/BasicInfo.cjs");
|
|
34
|
+
|
|
35
|
+
require("./src/lib/helpers/As.cjs");
|
|
36
|
+
|
|
37
|
+
require("./vendor/Package.6.cjs");
|
|
38
|
+
|
|
39
|
+
require("./vendor/Package.7.cjs");
|
|
40
|
+
|
|
41
|
+
require("./src/lib/base/internal/ThrowWarning.cjs");
|
|
42
|
+
|
|
43
|
+
require("./src/lib/helpers/Templating.cjs");
|
|
44
|
+
|
|
45
|
+
require("./src/lib/base/internal/CamelCase.cjs");
|
|
46
|
+
|
|
47
|
+
require("./src/lib/helpers/NoCase.cjs");
|
|
48
|
+
|
|
49
|
+
require("./vendor/Package.9.cjs");
|
|
50
|
+
|
|
51
|
+
require("./src/lib/helpers/IsHtml.cjs");
|
|
52
|
+
|
|
53
|
+
require("./src/lib/helpers/IsXML.cjs");
|
|
54
|
+
|
|
55
|
+
require("./src/constants/DTOMetadataKey.cjs");
|
|
56
|
+
|
|
57
|
+
require("./src/lib/helpers/ObjectConstructor.cjs");
|
|
58
|
+
|
|
59
|
+
require("./src/lib/helpers/ObjectParentConstructors.cjs");
|
|
60
|
+
|
|
61
|
+
require("./src/lib/helpers/ObjectParentConstructor.cjs");
|
|
62
|
+
|
|
63
|
+
require("./src/lib/helpers/ObjectPrototype.cjs");
|
|
64
|
+
|
|
65
|
+
require("./src/decorators/dto/Expect.cjs");
|
|
66
|
+
|
|
67
|
+
exports.PaginationSearchDTO = e.PaginationSearchDTO;
|
|
68
|
+
|
|
69
|
+
exports.PaginationResultDTO = r.PaginationResultDTO;
|
package/dtos.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import './vendor/TypeDef.internal.2.js';
|
|
2
|
+
import { DTO } from './vendor/TypeDef.internal.5.js';
|
|
3
|
+
|
|
4
|
+
declare class PaginationSearchDTO extends DTO {
|
|
5
|
+
limit?: number;
|
|
6
|
+
offset?: number;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare class PaginationResultDTO<T = any> extends DTO {
|
|
10
|
+
items: T[];
|
|
11
|
+
meta: {
|
|
12
|
+
count: number;
|
|
13
|
+
total: number;
|
|
14
|
+
limit: number;
|
|
15
|
+
offset: number;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { PaginationResultDTO, PaginationSearchDTO };
|
package/dtos.mjs
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import "./vendor/Package.4.mjs";
|
|
2
|
+
|
|
3
|
+
export { PaginationSearchDTO } from "./src/dto/PaginationSearchDTO.mjs";
|
|
4
|
+
|
|
5
|
+
export { PaginationResultDTO } from "./src/dto/PaginationResultDTO.mjs";
|
|
6
|
+
|
|
7
|
+
import "./vendor/Package.5.mjs";
|
|
8
|
+
|
|
9
|
+
import "./vendor/Package.1.mjs";
|
|
10
|
+
|
|
11
|
+
import "./vendor/Package.2.mjs";
|
|
12
|
+
|
|
13
|
+
import "./src/lib/base/internal/DataValidator.mjs";
|
|
14
|
+
|
|
15
|
+
import "node:util/types";
|
|
16
|
+
|
|
17
|
+
import "./src/lib/validation/VLD.mjs";
|
|
18
|
+
|
|
19
|
+
import "url";
|
|
20
|
+
|
|
21
|
+
import "util";
|
|
22
|
+
|
|
23
|
+
import "./src/exceptions/dto/InvalidValueException.mjs";
|
|
24
|
+
|
|
25
|
+
import "./src/lib/base/abstracts/Exception.mjs";
|
|
26
|
+
|
|
27
|
+
import "./src/lib/base/internal/BasicInfo.mjs";
|
|
28
|
+
|
|
29
|
+
import "./src/lib/helpers/As.mjs";
|
|
30
|
+
|
|
31
|
+
import "./vendor/Package.6.mjs";
|
|
32
|
+
|
|
33
|
+
import "./vendor/Package.7.mjs";
|
|
34
|
+
|
|
35
|
+
import "./src/lib/base/internal/ThrowWarning.mjs";
|
|
36
|
+
|
|
37
|
+
import "./src/lib/helpers/Templating.mjs";
|
|
38
|
+
|
|
39
|
+
import "./src/lib/base/internal/CamelCase.mjs";
|
|
40
|
+
|
|
41
|
+
import "./src/lib/helpers/NoCase.mjs";
|
|
42
|
+
|
|
43
|
+
import "./vendor/Package.9.mjs";
|
|
44
|
+
|
|
45
|
+
import "./src/lib/helpers/IsHtml.mjs";
|
|
46
|
+
|
|
47
|
+
import "./src/lib/helpers/IsXML.mjs";
|
|
48
|
+
|
|
49
|
+
import "./src/constants/DTOMetadataKey.mjs";
|
|
50
|
+
|
|
51
|
+
import "./src/lib/helpers/ObjectConstructor.mjs";
|
|
52
|
+
|
|
53
|
+
import "./src/lib/helpers/ObjectParentConstructors.mjs";
|
|
54
|
+
|
|
55
|
+
import "./src/lib/helpers/ObjectParentConstructor.mjs";
|
|
56
|
+
|
|
57
|
+
import "./src/lib/helpers/ObjectPrototype.mjs";
|
|
58
|
+
|
|
59
|
+
import "./src/decorators/dto/Expect.mjs";
|
package/helper.cjs
CHANGED
|
@@ -40,15 +40,15 @@ const x = require("./src/lib/helpers/IsXML.cjs");
|
|
|
40
40
|
|
|
41
41
|
const h = require("./src/lib/helpers/NoCase.cjs");
|
|
42
42
|
|
|
43
|
-
const
|
|
43
|
+
const g = require("./src/lib/helpers/ObjectConstructor.cjs");
|
|
44
44
|
|
|
45
|
-
const
|
|
45
|
+
const I = require("./src/lib/helpers/ObjectHash.cjs");
|
|
46
46
|
|
|
47
|
-
const
|
|
47
|
+
const P = require("./src/lib/helpers/ObjectParentConstructor.cjs");
|
|
48
48
|
|
|
49
|
-
const
|
|
49
|
+
const S = require("./src/lib/helpers/ObjectParentConstructors.cjs");
|
|
50
50
|
|
|
51
|
-
const
|
|
51
|
+
const d = require("./src/lib/helpers/ObjectPrototype.cjs");
|
|
52
52
|
|
|
53
53
|
const y = require("./src/lib/helpers/SetToArray.cjs");
|
|
54
54
|
|
|
@@ -112,6 +112,8 @@ const Y = require("./src/lib/helpers/UUID.cjs");
|
|
|
112
112
|
|
|
113
113
|
const Z = require("./src/lib/helpers/ObjectPath.cjs");
|
|
114
114
|
|
|
115
|
+
const $ = require("./src/lib/helpers/Paginator.cjs");
|
|
116
|
+
|
|
115
117
|
require("./vendor/Package.5.cjs");
|
|
116
118
|
|
|
117
119
|
require("fs");
|
|
@@ -218,15 +220,15 @@ exports.ToLower = h.ToLower;
|
|
|
218
220
|
|
|
219
221
|
exports.ToUpper = h.ToUpper;
|
|
220
222
|
|
|
221
|
-
exports.ObjectConstructor =
|
|
223
|
+
exports.ObjectConstructor = g.ObjectConstructor;
|
|
222
224
|
|
|
223
|
-
exports.ObjectHash =
|
|
225
|
+
exports.ObjectHash = I.ObjectHash;
|
|
224
226
|
|
|
225
|
-
exports.ObjectParentConstructor =
|
|
227
|
+
exports.ObjectParentConstructor = P.ObjectParentConstructor;
|
|
226
228
|
|
|
227
|
-
exports.ObjectParentConstructors =
|
|
229
|
+
exports.ObjectParentConstructors = S.ObjectParentConstructors;
|
|
228
230
|
|
|
229
|
-
exports.ObjectPrototype =
|
|
231
|
+
exports.ObjectPrototype = d.ObjectPrototype;
|
|
230
232
|
|
|
231
233
|
exports.SetToArray = y.SetToArray;
|
|
232
234
|
|
|
@@ -295,3 +297,5 @@ exports.Statistics = Q.Statistics;
|
|
|
295
297
|
exports.UUID = Y.UUID;
|
|
296
298
|
|
|
297
299
|
exports.ObjectPath = Z.ObjectPath;
|
|
300
|
+
|
|
301
|
+
exports.Paginator = $.Paginator;
|
package/helper.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import { ReadableOptions, Readable } from 'node:stream';
|
|
|
7
7
|
import { win32, posix } from 'node:path';
|
|
8
8
|
import { EventEmitter } from 'node:events';
|
|
9
9
|
import { StringDecoder } from 'node:string_decoder';
|
|
10
|
+
import { PaginationSearchDTO, PaginationResultDTO } from './dtos.js';
|
|
11
|
+
import './vendor/TypeDef.internal.5.js';
|
|
10
12
|
|
|
11
13
|
/**
|
|
12
14
|
* Convert Array to Set
|
|
@@ -4951,5 +4953,13 @@ declare class ObjectPath {
|
|
|
4951
4953
|
static has(obj: Record<string, any>, path: string): boolean;
|
|
4952
4954
|
}
|
|
4953
4955
|
|
|
4954
|
-
|
|
4956
|
+
/**
|
|
4957
|
+
* Paginator
|
|
4958
|
+
* @param options
|
|
4959
|
+
* @param handler
|
|
4960
|
+
* @constructor
|
|
4961
|
+
*/
|
|
4962
|
+
declare function Paginator<T, Options extends PaginationSearchDTO, Result extends PaginationResultDTO<T>>(options: Options, handler: (options: Options, limit: number, offset: number) => Promise<Result>): Promise<Result>;
|
|
4963
|
+
|
|
4964
|
+
export { ArrayToSet, As, ConvertArrayLikeToIterable, ConvertArrayLikeToStream, Delay, DevNull, GetObjectNestingDepth, GetObjectPropertyPaths, Glob, GraceExit, HexToIEEE754, HexToSigned, HexToUnsigned, IEEE754ToHex, IP, IPv4, IPv6, IsAbortError, IsEmptyObject, IsExists, IsGlobString, IsHtml, IsNativeFunction, IsPath, IsPromise, IsPromiseLike, IsSymbol, IsXML, MD5, MergeArray, MergeMap, MergeSet, MissingValueError, NoCase, NonceStr, ObjectConstructor, ObjectHash, ObjectParentConstructor, ObjectParentConstructors, ObjectPath, ObjectPrototype, ObjectToMap, Paginator, RandomString, SHA1, SHA256, SetToArray, SignedToHex, SortArray, SortKeys, SortObject, Split, Statistics, Templating, ToLower, ToUpper, URLBuilder, UUID, UniqueArray, UnsignedToHex };
|
|
4955
4965
|
export type { IPBinHex, IPv4SubNet, IPv6Result, IPv6SubNet, NoCaseOptions, ObjectHashOptions, SortKeysOptions, SortObjectOptions, SortOptions, SplitOptions, TemplatingOptions, URLAttributes, UUIDTypes, Version1Options as UUIDVersion1Options, Version4Options as UUIDVersion4Options, Version6Options as UUIDVersion6Options };
|
package/helper.mjs
CHANGED
|
@@ -106,6 +106,8 @@ export { UUID } from "./src/lib/helpers/UUID.mjs";
|
|
|
106
106
|
|
|
107
107
|
export { ObjectPath } from "./src/lib/helpers/ObjectPath.mjs";
|
|
108
108
|
|
|
109
|
+
export { Paginator } from "./src/lib/helpers/Paginator.mjs";
|
|
110
|
+
|
|
109
111
|
import "./vendor/Package.5.mjs";
|
|
110
112
|
|
|
111
113
|
import "fs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lakutata",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.72",
|
|
4
4
|
"description": "An IoC-based universal application framework.",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -13,6 +13,11 @@
|
|
|
13
13
|
"import": "./orm.mjs",
|
|
14
14
|
"require": "./orm.cjs"
|
|
15
15
|
},
|
|
16
|
+
"./dtos": {
|
|
17
|
+
"types": "./dtos.d.ts",
|
|
18
|
+
"import": "./dtos.mjs",
|
|
19
|
+
"require": "./dtos.cjs"
|
|
20
|
+
},
|
|
16
21
|
"./helper": {
|
|
17
22
|
"types": "./helper.d.ts",
|
|
18
23
|
"import": "./helper.mjs",
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, {
|
|
4
|
+
value: "Module"
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
const e = require("../../vendor/Package.1.cjs");
|
|
8
|
+
|
|
9
|
+
const r = require("../../vendor/Package.2.cjs");
|
|
10
|
+
|
|
11
|
+
const i = require("../decorators/dto/Expect.cjs");
|
|
12
|
+
|
|
13
|
+
require("../lib/base/internal/DataValidator.cjs");
|
|
14
|
+
|
|
15
|
+
require("../../vendor/Package.4.cjs");
|
|
16
|
+
|
|
17
|
+
require("../../vendor/Package.5.cjs");
|
|
18
|
+
|
|
19
|
+
require("node:util/types");
|
|
20
|
+
|
|
21
|
+
require("../lib/validation/VLD.cjs");
|
|
22
|
+
|
|
23
|
+
require("url");
|
|
24
|
+
|
|
25
|
+
require("util");
|
|
26
|
+
|
|
27
|
+
require("../exceptions/dto/InvalidValueException.cjs");
|
|
28
|
+
|
|
29
|
+
require("../lib/base/abstracts/Exception.cjs");
|
|
30
|
+
|
|
31
|
+
require("../lib/base/internal/BasicInfo.cjs");
|
|
32
|
+
|
|
33
|
+
require("../lib/helpers/As.cjs");
|
|
34
|
+
|
|
35
|
+
require("../../vendor/Package.6.cjs");
|
|
36
|
+
|
|
37
|
+
require("../../vendor/Package.7.cjs");
|
|
38
|
+
|
|
39
|
+
require("../lib/base/internal/ThrowWarning.cjs");
|
|
40
|
+
|
|
41
|
+
require("../lib/helpers/Templating.cjs");
|
|
42
|
+
|
|
43
|
+
require("../lib/base/internal/CamelCase.cjs");
|
|
44
|
+
|
|
45
|
+
require("../lib/helpers/NoCase.cjs");
|
|
46
|
+
|
|
47
|
+
require("../../vendor/Package.9.cjs");
|
|
48
|
+
|
|
49
|
+
require("../lib/helpers/IsHtml.cjs");
|
|
50
|
+
|
|
51
|
+
require("../lib/helpers/IsXML.cjs");
|
|
52
|
+
|
|
53
|
+
require("../constants/DTOMetadataKey.cjs");
|
|
54
|
+
|
|
55
|
+
require("../lib/helpers/ObjectConstructor.cjs");
|
|
56
|
+
|
|
57
|
+
require("../lib/helpers/ObjectParentConstructors.cjs");
|
|
58
|
+
|
|
59
|
+
require("../lib/helpers/ObjectParentConstructor.cjs");
|
|
60
|
+
|
|
61
|
+
require("../lib/helpers/ObjectPrototype.cjs");
|
|
62
|
+
|
|
63
|
+
class PaginationResultDTO extends r.DTO {}
|
|
64
|
+
|
|
65
|
+
e.__decorate([ i.Expect(r.DTO.Array(r.DTO.Any()).required()), e.__metadata("design:type", Array) ], PaginationResultDTO.prototype, "items", void 0);
|
|
66
|
+
|
|
67
|
+
e.__decorate([ i.Expect(r.DTO.Object({
|
|
68
|
+
count: r.DTO.Number().integer().positive().allow(0).required(),
|
|
69
|
+
total: r.DTO.Number().integer().positive().allow(0).required(),
|
|
70
|
+
limit: r.DTO.Number().integer().positive().allow(0).required(),
|
|
71
|
+
offset: r.DTO.Number().integer().positive().allow(0).required()
|
|
72
|
+
}).required()), e.__metadata("design:type", Object) ], PaginationResultDTO.prototype, "meta", void 0);
|
|
73
|
+
|
|
74
|
+
exports.PaginationResultDTO = PaginationResultDTO;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { _ as e, a as t } from "../../vendor/Package.1.mjs";
|
|
2
|
+
|
|
3
|
+
import { D as r } from "../../vendor/Package.2.mjs";
|
|
4
|
+
|
|
5
|
+
import { Expect as i } from "../decorators/dto/Expect.mjs";
|
|
6
|
+
|
|
7
|
+
import "../lib/base/internal/DataValidator.mjs";
|
|
8
|
+
|
|
9
|
+
import "../../vendor/Package.4.mjs";
|
|
10
|
+
|
|
11
|
+
import "../../vendor/Package.5.mjs";
|
|
12
|
+
|
|
13
|
+
import "node:util/types";
|
|
14
|
+
|
|
15
|
+
import "../lib/validation/VLD.mjs";
|
|
16
|
+
|
|
17
|
+
import "url";
|
|
18
|
+
|
|
19
|
+
import "util";
|
|
20
|
+
|
|
21
|
+
import "../exceptions/dto/InvalidValueException.mjs";
|
|
22
|
+
|
|
23
|
+
import "../lib/base/abstracts/Exception.mjs";
|
|
24
|
+
|
|
25
|
+
import "../lib/base/internal/BasicInfo.mjs";
|
|
26
|
+
|
|
27
|
+
import "../lib/helpers/As.mjs";
|
|
28
|
+
|
|
29
|
+
import "../../vendor/Package.6.mjs";
|
|
30
|
+
|
|
31
|
+
import "../../vendor/Package.7.mjs";
|
|
32
|
+
|
|
33
|
+
import "../lib/base/internal/ThrowWarning.mjs";
|
|
34
|
+
|
|
35
|
+
import "../lib/helpers/Templating.mjs";
|
|
36
|
+
|
|
37
|
+
import "../lib/base/internal/CamelCase.mjs";
|
|
38
|
+
|
|
39
|
+
import "../lib/helpers/NoCase.mjs";
|
|
40
|
+
|
|
41
|
+
import "../../vendor/Package.9.mjs";
|
|
42
|
+
|
|
43
|
+
import "../lib/helpers/IsHtml.mjs";
|
|
44
|
+
|
|
45
|
+
import "../lib/helpers/IsXML.mjs";
|
|
46
|
+
|
|
47
|
+
import "../constants/DTOMetadataKey.mjs";
|
|
48
|
+
|
|
49
|
+
import "../lib/helpers/ObjectConstructor.mjs";
|
|
50
|
+
|
|
51
|
+
import "../lib/helpers/ObjectParentConstructors.mjs";
|
|
52
|
+
|
|
53
|
+
import "../lib/helpers/ObjectParentConstructor.mjs";
|
|
54
|
+
|
|
55
|
+
import "../lib/helpers/ObjectPrototype.mjs";
|
|
56
|
+
|
|
57
|
+
class PaginationResultDTO extends r {}
|
|
58
|
+
|
|
59
|
+
e([ i(r.Array(r.Any()).required()), t("design:type", Array) ], PaginationResultDTO.prototype, "items", void 0);
|
|
60
|
+
|
|
61
|
+
e([ i(r.Object({
|
|
62
|
+
count: r.Number().integer().positive().allow(0).required(),
|
|
63
|
+
total: r.Number().integer().positive().allow(0).required(),
|
|
64
|
+
limit: r.Number().integer().positive().allow(0).required(),
|
|
65
|
+
offset: r.Number().integer().positive().allow(0).required()
|
|
66
|
+
}).required()), t("design:type", Object) ], PaginationResultDTO.prototype, "meta", void 0);
|
|
67
|
+
|
|
68
|
+
export { PaginationResultDTO };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, {
|
|
4
|
+
value: "Module"
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
const e = require("../../vendor/Package.1.cjs");
|
|
8
|
+
|
|
9
|
+
const r = require("../../vendor/Package.2.cjs");
|
|
10
|
+
|
|
11
|
+
const i = require("../decorators/dto/Expect.cjs");
|
|
12
|
+
|
|
13
|
+
require("../lib/base/internal/DataValidator.cjs");
|
|
14
|
+
|
|
15
|
+
require("../../vendor/Package.4.cjs");
|
|
16
|
+
|
|
17
|
+
require("../../vendor/Package.5.cjs");
|
|
18
|
+
|
|
19
|
+
require("node:util/types");
|
|
20
|
+
|
|
21
|
+
require("../lib/validation/VLD.cjs");
|
|
22
|
+
|
|
23
|
+
require("url");
|
|
24
|
+
|
|
25
|
+
require("util");
|
|
26
|
+
|
|
27
|
+
require("../exceptions/dto/InvalidValueException.cjs");
|
|
28
|
+
|
|
29
|
+
require("../lib/base/abstracts/Exception.cjs");
|
|
30
|
+
|
|
31
|
+
require("../lib/base/internal/BasicInfo.cjs");
|
|
32
|
+
|
|
33
|
+
require("../lib/helpers/As.cjs");
|
|
34
|
+
|
|
35
|
+
require("../../vendor/Package.6.cjs");
|
|
36
|
+
|
|
37
|
+
require("../../vendor/Package.7.cjs");
|
|
38
|
+
|
|
39
|
+
require("../lib/base/internal/ThrowWarning.cjs");
|
|
40
|
+
|
|
41
|
+
require("../lib/helpers/Templating.cjs");
|
|
42
|
+
|
|
43
|
+
require("../lib/base/internal/CamelCase.cjs");
|
|
44
|
+
|
|
45
|
+
require("../lib/helpers/NoCase.cjs");
|
|
46
|
+
|
|
47
|
+
require("../../vendor/Package.9.cjs");
|
|
48
|
+
|
|
49
|
+
require("../lib/helpers/IsHtml.cjs");
|
|
50
|
+
|
|
51
|
+
require("../lib/helpers/IsXML.cjs");
|
|
52
|
+
|
|
53
|
+
require("../constants/DTOMetadataKey.cjs");
|
|
54
|
+
|
|
55
|
+
require("../lib/helpers/ObjectConstructor.cjs");
|
|
56
|
+
|
|
57
|
+
require("../lib/helpers/ObjectParentConstructors.cjs");
|
|
58
|
+
|
|
59
|
+
require("../lib/helpers/ObjectParentConstructor.cjs");
|
|
60
|
+
|
|
61
|
+
require("../lib/helpers/ObjectPrototype.cjs");
|
|
62
|
+
|
|
63
|
+
class PaginationSearchDTO extends r.DTO {}
|
|
64
|
+
|
|
65
|
+
e.__decorate([ i.Expect(r.DTO.Number().integer().positive().allow(0).optional().default(10)), e.__metadata("design:type", Number) ], PaginationSearchDTO.prototype, "limit", void 0);
|
|
66
|
+
|
|
67
|
+
e.__decorate([ i.Expect(r.DTO.Number().integer().positive().allow(0).optional().default(0)), e.__metadata("design:type", Number) ], PaginationSearchDTO.prototype, "offset", void 0);
|
|
68
|
+
|
|
69
|
+
exports.PaginationSearchDTO = PaginationSearchDTO;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { _ as e, a as t } from "../../vendor/Package.1.mjs";
|
|
2
|
+
|
|
3
|
+
import { D as i } from "../../vendor/Package.2.mjs";
|
|
4
|
+
|
|
5
|
+
import { Expect as o } from "../decorators/dto/Expect.mjs";
|
|
6
|
+
|
|
7
|
+
import "../lib/base/internal/DataValidator.mjs";
|
|
8
|
+
|
|
9
|
+
import "../../vendor/Package.4.mjs";
|
|
10
|
+
|
|
11
|
+
import "../../vendor/Package.5.mjs";
|
|
12
|
+
|
|
13
|
+
import "node:util/types";
|
|
14
|
+
|
|
15
|
+
import "../lib/validation/VLD.mjs";
|
|
16
|
+
|
|
17
|
+
import "url";
|
|
18
|
+
|
|
19
|
+
import "util";
|
|
20
|
+
|
|
21
|
+
import "../exceptions/dto/InvalidValueException.mjs";
|
|
22
|
+
|
|
23
|
+
import "../lib/base/abstracts/Exception.mjs";
|
|
24
|
+
|
|
25
|
+
import "../lib/base/internal/BasicInfo.mjs";
|
|
26
|
+
|
|
27
|
+
import "../lib/helpers/As.mjs";
|
|
28
|
+
|
|
29
|
+
import "../../vendor/Package.6.mjs";
|
|
30
|
+
|
|
31
|
+
import "../../vendor/Package.7.mjs";
|
|
32
|
+
|
|
33
|
+
import "../lib/base/internal/ThrowWarning.mjs";
|
|
34
|
+
|
|
35
|
+
import "../lib/helpers/Templating.mjs";
|
|
36
|
+
|
|
37
|
+
import "../lib/base/internal/CamelCase.mjs";
|
|
38
|
+
|
|
39
|
+
import "../lib/helpers/NoCase.mjs";
|
|
40
|
+
|
|
41
|
+
import "../../vendor/Package.9.mjs";
|
|
42
|
+
|
|
43
|
+
import "../lib/helpers/IsHtml.mjs";
|
|
44
|
+
|
|
45
|
+
import "../lib/helpers/IsXML.mjs";
|
|
46
|
+
|
|
47
|
+
import "../constants/DTOMetadataKey.mjs";
|
|
48
|
+
|
|
49
|
+
import "../lib/helpers/ObjectConstructor.mjs";
|
|
50
|
+
|
|
51
|
+
import "../lib/helpers/ObjectParentConstructors.mjs";
|
|
52
|
+
|
|
53
|
+
import "../lib/helpers/ObjectParentConstructor.mjs";
|
|
54
|
+
|
|
55
|
+
import "../lib/helpers/ObjectPrototype.mjs";
|
|
56
|
+
|
|
57
|
+
class PaginationSearchDTO extends i {}
|
|
58
|
+
|
|
59
|
+
e([ o(i.Number().integer().positive().allow(0).optional().default(10)), t("design:type", Number) ], PaginationSearchDTO.prototype, "limit", void 0);
|
|
60
|
+
|
|
61
|
+
e([ o(i.Number().integer().positive().allow(0).optional().default(0)), t("design:type", Number) ], PaginationSearchDTO.prototype, "offset", void 0);
|
|
62
|
+
|
|
63
|
+
export { PaginationSearchDTO };
|