fenextjs-error
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -5,3 +5,4 @@ import { ErrorFenextjs } from "../../Fenextjs"; | ||
input?: string; | ||
equal?: string | string[]; | ||
}); | ||
} |
@@ -10,3 +10,3 @@ "use strict"; | ||
code: Error_1.ErrorCode.INPUT_NOT_EQUAL, | ||
message: "Not Equal Input", | ||
message: `Not Equal Input${d?.equal ? `, equal: ${JSON.stringify([d?.equal].flat(2))}` : ""}`, | ||
input: d?.input, | ||
@@ -13,0 +13,0 @@ }); |
@@ -5,3 +5,4 @@ import { ErrorFenextjs } from "../../Fenextjs"; | ||
input?: string; | ||
range?: number[]; | ||
}); | ||
} |
@@ -10,3 +10,3 @@ "use strict"; | ||
code: Error_1.ErrorCode.INPUT_OUT_OF_RANGE, | ||
message: "Input Out of Range", | ||
message: `Input Out of Range${d?.range ? `, range: ${JSON.stringify(d?.range)}` : ""}`, | ||
input: d?.input, | ||
@@ -13,0 +13,0 @@ }); |
@@ -5,3 +5,4 @@ import { ErrorFenextjs } from "../../Fenextjs"; | ||
input?: string; | ||
max?: number; | ||
}); | ||
} |
@@ -10,3 +10,3 @@ "use strict"; | ||
code: Error_1.ErrorCode.INPUT_TOO_LONG, | ||
message: "Input Too Long", | ||
message: `Input Too Long${d?.max ? `, max: ${d?.max}` : ""}`, | ||
input: d?.input, | ||
@@ -13,0 +13,0 @@ }); |
@@ -5,3 +5,4 @@ import { ErrorFenextjs } from "../../Fenextjs"; | ||
input?: string; | ||
min?: number; | ||
}); | ||
} |
@@ -10,3 +10,3 @@ "use strict"; | ||
code: Error_1.ErrorCode.INPUT_TOO_SHORT, | ||
message: "Input Too Short", | ||
message: `Input Too Short${d?.min ? `, min: ${d?.min}` : ""}`, | ||
input: d?.input, | ||
@@ -13,0 +13,0 @@ }); |
@@ -5,3 +5,4 @@ import { ErrorFenextjs } from "../../Fenextjs"; | ||
input?: string; | ||
max?: number; | ||
}); | ||
} |
@@ -10,3 +10,3 @@ "use strict"; | ||
code: Error_1.ErrorCode.INPUT_VALUE_TOO_HIGH, | ||
message: "Input Value Too High", | ||
message: `Input Value Too High${d?.max ? `, max: ${d?.max}` : ""}`, | ||
input: d?.input, | ||
@@ -13,0 +13,0 @@ }); |
@@ -5,3 +5,4 @@ import { ErrorFenextjs } from "../../Fenextjs"; | ||
input?: string; | ||
min?: number; | ||
}); | ||
} |
@@ -10,3 +10,3 @@ "use strict"; | ||
code: Error_1.ErrorCode.INPUT_VALUE_TOO_LOW, | ||
message: "Input Value Too Low", | ||
message: `Input Value Too Low${d?.min ? `, min: ${d?.min}` : ""}`, | ||
input: d?.input, | ||
@@ -13,0 +13,0 @@ }); |
{ | ||
"name": "fenextjs-error", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "", | ||
@@ -39,3 +39,3 @@ "main": "./cjs/index.js", | ||
"dependencies": { | ||
"fenextjs-interface": "^1.0.25" | ||
"fenextjs-interface": "^1.0.31" | ||
}, | ||
@@ -47,14 +47,14 @@ "files": [ | ||
"devDependencies": { | ||
"@types/node": "20.4.4", | ||
"@types/react": "18.2.15", | ||
"@types/node": "20.6.3", | ||
"@types/react": "18.2.22", | ||
"@types/react-dom": "18.2.7", | ||
"@typescript-eslint/eslint-plugin": "^6.1.0", | ||
"@typescript-eslint/parser": "^6.1.0", | ||
"eslint": "8.45.0", | ||
"prettier": "^3.0.0", | ||
"@typescript-eslint/eslint-plugin": "^6.7.2", | ||
"@typescript-eslint/parser": "^6.7.2", | ||
"eslint": "8.49.0", | ||
"prettier": "^3.0.3", | ||
"ts-loader": "^9.4.4", | ||
"tslib": "^2.6.0", | ||
"typedoc": "^0.24.8", | ||
"typescript": "^5.1.6" | ||
"tslib": "^2.6.2", | ||
"typedoc": "^0.25.1", | ||
"typescript": "^5.2.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
37350
663
Updatedfenextjs-interface@^1.0.31