lakutata 2.0.39 → 2.0.41
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/com/cacher.cjs +17 -19
- package/com/cacher.d.ts +16 -6
- package/com/cacher.mjs +1 -1
- package/package.json +1 -1
- package/src/components/cacher/Cacher.cjs +195 -178
- package/src/components/cacher/Cacher.mjs +182 -165
- package/src/components/cacher/interfaces/CacherOptions.cjs +1 -0
- package/src/components/cacher/interfaces/CacherOptions.mjs +1 -0
- package/vendor/Package.18.cjs +184 -195
- package/vendor/Package.18.mjs +176 -187
- package/src/components/cacher/options/CacherOptions.cjs +0 -95
- package/src/components/cacher/options/CacherOptions.mjs +0 -89
|
@@ -1,95 +0,0 @@
|
|
|
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 t = require("../../../decorators/dto/Expect.cjs");
|
|
12
|
-
|
|
13
|
-
const s = require("./FileCacheOptions.cjs");
|
|
14
|
-
|
|
15
|
-
const i = require("./MemcacheCacheOptions.cjs");
|
|
16
|
-
|
|
17
|
-
const a = require("./MongoCacheOptions.cjs");
|
|
18
|
-
|
|
19
|
-
const c = require("./PostgresCacheOptions.cjs");
|
|
20
|
-
|
|
21
|
-
const o = require("./MysqlCacheOptions.cjs");
|
|
22
|
-
|
|
23
|
-
const n = require("./SqliteCacheOptions.cjs");
|
|
24
|
-
|
|
25
|
-
const p = require("./RedisCacheOptions.cjs");
|
|
26
|
-
|
|
27
|
-
require("../../../lib/base/internal/DataValidator.cjs");
|
|
28
|
-
|
|
29
|
-
require("../../../../vendor/Package.4.cjs");
|
|
30
|
-
|
|
31
|
-
require("../../../../vendor/Package.5.cjs");
|
|
32
|
-
|
|
33
|
-
require("node:util/types");
|
|
34
|
-
|
|
35
|
-
require("../../../lib/validation/VLD.cjs");
|
|
36
|
-
|
|
37
|
-
require("../../../../vendor/Package.11.cjs");
|
|
38
|
-
|
|
39
|
-
require("url");
|
|
40
|
-
|
|
41
|
-
require("../../../../vendor/Package.10.cjs");
|
|
42
|
-
|
|
43
|
-
require("util");
|
|
44
|
-
|
|
45
|
-
require("../../../exceptions/dto/InvalidValueException.cjs");
|
|
46
|
-
|
|
47
|
-
require("../../../lib/base/abstracts/Exception.cjs");
|
|
48
|
-
|
|
49
|
-
require("../../../lib/base/internal/BasicInfo.cjs");
|
|
50
|
-
|
|
51
|
-
require("../../../lib/helpers/As.cjs");
|
|
52
|
-
|
|
53
|
-
require("../../../../vendor/Package.6.cjs");
|
|
54
|
-
|
|
55
|
-
require("../../../../vendor/Package.7.cjs");
|
|
56
|
-
|
|
57
|
-
require("../../../lib/base/internal/ThrowWarning.cjs");
|
|
58
|
-
|
|
59
|
-
require("../../../lib/helpers/Templating.cjs");
|
|
60
|
-
|
|
61
|
-
require("../../../lib/base/internal/CamelCase.cjs");
|
|
62
|
-
|
|
63
|
-
require("../../../lib/helpers/NoCase.cjs");
|
|
64
|
-
|
|
65
|
-
require("../../../../vendor/Package.9.cjs");
|
|
66
|
-
|
|
67
|
-
require("../../../lib/helpers/IsHtml.cjs");
|
|
68
|
-
|
|
69
|
-
require("../../../lib/helpers/IsXML.cjs");
|
|
70
|
-
|
|
71
|
-
require("../../../constants/DTOMetadataKey.cjs");
|
|
72
|
-
|
|
73
|
-
require("../../../lib/helpers/ObjectConstructor.cjs");
|
|
74
|
-
|
|
75
|
-
require("../../../lib/helpers/ObjectParentConstructors.cjs");
|
|
76
|
-
|
|
77
|
-
require("../../../lib/helpers/ObjectParentConstructor.cjs");
|
|
78
|
-
|
|
79
|
-
require("../../../lib/helpers/ObjectPrototype.cjs");
|
|
80
|
-
|
|
81
|
-
class CacherOptions extends r.DTO {}
|
|
82
|
-
|
|
83
|
-
e.__decorate([ t.Expect(r.DTO.Alternatives(r.DTO.Array(r.DTO.Alternatives(s.FileCacheOptions.Schema(), p.RedisCacheOptions.Schema(), i.MemcacheCacheOptions.Schema(), a.MongoCacheOptions.Schema(), n.SqliteCacheOptions.Schema(), c.PostgresCacheOptions.Schema(), o.MysqlCacheOptions.Schema())), s.FileCacheOptions.Schema(), p.RedisCacheOptions.Schema(), i.MemcacheCacheOptions.Schema(), a.MongoCacheOptions.Schema(), n.SqliteCacheOptions.Schema(), c.PostgresCacheOptions.Schema(), o.MysqlCacheOptions.Schema()).optional()), e.__metadata("design:type", Object) ], CacherOptions.prototype, "stores", void 0);
|
|
84
|
-
|
|
85
|
-
e.__decorate([ t.Expect(r.DTO.Number().positive().integer().optional()), e.__metadata("design:type", Number) ], CacherOptions.prototype, "ttl", void 0);
|
|
86
|
-
|
|
87
|
-
e.__decorate([ t.Expect(r.DTO.Number().positive().integer().optional()), e.__metadata("design:type", Number) ], CacherOptions.prototype, "refreshThreshold", void 0);
|
|
88
|
-
|
|
89
|
-
e.__decorate([ t.Expect(r.DTO.Boolean().optional()), e.__metadata("design:type", Boolean) ], CacherOptions.prototype, "refreshAllStores", void 0);
|
|
90
|
-
|
|
91
|
-
e.__decorate([ t.Expect(r.DTO.Boolean().optional()), e.__metadata("design:type", Boolean) ], CacherOptions.prototype, "nonBlocking", void 0);
|
|
92
|
-
|
|
93
|
-
e.__decorate([ t.Expect(r.DTO.String().optional()), e.__metadata("design:type", String) ], CacherOptions.prototype, "cacheId", void 0);
|
|
94
|
-
|
|
95
|
-
exports.CacherOptions = CacherOptions;
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { _ as e, a as o } from "../../../../vendor/Package.1.mjs";
|
|
2
|
-
|
|
3
|
-
import { D as t } from "../../../../vendor/Package.2.mjs";
|
|
4
|
-
|
|
5
|
-
import { Expect as r } from "../../../decorators/dto/Expect.mjs";
|
|
6
|
-
|
|
7
|
-
import { FileCacheOptions as i } from "./FileCacheOptions.mjs";
|
|
8
|
-
|
|
9
|
-
import { MemcacheCacheOptions as s } from "./MemcacheCacheOptions.mjs";
|
|
10
|
-
|
|
11
|
-
import { MongoCacheOptions as m } from "./MongoCacheOptions.mjs";
|
|
12
|
-
|
|
13
|
-
import { PostgresCacheOptions as a } from "./PostgresCacheOptions.mjs";
|
|
14
|
-
|
|
15
|
-
import { MysqlCacheOptions as p } from "./MysqlCacheOptions.mjs";
|
|
16
|
-
|
|
17
|
-
import { SqliteCacheOptions as n } from "./SqliteCacheOptions.mjs";
|
|
18
|
-
|
|
19
|
-
import { RedisCacheOptions as c } from "./RedisCacheOptions.mjs";
|
|
20
|
-
|
|
21
|
-
import "../../../lib/base/internal/DataValidator.mjs";
|
|
22
|
-
|
|
23
|
-
import "../../../../vendor/Package.4.mjs";
|
|
24
|
-
|
|
25
|
-
import "../../../../vendor/Package.5.mjs";
|
|
26
|
-
|
|
27
|
-
import "node:util/types";
|
|
28
|
-
|
|
29
|
-
import "../../../lib/validation/VLD.mjs";
|
|
30
|
-
|
|
31
|
-
import "../../../../vendor/Package.11.mjs";
|
|
32
|
-
|
|
33
|
-
import "url";
|
|
34
|
-
|
|
35
|
-
import "../../../../vendor/Package.10.mjs";
|
|
36
|
-
|
|
37
|
-
import "util";
|
|
38
|
-
|
|
39
|
-
import "../../../exceptions/dto/InvalidValueException.mjs";
|
|
40
|
-
|
|
41
|
-
import "../../../lib/base/abstracts/Exception.mjs";
|
|
42
|
-
|
|
43
|
-
import "../../../lib/base/internal/BasicInfo.mjs";
|
|
44
|
-
|
|
45
|
-
import "../../../lib/helpers/As.mjs";
|
|
46
|
-
|
|
47
|
-
import "../../../../vendor/Package.6.mjs";
|
|
48
|
-
|
|
49
|
-
import "../../../../vendor/Package.7.mjs";
|
|
50
|
-
|
|
51
|
-
import "../../../lib/base/internal/ThrowWarning.mjs";
|
|
52
|
-
|
|
53
|
-
import "../../../lib/helpers/Templating.mjs";
|
|
54
|
-
|
|
55
|
-
import "../../../lib/base/internal/CamelCase.mjs";
|
|
56
|
-
|
|
57
|
-
import "../../../lib/helpers/NoCase.mjs";
|
|
58
|
-
|
|
59
|
-
import "../../../../vendor/Package.9.mjs";
|
|
60
|
-
|
|
61
|
-
import "../../../lib/helpers/IsHtml.mjs";
|
|
62
|
-
|
|
63
|
-
import "../../../lib/helpers/IsXML.mjs";
|
|
64
|
-
|
|
65
|
-
import "../../../constants/DTOMetadataKey.mjs";
|
|
66
|
-
|
|
67
|
-
import "../../../lib/helpers/ObjectConstructor.mjs";
|
|
68
|
-
|
|
69
|
-
import "../../../lib/helpers/ObjectParentConstructors.mjs";
|
|
70
|
-
|
|
71
|
-
import "../../../lib/helpers/ObjectParentConstructor.mjs";
|
|
72
|
-
|
|
73
|
-
import "../../../lib/helpers/ObjectPrototype.mjs";
|
|
74
|
-
|
|
75
|
-
class CacherOptions extends t {}
|
|
76
|
-
|
|
77
|
-
e([ r(t.Alternatives(t.Array(t.Alternatives(i.Schema(), c.Schema(), s.Schema(), m.Schema(), n.Schema(), a.Schema(), p.Schema())), i.Schema(), c.Schema(), s.Schema(), m.Schema(), n.Schema(), a.Schema(), p.Schema()).optional()), o("design:type", Object) ], CacherOptions.prototype, "stores", void 0);
|
|
78
|
-
|
|
79
|
-
e([ r(t.Number().positive().integer().optional()), o("design:type", Number) ], CacherOptions.prototype, "ttl", void 0);
|
|
80
|
-
|
|
81
|
-
e([ r(t.Number().positive().integer().optional()), o("design:type", Number) ], CacherOptions.prototype, "refreshThreshold", void 0);
|
|
82
|
-
|
|
83
|
-
e([ r(t.Boolean().optional()), o("design:type", Boolean) ], CacherOptions.prototype, "refreshAllStores", void 0);
|
|
84
|
-
|
|
85
|
-
e([ r(t.Boolean().optional()), o("design:type", Boolean) ], CacherOptions.prototype, "nonBlocking", void 0);
|
|
86
|
-
|
|
87
|
-
e([ r(t.String().optional()), o("design:type", String) ], CacherOptions.prototype, "cacheId", void 0);
|
|
88
|
-
|
|
89
|
-
export { CacherOptions };
|