@dxtmisha/functional-basic 1.2.7 → 1.2.8
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.
|
@@ -5,7 +5,7 @@ export type ErrorCenterGroup = string | undefined;
|
|
|
5
5
|
/**
|
|
6
6
|
* Interface for an error item / Интерфейс для элемента ошибки
|
|
7
7
|
*/
|
|
8
|
-
export type ErrorCenterCauseItem = {
|
|
8
|
+
export type ErrorCenterCauseItem<D = any> = {
|
|
9
9
|
/** Error group / Группа ошибки */
|
|
10
10
|
group?: ErrorCenterGroup;
|
|
11
11
|
/** Error code / Код ошибки */
|
|
@@ -17,7 +17,7 @@ export type ErrorCenterCauseItem = {
|
|
|
17
17
|
/** Error message / Сообщение ошибки */
|
|
18
18
|
message?: string;
|
|
19
19
|
/** Additional details / Дополнительные детали */
|
|
20
|
-
details?:
|
|
20
|
+
details?: D;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
23
|
* List of error items / Список элементов ошибок
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxtmisha/functional-basic",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Foundational utility library for modern web development — HTTP client, geolocation, i18n, SEO meta tags, caching, storage, DOM utilities, and more. Framework-agnostic, zero dependencies, TypeScript-first.",
|
|
7
7
|
"keywords": [
|