@genesislcap/foundation-store 14.98.0 → 14.99.0-auth-mf.22
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/dts/store/errorMap.d.ts +3 -0
- package/dist/dts/store/errorMap.d.ts.map +1 -1
- package/dist/foundation-store.api.json +3 -3
- package/dist/foundation-store.d.ts +3 -0
- package/docs/api/foundation-store.errordetailmap.md +4 -0
- package/docs/api/foundation-store.errormap.md +4 -0
- package/docs/api/foundation-store.errormaplogger.md +4 -0
- package/docs/api-report.md +3 -3
- package/package.json +6 -6
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @deprecated - Use `ErrorDetailMap` from `@genesislcap/foundation-utils` instead.
|
|
2
3
|
* @public
|
|
3
4
|
*/
|
|
4
5
|
export type ErrorDetailMap = Record<string, unknown>;
|
|
5
6
|
/**
|
|
7
|
+
* @deprecated - Use `ErrorMapLogger` from `@genesislcap/foundation-utils` instead.
|
|
6
8
|
* @public
|
|
7
9
|
*/
|
|
8
10
|
export type ErrorMapLogger = (...args: any[]) => void;
|
|
9
11
|
/**
|
|
12
|
+
* @deprecated - Use `ErrorMap` from `@genesislcap/foundation-utils` instead.
|
|
10
13
|
* @public
|
|
11
14
|
*/
|
|
12
15
|
export interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extends Pick<Map<keyof TErrorDetailMap, Error>, 'get' | 'has' | 'delete' | 'clear' | 'size'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errorMap.d.ts","sourceRoot":"","sources":["../../../src/store/errorMap.ts"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"errorMap.d.ts","sourceRoot":"","sources":["../../../src/store/errorMap.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAErD;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;AAEtD;;;GAGG;AACH,MAAM,WAAW,QAAQ,CAAC,eAAe,SAAS,cAAc,CAC9D,SAAQ,IAAI,CAAC,GAAG,CAAC,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IAC5F;;;;;OAKG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B;;;;;;OAMG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,eAAe,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrD;AAqFD;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,mDACjB,cAAc,8BAOvB,CAAC"}
|
|
@@ -1537,7 +1537,7 @@
|
|
|
1537
1537
|
{
|
|
1538
1538
|
"kind": "TypeAlias",
|
|
1539
1539
|
"canonicalReference": "@genesislcap/foundation-store!ErrorDetailMap:type",
|
|
1540
|
-
"docComment": "/**\n * @public\n */\n",
|
|
1540
|
+
"docComment": "/**\n * @deprecated\n *\n * - Use `ErrorDetailMap` from `@genesislcap/foundation-utils` instead.\n *\n * @public\n */\n",
|
|
1541
1541
|
"excerptTokens": [
|
|
1542
1542
|
{
|
|
1543
1543
|
"kind": "Content",
|
|
@@ -1568,7 +1568,7 @@
|
|
|
1568
1568
|
{
|
|
1569
1569
|
"kind": "Interface",
|
|
1570
1570
|
"canonicalReference": "@genesislcap/foundation-store!ErrorMap:interface",
|
|
1571
|
-
"docComment": "/**\n * @public\n */\n",
|
|
1571
|
+
"docComment": "/**\n * @deprecated\n *\n * - Use `ErrorMap` from `@genesislcap/foundation-utils` instead.\n *\n * @public\n */\n",
|
|
1572
1572
|
"excerptTokens": [
|
|
1573
1573
|
{
|
|
1574
1574
|
"kind": "Content",
|
|
@@ -1733,7 +1733,7 @@
|
|
|
1733
1733
|
{
|
|
1734
1734
|
"kind": "TypeAlias",
|
|
1735
1735
|
"canonicalReference": "@genesislcap/foundation-store!ErrorMapLogger:type",
|
|
1736
|
-
"docComment": "/**\n * @public\n */\n",
|
|
1736
|
+
"docComment": "/**\n * @deprecated\n *\n * - Use `ErrorMapLogger` from `@genesislcap/foundation-utils` instead.\n *\n * @public\n */\n",
|
|
1737
1737
|
"excerptTokens": [
|
|
1738
1738
|
{
|
|
1739
1739
|
"kind": "Content",
|
|
@@ -242,11 +242,13 @@ export declare abstract class AbstractStoreRoot<TStore extends StoreRoot, TEvent
|
|
|
242
242
|
export declare const createErrorMap: <TErrorDetailMap extends ErrorDetailMap>(logger: ErrorMapLogger) => ErrorMap<TErrorDetailMap>;
|
|
243
243
|
|
|
244
244
|
/**
|
|
245
|
+
* @deprecated - Use `ErrorDetailMap` from `@genesislcap/foundation-utils` instead.
|
|
245
246
|
* @public
|
|
246
247
|
*/
|
|
247
248
|
export declare type ErrorDetailMap = Record<string, unknown>;
|
|
248
249
|
|
|
249
250
|
/**
|
|
251
|
+
* @deprecated - Use `ErrorMap` from `@genesislcap/foundation-utils` instead.
|
|
250
252
|
* @public
|
|
251
253
|
*/
|
|
252
254
|
export declare interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extends Pick<Map<keyof TErrorDetailMap, Error>, 'get' | 'has' | 'delete' | 'clear' | 'size'> {
|
|
@@ -268,6 +270,7 @@ export declare interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extend
|
|
|
268
270
|
}
|
|
269
271
|
|
|
270
272
|
/**
|
|
273
|
+
* @deprecated - Use `ErrorMapLogger` from `@genesislcap/foundation-utils` instead.
|
|
271
274
|
* @public
|
|
272
275
|
*/
|
|
273
276
|
export declare type ErrorMapLogger = (...args: any[]) => void;
|
package/docs/api-report.md
CHANGED
|
@@ -73,16 +73,16 @@ export abstract class AbstractStoreRoot<TStore extends StoreRoot, TEventDetailMa
|
|
|
73
73
|
// @public @deprecated
|
|
74
74
|
export const createErrorMap: <TErrorDetailMap extends ErrorDetailMap>(logger: ErrorMapLogger) => ErrorMap<TErrorDetailMap>;
|
|
75
75
|
|
|
76
|
-
// @public (undocumented)
|
|
76
|
+
// @public @deprecated (undocumented)
|
|
77
77
|
export type ErrorDetailMap = Record<string, unknown>;
|
|
78
78
|
|
|
79
|
-
// @public (undocumented)
|
|
79
|
+
// @public @deprecated (undocumented)
|
|
80
80
|
export interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extends Pick<Map<keyof TErrorDetailMap, Error>, 'get' | 'has' | 'delete' | 'clear' | 'size'> {
|
|
81
81
|
readonly messages: string;
|
|
82
82
|
set(key: keyof TErrorDetailMap, error: Error): void;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
// @public (undocumented)
|
|
85
|
+
// @public @deprecated (undocumented)
|
|
86
86
|
export type ErrorMapLogger = (...args: any[]) => void;
|
|
87
87
|
|
|
88
88
|
// @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-store",
|
|
3
3
|
"description": "Genesis Foundation Store",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.99.0-auth-mf.22",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"serve": "genx serve"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@genesislcap/genx": "14.
|
|
28
|
+
"@genesislcap/genx": "14.99.0-auth-mf.22",
|
|
29
29
|
"rimraf": "^3.0.2"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@genesislcap/foundation-events": "14.
|
|
33
|
-
"@genesislcap/foundation-logger": "14.
|
|
34
|
-
"@genesislcap/foundation-utils": "14.
|
|
32
|
+
"@genesislcap/foundation-events": "14.99.0-auth-mf.22",
|
|
33
|
+
"@genesislcap/foundation-logger": "14.99.0-auth-mf.22",
|
|
34
|
+
"@genesislcap/foundation-utils": "14.99.0-auth-mf.22",
|
|
35
35
|
"@microsoft/fast-element": "^1.7.0",
|
|
36
36
|
"@microsoft/fast-foundation": "^2.33.2",
|
|
37
37
|
"fast-safe-stringify": "^2.1.1",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "cb81909dc515cd5abba01a24199954836bbbf68b"
|
|
50
50
|
}
|