kanun 0.1.6 → 0.1.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.
- package/dist/index.cjs +3 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -66,7 +66,7 @@ var en_default = {
|
|
|
66
66
|
digits_between: "The :attribute must be between :min and :max digits.",
|
|
67
67
|
email: "The :attribute must be a valid email address.",
|
|
68
68
|
ends_with: "The :attribute must end with one of the following: :values.",
|
|
69
|
-
exists: ":
|
|
69
|
+
exists: "The selected :attribute is invalid.",
|
|
70
70
|
gt: {
|
|
71
71
|
number: "The :attribute must be greater than :value.",
|
|
72
72
|
string: "The :attribute must be greater than :value characters.",
|
|
@@ -178,7 +178,7 @@ var ar_default = {
|
|
|
178
178
|
digits_between: "يجب أن يحتوي الحقل :attribute بين :min و :max رقمًا/أرقام",
|
|
179
179
|
email: "يجب أن يكون :attribute عنوان بريد إلكتروني صحيح البُنية",
|
|
180
180
|
ends_with: "حقل :attribute يجب ان ينتهي بأحد القيم التالية :value.",
|
|
181
|
-
exists: ":
|
|
181
|
+
exists: "الحقل :attribute غير موجود",
|
|
182
182
|
gt: {
|
|
183
183
|
number: "حقل :attribute يجب ان يكون اكبر من :value.",
|
|
184
184
|
string: "حقل :attribute يجب ان يكون اكبر من :value حروفٍ/حرفًا.",
|
|
@@ -2999,6 +2999,7 @@ var ValidationException = class ValidationException extends Error {
|
|
|
2999
2999
|
validator;
|
|
3000
3000
|
response;
|
|
3001
3001
|
status = 422;
|
|
3002
|
+
statusCode = 422;
|
|
3002
3003
|
errorBag = "default";
|
|
3003
3004
|
redirectTo;
|
|
3004
3005
|
name = "ValidationException";
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var en_default = {
|
|
|
36
36
|
digits_between: "The :attribute must be between :min and :max digits.",
|
|
37
37
|
email: "The :attribute must be a valid email address.",
|
|
38
38
|
ends_with: "The :attribute must end with one of the following: :values.",
|
|
39
|
-
exists: ":
|
|
39
|
+
exists: "The selected :attribute is invalid.",
|
|
40
40
|
gt: {
|
|
41
41
|
number: "The :attribute must be greater than :value.",
|
|
42
42
|
string: "The :attribute must be greater than :value characters.",
|
|
@@ -148,7 +148,7 @@ var ar_default = {
|
|
|
148
148
|
digits_between: "يجب أن يحتوي الحقل :attribute بين :min و :max رقمًا/أرقام",
|
|
149
149
|
email: "يجب أن يكون :attribute عنوان بريد إلكتروني صحيح البُنية",
|
|
150
150
|
ends_with: "حقل :attribute يجب ان ينتهي بأحد القيم التالية :value.",
|
|
151
|
-
exists: ":
|
|
151
|
+
exists: "الحقل :attribute غير موجود",
|
|
152
152
|
gt: {
|
|
153
153
|
number: "حقل :attribute يجب ان يكون اكبر من :value.",
|
|
154
154
|
string: "حقل :attribute يجب ان يكون اكبر من :value حروفٍ/حرفًا.",
|
|
@@ -2969,6 +2969,7 @@ var ValidationException = class ValidationException extends Error {
|
|
|
2969
2969
|
validator;
|
|
2970
2970
|
response;
|
|
2971
2971
|
status = 422;
|
|
2972
|
+
statusCode = 422;
|
|
2972
2973
|
errorBag = "default";
|
|
2973
2974
|
redirectTo;
|
|
2974
2975
|
name = "ValidationException";
|