@evolu/common 8.8.0 → 8.10.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/dist/src/Assert.d.ts +21 -1
- package/dist/src/Assert.d.ts.map +1 -1
- package/dist/src/Assert.js +31 -27
- package/dist/src/Bytes.d.ts +647 -0
- package/dist/src/Bytes.d.ts.map +1 -0
- package/dist/src/{Binary.js → Bytes.js} +266 -16
- package/dist/src/Config.d.ts +142 -0
- package/dist/src/Config.d.ts.map +1 -0
- package/dist/src/Config.js +181 -0
- package/dist/src/Fs.d.ts +302 -0
- package/dist/src/Fs.d.ts.map +1 -0
- package/dist/src/Fs.js +111 -0
- package/dist/src/Number.d.ts +50 -7
- package/dist/src/Number.d.ts.map +1 -1
- package/dist/src/Number.js +47 -8
- package/dist/src/Object.d.ts +32 -0
- package/dist/src/Object.d.ts.map +1 -1
- package/dist/src/Object.js +41 -0
- package/dist/src/Polyfills.d.ts +6 -0
- package/dist/src/Polyfills.d.ts.map +1 -1
- package/dist/src/Polyfills.js +6 -0
- package/dist/src/Sqlite.js +1 -1
- package/dist/src/Time.d.ts +74 -12
- package/dist/src/Time.d.ts.map +1 -1
- package/dist/src/Time.js +40 -2
- package/dist/src/Type.d.ts +1451 -79
- package/dist/src/Type.d.ts.map +1 -1
- package/dist/src/Type.js +1303 -96
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +3 -1
- package/dist/src/intl/_en.d.ts +24 -1
- package/dist/src/intl/_en.d.ts.map +1 -1
- package/dist/src/intl/_en.js +20 -0
- package/dist/src/intl/ar.d.ts +24 -1
- package/dist/src/intl/ar.d.ts.map +1 -1
- package/dist/src/intl/ar.js +20 -0
- package/dist/src/intl/bn.d.ts +24 -1
- package/dist/src/intl/bn.d.ts.map +1 -1
- package/dist/src/intl/bn.js +20 -0
- package/dist/src/intl/ca.d.ts +24 -1
- package/dist/src/intl/ca.d.ts.map +1 -1
- package/dist/src/intl/ca.js +20 -0
- package/dist/src/intl/cs.d.ts +24 -1
- package/dist/src/intl/cs.d.ts.map +1 -1
- package/dist/src/intl/cs.js +20 -0
- package/dist/src/intl/da.d.ts +24 -1
- package/dist/src/intl/da.d.ts.map +1 -1
- package/dist/src/intl/da.js +20 -0
- package/dist/src/intl/de.d.ts +24 -1
- package/dist/src/intl/de.d.ts.map +1 -1
- package/dist/src/intl/de.js +20 -0
- package/dist/src/intl/el.d.ts +24 -1
- package/dist/src/intl/el.d.ts.map +1 -1
- package/dist/src/intl/el.js +20 -0
- package/dist/src/intl/es.d.ts +24 -1
- package/dist/src/intl/es.d.ts.map +1 -1
- package/dist/src/intl/es.js +20 -0
- package/dist/src/intl/fa.d.ts +24 -1
- package/dist/src/intl/fa.d.ts.map +1 -1
- package/dist/src/intl/fa.js +20 -0
- package/dist/src/intl/fi.d.ts +24 -1
- package/dist/src/intl/fi.d.ts.map +1 -1
- package/dist/src/intl/fi.js +20 -0
- package/dist/src/intl/fil.d.ts +24 -1
- package/dist/src/intl/fil.d.ts.map +1 -1
- package/dist/src/intl/fil.js +20 -0
- package/dist/src/intl/fr.d.ts +24 -1
- package/dist/src/intl/fr.d.ts.map +1 -1
- package/dist/src/intl/fr.js +20 -0
- package/dist/src/intl/he.d.ts +24 -1
- package/dist/src/intl/he.d.ts.map +1 -1
- package/dist/src/intl/he.js +20 -0
- package/dist/src/intl/hi.d.ts +24 -1
- package/dist/src/intl/hi.d.ts.map +1 -1
- package/dist/src/intl/hi.js +20 -0
- package/dist/src/intl/hr.d.ts +24 -1
- package/dist/src/intl/hr.d.ts.map +1 -1
- package/dist/src/intl/hr.js +20 -0
- package/dist/src/intl/hu.d.ts +22 -1
- package/dist/src/intl/hu.d.ts.map +1 -1
- package/dist/src/intl/hu.js +18 -0
- package/dist/src/intl/id.d.ts +24 -1
- package/dist/src/intl/id.d.ts.map +1 -1
- package/dist/src/intl/id.js +20 -0
- package/dist/src/intl/it.d.ts +24 -1
- package/dist/src/intl/it.d.ts.map +1 -1
- package/dist/src/intl/it.js +20 -0
- package/dist/src/intl/ja.d.ts +24 -1
- package/dist/src/intl/ja.d.ts.map +1 -1
- package/dist/src/intl/ja.js +20 -0
- package/dist/src/intl/ko.d.ts +24 -1
- package/dist/src/intl/ko.d.ts.map +1 -1
- package/dist/src/intl/ko.js +20 -0
- package/dist/src/intl/ml.d.ts +24 -1
- package/dist/src/intl/ml.d.ts.map +1 -1
- package/dist/src/intl/ml.js +20 -0
- package/dist/src/intl/mr.d.ts +24 -1
- package/dist/src/intl/mr.d.ts.map +1 -1
- package/dist/src/intl/mr.js +20 -0
- package/dist/src/intl/ms.d.ts +24 -1
- package/dist/src/intl/ms.d.ts.map +1 -1
- package/dist/src/intl/ms.js +20 -0
- package/dist/src/intl/nb.d.ts +22 -1
- package/dist/src/intl/nb.d.ts.map +1 -1
- package/dist/src/intl/nb.js +18 -0
- package/dist/src/intl/nl.d.ts +24 -1
- package/dist/src/intl/nl.d.ts.map +1 -1
- package/dist/src/intl/nl.js +20 -0
- package/dist/src/intl/pa.d.ts +24 -1
- package/dist/src/intl/pa.d.ts.map +1 -1
- package/dist/src/intl/pa.js +20 -0
- package/dist/src/intl/pl.d.ts +23 -0
- package/dist/src/intl/pl.d.ts.map +1 -1
- package/dist/src/intl/pl.js +20 -0
- package/dist/src/intl/pt-BR.d.ts +24 -1
- package/dist/src/intl/pt-BR.d.ts.map +1 -1
- package/dist/src/intl/pt-BR.js +20 -0
- package/dist/src/intl/pt.d.ts +24 -1
- package/dist/src/intl/pt.d.ts.map +1 -1
- package/dist/src/intl/pt.js +20 -0
- package/dist/src/intl/ro.d.ts +24 -1
- package/dist/src/intl/ro.d.ts.map +1 -1
- package/dist/src/intl/ro.js +20 -0
- package/dist/src/intl/sk.d.ts +24 -1
- package/dist/src/intl/sk.d.ts.map +1 -1
- package/dist/src/intl/sk.js +20 -0
- package/dist/src/intl/sl.d.ts +24 -1
- package/dist/src/intl/sl.d.ts.map +1 -1
- package/dist/src/intl/sl.js +20 -0
- package/dist/src/intl/sv.d.ts +24 -1
- package/dist/src/intl/sv.d.ts.map +1 -1
- package/dist/src/intl/sv.js +20 -0
- package/dist/src/intl/sw.d.ts +21 -0
- package/dist/src/intl/sw.d.ts.map +1 -1
- package/dist/src/intl/sw.js +18 -0
- package/dist/src/intl/ta.d.ts +24 -1
- package/dist/src/intl/ta.d.ts.map +1 -1
- package/dist/src/intl/ta.js +20 -0
- package/dist/src/intl/te.d.ts +24 -1
- package/dist/src/intl/te.d.ts.map +1 -1
- package/dist/src/intl/te.js +20 -0
- package/dist/src/intl/th.d.ts +24 -1
- package/dist/src/intl/th.d.ts.map +1 -1
- package/dist/src/intl/th.js +20 -0
- package/dist/src/intl/tr.d.ts +24 -1
- package/dist/src/intl/tr.d.ts.map +1 -1
- package/dist/src/intl/tr.js +20 -0
- package/dist/src/intl/uk.d.ts +80 -57
- package/dist/src/intl/uk.d.ts.map +1 -1
- package/dist/src/intl/uk.js +174 -149
- package/dist/src/intl/ur.d.ts +24 -1
- package/dist/src/intl/ur.d.ts.map +1 -1
- package/dist/src/intl/ur.js +20 -0
- package/dist/src/intl/vi.d.ts +24 -1
- package/dist/src/intl/vi.d.ts.map +1 -1
- package/dist/src/intl/vi.js +20 -0
- package/dist/src/intl/zh-CN.d.ts +24 -1
- package/dist/src/intl/zh-CN.d.ts.map +1 -1
- package/dist/src/intl/zh-CN.js +20 -0
- package/dist/src/intl/zh-TW.d.ts +24 -1
- package/dist/src/intl/zh-TW.d.ts.map +1 -1
- package/dist/src/intl/zh-TW.js +20 -0
- package/dist/src/local-first/Protocol.d.ts +1 -1
- package/dist/src/local-first/Protocol.d.ts.map +1 -1
- package/dist/src/local-first/Protocol.js +1 -1
- package/dist/src/local-first/Schema.d.ts +10 -0
- package/dist/src/local-first/Schema.d.ts.map +1 -1
- package/dist/src/local-first/Storage.js +1 -1
- package/dist/src/local-first/Timestamp.js +1 -1
- package/package.json +1 -1
- package/src/Assert.test.ts +51 -0
- package/src/Assert.ts +56 -4
- package/src/{Binary.test.ts → Bytes.test.ts} +286 -1
- package/src/{Binary.ts → Bytes.ts} +652 -21
- package/src/Config.test.ts +672 -0
- package/src/Config.ts +410 -0
- package/src/Fs.test.ts +105 -0
- package/src/Fs.ts +414 -0
- package/src/Number.test.ts +82 -18
- package/src/Number.ts +76 -8
- package/src/Object.test.ts +115 -1
- package/src/Object.ts +44 -0
- package/src/Polyfills.ts +6 -0
- package/src/Sqlite.ts +1 -1
- package/src/Time.test.ts +82 -11
- package/src/Time.ts +141 -16
- package/src/Type.test.ts +3114 -157
- package/src/Type.ts +2553 -196
- package/src/index.ts +3 -1
- package/src/intl/_en.ts +70 -0
- package/src/intl/ar.ts +71 -0
- package/src/intl/bn.ts +70 -0
- package/src/intl/ca.ts +70 -0
- package/src/intl/cs.ts +70 -0
- package/src/intl/da.ts +70 -0
- package/src/intl/de.ts +70 -0
- package/src/intl/el.ts +70 -0
- package/src/intl/es.ts +70 -0
- package/src/intl/fa.ts +70 -0
- package/src/intl/fi.ts +70 -0
- package/src/intl/fil.ts +70 -0
- package/src/intl/fr.ts +70 -0
- package/src/intl/he.ts +70 -0
- package/src/intl/hi.ts +70 -0
- package/src/intl/hr.ts +70 -0
- package/src/intl/hu.ts +69 -0
- package/src/intl/id.ts +70 -0
- package/src/intl/intl.test.ts +819 -1
- package/src/intl/it.ts +70 -0
- package/src/intl/ja.ts +70 -0
- package/src/intl/ko.ts +68 -0
- package/src/intl/ml.ts +70 -0
- package/src/intl/mr.ts +70 -0
- package/src/intl/ms.ts +71 -0
- package/src/intl/nb.ts +69 -0
- package/src/intl/nl.ts +70 -0
- package/src/intl/pa.ts +70 -0
- package/src/intl/pl.ts +63 -0
- package/src/intl/pt-BR.ts +70 -0
- package/src/intl/pt.ts +71 -0
- package/src/intl/ro.ts +70 -0
- package/src/intl/sk.ts +71 -0
- package/src/intl/sl.ts +70 -0
- package/src/intl/sv.ts +70 -0
- package/src/intl/sw.ts +62 -0
- package/src/intl/ta.ts +70 -0
- package/src/intl/te.ts +70 -0
- package/src/intl/th.ts +68 -0
- package/src/intl/tr.ts +70 -0
- package/src/intl/uk.ts +228 -155
- package/src/intl/ur.ts +70 -0
- package/src/intl/vi.ts +70 -0
- package/src/intl/zh-CN.ts +68 -0
- package/src/intl/zh-TW.ts +68 -0
- package/src/local-first/Protocol.test.ts +1 -1
- package/src/local-first/Protocol.ts +1 -1
- package/src/local-first/Schema.ts +11 -0
- package/src/local-first/Storage.ts +1 -1
- package/src/local-first/Timestamp.ts +1 -1
- package/dist/src/Binary.d.ts +0 -254
- package/dist/src/Binary.d.ts.map +0 -1
package/src/intl/intl.test.ts
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { describe, test } from "node:test";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
assertEqual,
|
|
4
|
+
assertErr,
|
|
5
|
+
assertLength,
|
|
6
|
+
assertNotUndefined,
|
|
7
|
+
assertTrue,
|
|
8
|
+
} from "../Assert.ts";
|
|
9
|
+
import {
|
|
10
|
+
formatIdentifierError as formatEnglishIdentifierError,
|
|
11
|
+
formatStartsWithError as formatEnglishStartsWithError,
|
|
12
|
+
formatStringError as formatEnglishStringError,
|
|
13
|
+
} from "./_en.ts";
|
|
3
14
|
import {
|
|
4
15
|
ar,
|
|
5
16
|
bn,
|
|
@@ -47,7 +58,16 @@ import {
|
|
|
47
58
|
} from "@evolu/common/intl";
|
|
48
59
|
|
|
49
60
|
import * as Type from "../Type.ts";
|
|
61
|
+
import { DurationLiteral } from "../Time.ts";
|
|
62
|
+
import { PercentageLiteral } from "../Number.ts";
|
|
63
|
+
import {
|
|
64
|
+
formatDurationLiteralError as formatEnglishDurationLiteralError,
|
|
65
|
+
formatPercentageLiteralError as formatEnglishPercentageLiteralError,
|
|
66
|
+
} from "./_en.ts";
|
|
67
|
+
import { ByteSizeLiteral } from "../Bytes.ts";
|
|
68
|
+
import { formatByteSizeLiteralError as formatEnglishByteSizeLiteralError } from "./_en.ts";
|
|
50
69
|
import { ok } from "../Result.ts";
|
|
70
|
+
import { objectToEntries } from "../Object.ts";
|
|
51
71
|
|
|
52
72
|
const Created = Type.typed("Created", { value: Type.String });
|
|
53
73
|
const Deleted = Type.typed("Deleted", { value: Type.String });
|
|
@@ -62,6 +82,8 @@ const LowercaseString = Type.transform(
|
|
|
62
82
|
},
|
|
63
83
|
);
|
|
64
84
|
|
|
85
|
+
const StartsWithEscaped = Type.startsWith('APP_"\\\n')(Type.String);
|
|
86
|
+
|
|
65
87
|
const typesByLocale = Type.localizeTypes(
|
|
66
88
|
{
|
|
67
89
|
Age: Type.Age,
|
|
@@ -69,7 +91,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
69
91
|
Base64Url: Type.Base64Url,
|
|
70
92
|
BigInt: Type.BigInt,
|
|
71
93
|
Boolean: Type.Boolean,
|
|
94
|
+
BooleanFromString: Type.BooleanFromString,
|
|
95
|
+
CamelCaseIdentifier: Type.CamelCaseIdentifier,
|
|
96
|
+
PascalCaseIdentifier: Type.PascalCaseIdentifier,
|
|
97
|
+
SnakeCaseIdentifier: Type.SnakeCaseIdentifier,
|
|
98
|
+
KebabCaseIdentifier: Type.KebabCaseIdentifier,
|
|
99
|
+
ConstantCaseIdentifier: Type.ConstantCaseIdentifier,
|
|
72
100
|
CapitalizedString: Type.CapitalizedString,
|
|
101
|
+
UncapitalizedString: Type.UncapitalizedString,
|
|
102
|
+
UppercasedString: Type.UppercasedString,
|
|
103
|
+
LowercasedString: Type.LowercasedString,
|
|
73
104
|
Date: Type.Date,
|
|
74
105
|
DateIso: Type.DateIso,
|
|
75
106
|
DateIsoFromDate: Type.DateIsoFromDate,
|
|
@@ -87,6 +118,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
87
118
|
Id: Type.Id,
|
|
88
119
|
IdBytes: Type.IdBytes,
|
|
89
120
|
Int: Type.Int,
|
|
121
|
+
IntFromString: Type.IntFromString,
|
|
90
122
|
Int64: Type.Int64,
|
|
91
123
|
Int64FromInt64String: Type.Int64FromInt64String,
|
|
92
124
|
Int64String: Type.Int64String,
|
|
@@ -122,6 +154,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
122
154
|
PositiveNumber: Type.PositiveNumber,
|
|
123
155
|
Ratio: Type.Ratio,
|
|
124
156
|
SimplePassword: Type.SimplePassword,
|
|
157
|
+
StartsWith: Type.startsWith("APP_")(Type.String),
|
|
158
|
+
StartsWithEscaped,
|
|
125
159
|
String: Type.String,
|
|
126
160
|
Symbol: Type.Symbol,
|
|
127
161
|
TrimmedString: Type.TrimmedString,
|
|
@@ -166,7 +200,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
166
200
|
[Between1And2.name]: ar.formatBetweenError,
|
|
167
201
|
BigInt: ar.formatBigIntError,
|
|
168
202
|
Boolean: ar.formatBooleanError,
|
|
203
|
+
BooleanFromString: ar.formatBooleanFromStringError,
|
|
204
|
+
CamelCaseIdentifier: ar.formatIdentifierError,
|
|
205
|
+
PascalCaseIdentifier: ar.formatIdentifierError,
|
|
206
|
+
SnakeCaseIdentifier: ar.formatIdentifierError,
|
|
207
|
+
KebabCaseIdentifier: ar.formatIdentifierError,
|
|
208
|
+
ConstantCaseIdentifier: ar.formatIdentifierError,
|
|
169
209
|
Capitalized: ar.formatCapitalizedError,
|
|
210
|
+
Uncapitalized: ar.formatUncapitalizedError,
|
|
211
|
+
Uppercased: ar.formatUppercasedError,
|
|
212
|
+
Lowercased: ar.formatLowercasedError,
|
|
170
213
|
DateIso: ar.formatDateIsoError,
|
|
171
214
|
DateIsoFromDate: ar.formatDateIsoFromDateError,
|
|
172
215
|
DecimalString: ar.formatDecimalStringError,
|
|
@@ -179,6 +222,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
179
222
|
Id: ar.formatIdError,
|
|
180
223
|
InstanceOf: ar.formatInstanceOfError,
|
|
181
224
|
Int: ar.formatIntError,
|
|
225
|
+
IntFromString: ar.formatIntFromStringError,
|
|
182
226
|
Int64: ar.formatInt64Error,
|
|
183
227
|
Int64String: ar.formatInt64StringError,
|
|
184
228
|
Json: ar.formatJsonError,
|
|
@@ -217,6 +261,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
217
261
|
RecordKey: ar.formatRegexError,
|
|
218
262
|
Regex: ar.formatRegexError,
|
|
219
263
|
Set: ar.formatSetError,
|
|
264
|
+
StartsWithAPP_: ar.formatStartsWithError,
|
|
265
|
+
[StartsWithEscaped.name]: ar.formatStartsWithError,
|
|
220
266
|
String: ar.formatStringError,
|
|
221
267
|
Symbol: ar.formatSymbolError,
|
|
222
268
|
TableId: ar.formatTableIdError,
|
|
@@ -233,7 +279,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
233
279
|
[Between1And2.name]: bn.formatBetweenError,
|
|
234
280
|
BigInt: bn.formatBigIntError,
|
|
235
281
|
Boolean: bn.formatBooleanError,
|
|
282
|
+
BooleanFromString: bn.formatBooleanFromStringError,
|
|
283
|
+
CamelCaseIdentifier: bn.formatIdentifierError,
|
|
284
|
+
PascalCaseIdentifier: bn.formatIdentifierError,
|
|
285
|
+
SnakeCaseIdentifier: bn.formatIdentifierError,
|
|
286
|
+
KebabCaseIdentifier: bn.formatIdentifierError,
|
|
287
|
+
ConstantCaseIdentifier: bn.formatIdentifierError,
|
|
236
288
|
Capitalized: bn.formatCapitalizedError,
|
|
289
|
+
Uncapitalized: bn.formatUncapitalizedError,
|
|
290
|
+
Uppercased: bn.formatUppercasedError,
|
|
291
|
+
Lowercased: bn.formatLowercasedError,
|
|
237
292
|
DateIso: bn.formatDateIsoError,
|
|
238
293
|
DateIsoFromDate: bn.formatDateIsoFromDateError,
|
|
239
294
|
DecimalString: bn.formatDecimalStringError,
|
|
@@ -246,6 +301,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
246
301
|
Id: bn.formatIdError,
|
|
247
302
|
InstanceOf: bn.formatInstanceOfError,
|
|
248
303
|
Int: bn.formatIntError,
|
|
304
|
+
IntFromString: bn.formatIntFromStringError,
|
|
249
305
|
Int64: bn.formatInt64Error,
|
|
250
306
|
Int64String: bn.formatInt64StringError,
|
|
251
307
|
Json: bn.formatJsonError,
|
|
@@ -284,6 +340,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
284
340
|
RecordKey: bn.formatRegexError,
|
|
285
341
|
Regex: bn.formatRegexError,
|
|
286
342
|
Set: bn.formatSetError,
|
|
343
|
+
StartsWithAPP_: bn.formatStartsWithError,
|
|
344
|
+
[StartsWithEscaped.name]: bn.formatStartsWithError,
|
|
287
345
|
String: bn.formatStringError,
|
|
288
346
|
Symbol: bn.formatSymbolError,
|
|
289
347
|
TableId: bn.formatTableIdError,
|
|
@@ -300,7 +358,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
300
358
|
[Between1And2.name]: ca.formatBetweenError,
|
|
301
359
|
BigInt: ca.formatBigIntError,
|
|
302
360
|
Boolean: ca.formatBooleanError,
|
|
361
|
+
BooleanFromString: ca.formatBooleanFromStringError,
|
|
362
|
+
CamelCaseIdentifier: ca.formatIdentifierError,
|
|
363
|
+
PascalCaseIdentifier: ca.formatIdentifierError,
|
|
364
|
+
SnakeCaseIdentifier: ca.formatIdentifierError,
|
|
365
|
+
KebabCaseIdentifier: ca.formatIdentifierError,
|
|
366
|
+
ConstantCaseIdentifier: ca.formatIdentifierError,
|
|
303
367
|
Capitalized: ca.formatCapitalizedError,
|
|
368
|
+
Uncapitalized: ca.formatUncapitalizedError,
|
|
369
|
+
Uppercased: ca.formatUppercasedError,
|
|
370
|
+
Lowercased: ca.formatLowercasedError,
|
|
304
371
|
DateIso: ca.formatDateIsoError,
|
|
305
372
|
DateIsoFromDate: ca.formatDateIsoFromDateError,
|
|
306
373
|
DecimalString: ca.formatDecimalStringError,
|
|
@@ -313,6 +380,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
313
380
|
Id: ca.formatIdError,
|
|
314
381
|
InstanceOf: ca.formatInstanceOfError,
|
|
315
382
|
Int: ca.formatIntError,
|
|
383
|
+
IntFromString: ca.formatIntFromStringError,
|
|
316
384
|
Int64: ca.formatInt64Error,
|
|
317
385
|
Int64String: ca.formatInt64StringError,
|
|
318
386
|
Json: ca.formatJsonError,
|
|
@@ -351,6 +419,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
351
419
|
RecordKey: ca.formatRegexError,
|
|
352
420
|
Regex: ca.formatRegexError,
|
|
353
421
|
Set: ca.formatSetError,
|
|
422
|
+
StartsWithAPP_: ca.formatStartsWithError,
|
|
423
|
+
[StartsWithEscaped.name]: ca.formatStartsWithError,
|
|
354
424
|
String: ca.formatStringError,
|
|
355
425
|
Symbol: ca.formatSymbolError,
|
|
356
426
|
TableId: ca.formatTableIdError,
|
|
@@ -367,7 +437,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
367
437
|
[Between1And2.name]: cs.formatBetweenError,
|
|
368
438
|
BigInt: cs.formatBigIntError,
|
|
369
439
|
Boolean: cs.formatBooleanError,
|
|
440
|
+
BooleanFromString: cs.formatBooleanFromStringError,
|
|
441
|
+
CamelCaseIdentifier: cs.formatIdentifierError,
|
|
442
|
+
PascalCaseIdentifier: cs.formatIdentifierError,
|
|
443
|
+
SnakeCaseIdentifier: cs.formatIdentifierError,
|
|
444
|
+
KebabCaseIdentifier: cs.formatIdentifierError,
|
|
445
|
+
ConstantCaseIdentifier: cs.formatIdentifierError,
|
|
370
446
|
Capitalized: cs.formatCapitalizedError,
|
|
447
|
+
Uncapitalized: cs.formatUncapitalizedError,
|
|
448
|
+
Uppercased: cs.formatUppercasedError,
|
|
449
|
+
Lowercased: cs.formatLowercasedError,
|
|
371
450
|
DateIso: cs.formatDateIsoError,
|
|
372
451
|
DateIsoFromDate: cs.formatDateIsoFromDateError,
|
|
373
452
|
DecimalString: cs.formatDecimalStringError,
|
|
@@ -380,6 +459,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
380
459
|
Id: cs.formatIdError,
|
|
381
460
|
InstanceOf: cs.formatInstanceOfError,
|
|
382
461
|
Int: cs.formatIntError,
|
|
462
|
+
IntFromString: cs.formatIntFromStringError,
|
|
383
463
|
Int64: cs.formatInt64Error,
|
|
384
464
|
Int64String: cs.formatInt64StringError,
|
|
385
465
|
Json: cs.formatJsonError,
|
|
@@ -418,6 +498,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
418
498
|
RecordKey: cs.formatRegexError,
|
|
419
499
|
Regex: cs.formatRegexError,
|
|
420
500
|
Set: cs.formatSetError,
|
|
501
|
+
StartsWithAPP_: cs.formatStartsWithError,
|
|
502
|
+
[StartsWithEscaped.name]: cs.formatStartsWithError,
|
|
421
503
|
String: cs.formatStringError,
|
|
422
504
|
Symbol: cs.formatSymbolError,
|
|
423
505
|
TableId: cs.formatTableIdError,
|
|
@@ -434,7 +516,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
434
516
|
[Between1And2.name]: da.formatBetweenError,
|
|
435
517
|
BigInt: da.formatBigIntError,
|
|
436
518
|
Boolean: da.formatBooleanError,
|
|
519
|
+
BooleanFromString: da.formatBooleanFromStringError,
|
|
520
|
+
CamelCaseIdentifier: da.formatIdentifierError,
|
|
521
|
+
PascalCaseIdentifier: da.formatIdentifierError,
|
|
522
|
+
SnakeCaseIdentifier: da.formatIdentifierError,
|
|
523
|
+
KebabCaseIdentifier: da.formatIdentifierError,
|
|
524
|
+
ConstantCaseIdentifier: da.formatIdentifierError,
|
|
437
525
|
Capitalized: da.formatCapitalizedError,
|
|
526
|
+
Uncapitalized: da.formatUncapitalizedError,
|
|
527
|
+
Uppercased: da.formatUppercasedError,
|
|
528
|
+
Lowercased: da.formatLowercasedError,
|
|
438
529
|
DateIso: da.formatDateIsoError,
|
|
439
530
|
DateIsoFromDate: da.formatDateIsoFromDateError,
|
|
440
531
|
DecimalString: da.formatDecimalStringError,
|
|
@@ -447,6 +538,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
447
538
|
Id: da.formatIdError,
|
|
448
539
|
InstanceOf: da.formatInstanceOfError,
|
|
449
540
|
Int: da.formatIntError,
|
|
541
|
+
IntFromString: da.formatIntFromStringError,
|
|
450
542
|
Int64: da.formatInt64Error,
|
|
451
543
|
Int64String: da.formatInt64StringError,
|
|
452
544
|
Json: da.formatJsonError,
|
|
@@ -485,6 +577,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
485
577
|
RecordKey: da.formatRegexError,
|
|
486
578
|
Regex: da.formatRegexError,
|
|
487
579
|
Set: da.formatSetError,
|
|
580
|
+
StartsWithAPP_: da.formatStartsWithError,
|
|
581
|
+
[StartsWithEscaped.name]: da.formatStartsWithError,
|
|
488
582
|
String: da.formatStringError,
|
|
489
583
|
Symbol: da.formatSymbolError,
|
|
490
584
|
TableId: da.formatTableIdError,
|
|
@@ -501,7 +595,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
501
595
|
[Between1And2.name]: de.formatBetweenError,
|
|
502
596
|
BigInt: de.formatBigIntError,
|
|
503
597
|
Boolean: de.formatBooleanError,
|
|
598
|
+
BooleanFromString: de.formatBooleanFromStringError,
|
|
599
|
+
CamelCaseIdentifier: de.formatIdentifierError,
|
|
600
|
+
PascalCaseIdentifier: de.formatIdentifierError,
|
|
601
|
+
SnakeCaseIdentifier: de.formatIdentifierError,
|
|
602
|
+
KebabCaseIdentifier: de.formatIdentifierError,
|
|
603
|
+
ConstantCaseIdentifier: de.formatIdentifierError,
|
|
504
604
|
Capitalized: de.formatCapitalizedError,
|
|
605
|
+
Uncapitalized: de.formatUncapitalizedError,
|
|
606
|
+
Uppercased: de.formatUppercasedError,
|
|
607
|
+
Lowercased: de.formatLowercasedError,
|
|
505
608
|
DateIso: de.formatDateIsoError,
|
|
506
609
|
DateIsoFromDate: de.formatDateIsoFromDateError,
|
|
507
610
|
DecimalString: de.formatDecimalStringError,
|
|
@@ -514,6 +617,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
514
617
|
Id: de.formatIdError,
|
|
515
618
|
InstanceOf: de.formatInstanceOfError,
|
|
516
619
|
Int: de.formatIntError,
|
|
620
|
+
IntFromString: de.formatIntFromStringError,
|
|
517
621
|
Int64: de.formatInt64Error,
|
|
518
622
|
Int64String: de.formatInt64StringError,
|
|
519
623
|
Json: de.formatJsonError,
|
|
@@ -552,6 +656,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
552
656
|
RecordKey: de.formatRegexError,
|
|
553
657
|
Regex: de.formatRegexError,
|
|
554
658
|
Set: de.formatSetError,
|
|
659
|
+
StartsWithAPP_: de.formatStartsWithError,
|
|
660
|
+
[StartsWithEscaped.name]: de.formatStartsWithError,
|
|
555
661
|
String: de.formatStringError,
|
|
556
662
|
Symbol: de.formatSymbolError,
|
|
557
663
|
TableId: de.formatTableIdError,
|
|
@@ -568,7 +674,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
568
674
|
[Between1And2.name]: el.formatBetweenError,
|
|
569
675
|
BigInt: el.formatBigIntError,
|
|
570
676
|
Boolean: el.formatBooleanError,
|
|
677
|
+
BooleanFromString: el.formatBooleanFromStringError,
|
|
678
|
+
CamelCaseIdentifier: el.formatIdentifierError,
|
|
679
|
+
PascalCaseIdentifier: el.formatIdentifierError,
|
|
680
|
+
SnakeCaseIdentifier: el.formatIdentifierError,
|
|
681
|
+
KebabCaseIdentifier: el.formatIdentifierError,
|
|
682
|
+
ConstantCaseIdentifier: el.formatIdentifierError,
|
|
571
683
|
Capitalized: el.formatCapitalizedError,
|
|
684
|
+
Uncapitalized: el.formatUncapitalizedError,
|
|
685
|
+
Uppercased: el.formatUppercasedError,
|
|
686
|
+
Lowercased: el.formatLowercasedError,
|
|
572
687
|
DateIso: el.formatDateIsoError,
|
|
573
688
|
DateIsoFromDate: el.formatDateIsoFromDateError,
|
|
574
689
|
DecimalString: el.formatDecimalStringError,
|
|
@@ -581,6 +696,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
581
696
|
Id: el.formatIdError,
|
|
582
697
|
InstanceOf: el.formatInstanceOfError,
|
|
583
698
|
Int: el.formatIntError,
|
|
699
|
+
IntFromString: el.formatIntFromStringError,
|
|
584
700
|
Int64: el.formatInt64Error,
|
|
585
701
|
Int64String: el.formatInt64StringError,
|
|
586
702
|
Json: el.formatJsonError,
|
|
@@ -619,6 +735,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
619
735
|
RecordKey: el.formatRegexError,
|
|
620
736
|
Regex: el.formatRegexError,
|
|
621
737
|
Set: el.formatSetError,
|
|
738
|
+
StartsWithAPP_: el.formatStartsWithError,
|
|
739
|
+
[StartsWithEscaped.name]: el.formatStartsWithError,
|
|
622
740
|
String: el.formatStringError,
|
|
623
741
|
Symbol: el.formatSymbolError,
|
|
624
742
|
TableId: el.formatTableIdError,
|
|
@@ -635,7 +753,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
635
753
|
[Between1And2.name]: es.formatBetweenError,
|
|
636
754
|
BigInt: es.formatBigIntError,
|
|
637
755
|
Boolean: es.formatBooleanError,
|
|
756
|
+
BooleanFromString: es.formatBooleanFromStringError,
|
|
757
|
+
CamelCaseIdentifier: es.formatIdentifierError,
|
|
758
|
+
PascalCaseIdentifier: es.formatIdentifierError,
|
|
759
|
+
SnakeCaseIdentifier: es.formatIdentifierError,
|
|
760
|
+
KebabCaseIdentifier: es.formatIdentifierError,
|
|
761
|
+
ConstantCaseIdentifier: es.formatIdentifierError,
|
|
638
762
|
Capitalized: es.formatCapitalizedError,
|
|
763
|
+
Uncapitalized: es.formatUncapitalizedError,
|
|
764
|
+
Uppercased: es.formatUppercasedError,
|
|
765
|
+
Lowercased: es.formatLowercasedError,
|
|
639
766
|
DateIso: es.formatDateIsoError,
|
|
640
767
|
DateIsoFromDate: es.formatDateIsoFromDateError,
|
|
641
768
|
DecimalString: es.formatDecimalStringError,
|
|
@@ -648,6 +775,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
648
775
|
Id: es.formatIdError,
|
|
649
776
|
InstanceOf: es.formatInstanceOfError,
|
|
650
777
|
Int: es.formatIntError,
|
|
778
|
+
IntFromString: es.formatIntFromStringError,
|
|
651
779
|
Int64: es.formatInt64Error,
|
|
652
780
|
Int64String: es.formatInt64StringError,
|
|
653
781
|
Json: es.formatJsonError,
|
|
@@ -686,6 +814,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
686
814
|
RecordKey: es.formatRegexError,
|
|
687
815
|
Regex: es.formatRegexError,
|
|
688
816
|
Set: es.formatSetError,
|
|
817
|
+
StartsWithAPP_: es.formatStartsWithError,
|
|
818
|
+
[StartsWithEscaped.name]: es.formatStartsWithError,
|
|
689
819
|
String: es.formatStringError,
|
|
690
820
|
Symbol: es.formatSymbolError,
|
|
691
821
|
TableId: es.formatTableIdError,
|
|
@@ -702,7 +832,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
702
832
|
[Between1And2.name]: fa.formatBetweenError,
|
|
703
833
|
BigInt: fa.formatBigIntError,
|
|
704
834
|
Boolean: fa.formatBooleanError,
|
|
835
|
+
BooleanFromString: fa.formatBooleanFromStringError,
|
|
836
|
+
CamelCaseIdentifier: fa.formatIdentifierError,
|
|
837
|
+
PascalCaseIdentifier: fa.formatIdentifierError,
|
|
838
|
+
SnakeCaseIdentifier: fa.formatIdentifierError,
|
|
839
|
+
KebabCaseIdentifier: fa.formatIdentifierError,
|
|
840
|
+
ConstantCaseIdentifier: fa.formatIdentifierError,
|
|
705
841
|
Capitalized: fa.formatCapitalizedError,
|
|
842
|
+
Uncapitalized: fa.formatUncapitalizedError,
|
|
843
|
+
Uppercased: fa.formatUppercasedError,
|
|
844
|
+
Lowercased: fa.formatLowercasedError,
|
|
706
845
|
DateIso: fa.formatDateIsoError,
|
|
707
846
|
DateIsoFromDate: fa.formatDateIsoFromDateError,
|
|
708
847
|
DecimalString: fa.formatDecimalStringError,
|
|
@@ -715,6 +854,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
715
854
|
Id: fa.formatIdError,
|
|
716
855
|
InstanceOf: fa.formatInstanceOfError,
|
|
717
856
|
Int: fa.formatIntError,
|
|
857
|
+
IntFromString: fa.formatIntFromStringError,
|
|
718
858
|
Int64: fa.formatInt64Error,
|
|
719
859
|
Int64String: fa.formatInt64StringError,
|
|
720
860
|
Json: fa.formatJsonError,
|
|
@@ -753,6 +893,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
753
893
|
RecordKey: fa.formatRegexError,
|
|
754
894
|
Regex: fa.formatRegexError,
|
|
755
895
|
Set: fa.formatSetError,
|
|
896
|
+
StartsWithAPP_: fa.formatStartsWithError,
|
|
897
|
+
[StartsWithEscaped.name]: fa.formatStartsWithError,
|
|
756
898
|
String: fa.formatStringError,
|
|
757
899
|
Symbol: fa.formatSymbolError,
|
|
758
900
|
TableId: fa.formatTableIdError,
|
|
@@ -769,7 +911,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
769
911
|
[Between1And2.name]: fi.formatBetweenError,
|
|
770
912
|
BigInt: fi.formatBigIntError,
|
|
771
913
|
Boolean: fi.formatBooleanError,
|
|
914
|
+
BooleanFromString: fi.formatBooleanFromStringError,
|
|
915
|
+
CamelCaseIdentifier: fi.formatIdentifierError,
|
|
916
|
+
PascalCaseIdentifier: fi.formatIdentifierError,
|
|
917
|
+
SnakeCaseIdentifier: fi.formatIdentifierError,
|
|
918
|
+
KebabCaseIdentifier: fi.formatIdentifierError,
|
|
919
|
+
ConstantCaseIdentifier: fi.formatIdentifierError,
|
|
772
920
|
Capitalized: fi.formatCapitalizedError,
|
|
921
|
+
Uncapitalized: fi.formatUncapitalizedError,
|
|
922
|
+
Uppercased: fi.formatUppercasedError,
|
|
923
|
+
Lowercased: fi.formatLowercasedError,
|
|
773
924
|
DateIso: fi.formatDateIsoError,
|
|
774
925
|
DateIsoFromDate: fi.formatDateIsoFromDateError,
|
|
775
926
|
DecimalString: fi.formatDecimalStringError,
|
|
@@ -782,6 +933,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
782
933
|
Id: fi.formatIdError,
|
|
783
934
|
InstanceOf: fi.formatInstanceOfError,
|
|
784
935
|
Int: fi.formatIntError,
|
|
936
|
+
IntFromString: fi.formatIntFromStringError,
|
|
785
937
|
Int64: fi.formatInt64Error,
|
|
786
938
|
Int64String: fi.formatInt64StringError,
|
|
787
939
|
Json: fi.formatJsonError,
|
|
@@ -820,6 +972,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
820
972
|
RecordKey: fi.formatRegexError,
|
|
821
973
|
Regex: fi.formatRegexError,
|
|
822
974
|
Set: fi.formatSetError,
|
|
975
|
+
StartsWithAPP_: fi.formatStartsWithError,
|
|
976
|
+
[StartsWithEscaped.name]: fi.formatStartsWithError,
|
|
823
977
|
String: fi.formatStringError,
|
|
824
978
|
Symbol: fi.formatSymbolError,
|
|
825
979
|
TableId: fi.formatTableIdError,
|
|
@@ -836,7 +990,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
836
990
|
[Between1And2.name]: fil.formatBetweenError,
|
|
837
991
|
BigInt: fil.formatBigIntError,
|
|
838
992
|
Boolean: fil.formatBooleanError,
|
|
993
|
+
BooleanFromString: fil.formatBooleanFromStringError,
|
|
994
|
+
CamelCaseIdentifier: fil.formatIdentifierError,
|
|
995
|
+
PascalCaseIdentifier: fil.formatIdentifierError,
|
|
996
|
+
SnakeCaseIdentifier: fil.formatIdentifierError,
|
|
997
|
+
KebabCaseIdentifier: fil.formatIdentifierError,
|
|
998
|
+
ConstantCaseIdentifier: fil.formatIdentifierError,
|
|
839
999
|
Capitalized: fil.formatCapitalizedError,
|
|
1000
|
+
Uncapitalized: fil.formatUncapitalizedError,
|
|
1001
|
+
Uppercased: fil.formatUppercasedError,
|
|
1002
|
+
Lowercased: fil.formatLowercasedError,
|
|
840
1003
|
DateIso: fil.formatDateIsoError,
|
|
841
1004
|
DateIsoFromDate: fil.formatDateIsoFromDateError,
|
|
842
1005
|
DecimalString: fil.formatDecimalStringError,
|
|
@@ -849,6 +1012,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
849
1012
|
Id: fil.formatIdError,
|
|
850
1013
|
InstanceOf: fil.formatInstanceOfError,
|
|
851
1014
|
Int: fil.formatIntError,
|
|
1015
|
+
IntFromString: fil.formatIntFromStringError,
|
|
852
1016
|
Int64: fil.formatInt64Error,
|
|
853
1017
|
Int64String: fil.formatInt64StringError,
|
|
854
1018
|
Json: fil.formatJsonError,
|
|
@@ -887,6 +1051,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
887
1051
|
RecordKey: fil.formatRegexError,
|
|
888
1052
|
Regex: fil.formatRegexError,
|
|
889
1053
|
Set: fil.formatSetError,
|
|
1054
|
+
StartsWithAPP_: fil.formatStartsWithError,
|
|
1055
|
+
[StartsWithEscaped.name]: fil.formatStartsWithError,
|
|
890
1056
|
String: fil.formatStringError,
|
|
891
1057
|
Symbol: fil.formatSymbolError,
|
|
892
1058
|
TableId: fil.formatTableIdError,
|
|
@@ -903,7 +1069,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
903
1069
|
[Between1And2.name]: fr.formatBetweenError,
|
|
904
1070
|
BigInt: fr.formatBigIntError,
|
|
905
1071
|
Boolean: fr.formatBooleanError,
|
|
1072
|
+
BooleanFromString: fr.formatBooleanFromStringError,
|
|
1073
|
+
CamelCaseIdentifier: fr.formatIdentifierError,
|
|
1074
|
+
PascalCaseIdentifier: fr.formatIdentifierError,
|
|
1075
|
+
SnakeCaseIdentifier: fr.formatIdentifierError,
|
|
1076
|
+
KebabCaseIdentifier: fr.formatIdentifierError,
|
|
1077
|
+
ConstantCaseIdentifier: fr.formatIdentifierError,
|
|
906
1078
|
Capitalized: fr.formatCapitalizedError,
|
|
1079
|
+
Uncapitalized: fr.formatUncapitalizedError,
|
|
1080
|
+
Uppercased: fr.formatUppercasedError,
|
|
1081
|
+
Lowercased: fr.formatLowercasedError,
|
|
907
1082
|
DateIso: fr.formatDateIsoError,
|
|
908
1083
|
DateIsoFromDate: fr.formatDateIsoFromDateError,
|
|
909
1084
|
DecimalString: fr.formatDecimalStringError,
|
|
@@ -916,6 +1091,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
916
1091
|
Id: fr.formatIdError,
|
|
917
1092
|
InstanceOf: fr.formatInstanceOfError,
|
|
918
1093
|
Int: fr.formatIntError,
|
|
1094
|
+
IntFromString: fr.formatIntFromStringError,
|
|
919
1095
|
Int64: fr.formatInt64Error,
|
|
920
1096
|
Int64String: fr.formatInt64StringError,
|
|
921
1097
|
Json: fr.formatJsonError,
|
|
@@ -954,6 +1130,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
954
1130
|
RecordKey: fr.formatRegexError,
|
|
955
1131
|
Regex: fr.formatRegexError,
|
|
956
1132
|
Set: fr.formatSetError,
|
|
1133
|
+
StartsWithAPP_: fr.formatStartsWithError,
|
|
1134
|
+
[StartsWithEscaped.name]: fr.formatStartsWithError,
|
|
957
1135
|
String: fr.formatStringError,
|
|
958
1136
|
Symbol: fr.formatSymbolError,
|
|
959
1137
|
TableId: fr.formatTableIdError,
|
|
@@ -970,7 +1148,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
970
1148
|
[Between1And2.name]: he.formatBetweenError,
|
|
971
1149
|
BigInt: he.formatBigIntError,
|
|
972
1150
|
Boolean: he.formatBooleanError,
|
|
1151
|
+
BooleanFromString: he.formatBooleanFromStringError,
|
|
1152
|
+
CamelCaseIdentifier: he.formatIdentifierError,
|
|
1153
|
+
PascalCaseIdentifier: he.formatIdentifierError,
|
|
1154
|
+
SnakeCaseIdentifier: he.formatIdentifierError,
|
|
1155
|
+
KebabCaseIdentifier: he.formatIdentifierError,
|
|
1156
|
+
ConstantCaseIdentifier: he.formatIdentifierError,
|
|
973
1157
|
Capitalized: he.formatCapitalizedError,
|
|
1158
|
+
Uncapitalized: he.formatUncapitalizedError,
|
|
1159
|
+
Uppercased: he.formatUppercasedError,
|
|
1160
|
+
Lowercased: he.formatLowercasedError,
|
|
974
1161
|
DateIso: he.formatDateIsoError,
|
|
975
1162
|
DateIsoFromDate: he.formatDateIsoFromDateError,
|
|
976
1163
|
DecimalString: he.formatDecimalStringError,
|
|
@@ -983,6 +1170,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
983
1170
|
Id: he.formatIdError,
|
|
984
1171
|
InstanceOf: he.formatInstanceOfError,
|
|
985
1172
|
Int: he.formatIntError,
|
|
1173
|
+
IntFromString: he.formatIntFromStringError,
|
|
986
1174
|
Int64: he.formatInt64Error,
|
|
987
1175
|
Int64String: he.formatInt64StringError,
|
|
988
1176
|
Json: he.formatJsonError,
|
|
@@ -1021,6 +1209,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1021
1209
|
RecordKey: he.formatRegexError,
|
|
1022
1210
|
Regex: he.formatRegexError,
|
|
1023
1211
|
Set: he.formatSetError,
|
|
1212
|
+
StartsWithAPP_: he.formatStartsWithError,
|
|
1213
|
+
[StartsWithEscaped.name]: he.formatStartsWithError,
|
|
1024
1214
|
String: he.formatStringError,
|
|
1025
1215
|
Symbol: he.formatSymbolError,
|
|
1026
1216
|
TableId: he.formatTableIdError,
|
|
@@ -1037,7 +1227,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1037
1227
|
[Between1And2.name]: hi.formatBetweenError,
|
|
1038
1228
|
BigInt: hi.formatBigIntError,
|
|
1039
1229
|
Boolean: hi.formatBooleanError,
|
|
1230
|
+
BooleanFromString: hi.formatBooleanFromStringError,
|
|
1231
|
+
CamelCaseIdentifier: hi.formatIdentifierError,
|
|
1232
|
+
PascalCaseIdentifier: hi.formatIdentifierError,
|
|
1233
|
+
SnakeCaseIdentifier: hi.formatIdentifierError,
|
|
1234
|
+
KebabCaseIdentifier: hi.formatIdentifierError,
|
|
1235
|
+
ConstantCaseIdentifier: hi.formatIdentifierError,
|
|
1040
1236
|
Capitalized: hi.formatCapitalizedError,
|
|
1237
|
+
Uncapitalized: hi.formatUncapitalizedError,
|
|
1238
|
+
Uppercased: hi.formatUppercasedError,
|
|
1239
|
+
Lowercased: hi.formatLowercasedError,
|
|
1041
1240
|
DateIso: hi.formatDateIsoError,
|
|
1042
1241
|
DateIsoFromDate: hi.formatDateIsoFromDateError,
|
|
1043
1242
|
DecimalString: hi.formatDecimalStringError,
|
|
@@ -1050,6 +1249,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1050
1249
|
Id: hi.formatIdError,
|
|
1051
1250
|
InstanceOf: hi.formatInstanceOfError,
|
|
1052
1251
|
Int: hi.formatIntError,
|
|
1252
|
+
IntFromString: hi.formatIntFromStringError,
|
|
1053
1253
|
Int64: hi.formatInt64Error,
|
|
1054
1254
|
Int64String: hi.formatInt64StringError,
|
|
1055
1255
|
Json: hi.formatJsonError,
|
|
@@ -1088,6 +1288,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1088
1288
|
RecordKey: hi.formatRegexError,
|
|
1089
1289
|
Regex: hi.formatRegexError,
|
|
1090
1290
|
Set: hi.formatSetError,
|
|
1291
|
+
StartsWithAPP_: hi.formatStartsWithError,
|
|
1292
|
+
[StartsWithEscaped.name]: hi.formatStartsWithError,
|
|
1091
1293
|
String: hi.formatStringError,
|
|
1092
1294
|
Symbol: hi.formatSymbolError,
|
|
1093
1295
|
TableId: hi.formatTableIdError,
|
|
@@ -1104,7 +1306,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1104
1306
|
[Between1And2.name]: hr.formatBetweenError,
|
|
1105
1307
|
BigInt: hr.formatBigIntError,
|
|
1106
1308
|
Boolean: hr.formatBooleanError,
|
|
1309
|
+
BooleanFromString: hr.formatBooleanFromStringError,
|
|
1310
|
+
CamelCaseIdentifier: hr.formatIdentifierError,
|
|
1311
|
+
PascalCaseIdentifier: hr.formatIdentifierError,
|
|
1312
|
+
SnakeCaseIdentifier: hr.formatIdentifierError,
|
|
1313
|
+
KebabCaseIdentifier: hr.formatIdentifierError,
|
|
1314
|
+
ConstantCaseIdentifier: hr.formatIdentifierError,
|
|
1107
1315
|
Capitalized: hr.formatCapitalizedError,
|
|
1316
|
+
Uncapitalized: hr.formatUncapitalizedError,
|
|
1317
|
+
Uppercased: hr.formatUppercasedError,
|
|
1318
|
+
Lowercased: hr.formatLowercasedError,
|
|
1108
1319
|
DateIso: hr.formatDateIsoError,
|
|
1109
1320
|
DateIsoFromDate: hr.formatDateIsoFromDateError,
|
|
1110
1321
|
DecimalString: hr.formatDecimalStringError,
|
|
@@ -1117,6 +1328,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1117
1328
|
Id: hr.formatIdError,
|
|
1118
1329
|
InstanceOf: hr.formatInstanceOfError,
|
|
1119
1330
|
Int: hr.formatIntError,
|
|
1331
|
+
IntFromString: hr.formatIntFromStringError,
|
|
1120
1332
|
Int64: hr.formatInt64Error,
|
|
1121
1333
|
Int64String: hr.formatInt64StringError,
|
|
1122
1334
|
Json: hr.formatJsonError,
|
|
@@ -1155,6 +1367,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1155
1367
|
RecordKey: hr.formatRegexError,
|
|
1156
1368
|
Regex: hr.formatRegexError,
|
|
1157
1369
|
Set: hr.formatSetError,
|
|
1370
|
+
StartsWithAPP_: hr.formatStartsWithError,
|
|
1371
|
+
[StartsWithEscaped.name]: hr.formatStartsWithError,
|
|
1158
1372
|
String: hr.formatStringError,
|
|
1159
1373
|
Symbol: hr.formatSymbolError,
|
|
1160
1374
|
TableId: hr.formatTableIdError,
|
|
@@ -1171,7 +1385,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1171
1385
|
[Between1And2.name]: hu.formatBetweenError,
|
|
1172
1386
|
BigInt: hu.formatBigIntError,
|
|
1173
1387
|
Boolean: hu.formatBooleanError,
|
|
1388
|
+
BooleanFromString: hu.formatBooleanFromStringError,
|
|
1389
|
+
CamelCaseIdentifier: hu.formatIdentifierError,
|
|
1390
|
+
PascalCaseIdentifier: hu.formatIdentifierError,
|
|
1391
|
+
SnakeCaseIdentifier: hu.formatIdentifierError,
|
|
1392
|
+
KebabCaseIdentifier: hu.formatIdentifierError,
|
|
1393
|
+
ConstantCaseIdentifier: hu.formatIdentifierError,
|
|
1174
1394
|
Capitalized: hu.formatCapitalizedError,
|
|
1395
|
+
Uncapitalized: hu.formatUncapitalizedError,
|
|
1396
|
+
Uppercased: hu.formatUppercasedError,
|
|
1397
|
+
Lowercased: hu.formatLowercasedError,
|
|
1175
1398
|
DateIso: hu.formatDateIsoError,
|
|
1176
1399
|
DateIsoFromDate: hu.formatDateIsoFromDateError,
|
|
1177
1400
|
DecimalString: hu.formatDecimalStringError,
|
|
@@ -1184,6 +1407,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1184
1407
|
Id: hu.formatIdError,
|
|
1185
1408
|
InstanceOf: hu.formatInstanceOfError,
|
|
1186
1409
|
Int: hu.formatIntError,
|
|
1410
|
+
IntFromString: hu.formatIntFromStringError,
|
|
1187
1411
|
Int64: hu.formatInt64Error,
|
|
1188
1412
|
Int64String: hu.formatInt64StringError,
|
|
1189
1413
|
Json: hu.formatJsonError,
|
|
@@ -1222,6 +1446,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1222
1446
|
RecordKey: hu.formatRegexError,
|
|
1223
1447
|
Regex: hu.formatRegexError,
|
|
1224
1448
|
Set: hu.formatSetError,
|
|
1449
|
+
StartsWithAPP_: hu.formatStartsWithError,
|
|
1450
|
+
[StartsWithEscaped.name]: hu.formatStartsWithError,
|
|
1225
1451
|
String: hu.formatStringError,
|
|
1226
1452
|
Symbol: hu.formatSymbolError,
|
|
1227
1453
|
TableId: hu.formatTableIdError,
|
|
@@ -1238,7 +1464,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1238
1464
|
[Between1And2.name]: id.formatBetweenError,
|
|
1239
1465
|
BigInt: id.formatBigIntError,
|
|
1240
1466
|
Boolean: id.formatBooleanError,
|
|
1467
|
+
BooleanFromString: id.formatBooleanFromStringError,
|
|
1468
|
+
CamelCaseIdentifier: id.formatIdentifierError,
|
|
1469
|
+
PascalCaseIdentifier: id.formatIdentifierError,
|
|
1470
|
+
SnakeCaseIdentifier: id.formatIdentifierError,
|
|
1471
|
+
KebabCaseIdentifier: id.formatIdentifierError,
|
|
1472
|
+
ConstantCaseIdentifier: id.formatIdentifierError,
|
|
1241
1473
|
Capitalized: id.formatCapitalizedError,
|
|
1474
|
+
Uncapitalized: id.formatUncapitalizedError,
|
|
1475
|
+
Uppercased: id.formatUppercasedError,
|
|
1476
|
+
Lowercased: id.formatLowercasedError,
|
|
1242
1477
|
DateIso: id.formatDateIsoError,
|
|
1243
1478
|
DateIsoFromDate: id.formatDateIsoFromDateError,
|
|
1244
1479
|
DecimalString: id.formatDecimalStringError,
|
|
@@ -1251,6 +1486,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1251
1486
|
Id: id.formatIdError,
|
|
1252
1487
|
InstanceOf: id.formatInstanceOfError,
|
|
1253
1488
|
Int: id.formatIntError,
|
|
1489
|
+
IntFromString: id.formatIntFromStringError,
|
|
1254
1490
|
Int64: id.formatInt64Error,
|
|
1255
1491
|
Int64String: id.formatInt64StringError,
|
|
1256
1492
|
Json: id.formatJsonError,
|
|
@@ -1289,6 +1525,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1289
1525
|
RecordKey: id.formatRegexError,
|
|
1290
1526
|
Regex: id.formatRegexError,
|
|
1291
1527
|
Set: id.formatSetError,
|
|
1528
|
+
StartsWithAPP_: id.formatStartsWithError,
|
|
1529
|
+
[StartsWithEscaped.name]: id.formatStartsWithError,
|
|
1292
1530
|
String: id.formatStringError,
|
|
1293
1531
|
Symbol: id.formatSymbolError,
|
|
1294
1532
|
TableId: id.formatTableIdError,
|
|
@@ -1305,7 +1543,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1305
1543
|
[Between1And2.name]: it.formatBetweenError,
|
|
1306
1544
|
BigInt: it.formatBigIntError,
|
|
1307
1545
|
Boolean: it.formatBooleanError,
|
|
1546
|
+
BooleanFromString: it.formatBooleanFromStringError,
|
|
1547
|
+
CamelCaseIdentifier: it.formatIdentifierError,
|
|
1548
|
+
PascalCaseIdentifier: it.formatIdentifierError,
|
|
1549
|
+
SnakeCaseIdentifier: it.formatIdentifierError,
|
|
1550
|
+
KebabCaseIdentifier: it.formatIdentifierError,
|
|
1551
|
+
ConstantCaseIdentifier: it.formatIdentifierError,
|
|
1308
1552
|
Capitalized: it.formatCapitalizedError,
|
|
1553
|
+
Uncapitalized: it.formatUncapitalizedError,
|
|
1554
|
+
Uppercased: it.formatUppercasedError,
|
|
1555
|
+
Lowercased: it.formatLowercasedError,
|
|
1309
1556
|
DateIso: it.formatDateIsoError,
|
|
1310
1557
|
DateIsoFromDate: it.formatDateIsoFromDateError,
|
|
1311
1558
|
DecimalString: it.formatDecimalStringError,
|
|
@@ -1318,6 +1565,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1318
1565
|
Id: it.formatIdError,
|
|
1319
1566
|
InstanceOf: it.formatInstanceOfError,
|
|
1320
1567
|
Int: it.formatIntError,
|
|
1568
|
+
IntFromString: it.formatIntFromStringError,
|
|
1321
1569
|
Int64: it.formatInt64Error,
|
|
1322
1570
|
Int64String: it.formatInt64StringError,
|
|
1323
1571
|
Json: it.formatJsonError,
|
|
@@ -1356,6 +1604,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1356
1604
|
RecordKey: it.formatRegexError,
|
|
1357
1605
|
Regex: it.formatRegexError,
|
|
1358
1606
|
Set: it.formatSetError,
|
|
1607
|
+
StartsWithAPP_: it.formatStartsWithError,
|
|
1608
|
+
[StartsWithEscaped.name]: it.formatStartsWithError,
|
|
1359
1609
|
String: it.formatStringError,
|
|
1360
1610
|
Symbol: it.formatSymbolError,
|
|
1361
1611
|
TableId: it.formatTableIdError,
|
|
@@ -1372,7 +1622,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1372
1622
|
[Between1And2.name]: ja.formatBetweenError,
|
|
1373
1623
|
BigInt: ja.formatBigIntError,
|
|
1374
1624
|
Boolean: ja.formatBooleanError,
|
|
1625
|
+
BooleanFromString: ja.formatBooleanFromStringError,
|
|
1626
|
+
CamelCaseIdentifier: ja.formatIdentifierError,
|
|
1627
|
+
PascalCaseIdentifier: ja.formatIdentifierError,
|
|
1628
|
+
SnakeCaseIdentifier: ja.formatIdentifierError,
|
|
1629
|
+
KebabCaseIdentifier: ja.formatIdentifierError,
|
|
1630
|
+
ConstantCaseIdentifier: ja.formatIdentifierError,
|
|
1375
1631
|
Capitalized: ja.formatCapitalizedError,
|
|
1632
|
+
Uncapitalized: ja.formatUncapitalizedError,
|
|
1633
|
+
Uppercased: ja.formatUppercasedError,
|
|
1634
|
+
Lowercased: ja.formatLowercasedError,
|
|
1376
1635
|
DateIso: ja.formatDateIsoError,
|
|
1377
1636
|
DateIsoFromDate: ja.formatDateIsoFromDateError,
|
|
1378
1637
|
DecimalString: ja.formatDecimalStringError,
|
|
@@ -1385,6 +1644,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1385
1644
|
Id: ja.formatIdError,
|
|
1386
1645
|
InstanceOf: ja.formatInstanceOfError,
|
|
1387
1646
|
Int: ja.formatIntError,
|
|
1647
|
+
IntFromString: ja.formatIntFromStringError,
|
|
1388
1648
|
Int64: ja.formatInt64Error,
|
|
1389
1649
|
Int64String: ja.formatInt64StringError,
|
|
1390
1650
|
Json: ja.formatJsonError,
|
|
@@ -1423,6 +1683,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1423
1683
|
RecordKey: ja.formatRegexError,
|
|
1424
1684
|
Regex: ja.formatRegexError,
|
|
1425
1685
|
Set: ja.formatSetError,
|
|
1686
|
+
StartsWithAPP_: ja.formatStartsWithError,
|
|
1687
|
+
[StartsWithEscaped.name]: ja.formatStartsWithError,
|
|
1426
1688
|
String: ja.formatStringError,
|
|
1427
1689
|
Symbol: ja.formatSymbolError,
|
|
1428
1690
|
TableId: ja.formatTableIdError,
|
|
@@ -1439,7 +1701,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1439
1701
|
[Between1And2.name]: ko.formatBetweenError,
|
|
1440
1702
|
BigInt: ko.formatBigIntError,
|
|
1441
1703
|
Boolean: ko.formatBooleanError,
|
|
1704
|
+
BooleanFromString: ko.formatBooleanFromStringError,
|
|
1705
|
+
CamelCaseIdentifier: ko.formatIdentifierError,
|
|
1706
|
+
PascalCaseIdentifier: ko.formatIdentifierError,
|
|
1707
|
+
SnakeCaseIdentifier: ko.formatIdentifierError,
|
|
1708
|
+
KebabCaseIdentifier: ko.formatIdentifierError,
|
|
1709
|
+
ConstantCaseIdentifier: ko.formatIdentifierError,
|
|
1442
1710
|
Capitalized: ko.formatCapitalizedError,
|
|
1711
|
+
Uncapitalized: ko.formatUncapitalizedError,
|
|
1712
|
+
Uppercased: ko.formatUppercasedError,
|
|
1713
|
+
Lowercased: ko.formatLowercasedError,
|
|
1443
1714
|
DateIso: ko.formatDateIsoError,
|
|
1444
1715
|
DateIsoFromDate: ko.formatDateIsoFromDateError,
|
|
1445
1716
|
DecimalString: ko.formatDecimalStringError,
|
|
@@ -1452,6 +1723,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1452
1723
|
Id: ko.formatIdError,
|
|
1453
1724
|
InstanceOf: ko.formatInstanceOfError,
|
|
1454
1725
|
Int: ko.formatIntError,
|
|
1726
|
+
IntFromString: ko.formatIntFromStringError,
|
|
1455
1727
|
Int64: ko.formatInt64Error,
|
|
1456
1728
|
Int64String: ko.formatInt64StringError,
|
|
1457
1729
|
Json: ko.formatJsonError,
|
|
@@ -1490,6 +1762,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1490
1762
|
RecordKey: ko.formatRegexError,
|
|
1491
1763
|
Regex: ko.formatRegexError,
|
|
1492
1764
|
Set: ko.formatSetError,
|
|
1765
|
+
StartsWithAPP_: ko.formatStartsWithError,
|
|
1766
|
+
[StartsWithEscaped.name]: ko.formatStartsWithError,
|
|
1493
1767
|
String: ko.formatStringError,
|
|
1494
1768
|
Symbol: ko.formatSymbolError,
|
|
1495
1769
|
TableId: ko.formatTableIdError,
|
|
@@ -1506,7 +1780,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1506
1780
|
[Between1And2.name]: ml.formatBetweenError,
|
|
1507
1781
|
BigInt: ml.formatBigIntError,
|
|
1508
1782
|
Boolean: ml.formatBooleanError,
|
|
1783
|
+
BooleanFromString: ml.formatBooleanFromStringError,
|
|
1784
|
+
CamelCaseIdentifier: ml.formatIdentifierError,
|
|
1785
|
+
PascalCaseIdentifier: ml.formatIdentifierError,
|
|
1786
|
+
SnakeCaseIdentifier: ml.formatIdentifierError,
|
|
1787
|
+
KebabCaseIdentifier: ml.formatIdentifierError,
|
|
1788
|
+
ConstantCaseIdentifier: ml.formatIdentifierError,
|
|
1509
1789
|
Capitalized: ml.formatCapitalizedError,
|
|
1790
|
+
Uncapitalized: ml.formatUncapitalizedError,
|
|
1791
|
+
Uppercased: ml.formatUppercasedError,
|
|
1792
|
+
Lowercased: ml.formatLowercasedError,
|
|
1510
1793
|
DateIso: ml.formatDateIsoError,
|
|
1511
1794
|
DateIsoFromDate: ml.formatDateIsoFromDateError,
|
|
1512
1795
|
DecimalString: ml.formatDecimalStringError,
|
|
@@ -1519,6 +1802,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1519
1802
|
Id: ml.formatIdError,
|
|
1520
1803
|
InstanceOf: ml.formatInstanceOfError,
|
|
1521
1804
|
Int: ml.formatIntError,
|
|
1805
|
+
IntFromString: ml.formatIntFromStringError,
|
|
1522
1806
|
Int64: ml.formatInt64Error,
|
|
1523
1807
|
Int64String: ml.formatInt64StringError,
|
|
1524
1808
|
Json: ml.formatJsonError,
|
|
@@ -1557,6 +1841,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1557
1841
|
RecordKey: ml.formatRegexError,
|
|
1558
1842
|
Regex: ml.formatRegexError,
|
|
1559
1843
|
Set: ml.formatSetError,
|
|
1844
|
+
StartsWithAPP_: ml.formatStartsWithError,
|
|
1845
|
+
[StartsWithEscaped.name]: ml.formatStartsWithError,
|
|
1560
1846
|
String: ml.formatStringError,
|
|
1561
1847
|
Symbol: ml.formatSymbolError,
|
|
1562
1848
|
TableId: ml.formatTableIdError,
|
|
@@ -1573,7 +1859,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1573
1859
|
[Between1And2.name]: mr.formatBetweenError,
|
|
1574
1860
|
BigInt: mr.formatBigIntError,
|
|
1575
1861
|
Boolean: mr.formatBooleanError,
|
|
1862
|
+
BooleanFromString: mr.formatBooleanFromStringError,
|
|
1863
|
+
CamelCaseIdentifier: mr.formatIdentifierError,
|
|
1864
|
+
PascalCaseIdentifier: mr.formatIdentifierError,
|
|
1865
|
+
SnakeCaseIdentifier: mr.formatIdentifierError,
|
|
1866
|
+
KebabCaseIdentifier: mr.formatIdentifierError,
|
|
1867
|
+
ConstantCaseIdentifier: mr.formatIdentifierError,
|
|
1576
1868
|
Capitalized: mr.formatCapitalizedError,
|
|
1869
|
+
Uncapitalized: mr.formatUncapitalizedError,
|
|
1870
|
+
Uppercased: mr.formatUppercasedError,
|
|
1871
|
+
Lowercased: mr.formatLowercasedError,
|
|
1577
1872
|
DateIso: mr.formatDateIsoError,
|
|
1578
1873
|
DateIsoFromDate: mr.formatDateIsoFromDateError,
|
|
1579
1874
|
DecimalString: mr.formatDecimalStringError,
|
|
@@ -1586,6 +1881,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1586
1881
|
Id: mr.formatIdError,
|
|
1587
1882
|
InstanceOf: mr.formatInstanceOfError,
|
|
1588
1883
|
Int: mr.formatIntError,
|
|
1884
|
+
IntFromString: mr.formatIntFromStringError,
|
|
1589
1885
|
Int64: mr.formatInt64Error,
|
|
1590
1886
|
Int64String: mr.formatInt64StringError,
|
|
1591
1887
|
Json: mr.formatJsonError,
|
|
@@ -1624,6 +1920,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1624
1920
|
RecordKey: mr.formatRegexError,
|
|
1625
1921
|
Regex: mr.formatRegexError,
|
|
1626
1922
|
Set: mr.formatSetError,
|
|
1923
|
+
StartsWithAPP_: mr.formatStartsWithError,
|
|
1924
|
+
[StartsWithEscaped.name]: mr.formatStartsWithError,
|
|
1627
1925
|
String: mr.formatStringError,
|
|
1628
1926
|
Symbol: mr.formatSymbolError,
|
|
1629
1927
|
TableId: mr.formatTableIdError,
|
|
@@ -1640,7 +1938,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1640
1938
|
[Between1And2.name]: ms.formatBetweenError,
|
|
1641
1939
|
BigInt: ms.formatBigIntError,
|
|
1642
1940
|
Boolean: ms.formatBooleanError,
|
|
1941
|
+
BooleanFromString: ms.formatBooleanFromStringError,
|
|
1942
|
+
CamelCaseIdentifier: ms.formatIdentifierError,
|
|
1943
|
+
PascalCaseIdentifier: ms.formatIdentifierError,
|
|
1944
|
+
SnakeCaseIdentifier: ms.formatIdentifierError,
|
|
1945
|
+
KebabCaseIdentifier: ms.formatIdentifierError,
|
|
1946
|
+
ConstantCaseIdentifier: ms.formatIdentifierError,
|
|
1643
1947
|
Capitalized: ms.formatCapitalizedError,
|
|
1948
|
+
Uncapitalized: ms.formatUncapitalizedError,
|
|
1949
|
+
Uppercased: ms.formatUppercasedError,
|
|
1950
|
+
Lowercased: ms.formatLowercasedError,
|
|
1644
1951
|
DateIso: ms.formatDateIsoError,
|
|
1645
1952
|
DateIsoFromDate: ms.formatDateIsoFromDateError,
|
|
1646
1953
|
DecimalString: ms.formatDecimalStringError,
|
|
@@ -1653,6 +1960,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1653
1960
|
Id: ms.formatIdError,
|
|
1654
1961
|
InstanceOf: ms.formatInstanceOfError,
|
|
1655
1962
|
Int: ms.formatIntError,
|
|
1963
|
+
IntFromString: ms.formatIntFromStringError,
|
|
1656
1964
|
Int64: ms.formatInt64Error,
|
|
1657
1965
|
Int64String: ms.formatInt64StringError,
|
|
1658
1966
|
Json: ms.formatJsonError,
|
|
@@ -1691,6 +1999,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1691
1999
|
RecordKey: ms.formatRegexError,
|
|
1692
2000
|
Regex: ms.formatRegexError,
|
|
1693
2001
|
Set: ms.formatSetError,
|
|
2002
|
+
StartsWithAPP_: ms.formatStartsWithError,
|
|
2003
|
+
[StartsWithEscaped.name]: ms.formatStartsWithError,
|
|
1694
2004
|
String: ms.formatStringError,
|
|
1695
2005
|
Symbol: ms.formatSymbolError,
|
|
1696
2006
|
TableId: ms.formatTableIdError,
|
|
@@ -1707,7 +2017,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1707
2017
|
[Between1And2.name]: nb.formatBetweenError,
|
|
1708
2018
|
BigInt: nb.formatBigIntError,
|
|
1709
2019
|
Boolean: nb.formatBooleanError,
|
|
2020
|
+
BooleanFromString: nb.formatBooleanFromStringError,
|
|
2021
|
+
CamelCaseIdentifier: nb.formatIdentifierError,
|
|
2022
|
+
PascalCaseIdentifier: nb.formatIdentifierError,
|
|
2023
|
+
SnakeCaseIdentifier: nb.formatIdentifierError,
|
|
2024
|
+
KebabCaseIdentifier: nb.formatIdentifierError,
|
|
2025
|
+
ConstantCaseIdentifier: nb.formatIdentifierError,
|
|
1710
2026
|
Capitalized: nb.formatCapitalizedError,
|
|
2027
|
+
Uncapitalized: nb.formatUncapitalizedError,
|
|
2028
|
+
Uppercased: nb.formatUppercasedError,
|
|
2029
|
+
Lowercased: nb.formatLowercasedError,
|
|
1711
2030
|
DateIso: nb.formatDateIsoError,
|
|
1712
2031
|
DateIsoFromDate: nb.formatDateIsoFromDateError,
|
|
1713
2032
|
DecimalString: nb.formatDecimalStringError,
|
|
@@ -1720,6 +2039,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1720
2039
|
Id: nb.formatIdError,
|
|
1721
2040
|
InstanceOf: nb.formatInstanceOfError,
|
|
1722
2041
|
Int: nb.formatIntError,
|
|
2042
|
+
IntFromString: nb.formatIntFromStringError,
|
|
1723
2043
|
Int64: nb.formatInt64Error,
|
|
1724
2044
|
Int64String: nb.formatInt64StringError,
|
|
1725
2045
|
Json: nb.formatJsonError,
|
|
@@ -1758,6 +2078,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1758
2078
|
RecordKey: nb.formatRegexError,
|
|
1759
2079
|
Regex: nb.formatRegexError,
|
|
1760
2080
|
Set: nb.formatSetError,
|
|
2081
|
+
StartsWithAPP_: nb.formatStartsWithError,
|
|
2082
|
+
[StartsWithEscaped.name]: nb.formatStartsWithError,
|
|
1761
2083
|
String: nb.formatStringError,
|
|
1762
2084
|
Symbol: nb.formatSymbolError,
|
|
1763
2085
|
TableId: nb.formatTableIdError,
|
|
@@ -1774,7 +2096,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1774
2096
|
[Between1And2.name]: nl.formatBetweenError,
|
|
1775
2097
|
BigInt: nl.formatBigIntError,
|
|
1776
2098
|
Boolean: nl.formatBooleanError,
|
|
2099
|
+
BooleanFromString: nl.formatBooleanFromStringError,
|
|
2100
|
+
CamelCaseIdentifier: nl.formatIdentifierError,
|
|
2101
|
+
PascalCaseIdentifier: nl.formatIdentifierError,
|
|
2102
|
+
SnakeCaseIdentifier: nl.formatIdentifierError,
|
|
2103
|
+
KebabCaseIdentifier: nl.formatIdentifierError,
|
|
2104
|
+
ConstantCaseIdentifier: nl.formatIdentifierError,
|
|
1777
2105
|
Capitalized: nl.formatCapitalizedError,
|
|
2106
|
+
Uncapitalized: nl.formatUncapitalizedError,
|
|
2107
|
+
Uppercased: nl.formatUppercasedError,
|
|
2108
|
+
Lowercased: nl.formatLowercasedError,
|
|
1778
2109
|
DateIso: nl.formatDateIsoError,
|
|
1779
2110
|
DateIsoFromDate: nl.formatDateIsoFromDateError,
|
|
1780
2111
|
DecimalString: nl.formatDecimalStringError,
|
|
@@ -1787,6 +2118,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1787
2118
|
Id: nl.formatIdError,
|
|
1788
2119
|
InstanceOf: nl.formatInstanceOfError,
|
|
1789
2120
|
Int: nl.formatIntError,
|
|
2121
|
+
IntFromString: nl.formatIntFromStringError,
|
|
1790
2122
|
Int64: nl.formatInt64Error,
|
|
1791
2123
|
Int64String: nl.formatInt64StringError,
|
|
1792
2124
|
Json: nl.formatJsonError,
|
|
@@ -1825,6 +2157,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1825
2157
|
RecordKey: nl.formatRegexError,
|
|
1826
2158
|
Regex: nl.formatRegexError,
|
|
1827
2159
|
Set: nl.formatSetError,
|
|
2160
|
+
StartsWithAPP_: nl.formatStartsWithError,
|
|
2161
|
+
[StartsWithEscaped.name]: nl.formatStartsWithError,
|
|
1828
2162
|
String: nl.formatStringError,
|
|
1829
2163
|
Symbol: nl.formatSymbolError,
|
|
1830
2164
|
TableId: nl.formatTableIdError,
|
|
@@ -1841,7 +2175,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1841
2175
|
[Between1And2.name]: pa.formatBetweenError,
|
|
1842
2176
|
BigInt: pa.formatBigIntError,
|
|
1843
2177
|
Boolean: pa.formatBooleanError,
|
|
2178
|
+
BooleanFromString: pa.formatBooleanFromStringError,
|
|
2179
|
+
CamelCaseIdentifier: pa.formatIdentifierError,
|
|
2180
|
+
PascalCaseIdentifier: pa.formatIdentifierError,
|
|
2181
|
+
SnakeCaseIdentifier: pa.formatIdentifierError,
|
|
2182
|
+
KebabCaseIdentifier: pa.formatIdentifierError,
|
|
2183
|
+
ConstantCaseIdentifier: pa.formatIdentifierError,
|
|
1844
2184
|
Capitalized: pa.formatCapitalizedError,
|
|
2185
|
+
Uncapitalized: pa.formatUncapitalizedError,
|
|
2186
|
+
Uppercased: pa.formatUppercasedError,
|
|
2187
|
+
Lowercased: pa.formatLowercasedError,
|
|
1845
2188
|
DateIso: pa.formatDateIsoError,
|
|
1846
2189
|
DateIsoFromDate: pa.formatDateIsoFromDateError,
|
|
1847
2190
|
DecimalString: pa.formatDecimalStringError,
|
|
@@ -1854,6 +2197,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1854
2197
|
Id: pa.formatIdError,
|
|
1855
2198
|
InstanceOf: pa.formatInstanceOfError,
|
|
1856
2199
|
Int: pa.formatIntError,
|
|
2200
|
+
IntFromString: pa.formatIntFromStringError,
|
|
1857
2201
|
Int64: pa.formatInt64Error,
|
|
1858
2202
|
Int64String: pa.formatInt64StringError,
|
|
1859
2203
|
Json: pa.formatJsonError,
|
|
@@ -1892,6 +2236,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1892
2236
|
RecordKey: pa.formatRegexError,
|
|
1893
2237
|
Regex: pa.formatRegexError,
|
|
1894
2238
|
Set: pa.formatSetError,
|
|
2239
|
+
StartsWithAPP_: pa.formatStartsWithError,
|
|
2240
|
+
[StartsWithEscaped.name]: pa.formatStartsWithError,
|
|
1895
2241
|
String: pa.formatStringError,
|
|
1896
2242
|
Symbol: pa.formatSymbolError,
|
|
1897
2243
|
TableId: pa.formatTableIdError,
|
|
@@ -1908,7 +2254,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1908
2254
|
[Between1And2.name]: pl.formatBetweenError,
|
|
1909
2255
|
BigInt: pl.formatBigIntError,
|
|
1910
2256
|
Boolean: pl.formatBooleanError,
|
|
2257
|
+
BooleanFromString: pl.formatBooleanFromStringError,
|
|
2258
|
+
CamelCaseIdentifier: pl.formatIdentifierError,
|
|
2259
|
+
PascalCaseIdentifier: pl.formatIdentifierError,
|
|
2260
|
+
SnakeCaseIdentifier: pl.formatIdentifierError,
|
|
2261
|
+
KebabCaseIdentifier: pl.formatIdentifierError,
|
|
2262
|
+
ConstantCaseIdentifier: pl.formatIdentifierError,
|
|
1911
2263
|
Capitalized: pl.formatCapitalizedError,
|
|
2264
|
+
Uncapitalized: pl.formatUncapitalizedError,
|
|
2265
|
+
Uppercased: pl.formatUppercasedError,
|
|
2266
|
+
Lowercased: pl.formatLowercasedError,
|
|
1912
2267
|
DateIso: pl.formatDateIsoError,
|
|
1913
2268
|
DateIsoFromDate: pl.formatDateIsoFromDateError,
|
|
1914
2269
|
DecimalString: pl.formatDecimalStringError,
|
|
@@ -1921,6 +2276,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1921
2276
|
Id: pl.formatIdError,
|
|
1922
2277
|
InstanceOf: pl.formatInstanceOfError,
|
|
1923
2278
|
Int: pl.formatIntError,
|
|
2279
|
+
IntFromString: pl.formatIntFromStringError,
|
|
1924
2280
|
Int64: pl.formatInt64Error,
|
|
1925
2281
|
Int64String: pl.formatInt64StringError,
|
|
1926
2282
|
Json: pl.formatJsonError,
|
|
@@ -1959,6 +2315,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1959
2315
|
RecordKey: pl.formatRegexError,
|
|
1960
2316
|
Regex: pl.formatRegexError,
|
|
1961
2317
|
Set: pl.formatSetError,
|
|
2318
|
+
StartsWithAPP_: pl.formatStartsWithError,
|
|
2319
|
+
[StartsWithEscaped.name]: pl.formatStartsWithError,
|
|
1962
2320
|
String: pl.formatStringError,
|
|
1963
2321
|
Symbol: pl.formatSymbolError,
|
|
1964
2322
|
TableId: pl.formatTableIdError,
|
|
@@ -1975,7 +2333,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1975
2333
|
[Between1And2.name]: pt.formatBetweenError,
|
|
1976
2334
|
BigInt: pt.formatBigIntError,
|
|
1977
2335
|
Boolean: pt.formatBooleanError,
|
|
2336
|
+
BooleanFromString: pt.formatBooleanFromStringError,
|
|
2337
|
+
CamelCaseIdentifier: pt.formatIdentifierError,
|
|
2338
|
+
PascalCaseIdentifier: pt.formatIdentifierError,
|
|
2339
|
+
SnakeCaseIdentifier: pt.formatIdentifierError,
|
|
2340
|
+
KebabCaseIdentifier: pt.formatIdentifierError,
|
|
2341
|
+
ConstantCaseIdentifier: pt.formatIdentifierError,
|
|
1978
2342
|
Capitalized: pt.formatCapitalizedError,
|
|
2343
|
+
Uncapitalized: pt.formatUncapitalizedError,
|
|
2344
|
+
Uppercased: pt.formatUppercasedError,
|
|
2345
|
+
Lowercased: pt.formatLowercasedError,
|
|
1979
2346
|
DateIso: pt.formatDateIsoError,
|
|
1980
2347
|
DateIsoFromDate: pt.formatDateIsoFromDateError,
|
|
1981
2348
|
DecimalString: pt.formatDecimalStringError,
|
|
@@ -1988,6 +2355,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
1988
2355
|
Id: pt.formatIdError,
|
|
1989
2356
|
InstanceOf: pt.formatInstanceOfError,
|
|
1990
2357
|
Int: pt.formatIntError,
|
|
2358
|
+
IntFromString: pt.formatIntFromStringError,
|
|
1991
2359
|
Int64: pt.formatInt64Error,
|
|
1992
2360
|
Int64String: pt.formatInt64StringError,
|
|
1993
2361
|
Json: pt.formatJsonError,
|
|
@@ -2026,6 +2394,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2026
2394
|
RecordKey: pt.formatRegexError,
|
|
2027
2395
|
Regex: pt.formatRegexError,
|
|
2028
2396
|
Set: pt.formatSetError,
|
|
2397
|
+
StartsWithAPP_: pt.formatStartsWithError,
|
|
2398
|
+
[StartsWithEscaped.name]: pt.formatStartsWithError,
|
|
2029
2399
|
String: pt.formatStringError,
|
|
2030
2400
|
Symbol: pt.formatSymbolError,
|
|
2031
2401
|
TableId: pt.formatTableIdError,
|
|
@@ -2042,7 +2412,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2042
2412
|
[Between1And2.name]: ptBR.formatBetweenError,
|
|
2043
2413
|
BigInt: ptBR.formatBigIntError,
|
|
2044
2414
|
Boolean: ptBR.formatBooleanError,
|
|
2415
|
+
BooleanFromString: ptBR.formatBooleanFromStringError,
|
|
2416
|
+
CamelCaseIdentifier: ptBR.formatIdentifierError,
|
|
2417
|
+
PascalCaseIdentifier: ptBR.formatIdentifierError,
|
|
2418
|
+
SnakeCaseIdentifier: ptBR.formatIdentifierError,
|
|
2419
|
+
KebabCaseIdentifier: ptBR.formatIdentifierError,
|
|
2420
|
+
ConstantCaseIdentifier: ptBR.formatIdentifierError,
|
|
2045
2421
|
Capitalized: ptBR.formatCapitalizedError,
|
|
2422
|
+
Uncapitalized: ptBR.formatUncapitalizedError,
|
|
2423
|
+
Uppercased: ptBR.formatUppercasedError,
|
|
2424
|
+
Lowercased: ptBR.formatLowercasedError,
|
|
2046
2425
|
DateIso: ptBR.formatDateIsoError,
|
|
2047
2426
|
DateIsoFromDate: ptBR.formatDateIsoFromDateError,
|
|
2048
2427
|
DecimalString: ptBR.formatDecimalStringError,
|
|
@@ -2055,6 +2434,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2055
2434
|
Id: ptBR.formatIdError,
|
|
2056
2435
|
InstanceOf: ptBR.formatInstanceOfError,
|
|
2057
2436
|
Int: ptBR.formatIntError,
|
|
2437
|
+
IntFromString: ptBR.formatIntFromStringError,
|
|
2058
2438
|
Int64: ptBR.formatInt64Error,
|
|
2059
2439
|
Int64String: ptBR.formatInt64StringError,
|
|
2060
2440
|
Json: ptBR.formatJsonError,
|
|
@@ -2093,6 +2473,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2093
2473
|
RecordKey: ptBR.formatRegexError,
|
|
2094
2474
|
Regex: ptBR.formatRegexError,
|
|
2095
2475
|
Set: ptBR.formatSetError,
|
|
2476
|
+
StartsWithAPP_: ptBR.formatStartsWithError,
|
|
2477
|
+
[StartsWithEscaped.name]: ptBR.formatStartsWithError,
|
|
2096
2478
|
String: ptBR.formatStringError,
|
|
2097
2479
|
Symbol: ptBR.formatSymbolError,
|
|
2098
2480
|
TableId: ptBR.formatTableIdError,
|
|
@@ -2109,7 +2491,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2109
2491
|
[Between1And2.name]: ro.formatBetweenError,
|
|
2110
2492
|
BigInt: ro.formatBigIntError,
|
|
2111
2493
|
Boolean: ro.formatBooleanError,
|
|
2494
|
+
BooleanFromString: ro.formatBooleanFromStringError,
|
|
2495
|
+
CamelCaseIdentifier: ro.formatIdentifierError,
|
|
2496
|
+
PascalCaseIdentifier: ro.formatIdentifierError,
|
|
2497
|
+
SnakeCaseIdentifier: ro.formatIdentifierError,
|
|
2498
|
+
KebabCaseIdentifier: ro.formatIdentifierError,
|
|
2499
|
+
ConstantCaseIdentifier: ro.formatIdentifierError,
|
|
2112
2500
|
Capitalized: ro.formatCapitalizedError,
|
|
2501
|
+
Uncapitalized: ro.formatUncapitalizedError,
|
|
2502
|
+
Uppercased: ro.formatUppercasedError,
|
|
2503
|
+
Lowercased: ro.formatLowercasedError,
|
|
2113
2504
|
DateIso: ro.formatDateIsoError,
|
|
2114
2505
|
DateIsoFromDate: ro.formatDateIsoFromDateError,
|
|
2115
2506
|
DecimalString: ro.formatDecimalStringError,
|
|
@@ -2122,6 +2513,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2122
2513
|
Id: ro.formatIdError,
|
|
2123
2514
|
InstanceOf: ro.formatInstanceOfError,
|
|
2124
2515
|
Int: ro.formatIntError,
|
|
2516
|
+
IntFromString: ro.formatIntFromStringError,
|
|
2125
2517
|
Int64: ro.formatInt64Error,
|
|
2126
2518
|
Int64String: ro.formatInt64StringError,
|
|
2127
2519
|
Json: ro.formatJsonError,
|
|
@@ -2160,6 +2552,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2160
2552
|
RecordKey: ro.formatRegexError,
|
|
2161
2553
|
Regex: ro.formatRegexError,
|
|
2162
2554
|
Set: ro.formatSetError,
|
|
2555
|
+
StartsWithAPP_: ro.formatStartsWithError,
|
|
2556
|
+
[StartsWithEscaped.name]: ro.formatStartsWithError,
|
|
2163
2557
|
String: ro.formatStringError,
|
|
2164
2558
|
Symbol: ro.formatSymbolError,
|
|
2165
2559
|
TableId: ro.formatTableIdError,
|
|
@@ -2176,7 +2570,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2176
2570
|
[Between1And2.name]: sk.formatBetweenError,
|
|
2177
2571
|
BigInt: sk.formatBigIntError,
|
|
2178
2572
|
Boolean: sk.formatBooleanError,
|
|
2573
|
+
BooleanFromString: sk.formatBooleanFromStringError,
|
|
2574
|
+
CamelCaseIdentifier: sk.formatIdentifierError,
|
|
2575
|
+
PascalCaseIdentifier: sk.formatIdentifierError,
|
|
2576
|
+
SnakeCaseIdentifier: sk.formatIdentifierError,
|
|
2577
|
+
KebabCaseIdentifier: sk.formatIdentifierError,
|
|
2578
|
+
ConstantCaseIdentifier: sk.formatIdentifierError,
|
|
2179
2579
|
Capitalized: sk.formatCapitalizedError,
|
|
2580
|
+
Uncapitalized: sk.formatUncapitalizedError,
|
|
2581
|
+
Uppercased: sk.formatUppercasedError,
|
|
2582
|
+
Lowercased: sk.formatLowercasedError,
|
|
2180
2583
|
DateIso: sk.formatDateIsoError,
|
|
2181
2584
|
DateIsoFromDate: sk.formatDateIsoFromDateError,
|
|
2182
2585
|
DecimalString: sk.formatDecimalStringError,
|
|
@@ -2189,6 +2592,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2189
2592
|
Id: sk.formatIdError,
|
|
2190
2593
|
InstanceOf: sk.formatInstanceOfError,
|
|
2191
2594
|
Int: sk.formatIntError,
|
|
2595
|
+
IntFromString: sk.formatIntFromStringError,
|
|
2192
2596
|
Int64: sk.formatInt64Error,
|
|
2193
2597
|
Int64String: sk.formatInt64StringError,
|
|
2194
2598
|
Json: sk.formatJsonError,
|
|
@@ -2227,6 +2631,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2227
2631
|
RecordKey: sk.formatRegexError,
|
|
2228
2632
|
Regex: sk.formatRegexError,
|
|
2229
2633
|
Set: sk.formatSetError,
|
|
2634
|
+
StartsWithAPP_: sk.formatStartsWithError,
|
|
2635
|
+
[StartsWithEscaped.name]: sk.formatStartsWithError,
|
|
2230
2636
|
String: sk.formatStringError,
|
|
2231
2637
|
Symbol: sk.formatSymbolError,
|
|
2232
2638
|
TableId: sk.formatTableIdError,
|
|
@@ -2243,7 +2649,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2243
2649
|
[Between1And2.name]: sl.formatBetweenError,
|
|
2244
2650
|
BigInt: sl.formatBigIntError,
|
|
2245
2651
|
Boolean: sl.formatBooleanError,
|
|
2652
|
+
BooleanFromString: sl.formatBooleanFromStringError,
|
|
2653
|
+
CamelCaseIdentifier: sl.formatIdentifierError,
|
|
2654
|
+
PascalCaseIdentifier: sl.formatIdentifierError,
|
|
2655
|
+
SnakeCaseIdentifier: sl.formatIdentifierError,
|
|
2656
|
+
KebabCaseIdentifier: sl.formatIdentifierError,
|
|
2657
|
+
ConstantCaseIdentifier: sl.formatIdentifierError,
|
|
2246
2658
|
Capitalized: sl.formatCapitalizedError,
|
|
2659
|
+
Uncapitalized: sl.formatUncapitalizedError,
|
|
2660
|
+
Uppercased: sl.formatUppercasedError,
|
|
2661
|
+
Lowercased: sl.formatLowercasedError,
|
|
2247
2662
|
DateIso: sl.formatDateIsoError,
|
|
2248
2663
|
DateIsoFromDate: sl.formatDateIsoFromDateError,
|
|
2249
2664
|
DecimalString: sl.formatDecimalStringError,
|
|
@@ -2256,6 +2671,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2256
2671
|
Id: sl.formatIdError,
|
|
2257
2672
|
InstanceOf: sl.formatInstanceOfError,
|
|
2258
2673
|
Int: sl.formatIntError,
|
|
2674
|
+
IntFromString: sl.formatIntFromStringError,
|
|
2259
2675
|
Int64: sl.formatInt64Error,
|
|
2260
2676
|
Int64String: sl.formatInt64StringError,
|
|
2261
2677
|
Json: sl.formatJsonError,
|
|
@@ -2294,6 +2710,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2294
2710
|
RecordKey: sl.formatRegexError,
|
|
2295
2711
|
Regex: sl.formatRegexError,
|
|
2296
2712
|
Set: sl.formatSetError,
|
|
2713
|
+
StartsWithAPP_: sl.formatStartsWithError,
|
|
2714
|
+
[StartsWithEscaped.name]: sl.formatStartsWithError,
|
|
2297
2715
|
String: sl.formatStringError,
|
|
2298
2716
|
Symbol: sl.formatSymbolError,
|
|
2299
2717
|
TableId: sl.formatTableIdError,
|
|
@@ -2310,7 +2728,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2310
2728
|
[Between1And2.name]: sv.formatBetweenError,
|
|
2311
2729
|
BigInt: sv.formatBigIntError,
|
|
2312
2730
|
Boolean: sv.formatBooleanError,
|
|
2731
|
+
BooleanFromString: sv.formatBooleanFromStringError,
|
|
2732
|
+
CamelCaseIdentifier: sv.formatIdentifierError,
|
|
2733
|
+
PascalCaseIdentifier: sv.formatIdentifierError,
|
|
2734
|
+
SnakeCaseIdentifier: sv.formatIdentifierError,
|
|
2735
|
+
KebabCaseIdentifier: sv.formatIdentifierError,
|
|
2736
|
+
ConstantCaseIdentifier: sv.formatIdentifierError,
|
|
2313
2737
|
Capitalized: sv.formatCapitalizedError,
|
|
2738
|
+
Uncapitalized: sv.formatUncapitalizedError,
|
|
2739
|
+
Uppercased: sv.formatUppercasedError,
|
|
2740
|
+
Lowercased: sv.formatLowercasedError,
|
|
2314
2741
|
DateIso: sv.formatDateIsoError,
|
|
2315
2742
|
DateIsoFromDate: sv.formatDateIsoFromDateError,
|
|
2316
2743
|
DecimalString: sv.formatDecimalStringError,
|
|
@@ -2323,6 +2750,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2323
2750
|
Id: sv.formatIdError,
|
|
2324
2751
|
InstanceOf: sv.formatInstanceOfError,
|
|
2325
2752
|
Int: sv.formatIntError,
|
|
2753
|
+
IntFromString: sv.formatIntFromStringError,
|
|
2326
2754
|
Int64: sv.formatInt64Error,
|
|
2327
2755
|
Int64String: sv.formatInt64StringError,
|
|
2328
2756
|
Json: sv.formatJsonError,
|
|
@@ -2361,6 +2789,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2361
2789
|
RecordKey: sv.formatRegexError,
|
|
2362
2790
|
Regex: sv.formatRegexError,
|
|
2363
2791
|
Set: sv.formatSetError,
|
|
2792
|
+
StartsWithAPP_: sv.formatStartsWithError,
|
|
2793
|
+
[StartsWithEscaped.name]: sv.formatStartsWithError,
|
|
2364
2794
|
String: sv.formatStringError,
|
|
2365
2795
|
Symbol: sv.formatSymbolError,
|
|
2366
2796
|
TableId: sv.formatTableIdError,
|
|
@@ -2377,7 +2807,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2377
2807
|
[Between1And2.name]: sw.formatBetweenError,
|
|
2378
2808
|
BigInt: sw.formatBigIntError,
|
|
2379
2809
|
Boolean: sw.formatBooleanError,
|
|
2810
|
+
BooleanFromString: sw.formatBooleanFromStringError,
|
|
2811
|
+
CamelCaseIdentifier: sw.formatIdentifierError,
|
|
2812
|
+
PascalCaseIdentifier: sw.formatIdentifierError,
|
|
2813
|
+
SnakeCaseIdentifier: sw.formatIdentifierError,
|
|
2814
|
+
KebabCaseIdentifier: sw.formatIdentifierError,
|
|
2815
|
+
ConstantCaseIdentifier: sw.formatIdentifierError,
|
|
2380
2816
|
Capitalized: sw.formatCapitalizedError,
|
|
2817
|
+
Uncapitalized: sw.formatUncapitalizedError,
|
|
2818
|
+
Uppercased: sw.formatUppercasedError,
|
|
2819
|
+
Lowercased: sw.formatLowercasedError,
|
|
2381
2820
|
DateIso: sw.formatDateIsoError,
|
|
2382
2821
|
DateIsoFromDate: sw.formatDateIsoFromDateError,
|
|
2383
2822
|
DecimalString: sw.formatDecimalStringError,
|
|
@@ -2390,6 +2829,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2390
2829
|
Id: sw.formatIdError,
|
|
2391
2830
|
InstanceOf: sw.formatInstanceOfError,
|
|
2392
2831
|
Int: sw.formatIntError,
|
|
2832
|
+
IntFromString: sw.formatIntFromStringError,
|
|
2393
2833
|
Int64: sw.formatInt64Error,
|
|
2394
2834
|
Int64String: sw.formatInt64StringError,
|
|
2395
2835
|
Json: sw.formatJsonError,
|
|
@@ -2428,6 +2868,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2428
2868
|
RecordKey: sw.formatRegexError,
|
|
2429
2869
|
Regex: sw.formatRegexError,
|
|
2430
2870
|
Set: sw.formatSetError,
|
|
2871
|
+
StartsWithAPP_: sw.formatStartsWithError,
|
|
2872
|
+
[StartsWithEscaped.name]: sw.formatStartsWithError,
|
|
2431
2873
|
String: sw.formatStringError,
|
|
2432
2874
|
Symbol: sw.formatSymbolError,
|
|
2433
2875
|
TableId: sw.formatTableIdError,
|
|
@@ -2444,7 +2886,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2444
2886
|
[Between1And2.name]: ta.formatBetweenError,
|
|
2445
2887
|
BigInt: ta.formatBigIntError,
|
|
2446
2888
|
Boolean: ta.formatBooleanError,
|
|
2889
|
+
BooleanFromString: ta.formatBooleanFromStringError,
|
|
2890
|
+
CamelCaseIdentifier: ta.formatIdentifierError,
|
|
2891
|
+
PascalCaseIdentifier: ta.formatIdentifierError,
|
|
2892
|
+
SnakeCaseIdentifier: ta.formatIdentifierError,
|
|
2893
|
+
KebabCaseIdentifier: ta.formatIdentifierError,
|
|
2894
|
+
ConstantCaseIdentifier: ta.formatIdentifierError,
|
|
2447
2895
|
Capitalized: ta.formatCapitalizedError,
|
|
2896
|
+
Uncapitalized: ta.formatUncapitalizedError,
|
|
2897
|
+
Uppercased: ta.formatUppercasedError,
|
|
2898
|
+
Lowercased: ta.formatLowercasedError,
|
|
2448
2899
|
DateIso: ta.formatDateIsoError,
|
|
2449
2900
|
DateIsoFromDate: ta.formatDateIsoFromDateError,
|
|
2450
2901
|
DecimalString: ta.formatDecimalStringError,
|
|
@@ -2457,6 +2908,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2457
2908
|
Id: ta.formatIdError,
|
|
2458
2909
|
InstanceOf: ta.formatInstanceOfError,
|
|
2459
2910
|
Int: ta.formatIntError,
|
|
2911
|
+
IntFromString: ta.formatIntFromStringError,
|
|
2460
2912
|
Int64: ta.formatInt64Error,
|
|
2461
2913
|
Int64String: ta.formatInt64StringError,
|
|
2462
2914
|
Json: ta.formatJsonError,
|
|
@@ -2495,6 +2947,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2495
2947
|
RecordKey: ta.formatRegexError,
|
|
2496
2948
|
Regex: ta.formatRegexError,
|
|
2497
2949
|
Set: ta.formatSetError,
|
|
2950
|
+
StartsWithAPP_: ta.formatStartsWithError,
|
|
2951
|
+
[StartsWithEscaped.name]: ta.formatStartsWithError,
|
|
2498
2952
|
String: ta.formatStringError,
|
|
2499
2953
|
Symbol: ta.formatSymbolError,
|
|
2500
2954
|
TableId: ta.formatTableIdError,
|
|
@@ -2511,7 +2965,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2511
2965
|
[Between1And2.name]: te.formatBetweenError,
|
|
2512
2966
|
BigInt: te.formatBigIntError,
|
|
2513
2967
|
Boolean: te.formatBooleanError,
|
|
2968
|
+
BooleanFromString: te.formatBooleanFromStringError,
|
|
2969
|
+
CamelCaseIdentifier: te.formatIdentifierError,
|
|
2970
|
+
PascalCaseIdentifier: te.formatIdentifierError,
|
|
2971
|
+
SnakeCaseIdentifier: te.formatIdentifierError,
|
|
2972
|
+
KebabCaseIdentifier: te.formatIdentifierError,
|
|
2973
|
+
ConstantCaseIdentifier: te.formatIdentifierError,
|
|
2514
2974
|
Capitalized: te.formatCapitalizedError,
|
|
2975
|
+
Uncapitalized: te.formatUncapitalizedError,
|
|
2976
|
+
Uppercased: te.formatUppercasedError,
|
|
2977
|
+
Lowercased: te.formatLowercasedError,
|
|
2515
2978
|
DateIso: te.formatDateIsoError,
|
|
2516
2979
|
DateIsoFromDate: te.formatDateIsoFromDateError,
|
|
2517
2980
|
DecimalString: te.formatDecimalStringError,
|
|
@@ -2524,6 +2987,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2524
2987
|
Id: te.formatIdError,
|
|
2525
2988
|
InstanceOf: te.formatInstanceOfError,
|
|
2526
2989
|
Int: te.formatIntError,
|
|
2990
|
+
IntFromString: te.formatIntFromStringError,
|
|
2527
2991
|
Int64: te.formatInt64Error,
|
|
2528
2992
|
Int64String: te.formatInt64StringError,
|
|
2529
2993
|
Json: te.formatJsonError,
|
|
@@ -2562,6 +3026,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2562
3026
|
RecordKey: te.formatRegexError,
|
|
2563
3027
|
Regex: te.formatRegexError,
|
|
2564
3028
|
Set: te.formatSetError,
|
|
3029
|
+
StartsWithAPP_: te.formatStartsWithError,
|
|
3030
|
+
[StartsWithEscaped.name]: te.formatStartsWithError,
|
|
2565
3031
|
String: te.formatStringError,
|
|
2566
3032
|
Symbol: te.formatSymbolError,
|
|
2567
3033
|
TableId: te.formatTableIdError,
|
|
@@ -2578,7 +3044,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2578
3044
|
[Between1And2.name]: th.formatBetweenError,
|
|
2579
3045
|
BigInt: th.formatBigIntError,
|
|
2580
3046
|
Boolean: th.formatBooleanError,
|
|
3047
|
+
BooleanFromString: th.formatBooleanFromStringError,
|
|
3048
|
+
CamelCaseIdentifier: th.formatIdentifierError,
|
|
3049
|
+
PascalCaseIdentifier: th.formatIdentifierError,
|
|
3050
|
+
SnakeCaseIdentifier: th.formatIdentifierError,
|
|
3051
|
+
KebabCaseIdentifier: th.formatIdentifierError,
|
|
3052
|
+
ConstantCaseIdentifier: th.formatIdentifierError,
|
|
2581
3053
|
Capitalized: th.formatCapitalizedError,
|
|
3054
|
+
Uncapitalized: th.formatUncapitalizedError,
|
|
3055
|
+
Uppercased: th.formatUppercasedError,
|
|
3056
|
+
Lowercased: th.formatLowercasedError,
|
|
2582
3057
|
DateIso: th.formatDateIsoError,
|
|
2583
3058
|
DateIsoFromDate: th.formatDateIsoFromDateError,
|
|
2584
3059
|
DecimalString: th.formatDecimalStringError,
|
|
@@ -2591,6 +3066,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2591
3066
|
Id: th.formatIdError,
|
|
2592
3067
|
InstanceOf: th.formatInstanceOfError,
|
|
2593
3068
|
Int: th.formatIntError,
|
|
3069
|
+
IntFromString: th.formatIntFromStringError,
|
|
2594
3070
|
Int64: th.formatInt64Error,
|
|
2595
3071
|
Int64String: th.formatInt64StringError,
|
|
2596
3072
|
Json: th.formatJsonError,
|
|
@@ -2629,6 +3105,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2629
3105
|
RecordKey: th.formatRegexError,
|
|
2630
3106
|
Regex: th.formatRegexError,
|
|
2631
3107
|
Set: th.formatSetError,
|
|
3108
|
+
StartsWithAPP_: th.formatStartsWithError,
|
|
3109
|
+
[StartsWithEscaped.name]: th.formatStartsWithError,
|
|
2632
3110
|
String: th.formatStringError,
|
|
2633
3111
|
Symbol: th.formatSymbolError,
|
|
2634
3112
|
TableId: th.formatTableIdError,
|
|
@@ -2645,7 +3123,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2645
3123
|
[Between1And2.name]: tr.formatBetweenError,
|
|
2646
3124
|
BigInt: tr.formatBigIntError,
|
|
2647
3125
|
Boolean: tr.formatBooleanError,
|
|
3126
|
+
BooleanFromString: tr.formatBooleanFromStringError,
|
|
3127
|
+
CamelCaseIdentifier: tr.formatIdentifierError,
|
|
3128
|
+
PascalCaseIdentifier: tr.formatIdentifierError,
|
|
3129
|
+
SnakeCaseIdentifier: tr.formatIdentifierError,
|
|
3130
|
+
KebabCaseIdentifier: tr.formatIdentifierError,
|
|
3131
|
+
ConstantCaseIdentifier: tr.formatIdentifierError,
|
|
2648
3132
|
Capitalized: tr.formatCapitalizedError,
|
|
3133
|
+
Uncapitalized: tr.formatUncapitalizedError,
|
|
3134
|
+
Uppercased: tr.formatUppercasedError,
|
|
3135
|
+
Lowercased: tr.formatLowercasedError,
|
|
2649
3136
|
DateIso: tr.formatDateIsoError,
|
|
2650
3137
|
DateIsoFromDate: tr.formatDateIsoFromDateError,
|
|
2651
3138
|
DecimalString: tr.formatDecimalStringError,
|
|
@@ -2658,6 +3145,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2658
3145
|
Id: tr.formatIdError,
|
|
2659
3146
|
InstanceOf: tr.formatInstanceOfError,
|
|
2660
3147
|
Int: tr.formatIntError,
|
|
3148
|
+
IntFromString: tr.formatIntFromStringError,
|
|
2661
3149
|
Int64: tr.formatInt64Error,
|
|
2662
3150
|
Int64String: tr.formatInt64StringError,
|
|
2663
3151
|
Json: tr.formatJsonError,
|
|
@@ -2696,6 +3184,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2696
3184
|
RecordKey: tr.formatRegexError,
|
|
2697
3185
|
Regex: tr.formatRegexError,
|
|
2698
3186
|
Set: tr.formatSetError,
|
|
3187
|
+
StartsWithAPP_: tr.formatStartsWithError,
|
|
3188
|
+
[StartsWithEscaped.name]: tr.formatStartsWithError,
|
|
2699
3189
|
String: tr.formatStringError,
|
|
2700
3190
|
Symbol: tr.formatSymbolError,
|
|
2701
3191
|
TableId: tr.formatTableIdError,
|
|
@@ -2712,7 +3202,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2712
3202
|
[Between1And2.name]: uk.formatBetweenError,
|
|
2713
3203
|
BigInt: uk.formatBigIntError,
|
|
2714
3204
|
Boolean: uk.formatBooleanError,
|
|
3205
|
+
BooleanFromString: uk.formatBooleanFromStringError,
|
|
3206
|
+
CamelCaseIdentifier: uk.formatIdentifierError,
|
|
3207
|
+
PascalCaseIdentifier: uk.formatIdentifierError,
|
|
3208
|
+
SnakeCaseIdentifier: uk.formatIdentifierError,
|
|
3209
|
+
KebabCaseIdentifier: uk.formatIdentifierError,
|
|
3210
|
+
ConstantCaseIdentifier: uk.formatIdentifierError,
|
|
2715
3211
|
Capitalized: uk.formatCapitalizedError,
|
|
3212
|
+
Uncapitalized: uk.formatUncapitalizedError,
|
|
3213
|
+
Uppercased: uk.formatUppercasedError,
|
|
3214
|
+
Lowercased: uk.formatLowercasedError,
|
|
2716
3215
|
DateIso: uk.formatDateIsoError,
|
|
2717
3216
|
DateIsoFromDate: uk.formatDateIsoFromDateError,
|
|
2718
3217
|
DecimalString: uk.formatDecimalStringError,
|
|
@@ -2725,6 +3224,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2725
3224
|
Id: uk.formatIdError,
|
|
2726
3225
|
InstanceOf: uk.formatInstanceOfError,
|
|
2727
3226
|
Int: uk.formatIntError,
|
|
3227
|
+
IntFromString: uk.formatIntFromStringError,
|
|
2728
3228
|
Int64: uk.formatInt64Error,
|
|
2729
3229
|
Int64String: uk.formatInt64StringError,
|
|
2730
3230
|
Json: uk.formatJsonError,
|
|
@@ -2763,6 +3263,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2763
3263
|
RecordKey: uk.formatRegexError,
|
|
2764
3264
|
Regex: uk.formatRegexError,
|
|
2765
3265
|
Set: uk.formatSetError,
|
|
3266
|
+
StartsWithAPP_: uk.formatStartsWithError,
|
|
3267
|
+
[StartsWithEscaped.name]: uk.formatStartsWithError,
|
|
2766
3268
|
String: uk.formatStringError,
|
|
2767
3269
|
Symbol: uk.formatSymbolError,
|
|
2768
3270
|
TableId: uk.formatTableIdError,
|
|
@@ -2779,7 +3281,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2779
3281
|
[Between1And2.name]: ur.formatBetweenError,
|
|
2780
3282
|
BigInt: ur.formatBigIntError,
|
|
2781
3283
|
Boolean: ur.formatBooleanError,
|
|
3284
|
+
BooleanFromString: ur.formatBooleanFromStringError,
|
|
3285
|
+
CamelCaseIdentifier: ur.formatIdentifierError,
|
|
3286
|
+
PascalCaseIdentifier: ur.formatIdentifierError,
|
|
3287
|
+
SnakeCaseIdentifier: ur.formatIdentifierError,
|
|
3288
|
+
KebabCaseIdentifier: ur.formatIdentifierError,
|
|
3289
|
+
ConstantCaseIdentifier: ur.formatIdentifierError,
|
|
2782
3290
|
Capitalized: ur.formatCapitalizedError,
|
|
3291
|
+
Uncapitalized: ur.formatUncapitalizedError,
|
|
3292
|
+
Uppercased: ur.formatUppercasedError,
|
|
3293
|
+
Lowercased: ur.formatLowercasedError,
|
|
2783
3294
|
DateIso: ur.formatDateIsoError,
|
|
2784
3295
|
DateIsoFromDate: ur.formatDateIsoFromDateError,
|
|
2785
3296
|
DecimalString: ur.formatDecimalStringError,
|
|
@@ -2792,6 +3303,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2792
3303
|
Id: ur.formatIdError,
|
|
2793
3304
|
InstanceOf: ur.formatInstanceOfError,
|
|
2794
3305
|
Int: ur.formatIntError,
|
|
3306
|
+
IntFromString: ur.formatIntFromStringError,
|
|
2795
3307
|
Int64: ur.formatInt64Error,
|
|
2796
3308
|
Int64String: ur.formatInt64StringError,
|
|
2797
3309
|
Json: ur.formatJsonError,
|
|
@@ -2830,6 +3342,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2830
3342
|
RecordKey: ur.formatRegexError,
|
|
2831
3343
|
Regex: ur.formatRegexError,
|
|
2832
3344
|
Set: ur.formatSetError,
|
|
3345
|
+
StartsWithAPP_: ur.formatStartsWithError,
|
|
3346
|
+
[StartsWithEscaped.name]: ur.formatStartsWithError,
|
|
2833
3347
|
String: ur.formatStringError,
|
|
2834
3348
|
Symbol: ur.formatSymbolError,
|
|
2835
3349
|
TableId: ur.formatTableIdError,
|
|
@@ -2846,7 +3360,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2846
3360
|
[Between1And2.name]: vi.formatBetweenError,
|
|
2847
3361
|
BigInt: vi.formatBigIntError,
|
|
2848
3362
|
Boolean: vi.formatBooleanError,
|
|
3363
|
+
BooleanFromString: vi.formatBooleanFromStringError,
|
|
3364
|
+
CamelCaseIdentifier: vi.formatIdentifierError,
|
|
3365
|
+
PascalCaseIdentifier: vi.formatIdentifierError,
|
|
3366
|
+
SnakeCaseIdentifier: vi.formatIdentifierError,
|
|
3367
|
+
KebabCaseIdentifier: vi.formatIdentifierError,
|
|
3368
|
+
ConstantCaseIdentifier: vi.formatIdentifierError,
|
|
2849
3369
|
Capitalized: vi.formatCapitalizedError,
|
|
3370
|
+
Uncapitalized: vi.formatUncapitalizedError,
|
|
3371
|
+
Uppercased: vi.formatUppercasedError,
|
|
3372
|
+
Lowercased: vi.formatLowercasedError,
|
|
2850
3373
|
DateIso: vi.formatDateIsoError,
|
|
2851
3374
|
DateIsoFromDate: vi.formatDateIsoFromDateError,
|
|
2852
3375
|
DecimalString: vi.formatDecimalStringError,
|
|
@@ -2859,6 +3382,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2859
3382
|
Id: vi.formatIdError,
|
|
2860
3383
|
InstanceOf: vi.formatInstanceOfError,
|
|
2861
3384
|
Int: vi.formatIntError,
|
|
3385
|
+
IntFromString: vi.formatIntFromStringError,
|
|
2862
3386
|
Int64: vi.formatInt64Error,
|
|
2863
3387
|
Int64String: vi.formatInt64StringError,
|
|
2864
3388
|
Json: vi.formatJsonError,
|
|
@@ -2897,6 +3421,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2897
3421
|
RecordKey: vi.formatRegexError,
|
|
2898
3422
|
Regex: vi.formatRegexError,
|
|
2899
3423
|
Set: vi.formatSetError,
|
|
3424
|
+
StartsWithAPP_: vi.formatStartsWithError,
|
|
3425
|
+
[StartsWithEscaped.name]: vi.formatStartsWithError,
|
|
2900
3426
|
String: vi.formatStringError,
|
|
2901
3427
|
Symbol: vi.formatSymbolError,
|
|
2902
3428
|
TableId: vi.formatTableIdError,
|
|
@@ -2913,7 +3439,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2913
3439
|
[Between1And2.name]: zhCN.formatBetweenError,
|
|
2914
3440
|
BigInt: zhCN.formatBigIntError,
|
|
2915
3441
|
Boolean: zhCN.formatBooleanError,
|
|
3442
|
+
BooleanFromString: zhCN.formatBooleanFromStringError,
|
|
3443
|
+
CamelCaseIdentifier: zhCN.formatIdentifierError,
|
|
3444
|
+
PascalCaseIdentifier: zhCN.formatIdentifierError,
|
|
3445
|
+
SnakeCaseIdentifier: zhCN.formatIdentifierError,
|
|
3446
|
+
KebabCaseIdentifier: zhCN.formatIdentifierError,
|
|
3447
|
+
ConstantCaseIdentifier: zhCN.formatIdentifierError,
|
|
2916
3448
|
Capitalized: zhCN.formatCapitalizedError,
|
|
3449
|
+
Uncapitalized: zhCN.formatUncapitalizedError,
|
|
3450
|
+
Uppercased: zhCN.formatUppercasedError,
|
|
3451
|
+
Lowercased: zhCN.formatLowercasedError,
|
|
2917
3452
|
DateIso: zhCN.formatDateIsoError,
|
|
2918
3453
|
DateIsoFromDate: zhCN.formatDateIsoFromDateError,
|
|
2919
3454
|
DecimalString: zhCN.formatDecimalStringError,
|
|
@@ -2926,6 +3461,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2926
3461
|
Id: zhCN.formatIdError,
|
|
2927
3462
|
InstanceOf: zhCN.formatInstanceOfError,
|
|
2928
3463
|
Int: zhCN.formatIntError,
|
|
3464
|
+
IntFromString: zhCN.formatIntFromStringError,
|
|
2929
3465
|
Int64: zhCN.formatInt64Error,
|
|
2930
3466
|
Int64String: zhCN.formatInt64StringError,
|
|
2931
3467
|
Json: zhCN.formatJsonError,
|
|
@@ -2964,6 +3500,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2964
3500
|
RecordKey: zhCN.formatRegexError,
|
|
2965
3501
|
Regex: zhCN.formatRegexError,
|
|
2966
3502
|
Set: zhCN.formatSetError,
|
|
3503
|
+
StartsWithAPP_: zhCN.formatStartsWithError,
|
|
3504
|
+
[StartsWithEscaped.name]: zhCN.formatStartsWithError,
|
|
2967
3505
|
String: zhCN.formatStringError,
|
|
2968
3506
|
Symbol: zhCN.formatSymbolError,
|
|
2969
3507
|
TableId: zhCN.formatTableIdError,
|
|
@@ -2980,7 +3518,16 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2980
3518
|
[Between1And2.name]: zhTW.formatBetweenError,
|
|
2981
3519
|
BigInt: zhTW.formatBigIntError,
|
|
2982
3520
|
Boolean: zhTW.formatBooleanError,
|
|
3521
|
+
BooleanFromString: zhTW.formatBooleanFromStringError,
|
|
3522
|
+
CamelCaseIdentifier: zhTW.formatIdentifierError,
|
|
3523
|
+
PascalCaseIdentifier: zhTW.formatIdentifierError,
|
|
3524
|
+
SnakeCaseIdentifier: zhTW.formatIdentifierError,
|
|
3525
|
+
KebabCaseIdentifier: zhTW.formatIdentifierError,
|
|
3526
|
+
ConstantCaseIdentifier: zhTW.formatIdentifierError,
|
|
2983
3527
|
Capitalized: zhTW.formatCapitalizedError,
|
|
3528
|
+
Uncapitalized: zhTW.formatUncapitalizedError,
|
|
3529
|
+
Uppercased: zhTW.formatUppercasedError,
|
|
3530
|
+
Lowercased: zhTW.formatLowercasedError,
|
|
2984
3531
|
DateIso: zhTW.formatDateIsoError,
|
|
2985
3532
|
DateIsoFromDate: zhTW.formatDateIsoFromDateError,
|
|
2986
3533
|
DecimalString: zhTW.formatDecimalStringError,
|
|
@@ -2993,6 +3540,7 @@ const typesByLocale = Type.localizeTypes(
|
|
|
2993
3540
|
Id: zhTW.formatIdError,
|
|
2994
3541
|
InstanceOf: zhTW.formatInstanceOfError,
|
|
2995
3542
|
Int: zhTW.formatIntError,
|
|
3543
|
+
IntFromString: zhTW.formatIntFromStringError,
|
|
2996
3544
|
Int64: zhTW.formatInt64Error,
|
|
2997
3545
|
Int64String: zhTW.formatInt64StringError,
|
|
2998
3546
|
Json: zhTW.formatJsonError,
|
|
@@ -3031,6 +3579,8 @@ const typesByLocale = Type.localizeTypes(
|
|
|
3031
3579
|
RecordKey: zhTW.formatRegexError,
|
|
3032
3580
|
Regex: zhTW.formatRegexError,
|
|
3033
3581
|
Set: zhTW.formatSetError,
|
|
3582
|
+
StartsWithAPP_: zhTW.formatStartsWithError,
|
|
3583
|
+
[StartsWithEscaped.name]: zhTW.formatStartsWithError,
|
|
3034
3584
|
String: zhTW.formatStringError,
|
|
3035
3585
|
Symbol: zhTW.formatSymbolError,
|
|
3036
3586
|
TableId: zhTW.formatTableIdError,
|
|
@@ -3045,11 +3595,279 @@ const typesByLocale = Type.localizeTypes(
|
|
|
3045
3595
|
);
|
|
3046
3596
|
|
|
3047
3597
|
describe("Type localization", () => {
|
|
3598
|
+
test("localizes domain literal errors in every locale without expanding their causes", () => {
|
|
3599
|
+
const value = 'invalid"\\\\';
|
|
3600
|
+
const result = ByteSizeLiteral.fromUnknown(value);
|
|
3601
|
+
assertErr(result);
|
|
3602
|
+
const duration = DurationLiteral.fromUnknown(value);
|
|
3603
|
+
const percentage = PercentageLiteral.fromUnknown(value);
|
|
3604
|
+
assertErr(duration);
|
|
3605
|
+
assertErr(percentage);
|
|
3606
|
+
assertEqual(
|
|
3607
|
+
formatEnglishDurationLiteralError(duration.error),
|
|
3608
|
+
DurationLiteral.formatError(duration.error),
|
|
3609
|
+
);
|
|
3610
|
+
assertEqual(
|
|
3611
|
+
formatEnglishPercentageLiteralError(percentage.error),
|
|
3612
|
+
PercentageLiteral.formatError(percentage.error),
|
|
3613
|
+
);
|
|
3614
|
+
const english = ByteSizeLiteral.formatError(result.error);
|
|
3615
|
+
assertEqual(formatEnglishByteSizeLiteralError(result.error), english);
|
|
3616
|
+
for (const locale of [
|
|
3617
|
+
ar,
|
|
3618
|
+
bn,
|
|
3619
|
+
ca,
|
|
3620
|
+
cs,
|
|
3621
|
+
da,
|
|
3622
|
+
de,
|
|
3623
|
+
el,
|
|
3624
|
+
es,
|
|
3625
|
+
fa,
|
|
3626
|
+
fi,
|
|
3627
|
+
fil,
|
|
3628
|
+
fr,
|
|
3629
|
+
he,
|
|
3630
|
+
hi,
|
|
3631
|
+
hr,
|
|
3632
|
+
hu,
|
|
3633
|
+
id,
|
|
3634
|
+
it,
|
|
3635
|
+
ja,
|
|
3636
|
+
ko,
|
|
3637
|
+
ml,
|
|
3638
|
+
mr,
|
|
3639
|
+
ms,
|
|
3640
|
+
nb,
|
|
3641
|
+
nl,
|
|
3642
|
+
pa,
|
|
3643
|
+
pl,
|
|
3644
|
+
pt,
|
|
3645
|
+
ptBR,
|
|
3646
|
+
ro,
|
|
3647
|
+
sk,
|
|
3648
|
+
sl,
|
|
3649
|
+
sv,
|
|
3650
|
+
sw,
|
|
3651
|
+
ta,
|
|
3652
|
+
te,
|
|
3653
|
+
th,
|
|
3654
|
+
tr,
|
|
3655
|
+
uk,
|
|
3656
|
+
ur,
|
|
3657
|
+
vi,
|
|
3658
|
+
zhCN,
|
|
3659
|
+
zhTW,
|
|
3660
|
+
]) {
|
|
3661
|
+
const { localized: types } = Type.localizeTypes(
|
|
3662
|
+
{ ByteSizeLiteral, DurationLiteral, PercentageLiteral },
|
|
3663
|
+
{
|
|
3664
|
+
localized: {
|
|
3665
|
+
ByteSizeLiteral: locale.formatByteSizeLiteralError,
|
|
3666
|
+
DurationLiteral: locale.formatDurationLiteralError,
|
|
3667
|
+
PercentageLiteral: locale.formatPercentageLiteralError,
|
|
3668
|
+
},
|
|
3669
|
+
},
|
|
3670
|
+
);
|
|
3671
|
+
for (const [message, original, examples] of [
|
|
3672
|
+
[
|
|
3673
|
+
types.DurationLiteral.formatError(duration.error),
|
|
3674
|
+
DurationLiteral.formatError(duration.error),
|
|
3675
|
+
['"500ms"', '"1.5s"'],
|
|
3676
|
+
],
|
|
3677
|
+
[
|
|
3678
|
+
types.PercentageLiteral.formatError(percentage.error),
|
|
3679
|
+
PercentageLiteral.formatError(percentage.error),
|
|
3680
|
+
['"50%"', '"12.5%"'],
|
|
3681
|
+
],
|
|
3682
|
+
] as const) {
|
|
3683
|
+
assertTrue(message !== original);
|
|
3684
|
+
assertTrue(message.includes(JSON.stringify(value)));
|
|
3685
|
+
for (const example of examples) assertTrue(message.includes(example));
|
|
3686
|
+
assertTrue(!message.includes("\n"));
|
|
3687
|
+
}
|
|
3688
|
+
const message = types.ByteSizeLiteral.formatError(result.error);
|
|
3689
|
+
assertTrue(message !== english);
|
|
3690
|
+
assertTrue(message.includes(JSON.stringify(value)));
|
|
3691
|
+
assertTrue(message.includes('"512KiB"'));
|
|
3692
|
+
assertTrue(message.includes('"1MiB"'));
|
|
3693
|
+
assertTrue(!message.includes("\n"));
|
|
3694
|
+
assertEqual(Type.typeErrorToIssues(types.ByteSizeLiteral, result.error), [
|
|
3695
|
+
{ path: [], message },
|
|
3696
|
+
]);
|
|
3697
|
+
}
|
|
3698
|
+
});
|
|
3699
|
+
|
|
3700
|
+
test("includes localized Union member failures in every locale", () => {
|
|
3701
|
+
for (const [, types] of objectToEntries(typesByLocale)) {
|
|
3702
|
+
const result = types.Union.fromUnknown(false, { errors: "all" });
|
|
3703
|
+
const stringResult = types.Union.members[0].fromUnknown(false);
|
|
3704
|
+
const numberResult = types.Union.members[1].fromUnknown(false);
|
|
3705
|
+
assertErr(result);
|
|
3706
|
+
assertErr(stringResult);
|
|
3707
|
+
assertErr(numberResult);
|
|
3708
|
+
const message = types.Union.formatError(result.error);
|
|
3709
|
+
assertTrue(
|
|
3710
|
+
message.includes(
|
|
3711
|
+
`- 0: String: ${types.Union.members[0].formatError(stringResult.error)}`,
|
|
3712
|
+
),
|
|
3713
|
+
);
|
|
3714
|
+
assertTrue(
|
|
3715
|
+
message.includes(
|
|
3716
|
+
`- 1: Number: ${types.Union.members[1].formatError(numberResult.error)}`,
|
|
3717
|
+
),
|
|
3718
|
+
);
|
|
3719
|
+
assertEqual(Type.typeErrorToIssues(types.Union, result.error), [
|
|
3720
|
+
{ path: [], message },
|
|
3721
|
+
]);
|
|
3722
|
+
}
|
|
3723
|
+
});
|
|
3724
|
+
|
|
3725
|
+
test("mirrors and localizes parameterized startsWith errors", () => {
|
|
3726
|
+
const prefix = 'APP_"\\\n';
|
|
3727
|
+
const value = 'OTHER_"\\\n';
|
|
3728
|
+
const Prefixed = Type.startsWith(prefix)(Type.String);
|
|
3729
|
+
const result = Prefixed.fromUnknown(value);
|
|
3730
|
+
assertErr(result);
|
|
3731
|
+
const error: Type.StartsWithError<typeof prefix> = {
|
|
3732
|
+
type: Prefixed.name,
|
|
3733
|
+
value,
|
|
3734
|
+
prefix,
|
|
3735
|
+
};
|
|
3736
|
+
const expected =
|
|
3737
|
+
'The value "OTHER_\\\"\\\\\\n" must start with "APP_\\\"\\\\\\n".';
|
|
3738
|
+
|
|
3739
|
+
assertEqual(Prefixed.formatError(error), expected);
|
|
3740
|
+
assertEqual(formatEnglishStartsWithError(error), expected);
|
|
3741
|
+
|
|
3742
|
+
const { en } = Type.localizeTypes(
|
|
3743
|
+
{ Prefixed },
|
|
3744
|
+
{
|
|
3745
|
+
en: {
|
|
3746
|
+
[Prefixed.name]: formatEnglishStartsWithError,
|
|
3747
|
+
String: formatEnglishStringError,
|
|
3748
|
+
},
|
|
3749
|
+
},
|
|
3750
|
+
);
|
|
3751
|
+
assertEqual(en.Prefixed.formatError(error), expected);
|
|
3752
|
+
});
|
|
3753
|
+
|
|
3754
|
+
test("localizes startsWith in every locale and escapes values and prefixes", () => {
|
|
3755
|
+
const expectedByLocale = {
|
|
3756
|
+
ar: 'يجب أن تبدأ القيمة "OTHER" بـ "APP_".',
|
|
3757
|
+
bn: 'মান "OTHER" অবশ্যই "APP_" দিয়ে শুরু হতে হবে।',
|
|
3758
|
+
ca: 'El valor "OTHER" ha de començar amb "APP_".',
|
|
3759
|
+
cs: 'Hodnota "OTHER" musí začínat na "APP_".',
|
|
3760
|
+
da: 'Værdien "OTHER" skal starte med "APP_".',
|
|
3761
|
+
de: 'Der Wert "OTHER" muss mit "APP_" beginnen.',
|
|
3762
|
+
el: 'Η τιμή "OTHER" πρέπει να ξεκινά με "APP_".',
|
|
3763
|
+
es: 'El valor "OTHER" debe empezar por "APP_".',
|
|
3764
|
+
fa: 'مقدار "OTHER" باید با "APP_" شروع شود.',
|
|
3765
|
+
fi: 'Arvon "OTHER" on alettava merkkijonolla "APP_".',
|
|
3766
|
+
fil: 'Ang halagang "OTHER" ay dapat magsimula sa "APP_".',
|
|
3767
|
+
fr: 'La valeur "OTHER" doit commencer par "APP_".',
|
|
3768
|
+
he: 'הערך "OTHER" חייב להתחיל ב־"APP_".',
|
|
3769
|
+
hi: 'मान "OTHER" की शुरुआत "APP_" से होनी चाहिए।',
|
|
3770
|
+
hr: 'Vrijednost "OTHER" mora počinjati s "APP_".',
|
|
3771
|
+
hu: 'A(z) "OTHER" értéknek a(z) "APP_" előtaggal kell kezdődnie.',
|
|
3772
|
+
id: 'Nilai "OTHER" harus diawali dengan "APP_".',
|
|
3773
|
+
it: 'Il valore "OTHER" deve iniziare con "APP_".',
|
|
3774
|
+
ja: '値 "OTHER" は "APP_" で始まる必要があります。',
|
|
3775
|
+
ko: '값 "OTHER"은(는) "APP_"(으)로 시작해야 합니다.',
|
|
3776
|
+
ml: 'മൂല്യം "OTHER" ആരംഭിക്കേണ്ടത് "APP_" ഉപയോഗിച്ചായിരിക്കണം.',
|
|
3777
|
+
mr: 'मूल्य "OTHER" ची सुरुवात "APP_" ने होणे आवश्यक आहे.',
|
|
3778
|
+
ms: 'Nilai "OTHER" mesti bermula dengan "APP_".',
|
|
3779
|
+
nb: 'Verdien "OTHER" må starte med "APP_".',
|
|
3780
|
+
nl: 'De waarde "OTHER" moet beginnen met "APP_".',
|
|
3781
|
+
pa: 'ਮੁੱਲ "OTHER" ਦੀ ਸ਼ੁਰੂਆਤ "APP_" ਨਾਲ ਹੋਣੀ ਚਾਹੀਦੀ ਹੈ।',
|
|
3782
|
+
pl: 'Wartość "OTHER" musi zaczynać się od "APP_".',
|
|
3783
|
+
pt: 'O valor "OTHER" tem de começar por "APP_".',
|
|
3784
|
+
ptBR: 'O valor "OTHER" deve começar com "APP_".',
|
|
3785
|
+
ro: 'Valoarea "OTHER" trebuie să înceapă cu "APP_".',
|
|
3786
|
+
sk: 'Hodnota "OTHER" musí začínať na "APP_".',
|
|
3787
|
+
sl: 'Vrednost "OTHER" se mora začeti z "APP_".',
|
|
3788
|
+
sv: 'Värdet "OTHER" måste börja med "APP_".',
|
|
3789
|
+
sw: 'Thamani "OTHER" lazima ianze na "APP_".',
|
|
3790
|
+
ta: 'மதிப்பு "OTHER" ஆனது "APP_" உடன் தொடங்க வேண்டும்.',
|
|
3791
|
+
te: 'విలువ "OTHER" తప్పనిసరిగా "APP_" తో ప్రారంభం కావాలి.',
|
|
3792
|
+
th: 'ค่า "OTHER" ต้องขึ้นต้นด้วย "APP_"',
|
|
3793
|
+
tr: '"OTHER" değeri "APP_" ile başlamalıdır.',
|
|
3794
|
+
uk: 'Значення "OTHER" має починатися з "APP_".',
|
|
3795
|
+
ur: 'قدر "OTHER" کی ابتدا "APP_" سے ہونی چاہیے۔',
|
|
3796
|
+
vi: 'Giá trị "OTHER" phải bắt đầu bằng "APP_".',
|
|
3797
|
+
zhCN: '值 "OTHER" 必须以 "APP_" 开头。',
|
|
3798
|
+
zhTW: '值 "OTHER" 必須以 "APP_" 開頭。',
|
|
3799
|
+
};
|
|
3800
|
+
for (const [locale, types] of objectToEntries(typesByLocale)) {
|
|
3801
|
+
const expected = expectedByLocale[locale];
|
|
3802
|
+
const result = types.StartsWith.fromUnknown("OTHER");
|
|
3803
|
+
assertErr(result);
|
|
3804
|
+
const issue = Type.typeErrorToIssues(types.StartsWith, result.error)[0];
|
|
3805
|
+
assertNotUndefined(issue);
|
|
3806
|
+
assertEqual(issue.message, expected);
|
|
3807
|
+
|
|
3808
|
+
const prefix = 'APP_"\\\n';
|
|
3809
|
+
const value = 'OTHER"\\\n';
|
|
3810
|
+
const escapedResult = types.StartsWithEscaped.fromUnknown(value);
|
|
3811
|
+
assertErr(escapedResult);
|
|
3812
|
+
assertEqual(
|
|
3813
|
+
types.StartsWithEscaped.formatError(escapedResult.error),
|
|
3814
|
+
expected
|
|
3815
|
+
.replace('"OTHER"', JSON.stringify(value))
|
|
3816
|
+
.replace('"APP_"', JSON.stringify(prefix)),
|
|
3817
|
+
);
|
|
3818
|
+
}
|
|
3819
|
+
});
|
|
3820
|
+
|
|
3821
|
+
test("mirrors the default English identifier errors", () => {
|
|
3822
|
+
for (const value of ["bad value", 'bad"\\\nvalue']) {
|
|
3823
|
+
for (const { type, casing } of [
|
|
3824
|
+
{ type: Type.CamelCaseIdentifier, casing: "camelCase" },
|
|
3825
|
+
{ type: Type.PascalCaseIdentifier, casing: "PascalCase" },
|
|
3826
|
+
{ type: Type.SnakeCaseIdentifier, casing: "snake_case" },
|
|
3827
|
+
{ type: Type.KebabCaseIdentifier, casing: "kebab-case" },
|
|
3828
|
+
{ type: Type.ConstantCaseIdentifier, casing: "CONSTANT_CASE" },
|
|
3829
|
+
] as const) {
|
|
3830
|
+
const result = type.fromUnknown(value);
|
|
3831
|
+
assertErr(result);
|
|
3832
|
+
const issue = Type.typeErrorToIssues(type, result.error)[0];
|
|
3833
|
+
assertNotUndefined(issue);
|
|
3834
|
+
assertEqual(
|
|
3835
|
+
formatEnglishIdentifierError({ type: type.name, casing, value }),
|
|
3836
|
+
issue.message,
|
|
3837
|
+
);
|
|
3838
|
+
}
|
|
3839
|
+
}
|
|
3840
|
+
});
|
|
3841
|
+
|
|
3048
3842
|
test("defines localized types", () => {
|
|
3049
3843
|
assertNotUndefined(typesByLocale);
|
|
3050
3844
|
assertLength(Object.keys(typesByLocale), 43);
|
|
3051
3845
|
});
|
|
3052
3846
|
|
|
3847
|
+
test("formats Ukrainian errors in Ukrainian", () => {
|
|
3848
|
+
assertEqual(
|
|
3849
|
+
uk.formatStringError({ type: "TypeOf", expected: "String", value: 1 }),
|
|
3850
|
+
"Значення 1 не є рядком.",
|
|
3851
|
+
);
|
|
3852
|
+
assertEqual(
|
|
3853
|
+
uk.formatBooleanFromStringError({
|
|
3854
|
+
type: "BooleanFromString",
|
|
3855
|
+
value: "yes",
|
|
3856
|
+
}),
|
|
3857
|
+
'Значення "yes" не є логічним значенням. Використовуйте true або false.',
|
|
3858
|
+
);
|
|
3859
|
+
assertEqual(
|
|
3860
|
+
uk.formatObjectError({
|
|
3861
|
+
type: "Object",
|
|
3862
|
+
reason: {
|
|
3863
|
+
kind: "Properties",
|
|
3864
|
+
errors: { name: { type: "ObjectMissingProperty" } },
|
|
3865
|
+
},
|
|
3866
|
+
}),
|
|
3867
|
+
'Обов’язкова властивість "name" відсутня.',
|
|
3868
|
+
);
|
|
3869
|
+
});
|
|
3870
|
+
|
|
3053
3871
|
test("formats Czech symbol property errors", () => {
|
|
3054
3872
|
const key = Symbol("key");
|
|
3055
3873
|
|