@daiso-tech/core 0.32.0 → 0.32.1
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/async/async.errors.d.ts +14 -0
- package/dist/async/async.errors.js +14 -0
- package/dist/async/async.errors.js.map +1 -1
- package/dist/async/async.events.d.ts +23 -0
- package/dist/async/async.events.js +23 -0
- package/dist/async/async.events.js.map +1 -1
- package/dist/async/backof-policies/_shared.d.ts +1 -1
- package/dist/async/backof-policies/constant-backoff-policy/constant-backoff-policy.d.ts +2 -2
- package/dist/async/backof-policies/constant-backoff-policy/constant-backoff-policy.js +1 -1
- package/dist/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.d.ts +2 -2
- package/dist/async/backof-policies/exponential-backoff-policy/exponential-backoff-policy.js +1 -1
- package/dist/async/backof-policies/linear-backoff-policy/linear-backoff-policy.d.ts +2 -2
- package/dist/async/backof-policies/linear-backoff-policy/linear-backoff-policy.js +1 -1
- package/dist/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.d.ts +2 -2
- package/dist/async/backof-policies/polynomial-backoff-policy/polynomial-backoff-policy.js +1 -1
- package/dist/async/utilities/lazy-promise/lazy-promise.d.ts +7 -41
- package/dist/async/utilities/lazy-promise/lazy-promise.js +7 -8
- package/dist/async/utilities/lazy-promise/lazy-promise.js.map +1 -1
- package/dist/cache/contracts/cache.errors.d.ts +13 -0
- package/dist/cache/contracts/cache.errors.js +13 -0
- package/dist/cache/contracts/cache.errors.js.map +1 -1
- package/dist/cache/contracts/cache.events.d.ts +26 -2
- package/dist/cache/contracts/cache.events.js +26 -2
- package/dist/cache/contracts/cache.events.js.map +1 -1
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter-serde.js +3 -3
- package/dist/cache/implementations/adapters/mongodb-cache-adapter/mongodb-cache-adapter-serde.js.map +1 -1
- package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter-serde.js +3 -3
- package/dist/cache/implementations/adapters/redis-cache-adapter/redis-cache-adapter-serde.js.map +1 -1
- package/dist/cache/implementations/derivables/cache/cache.js +10 -10
- package/dist/cache/implementations/test-utilities/cache-adapter.test-suite.d.ts +2 -2
- package/dist/cache/implementations/test-utilities/cache-adapter.test-suite.js +1 -1
- package/dist/cache/implementations/test-utilities/cache.test-suite.d.ts +2 -2
- package/dist/cache/implementations/test-utilities/cache.test-suite.js +1 -1
- package/dist/cache/implementations/test-utilities/database-cache-dapter.test-suite.d.ts +2 -2
- package/dist/cache/implementations/test-utilities/database-cache-dapter.test-suite.js +1 -1
- package/dist/collection/contracts/collection.errors.d.ts +17 -0
- package/dist/collection/contracts/collection.errors.js +17 -0
- package/dist/collection/contracts/collection.errors.js.map +1 -1
- package/dist/event-bus/contracts/event-bus.errors.d.ts +15 -0
- package/dist/event-bus/contracts/event-bus.errors.js +15 -0
- package/dist/event-bus/contracts/event-bus.errors.js.map +1 -1
- package/dist/event-bus/implementations/test-utilities/event-bus-adapter.test-suite.d.ts +2 -2
- package/dist/event-bus/implementations/test-utilities/event-bus-adapter.test-suite.js +1 -1
- package/dist/event-bus/implementations/test-utilities/event-bus.test-suite.d.ts +2 -2
- package/dist/event-bus/implementations/test-utilities/event-bus.test-suite.js +1 -1
- package/dist/lock/contracts/lock.errors.d.ts +18 -0
- package/dist/lock/contracts/lock.errors.js +18 -0
- package/dist/lock/contracts/lock.errors.js.map +1 -1
- package/dist/lock/contracts/lock.events.d.ts +22 -0
- package/dist/lock/contracts/lock.events.js +22 -0
- package/dist/lock/contracts/lock.events.js.map +1 -1
- package/dist/serde/contracts/deserializer.contract.d.ts +1 -1
- package/dist/serde/contracts/deserializer.contract.js +1 -1
- package/dist/serde/contracts/deserializer.contract.js.map +1 -1
- package/dist/serde/contracts/serde.errors.d.ts +14 -2
- package/dist/serde/contracts/serde.errors.js +16 -4
- package/dist/serde/contracts/serde.errors.js.map +1 -1
- package/dist/serde/contracts/serializer.contract.d.ts +1 -1
- package/dist/serde/contracts/serializer.contract.js +1 -1
- package/dist/serde/contracts/serializer.contract.js.map +1 -1
- package/dist/serde/implementations/adapters/mongodb-serde/mongodb-serde.js +3 -3
- package/dist/serde/implementations/adapters/mongodb-serde/mongodb-serde.js.map +1 -1
- package/dist/serde/implementations/adapters/redis-serde/redis-serde.js +3 -3
- package/dist/serde/implementations/adapters/redis-serde/redis-serde.js.map +1 -1
- package/dist/serde/implementations/adapters/sql-serde/sql-serde.js +3 -3
- package/dist/serde/implementations/adapters/sql-serde/sql-serde.js.map +1 -1
- package/dist/serde/implementations/adapters/super-json-serde-adapter/super-json-serde-adapter.js +3 -3
- package/dist/serde/implementations/adapters/super-json-serde-adapter/super-json-serde-adapter.js.map +1 -1
- package/dist/serde/implementations/test-utilities/flexible-serde-adapter.test-suite.d.ts +2 -2
- package/dist/serde/implementations/test-utilities/flexible-serde-adapter.test-suite.js +1 -1
- package/dist/serde/implementations/test-utilities/flexible-serde.test-suite.d.ts +2 -2
- package/dist/serde/implementations/test-utilities/flexible-serde.test-suite.js +1 -1
- package/dist/utilities/classes/key-prefixer/key-prefixer.d.ts +20 -2
- package/dist/utilities/classes/key-prefixer/key-prefixer.js +20 -2
- package/dist/utilities/classes/key-prefixer/key-prefixer.js.map +1 -1
- package/dist/utilities/errors.d.ts +2 -0
- package/dist/utilities/errors.js +2 -0
- package/dist/utilities/errors.js.map +1 -1
- package/package.json +3 -4
|
@@ -6,7 +6,7 @@ import type { IFlexibleSerdeAdapter } from "../../../serde/contracts/_module-exp
|
|
|
6
6
|
/**
|
|
7
7
|
*
|
|
8
8
|
* IMPORT_PATH: ```"@daiso-tech/core/serde/test-utilities"```
|
|
9
|
-
* @group
|
|
9
|
+
* @group TestUtilities
|
|
10
10
|
*/
|
|
11
11
|
export type FlexibleSerdeAdapterSuiteSettings = {
|
|
12
12
|
expect: ExpectStatic;
|
|
@@ -17,7 +17,7 @@ export type FlexibleSerdeAdapterSuiteSettings = {
|
|
|
17
17
|
* The <i>flexibleSerdeAdapterTestSuite</i> function simplifies the process of testing your custom implementation of <i>{@link IFlexibleSerdeAdapter}</i> with <i>vitest</i>.
|
|
18
18
|
*
|
|
19
19
|
* IMPORT_PATH: ```"@daiso-tech/core/serde/test-utilities"```
|
|
20
|
-
* @group
|
|
20
|
+
* @group TestUtilities
|
|
21
21
|
* @example
|
|
22
22
|
* ```ts
|
|
23
23
|
* import { describe, expect, test } from "vitest";
|
|
@@ -6,7 +6,7 @@ import { beforeEach } from "vitest";
|
|
|
6
6
|
* The <i>flexibleSerdeAdapterTestSuite</i> function simplifies the process of testing your custom implementation of <i>{@link IFlexibleSerdeAdapter}</i> with <i>vitest</i>.
|
|
7
7
|
*
|
|
8
8
|
* IMPORT_PATH: ```"@daiso-tech/core/serde/test-utilities"```
|
|
9
|
-
* @group
|
|
9
|
+
* @group TestUtilities
|
|
10
10
|
* @example
|
|
11
11
|
* ```ts
|
|
12
12
|
* import { describe, expect, test } from "vitest";
|
|
@@ -6,7 +6,7 @@ import type { IFlexibleSerde } from "../../../serde/contracts/_module-exports.js
|
|
|
6
6
|
/**
|
|
7
7
|
*
|
|
8
8
|
* IMPORT_PATH: ```"@daiso-tech/core/serde/test-utilities"```
|
|
9
|
-
* @group
|
|
9
|
+
* @group TestUtilities
|
|
10
10
|
*/
|
|
11
11
|
export type FlexibleSerdeSuiteSettings = {
|
|
12
12
|
expect: ExpectStatic;
|
|
@@ -17,7 +17,7 @@ export type FlexibleSerdeSuiteSettings = {
|
|
|
17
17
|
* The <i>flexibleSerdeTestSuite</i> function simplifies the process of testing your custom implementation of <i>{@link IFlexibleSerde}</i> with <i>vitest</i>.
|
|
18
18
|
*
|
|
19
19
|
* IMPORT_PATH: ```"@daiso-tech/core/serde/test-utilities"```
|
|
20
|
-
* @group
|
|
20
|
+
* @group TestUtilities
|
|
21
21
|
* @example
|
|
22
22
|
* ```ts
|
|
23
23
|
* import { describe, test, expect } from "vitest";
|
|
@@ -6,7 +6,7 @@ import { beforeEach } from "vitest";
|
|
|
6
6
|
* The <i>flexibleSerdeTestSuite</i> function simplifies the process of testing your custom implementation of <i>{@link IFlexibleSerde}</i> with <i>vitest</i>.
|
|
7
7
|
*
|
|
8
8
|
* IMPORT_PATH: ```"@daiso-tech/core/serde/test-utilities"```
|
|
9
|
-
* @group
|
|
9
|
+
* @group TestUtilities
|
|
10
10
|
* @example
|
|
11
11
|
* ```ts
|
|
12
12
|
* import { describe, test, expect } from "vitest";
|
|
@@ -14,8 +14,7 @@ type KeySettings = {
|
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
* @group KeyPrefixer
|
|
17
|
+
* @internal
|
|
19
18
|
*/
|
|
20
19
|
declare class Key implements IKey {
|
|
21
20
|
private readonly prefixArr;
|
|
@@ -57,17 +56,36 @@ export declare class KeyPrefixer implements IKeyPrefixer {
|
|
|
57
56
|
private readonly groupIdentifier;
|
|
58
57
|
private readonly keyIdentifier;
|
|
59
58
|
constructor(_rootPrefix: OneOrMore<string>, settings?: KeyPrefixerSettings);
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
60
62
|
get originalGroup(): OneOrMore<string> | null;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
61
66
|
get resolvedGroup(): string | null;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
62
70
|
get originalRootPrefix(): OneOrMore<string>;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
63
74
|
get resolvedRootPrefix(): string;
|
|
64
75
|
private validate;
|
|
65
76
|
private getKeyPrefixArray;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
66
80
|
get keyPrefix(): string;
|
|
67
81
|
/**
|
|
68
82
|
* Chaining this method multiple times will have no effect.
|
|
83
|
+
* @internal
|
|
69
84
|
*/
|
|
70
85
|
withGroup(group: OneOrMore<string>): KeyPrefixer;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
71
89
|
create(key: OneOrMore<string>): Key;
|
|
72
90
|
}
|
|
73
91
|
export {};
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
import { resolveOneOrMoreStr } from "../../../utilities/_module-exports.js";
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
* @group KeyPrefixer
|
|
7
|
+
* @internal
|
|
9
8
|
*/
|
|
10
9
|
class Key {
|
|
11
10
|
prefixArr;
|
|
@@ -62,18 +61,30 @@ export class KeyPrefixer {
|
|
|
62
61
|
this.validate(this._group);
|
|
63
62
|
}
|
|
64
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
65
67
|
get originalGroup() {
|
|
66
68
|
return this._group;
|
|
67
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
68
73
|
get resolvedGroup() {
|
|
69
74
|
if (this._group === null) {
|
|
70
75
|
return null;
|
|
71
76
|
}
|
|
72
77
|
return resolveOneOrMoreStr(this._group);
|
|
73
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
74
82
|
get originalRootPrefix() {
|
|
75
83
|
return this._rootPrefix;
|
|
76
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
77
88
|
get resolvedRootPrefix() {
|
|
78
89
|
return resolveOneOrMoreStr(this._rootPrefix);
|
|
79
90
|
}
|
|
@@ -103,11 +114,15 @@ export class KeyPrefixer {
|
|
|
103
114
|
}
|
|
104
115
|
return [...array, this.keyIdentifier];
|
|
105
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
106
120
|
get keyPrefix() {
|
|
107
121
|
return resolveOneOrMoreStr(this.getKeyPrefixArray(), this.identifierDelimeter);
|
|
108
122
|
}
|
|
109
123
|
/**
|
|
110
124
|
* Chaining this method multiple times will have no effect.
|
|
125
|
+
* @internal
|
|
111
126
|
*/
|
|
112
127
|
withGroup(group) {
|
|
113
128
|
const keyProvider = new KeyPrefixer(this._rootPrefix, {
|
|
@@ -122,6 +137,9 @@ export class KeyPrefixer {
|
|
|
122
137
|
}
|
|
123
138
|
return keyProvider;
|
|
124
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
125
143
|
create(key) {
|
|
126
144
|
this.validate(key);
|
|
127
145
|
return new Key({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key-prefixer.js","sourceRoot":"","sources":["../../../../src/utilities/classes/key-prefixer/key-prefixer.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAiBtE
|
|
1
|
+
{"version":3,"file":"key-prefixer.js","sourceRoot":"","sources":["../../../../src/utilities/classes/key-prefixer/key-prefixer.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAiBtE;;;GAGG;AACH,MAAM,GAAG;IACY,SAAS,CAAqB;IAC9B,GAAG,CAAoB;IACvB,mBAAmB,CAAS;IAC5B,YAAY,CAAS;IAEtC;;;OAGG;IACH,YAAY,QAAqB;QAC7B,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,mBAAmB,EAAE,YAAY,EAAE,GAAG,QAAQ,CAAC;QACvE,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,CAAC;IAED,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,GAAG,CAAC;IACpB,CAAC;IAED,IAAI,QAAQ;QACR,OAAO,mBAAmB,CAAC,IAAI,C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QACT,OAAO,mBAAmB,CACtB,IAAI,CAAC,iBAAiB,EAAE,EACxB,IAAI,CAAC,mBAAmB,CAC3B,CAAC;IACN,CAAC;IAED;;;OAGG;IACH,SAAS,CAAC,KAAwB;QAC9B,MAAM,WAAW,GAAG,IAAI,WAAW,CAAC,IAAI,CAAC,WAAW,EAAE;YAClD,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;YAC7C,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,aAAa,EAAE,IAAI,CAAC,aAAa;SACpC,CAAC,CAAC;QACH,IAAI,WAAW,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;YAC9B,WAAW,CAAC,MAAM,GAAG,KAAK,CAAC;QAC/B,CAAC;QACD,OAAO,WAAW,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,GAAsB;QACzB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACnB,OAAO,IAAI,GAAG,CAAC;YACX,GAAG;YACH,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;YAC7C,SAAS,EAAE,IAAI,CAAC,iBAAiB,EAAE;SACtC,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -10,6 +10,7 @@ export declare class FactoryError extends Error {
|
|
|
10
10
|
constructor(message: string, cause?: unknown);
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
+
* The error occurs when attempting to access the default adapter of the <i>Factory</i> class instance, which has not been defined.
|
|
13
14
|
*
|
|
14
15
|
* IMPORT_PATH: ```"@daiso-tech/core/utilities"```
|
|
15
16
|
* @group Errors
|
|
@@ -18,6 +19,7 @@ export declare class DefaultAdapterNotDefinedError extends FactoryError {
|
|
|
18
19
|
constructor(factoryName: string);
|
|
19
20
|
}
|
|
20
21
|
/**
|
|
22
|
+
* The error occurs when attempting to access the an adapter of the <i>Factory</i> class instance, which has not been registered.
|
|
21
23
|
*
|
|
22
24
|
* IMPORT_PATH: ```"@daiso-tech/core/utilities"```
|
|
23
25
|
* @group Errors
|
package/dist/utilities/errors.js
CHANGED
|
@@ -13,6 +13,7 @@ export class FactoryError extends Error {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
+
* The error occurs when attempting to access the default adapter of the <i>Factory</i> class instance, which has not been defined.
|
|
16
17
|
*
|
|
17
18
|
* IMPORT_PATH: ```"@daiso-tech/core/utilities"```
|
|
18
19
|
* @group Errors
|
|
@@ -24,6 +25,7 @@ export class DefaultAdapterNotDefinedError extends FactoryError {
|
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
27
|
/**
|
|
28
|
+
* The error occurs when attempting to access the an adapter of the <i>Factory</i> class instance, which has not been registered.
|
|
27
29
|
*
|
|
28
30
|
* IMPORT_PATH: ```"@daiso-tech/core/utilities"```
|
|
29
31
|
* @group Errors
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/utilities/errors.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;GAIG;AACH,MAAM,OAAO,YAAa,SAAQ,KAAK;IACnC,YAAY,OAAe,EAAE,KAAe;QACxC,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;QAC1B,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;IAClC,CAAC;CACJ;AAED
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/utilities/errors.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;GAIG;AACH,MAAM,OAAO,YAAa,SAAQ,KAAK;IACnC,YAAY,OAAe,EAAE,KAAe;QACxC,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;QAC1B,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;IAClC,CAAC;CACJ;AAED;;;;;GAKG;AACH,MAAM,OAAO,6BAA8B,SAAQ,YAAY;IAC3D,YAAY,WAAmB;QAC3B,KAAK,CAAC,wCAAwC,WAAW,GAAG,CAAC,CAAC;QAC9D,IAAI,CAAC,IAAI,GAAG,6BAA6B,CAAC,IAAI,CAAC;IACnD,CAAC;CACJ;AAED;;;;;GAKG;AACH,MAAM,OAAO,wBAAyB,SAAQ,YAAY;IACtD,YAAY,WAAmB;QAC3B,KAAK,CAAC,yBAAyB,WAAW,GAAG,CAAC,CAAC;QAC/C,IAAI,CAAC,IAAI,GAAG,wBAAwB,CAAC,IAAI,CAAC;IAC9C,CAAC;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daiso-tech/core",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.32.
|
|
4
|
+
"version": "0.32.1",
|
|
5
5
|
"author": "Yousif Abdulkarim",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"type": "module",
|
|
@@ -160,9 +160,8 @@
|
|
|
160
160
|
"publint": "^0.3.8",
|
|
161
161
|
"rimraf": "^6.0.1",
|
|
162
162
|
"tsc-alias": "^1.8.10",
|
|
163
|
-
"typedoc": "
|
|
164
|
-
"typedoc-
|
|
165
|
-
"typedoc-plugin-merge-modules": "^6.0.0",
|
|
163
|
+
"typedoc": "0.27.1",
|
|
164
|
+
"typedoc-plugin-merge-modules": "6.1.0",
|
|
166
165
|
"typescript": "^5.5.4",
|
|
167
166
|
"vite-tsconfig-paths": "^4.3.2",
|
|
168
167
|
"vitest": "^3.0.2"
|