@clipboard-health/util-ts 5.8.19 → 5.9.0
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/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deepFreeze.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/deepFreeze.ts"],"names":[],"mappings":";;;AAAA;;;;;;;GAOG;AACH,oBAA6C,KAAQ,EAAE,IAAI,GAAG,IAAI,OAAO,EAAE;IACzE,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;QACnE,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACf,OAAO,CAAC,OAAO,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"deepFreeze.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/deepFreeze.ts"],"names":[],"mappings":";;;AAAA;;;;;;;GAOG;AACH,oBAA6C,KAAQ,EAAE,IAAI,GAAG,IAAI,OAAO,EAAE;IACzE,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;QACnE,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACf,OAAO,CAAC,OAAO,CAAC,KAAK,CAAoB,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QACzD,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;QAC5B,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;YACpF,UAAU,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC9B,CAAC"}
|
|
@@ -57,7 +57,7 @@ export interface ServiceIssue {
|
|
|
57
57
|
/** Details about what caused the issue */
|
|
58
58
|
message?: string | undefined;
|
|
59
59
|
/** Path to issue location */
|
|
60
|
-
path?:
|
|
60
|
+
path?: Array<string | number>;
|
|
61
61
|
/**
|
|
62
62
|
* Short, reusable summary of the problem (`errors.title`).
|
|
63
63
|
* Keep it concise and localizable (e.g. "Invalid Input").
|
|
@@ -124,14 +124,14 @@ export declare class ServiceError extends Error {
|
|
|
124
124
|
* @returns New ServiceError instance
|
|
125
125
|
*/
|
|
126
126
|
static fromJsonApi(jsonApiError: {
|
|
127
|
-
errors: {
|
|
127
|
+
errors: Array<{
|
|
128
128
|
id?: string;
|
|
129
129
|
status?: `${Status}`;
|
|
130
130
|
code?: ErrorCode;
|
|
131
131
|
title?: string;
|
|
132
132
|
detail?: string;
|
|
133
133
|
source?: Record<string, string>;
|
|
134
|
-
}
|
|
134
|
+
}>;
|
|
135
135
|
}): ServiceError;
|
|
136
136
|
readonly id: string;
|
|
137
137
|
readonly issues: readonly Issue[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipe.js","sourceRoot":"","sources":["../../../../../../packages/util-ts/src/lib/functional/pipe.ts"],"names":[],"mappings":";;;AA6DA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,cAAqB,CAAU,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"pipe.js","sourceRoot":"","sources":["../../../../../../packages/util-ts/src/lib/functional/pipe.ts"],"names":[],"mappings":";;;AA6DA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,cAAqB,CAAU,EAAE,GAAG,EAAkC;IACpE,OAAO,EAAE,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC;AAC1D,CAAC"}
|