@messagevisor/core 0.0.1 → 0.1.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/CHANGELOG.md +16 -0
- package/LICENSE +21 -0
- package/README.md +7 -0
- package/jest.config.js +8 -0
- package/lib/benchmark/index.d.ts +2 -0
- package/lib/benchmark/index.js +417 -0
- package/lib/benchmark/index.js.map +1 -0
- package/lib/builder/index.d.ts +70 -0
- package/lib/builder/index.js +831 -0
- package/lib/builder/index.js.map +1 -0
- package/lib/cli/index.d.ts +28 -0
- package/lib/cli/index.js +182 -0
- package/lib/cli/index.js.map +1 -0
- package/lib/config/index.d.ts +61 -0
- package/lib/config/index.js +255 -0
- package/lib/config/index.js.map +1 -0
- package/lib/create/index.d.ts +2 -0
- package/lib/create/index.js +405 -0
- package/lib/create/index.js.map +1 -0
- package/lib/datasource/filesystemAdapter.d.ts +44 -0
- package/lib/datasource/filesystemAdapter.js +424 -0
- package/lib/datasource/filesystemAdapter.js.map +1 -0
- package/lib/datasource/index.d.ts +39 -0
- package/lib/datasource/index.js +96 -0
- package/lib/datasource/index.js.map +1 -0
- package/lib/error.d.ts +6 -0
- package/lib/error.js +49 -0
- package/lib/error.js.map +1 -0
- package/lib/evaluate/cli.d.ts +8 -0
- package/lib/evaluate/cli.js +179 -0
- package/lib/evaluate/cli.js.map +1 -0
- package/lib/evaluate/index.d.ts +10 -0
- package/lib/evaluate/index.js +131 -0
- package/lib/evaluate/index.js.map +1 -0
- package/lib/examples/coerceExampleIsoDates.d.ts +12 -0
- package/lib/examples/coerceExampleIsoDates.js +81 -0
- package/lib/examples/coerceExampleIsoDates.js.map +1 -0
- package/lib/examples/index.d.ts +63 -0
- package/lib/examples/index.js +713 -0
- package/lib/examples/index.js.map +1 -0
- package/lib/exporter/index.d.ts +60 -0
- package/lib/exporter/index.js +610 -0
- package/lib/exporter/index.js.map +1 -0
- package/lib/find-duplicates/index.d.ts +41 -0
- package/lib/find-duplicates/index.js +297 -0
- package/lib/find-duplicates/index.js.map +1 -0
- package/lib/generate-code/index.d.ts +11 -0
- package/lib/generate-code/index.js +157 -0
- package/lib/generate-code/index.js.map +1 -0
- package/lib/generate-code/typescript.d.ts +14 -0
- package/lib/generate-code/typescript.js +307 -0
- package/lib/generate-code/typescript.js.map +1 -0
- package/lib/importer/index.d.ts +64 -0
- package/lib/importer/index.js +1092 -0
- package/lib/importer/index.js.map +1 -0
- package/lib/index.d.ts +18 -0
- package/lib/index.js +35 -0
- package/lib/index.js.map +1 -0
- package/lib/info/index.d.ts +17 -0
- package/lib/info/index.js +132 -0
- package/lib/info/index.js.map +1 -0
- package/lib/init/index.d.ts +30 -0
- package/lib/init/index.js +348 -0
- package/lib/init/index.js.map +1 -0
- package/lib/lint/index.d.ts +1 -0
- package/lib/lint/index.js +6 -0
- package/lib/lint/index.js.map +1 -0
- package/lib/linter/attributeSchema.d.ts +7 -0
- package/lib/linter/attributeSchema.js +36 -0
- package/lib/linter/attributeSchema.js.map +1 -0
- package/lib/linter/checkLocaleCircularDependency.d.ts +7 -0
- package/lib/linter/checkLocaleCircularDependency.js +42 -0
- package/lib/linter/checkLocaleCircularDependency.js.map +1 -0
- package/lib/linter/conditionSchema.d.ts +3 -0
- package/lib/linter/conditionSchema.js +283 -0
- package/lib/linter/conditionSchema.js.map +1 -0
- package/lib/linter/formatSchema.d.ts +325 -0
- package/lib/linter/formatSchema.js +165 -0
- package/lib/linter/formatSchema.js.map +1 -0
- package/lib/linter/icuStyleLint.d.ts +6 -0
- package/lib/linter/icuStyleLint.js +226 -0
- package/lib/linter/icuStyleLint.js.map +1 -0
- package/lib/linter/index.d.ts +34 -0
- package/lib/linter/index.js +557 -0
- package/lib/linter/index.js.map +1 -0
- package/lib/linter/localeSchema.d.ts +672 -0
- package/lib/linter/localeSchema.js +50 -0
- package/lib/linter/localeSchema.js.map +1 -0
- package/lib/linter/messageSchema.d.ts +35 -0
- package/lib/linter/messageSchema.js +115 -0
- package/lib/linter/messageSchema.js.map +1 -0
- package/lib/linter/printError.d.ts +8 -0
- package/lib/linter/printError.js +41 -0
- package/lib/linter/printError.js.map +1 -0
- package/lib/linter/schema.d.ts +33 -0
- package/lib/linter/schema.js +192 -0
- package/lib/linter/schema.js.map +1 -0
- package/lib/linter/segmentSchema.d.ts +8 -0
- package/lib/linter/segmentSchema.js +18 -0
- package/lib/linter/segmentSchema.js.map +1 -0
- package/lib/linter/targetSchema.d.ts +337 -0
- package/lib/linter/targetSchema.js +39 -0
- package/lib/linter/targetSchema.js.map +1 -0
- package/lib/linter/testSchema.d.ts +71 -0
- package/lib/linter/testSchema.js +165 -0
- package/lib/linter/testSchema.js.map +1 -0
- package/lib/linter/zodHelpers.d.ts +2 -0
- package/lib/linter/zodHelpers.js +15 -0
- package/lib/linter/zodHelpers.js.map +1 -0
- package/lib/list/index.d.ts +8 -0
- package/lib/list/index.js +524 -0
- package/lib/list/index.js.map +1 -0
- package/lib/matrix.d.ts +4 -0
- package/lib/matrix.js +66 -0
- package/lib/matrix.js.map +1 -0
- package/lib/promoter/index.d.ts +65 -0
- package/lib/promoter/index.js +1208 -0
- package/lib/promoter/index.js.map +1 -0
- package/lib/prune/index.d.ts +37 -0
- package/lib/prune/index.js +673 -0
- package/lib/prune/index.js.map +1 -0
- package/lib/sets.d.ts +10 -0
- package/lib/sets.js +120 -0
- package/lib/sets.js.map +1 -0
- package/lib/tester/cliFormat.d.ts +8 -0
- package/lib/tester/cliFormat.js +15 -0
- package/lib/tester/cliFormat.js.map +1 -0
- package/lib/tester/index.d.ts +35 -0
- package/lib/tester/index.js +713 -0
- package/lib/tester/index.js.map +1 -0
- package/lib/tester/matrix.d.ts +14 -0
- package/lib/tester/matrix.js +76 -0
- package/lib/tester/matrix.js.map +1 -0
- package/lib/tester/prettyDuration.d.ts +1 -0
- package/lib/tester/prettyDuration.js +30 -0
- package/lib/tester/prettyDuration.js.map +1 -0
- package/lib/tester/printTestResult.d.ts +2 -0
- package/lib/tester/printTestResult.js +32 -0
- package/lib/tester/printTestResult.js.map +1 -0
- package/lib/tester/types.d.ts +29 -0
- package/lib/tester/types.js +3 -0
- package/lib/tester/types.js.map +1 -0
- package/package.json +41 -13
- package/src/benchmark/index.spec.ts +375 -0
- package/src/benchmark/index.ts +433 -0
- package/src/builder/index.spec.ts +822 -0
- package/src/builder/index.ts +920 -0
- package/src/cli/index.spec.ts +54 -0
- package/src/cli/index.ts +150 -0
- package/src/config/index.spec.ts +70 -0
- package/src/config/index.ts +259 -0
- package/src/create/index.spec.ts +272 -0
- package/src/create/index.ts +295 -0
- package/src/datasource/filesystemAdapter.ts +313 -0
- package/src/datasource/index.ts +135 -0
- package/src/error.ts +33 -0
- package/src/evaluate/cli.spec.ts +368 -0
- package/src/evaluate/cli.ts +130 -0
- package/src/evaluate/index.ts +161 -0
- package/src/examples/coerceExampleIsoDates.spec.ts +81 -0
- package/src/examples/coerceExampleIsoDates.ts +98 -0
- package/src/examples/index.spec.ts +453 -0
- package/src/examples/index.ts +854 -0
- package/src/exporter/index.spec.ts +443 -0
- package/src/exporter/index.ts +643 -0
- package/src/find-duplicates/index.spec.ts +289 -0
- package/src/find-duplicates/index.ts +314 -0
- package/src/generate-code/index.ts +92 -0
- package/src/generate-code/typescript.spec.ts +241 -0
- package/src/generate-code/typescript.ts +284 -0
- package/src/importer/index.spec.ts +1101 -0
- package/src/importer/index.ts +1190 -0
- package/src/index.ts +18 -0
- package/src/info/index.ts +67 -0
- package/src/init/index.spec.ts +279 -0
- package/src/init/index.ts +292 -0
- package/src/lint/index.ts +1 -0
- package/src/linter/attributeSchema.ts +38 -0
- package/src/linter/checkLocaleCircularDependency.ts +51 -0
- package/src/linter/conditionSchema.ts +386 -0
- package/src/linter/formatSchema.ts +170 -0
- package/src/linter/icuStyleLint.ts +312 -0
- package/src/linter/index.spec.ts +824 -0
- package/src/linter/index.ts +460 -0
- package/src/linter/localeSchema.ts +70 -0
- package/src/linter/messageSchema.ts +152 -0
- package/src/linter/printError.ts +52 -0
- package/src/linter/schema.ts +230 -0
- package/src/linter/segmentSchema.ts +15 -0
- package/src/linter/targetSchema.ts +50 -0
- package/src/linter/testSchema.spec.ts +405 -0
- package/src/linter/testSchema.ts +239 -0
- package/src/linter/zodHelpers.ts +16 -0
- package/src/list/index.spec.ts +431 -0
- package/src/list/index.ts +463 -0
- package/src/matrix.ts +69 -0
- package/src/promoter/index.spec.ts +584 -0
- package/src/promoter/index.ts +1267 -0
- package/src/prune/index.spec.ts +418 -0
- package/src/prune/index.ts +693 -0
- package/src/sets.ts +74 -0
- package/src/tester/cliFormat.ts +11 -0
- package/src/tester/featurevisorIntegration.spec.ts +101 -0
- package/src/tester/index.spec.ts +577 -0
- package/src/tester/index.ts +679 -0
- package/src/tester/matrix.ts +106 -0
- package/src/tester/prettyDuration.ts +34 -0
- package/src/tester/printTestResult.ts +40 -0
- package/src/tester/types.ts +32 -0
- package/tsconfig.cjs.json +11 -0
- package/tsconfig.typecheck.json +4 -0
|
@@ -0,0 +1,672 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare function getLocaleZodSchema(localeKeys: string[], messageKeys: string[]): z.ZodObject<{
|
|
3
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4
|
+
promotable: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
description: z.ZodString;
|
|
6
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
ltr: "ltr";
|
|
8
|
+
rtl: "rtl";
|
|
9
|
+
}>>;
|
|
10
|
+
inheritFormatsFrom: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
|
|
11
|
+
inheritTranslationsFrom: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
|
|
12
|
+
mergeExamplesFrom: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
|
|
13
|
+
formats: z.ZodOptional<z.ZodObject<{
|
|
14
|
+
number: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
15
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
decimal: "decimal";
|
|
17
|
+
percent: "percent";
|
|
18
|
+
currency: "currency";
|
|
19
|
+
unit: "unit";
|
|
20
|
+
}>>;
|
|
21
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
22
|
+
currencyDisplay: z.ZodOptional<z.ZodEnum<{
|
|
23
|
+
symbol: "symbol";
|
|
24
|
+
code: "code";
|
|
25
|
+
name: "name";
|
|
26
|
+
narrowSymbol: "narrowSymbol";
|
|
27
|
+
}>>;
|
|
28
|
+
currencySign: z.ZodOptional<z.ZodEnum<{
|
|
29
|
+
standard: "standard";
|
|
30
|
+
accounting: "accounting";
|
|
31
|
+
}>>;
|
|
32
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
33
|
+
unitDisplay: z.ZodOptional<z.ZodEnum<{
|
|
34
|
+
long: "long";
|
|
35
|
+
short: "short";
|
|
36
|
+
narrow: "narrow";
|
|
37
|
+
}>>;
|
|
38
|
+
useGrouping: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
39
|
+
auto: "auto";
|
|
40
|
+
always: "always";
|
|
41
|
+
min2: "min2";
|
|
42
|
+
}>]>>;
|
|
43
|
+
minimumIntegerDigits: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
minimumFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
maximumFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
minimumSignificantDigits: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
maximumSignificantDigits: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
notation: z.ZodOptional<z.ZodEnum<{
|
|
49
|
+
standard: "standard";
|
|
50
|
+
compact: "compact";
|
|
51
|
+
scientific: "scientific";
|
|
52
|
+
engineering: "engineering";
|
|
53
|
+
}>>;
|
|
54
|
+
compactDisplay: z.ZodOptional<z.ZodEnum<{
|
|
55
|
+
long: "long";
|
|
56
|
+
short: "short";
|
|
57
|
+
}>>;
|
|
58
|
+
signDisplay: z.ZodOptional<z.ZodEnum<{
|
|
59
|
+
auto: "auto";
|
|
60
|
+
always: "always";
|
|
61
|
+
never: "never";
|
|
62
|
+
exceptZero: "exceptZero";
|
|
63
|
+
negative: "negative";
|
|
64
|
+
}>>;
|
|
65
|
+
roundingPriority: z.ZodOptional<z.ZodEnum<{
|
|
66
|
+
auto: "auto";
|
|
67
|
+
morePrecision: "morePrecision";
|
|
68
|
+
lessPrecision: "lessPrecision";
|
|
69
|
+
}>>;
|
|
70
|
+
roundingIncrement: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<5>, z.ZodLiteral<10>, z.ZodLiteral<20>, z.ZodLiteral<25>, z.ZodLiteral<50>, z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<250>, z.ZodLiteral<500>, z.ZodLiteral<1000>, z.ZodLiteral<2000>, z.ZodLiteral<2500>, z.ZodLiteral<5000>]>>;
|
|
71
|
+
roundingMode: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
ceil: "ceil";
|
|
73
|
+
floor: "floor";
|
|
74
|
+
expand: "expand";
|
|
75
|
+
trunc: "trunc";
|
|
76
|
+
halfCeil: "halfCeil";
|
|
77
|
+
halfFloor: "halfFloor";
|
|
78
|
+
halfExpand: "halfExpand";
|
|
79
|
+
halfTrunc: "halfTrunc";
|
|
80
|
+
halfEven: "halfEven";
|
|
81
|
+
}>>;
|
|
82
|
+
trailingZeroDisplay: z.ZodOptional<z.ZodEnum<{
|
|
83
|
+
auto: "auto";
|
|
84
|
+
stripIfInteger: "stripIfInteger";
|
|
85
|
+
}>>;
|
|
86
|
+
numberingSystem: z.ZodOptional<z.ZodString>;
|
|
87
|
+
}, z.core.$strict>>>;
|
|
88
|
+
date: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
89
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
90
|
+
calendar: z.ZodOptional<z.ZodString>;
|
|
91
|
+
numberingSystem: z.ZodOptional<z.ZodString>;
|
|
92
|
+
hour12: z.ZodOptional<z.ZodBoolean>;
|
|
93
|
+
hourCycle: z.ZodOptional<z.ZodEnum<{
|
|
94
|
+
h11: "h11";
|
|
95
|
+
h12: "h12";
|
|
96
|
+
h23: "h23";
|
|
97
|
+
h24: "h24";
|
|
98
|
+
}>>;
|
|
99
|
+
dateStyle: z.ZodOptional<z.ZodEnum<{
|
|
100
|
+
long: "long";
|
|
101
|
+
short: "short";
|
|
102
|
+
medium: "medium";
|
|
103
|
+
full: "full";
|
|
104
|
+
}>>;
|
|
105
|
+
timeStyle: z.ZodOptional<z.ZodEnum<{
|
|
106
|
+
long: "long";
|
|
107
|
+
short: "short";
|
|
108
|
+
medium: "medium";
|
|
109
|
+
full: "full";
|
|
110
|
+
}>>;
|
|
111
|
+
formatMatcher: z.ZodOptional<z.ZodEnum<{
|
|
112
|
+
"best fit": "best fit";
|
|
113
|
+
basic: "basic";
|
|
114
|
+
}>>;
|
|
115
|
+
fractionalSecondDigits: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
116
|
+
weekday: z.ZodOptional<z.ZodEnum<{
|
|
117
|
+
long: "long";
|
|
118
|
+
short: "short";
|
|
119
|
+
narrow: "narrow";
|
|
120
|
+
}>>;
|
|
121
|
+
era: z.ZodOptional<z.ZodEnum<{
|
|
122
|
+
long: "long";
|
|
123
|
+
short: "short";
|
|
124
|
+
narrow: "narrow";
|
|
125
|
+
}>>;
|
|
126
|
+
year: z.ZodOptional<z.ZodEnum<{
|
|
127
|
+
numeric: "numeric";
|
|
128
|
+
"2-digit": "2-digit";
|
|
129
|
+
}>>;
|
|
130
|
+
month: z.ZodOptional<z.ZodEnum<{
|
|
131
|
+
long: "long";
|
|
132
|
+
short: "short";
|
|
133
|
+
narrow: "narrow";
|
|
134
|
+
numeric: "numeric";
|
|
135
|
+
"2-digit": "2-digit";
|
|
136
|
+
}>>;
|
|
137
|
+
day: z.ZodOptional<z.ZodEnum<{
|
|
138
|
+
numeric: "numeric";
|
|
139
|
+
"2-digit": "2-digit";
|
|
140
|
+
}>>;
|
|
141
|
+
dayPeriod: z.ZodOptional<z.ZodEnum<{
|
|
142
|
+
long: "long";
|
|
143
|
+
short: "short";
|
|
144
|
+
narrow: "narrow";
|
|
145
|
+
}>>;
|
|
146
|
+
hour: z.ZodOptional<z.ZodEnum<{
|
|
147
|
+
numeric: "numeric";
|
|
148
|
+
"2-digit": "2-digit";
|
|
149
|
+
}>>;
|
|
150
|
+
minute: z.ZodOptional<z.ZodEnum<{
|
|
151
|
+
numeric: "numeric";
|
|
152
|
+
"2-digit": "2-digit";
|
|
153
|
+
}>>;
|
|
154
|
+
second: z.ZodOptional<z.ZodEnum<{
|
|
155
|
+
numeric: "numeric";
|
|
156
|
+
"2-digit": "2-digit";
|
|
157
|
+
}>>;
|
|
158
|
+
timeZoneName: z.ZodOptional<z.ZodEnum<{
|
|
159
|
+
long: "long";
|
|
160
|
+
short: "short";
|
|
161
|
+
shortOffset: "shortOffset";
|
|
162
|
+
longOffset: "longOffset";
|
|
163
|
+
shortGeneric: "shortGeneric";
|
|
164
|
+
longGeneric: "longGeneric";
|
|
165
|
+
}>>;
|
|
166
|
+
}, z.core.$strict>>>;
|
|
167
|
+
time: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
168
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
169
|
+
calendar: z.ZodOptional<z.ZodString>;
|
|
170
|
+
numberingSystem: z.ZodOptional<z.ZodString>;
|
|
171
|
+
hour12: z.ZodOptional<z.ZodBoolean>;
|
|
172
|
+
hourCycle: z.ZodOptional<z.ZodEnum<{
|
|
173
|
+
h11: "h11";
|
|
174
|
+
h12: "h12";
|
|
175
|
+
h23: "h23";
|
|
176
|
+
h24: "h24";
|
|
177
|
+
}>>;
|
|
178
|
+
dateStyle: z.ZodOptional<z.ZodEnum<{
|
|
179
|
+
long: "long";
|
|
180
|
+
short: "short";
|
|
181
|
+
medium: "medium";
|
|
182
|
+
full: "full";
|
|
183
|
+
}>>;
|
|
184
|
+
timeStyle: z.ZodOptional<z.ZodEnum<{
|
|
185
|
+
long: "long";
|
|
186
|
+
short: "short";
|
|
187
|
+
medium: "medium";
|
|
188
|
+
full: "full";
|
|
189
|
+
}>>;
|
|
190
|
+
formatMatcher: z.ZodOptional<z.ZodEnum<{
|
|
191
|
+
"best fit": "best fit";
|
|
192
|
+
basic: "basic";
|
|
193
|
+
}>>;
|
|
194
|
+
fractionalSecondDigits: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
195
|
+
weekday: z.ZodOptional<z.ZodEnum<{
|
|
196
|
+
long: "long";
|
|
197
|
+
short: "short";
|
|
198
|
+
narrow: "narrow";
|
|
199
|
+
}>>;
|
|
200
|
+
era: z.ZodOptional<z.ZodEnum<{
|
|
201
|
+
long: "long";
|
|
202
|
+
short: "short";
|
|
203
|
+
narrow: "narrow";
|
|
204
|
+
}>>;
|
|
205
|
+
year: z.ZodOptional<z.ZodEnum<{
|
|
206
|
+
numeric: "numeric";
|
|
207
|
+
"2-digit": "2-digit";
|
|
208
|
+
}>>;
|
|
209
|
+
month: z.ZodOptional<z.ZodEnum<{
|
|
210
|
+
long: "long";
|
|
211
|
+
short: "short";
|
|
212
|
+
narrow: "narrow";
|
|
213
|
+
numeric: "numeric";
|
|
214
|
+
"2-digit": "2-digit";
|
|
215
|
+
}>>;
|
|
216
|
+
day: z.ZodOptional<z.ZodEnum<{
|
|
217
|
+
numeric: "numeric";
|
|
218
|
+
"2-digit": "2-digit";
|
|
219
|
+
}>>;
|
|
220
|
+
dayPeriod: z.ZodOptional<z.ZodEnum<{
|
|
221
|
+
long: "long";
|
|
222
|
+
short: "short";
|
|
223
|
+
narrow: "narrow";
|
|
224
|
+
}>>;
|
|
225
|
+
hour: z.ZodOptional<z.ZodEnum<{
|
|
226
|
+
numeric: "numeric";
|
|
227
|
+
"2-digit": "2-digit";
|
|
228
|
+
}>>;
|
|
229
|
+
minute: z.ZodOptional<z.ZodEnum<{
|
|
230
|
+
numeric: "numeric";
|
|
231
|
+
"2-digit": "2-digit";
|
|
232
|
+
}>>;
|
|
233
|
+
second: z.ZodOptional<z.ZodEnum<{
|
|
234
|
+
numeric: "numeric";
|
|
235
|
+
"2-digit": "2-digit";
|
|
236
|
+
}>>;
|
|
237
|
+
timeZoneName: z.ZodOptional<z.ZodEnum<{
|
|
238
|
+
long: "long";
|
|
239
|
+
short: "short";
|
|
240
|
+
shortOffset: "shortOffset";
|
|
241
|
+
longOffset: "longOffset";
|
|
242
|
+
shortGeneric: "shortGeneric";
|
|
243
|
+
longGeneric: "longGeneric";
|
|
244
|
+
}>>;
|
|
245
|
+
}, z.core.$strict>>>;
|
|
246
|
+
relative: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
247
|
+
numeric: z.ZodOptional<z.ZodEnum<{
|
|
248
|
+
auto: "auto";
|
|
249
|
+
always: "always";
|
|
250
|
+
}>>;
|
|
251
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
252
|
+
long: "long";
|
|
253
|
+
short: "short";
|
|
254
|
+
narrow: "narrow";
|
|
255
|
+
}>>;
|
|
256
|
+
}, z.core.$strict>>>;
|
|
257
|
+
dateTimeRange: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
258
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
259
|
+
calendar: z.ZodOptional<z.ZodString>;
|
|
260
|
+
numberingSystem: z.ZodOptional<z.ZodString>;
|
|
261
|
+
hour12: z.ZodOptional<z.ZodBoolean>;
|
|
262
|
+
hourCycle: z.ZodOptional<z.ZodEnum<{
|
|
263
|
+
h11: "h11";
|
|
264
|
+
h12: "h12";
|
|
265
|
+
h23: "h23";
|
|
266
|
+
h24: "h24";
|
|
267
|
+
}>>;
|
|
268
|
+
dateStyle: z.ZodOptional<z.ZodEnum<{
|
|
269
|
+
long: "long";
|
|
270
|
+
short: "short";
|
|
271
|
+
medium: "medium";
|
|
272
|
+
full: "full";
|
|
273
|
+
}>>;
|
|
274
|
+
timeStyle: z.ZodOptional<z.ZodEnum<{
|
|
275
|
+
long: "long";
|
|
276
|
+
short: "short";
|
|
277
|
+
medium: "medium";
|
|
278
|
+
full: "full";
|
|
279
|
+
}>>;
|
|
280
|
+
formatMatcher: z.ZodOptional<z.ZodEnum<{
|
|
281
|
+
"best fit": "best fit";
|
|
282
|
+
basic: "basic";
|
|
283
|
+
}>>;
|
|
284
|
+
fractionalSecondDigits: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
285
|
+
weekday: z.ZodOptional<z.ZodEnum<{
|
|
286
|
+
long: "long";
|
|
287
|
+
short: "short";
|
|
288
|
+
narrow: "narrow";
|
|
289
|
+
}>>;
|
|
290
|
+
era: z.ZodOptional<z.ZodEnum<{
|
|
291
|
+
long: "long";
|
|
292
|
+
short: "short";
|
|
293
|
+
narrow: "narrow";
|
|
294
|
+
}>>;
|
|
295
|
+
year: z.ZodOptional<z.ZodEnum<{
|
|
296
|
+
numeric: "numeric";
|
|
297
|
+
"2-digit": "2-digit";
|
|
298
|
+
}>>;
|
|
299
|
+
month: z.ZodOptional<z.ZodEnum<{
|
|
300
|
+
long: "long";
|
|
301
|
+
short: "short";
|
|
302
|
+
narrow: "narrow";
|
|
303
|
+
numeric: "numeric";
|
|
304
|
+
"2-digit": "2-digit";
|
|
305
|
+
}>>;
|
|
306
|
+
day: z.ZodOptional<z.ZodEnum<{
|
|
307
|
+
numeric: "numeric";
|
|
308
|
+
"2-digit": "2-digit";
|
|
309
|
+
}>>;
|
|
310
|
+
dayPeriod: z.ZodOptional<z.ZodEnum<{
|
|
311
|
+
long: "long";
|
|
312
|
+
short: "short";
|
|
313
|
+
narrow: "narrow";
|
|
314
|
+
}>>;
|
|
315
|
+
hour: z.ZodOptional<z.ZodEnum<{
|
|
316
|
+
numeric: "numeric";
|
|
317
|
+
"2-digit": "2-digit";
|
|
318
|
+
}>>;
|
|
319
|
+
minute: z.ZodOptional<z.ZodEnum<{
|
|
320
|
+
numeric: "numeric";
|
|
321
|
+
"2-digit": "2-digit";
|
|
322
|
+
}>>;
|
|
323
|
+
second: z.ZodOptional<z.ZodEnum<{
|
|
324
|
+
numeric: "numeric";
|
|
325
|
+
"2-digit": "2-digit";
|
|
326
|
+
}>>;
|
|
327
|
+
timeZoneName: z.ZodOptional<z.ZodEnum<{
|
|
328
|
+
long: "long";
|
|
329
|
+
short: "short";
|
|
330
|
+
shortOffset: "shortOffset";
|
|
331
|
+
longOffset: "longOffset";
|
|
332
|
+
shortGeneric: "shortGeneric";
|
|
333
|
+
longGeneric: "longGeneric";
|
|
334
|
+
}>>;
|
|
335
|
+
}, z.core.$strict>>>;
|
|
336
|
+
}, z.core.$strict>>;
|
|
337
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
338
|
+
matrix: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
|
|
339
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
340
|
+
description: z.ZodOptional<z.ZodString>;
|
|
341
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
342
|
+
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
343
|
+
formats: z.ZodOptional<z.ZodObject<{
|
|
344
|
+
number: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
345
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
346
|
+
decimal: "decimal";
|
|
347
|
+
percent: "percent";
|
|
348
|
+
currency: "currency";
|
|
349
|
+
unit: "unit";
|
|
350
|
+
}>>;
|
|
351
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
352
|
+
currencyDisplay: z.ZodOptional<z.ZodEnum<{
|
|
353
|
+
symbol: "symbol";
|
|
354
|
+
code: "code";
|
|
355
|
+
name: "name";
|
|
356
|
+
narrowSymbol: "narrowSymbol";
|
|
357
|
+
}>>;
|
|
358
|
+
currencySign: z.ZodOptional<z.ZodEnum<{
|
|
359
|
+
standard: "standard";
|
|
360
|
+
accounting: "accounting";
|
|
361
|
+
}>>;
|
|
362
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
363
|
+
unitDisplay: z.ZodOptional<z.ZodEnum<{
|
|
364
|
+
long: "long";
|
|
365
|
+
short: "short";
|
|
366
|
+
narrow: "narrow";
|
|
367
|
+
}>>;
|
|
368
|
+
useGrouping: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
369
|
+
auto: "auto";
|
|
370
|
+
always: "always";
|
|
371
|
+
min2: "min2";
|
|
372
|
+
}>]>>;
|
|
373
|
+
minimumIntegerDigits: z.ZodOptional<z.ZodNumber>;
|
|
374
|
+
minimumFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
375
|
+
maximumFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
376
|
+
minimumSignificantDigits: z.ZodOptional<z.ZodNumber>;
|
|
377
|
+
maximumSignificantDigits: z.ZodOptional<z.ZodNumber>;
|
|
378
|
+
notation: z.ZodOptional<z.ZodEnum<{
|
|
379
|
+
standard: "standard";
|
|
380
|
+
compact: "compact";
|
|
381
|
+
scientific: "scientific";
|
|
382
|
+
engineering: "engineering";
|
|
383
|
+
}>>;
|
|
384
|
+
compactDisplay: z.ZodOptional<z.ZodEnum<{
|
|
385
|
+
long: "long";
|
|
386
|
+
short: "short";
|
|
387
|
+
}>>;
|
|
388
|
+
signDisplay: z.ZodOptional<z.ZodEnum<{
|
|
389
|
+
auto: "auto";
|
|
390
|
+
always: "always";
|
|
391
|
+
never: "never";
|
|
392
|
+
exceptZero: "exceptZero";
|
|
393
|
+
negative: "negative";
|
|
394
|
+
}>>;
|
|
395
|
+
roundingPriority: z.ZodOptional<z.ZodEnum<{
|
|
396
|
+
auto: "auto";
|
|
397
|
+
morePrecision: "morePrecision";
|
|
398
|
+
lessPrecision: "lessPrecision";
|
|
399
|
+
}>>;
|
|
400
|
+
roundingIncrement: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<5>, z.ZodLiteral<10>, z.ZodLiteral<20>, z.ZodLiteral<25>, z.ZodLiteral<50>, z.ZodLiteral<100>, z.ZodLiteral<200>, z.ZodLiteral<250>, z.ZodLiteral<500>, z.ZodLiteral<1000>, z.ZodLiteral<2000>, z.ZodLiteral<2500>, z.ZodLiteral<5000>]>>;
|
|
401
|
+
roundingMode: z.ZodOptional<z.ZodEnum<{
|
|
402
|
+
ceil: "ceil";
|
|
403
|
+
floor: "floor";
|
|
404
|
+
expand: "expand";
|
|
405
|
+
trunc: "trunc";
|
|
406
|
+
halfCeil: "halfCeil";
|
|
407
|
+
halfFloor: "halfFloor";
|
|
408
|
+
halfExpand: "halfExpand";
|
|
409
|
+
halfTrunc: "halfTrunc";
|
|
410
|
+
halfEven: "halfEven";
|
|
411
|
+
}>>;
|
|
412
|
+
trailingZeroDisplay: z.ZodOptional<z.ZodEnum<{
|
|
413
|
+
auto: "auto";
|
|
414
|
+
stripIfInteger: "stripIfInteger";
|
|
415
|
+
}>>;
|
|
416
|
+
numberingSystem: z.ZodOptional<z.ZodString>;
|
|
417
|
+
}, z.core.$strict>>>;
|
|
418
|
+
date: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
419
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
420
|
+
calendar: z.ZodOptional<z.ZodString>;
|
|
421
|
+
numberingSystem: z.ZodOptional<z.ZodString>;
|
|
422
|
+
hour12: z.ZodOptional<z.ZodBoolean>;
|
|
423
|
+
hourCycle: z.ZodOptional<z.ZodEnum<{
|
|
424
|
+
h11: "h11";
|
|
425
|
+
h12: "h12";
|
|
426
|
+
h23: "h23";
|
|
427
|
+
h24: "h24";
|
|
428
|
+
}>>;
|
|
429
|
+
dateStyle: z.ZodOptional<z.ZodEnum<{
|
|
430
|
+
long: "long";
|
|
431
|
+
short: "short";
|
|
432
|
+
medium: "medium";
|
|
433
|
+
full: "full";
|
|
434
|
+
}>>;
|
|
435
|
+
timeStyle: z.ZodOptional<z.ZodEnum<{
|
|
436
|
+
long: "long";
|
|
437
|
+
short: "short";
|
|
438
|
+
medium: "medium";
|
|
439
|
+
full: "full";
|
|
440
|
+
}>>;
|
|
441
|
+
formatMatcher: z.ZodOptional<z.ZodEnum<{
|
|
442
|
+
"best fit": "best fit";
|
|
443
|
+
basic: "basic";
|
|
444
|
+
}>>;
|
|
445
|
+
fractionalSecondDigits: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
446
|
+
weekday: z.ZodOptional<z.ZodEnum<{
|
|
447
|
+
long: "long";
|
|
448
|
+
short: "short";
|
|
449
|
+
narrow: "narrow";
|
|
450
|
+
}>>;
|
|
451
|
+
era: z.ZodOptional<z.ZodEnum<{
|
|
452
|
+
long: "long";
|
|
453
|
+
short: "short";
|
|
454
|
+
narrow: "narrow";
|
|
455
|
+
}>>;
|
|
456
|
+
year: z.ZodOptional<z.ZodEnum<{
|
|
457
|
+
numeric: "numeric";
|
|
458
|
+
"2-digit": "2-digit";
|
|
459
|
+
}>>;
|
|
460
|
+
month: z.ZodOptional<z.ZodEnum<{
|
|
461
|
+
long: "long";
|
|
462
|
+
short: "short";
|
|
463
|
+
narrow: "narrow";
|
|
464
|
+
numeric: "numeric";
|
|
465
|
+
"2-digit": "2-digit";
|
|
466
|
+
}>>;
|
|
467
|
+
day: z.ZodOptional<z.ZodEnum<{
|
|
468
|
+
numeric: "numeric";
|
|
469
|
+
"2-digit": "2-digit";
|
|
470
|
+
}>>;
|
|
471
|
+
dayPeriod: z.ZodOptional<z.ZodEnum<{
|
|
472
|
+
long: "long";
|
|
473
|
+
short: "short";
|
|
474
|
+
narrow: "narrow";
|
|
475
|
+
}>>;
|
|
476
|
+
hour: z.ZodOptional<z.ZodEnum<{
|
|
477
|
+
numeric: "numeric";
|
|
478
|
+
"2-digit": "2-digit";
|
|
479
|
+
}>>;
|
|
480
|
+
minute: z.ZodOptional<z.ZodEnum<{
|
|
481
|
+
numeric: "numeric";
|
|
482
|
+
"2-digit": "2-digit";
|
|
483
|
+
}>>;
|
|
484
|
+
second: z.ZodOptional<z.ZodEnum<{
|
|
485
|
+
numeric: "numeric";
|
|
486
|
+
"2-digit": "2-digit";
|
|
487
|
+
}>>;
|
|
488
|
+
timeZoneName: z.ZodOptional<z.ZodEnum<{
|
|
489
|
+
long: "long";
|
|
490
|
+
short: "short";
|
|
491
|
+
shortOffset: "shortOffset";
|
|
492
|
+
longOffset: "longOffset";
|
|
493
|
+
shortGeneric: "shortGeneric";
|
|
494
|
+
longGeneric: "longGeneric";
|
|
495
|
+
}>>;
|
|
496
|
+
}, z.core.$strict>>>;
|
|
497
|
+
time: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
498
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
499
|
+
calendar: z.ZodOptional<z.ZodString>;
|
|
500
|
+
numberingSystem: z.ZodOptional<z.ZodString>;
|
|
501
|
+
hour12: z.ZodOptional<z.ZodBoolean>;
|
|
502
|
+
hourCycle: z.ZodOptional<z.ZodEnum<{
|
|
503
|
+
h11: "h11";
|
|
504
|
+
h12: "h12";
|
|
505
|
+
h23: "h23";
|
|
506
|
+
h24: "h24";
|
|
507
|
+
}>>;
|
|
508
|
+
dateStyle: z.ZodOptional<z.ZodEnum<{
|
|
509
|
+
long: "long";
|
|
510
|
+
short: "short";
|
|
511
|
+
medium: "medium";
|
|
512
|
+
full: "full";
|
|
513
|
+
}>>;
|
|
514
|
+
timeStyle: z.ZodOptional<z.ZodEnum<{
|
|
515
|
+
long: "long";
|
|
516
|
+
short: "short";
|
|
517
|
+
medium: "medium";
|
|
518
|
+
full: "full";
|
|
519
|
+
}>>;
|
|
520
|
+
formatMatcher: z.ZodOptional<z.ZodEnum<{
|
|
521
|
+
"best fit": "best fit";
|
|
522
|
+
basic: "basic";
|
|
523
|
+
}>>;
|
|
524
|
+
fractionalSecondDigits: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
525
|
+
weekday: z.ZodOptional<z.ZodEnum<{
|
|
526
|
+
long: "long";
|
|
527
|
+
short: "short";
|
|
528
|
+
narrow: "narrow";
|
|
529
|
+
}>>;
|
|
530
|
+
era: z.ZodOptional<z.ZodEnum<{
|
|
531
|
+
long: "long";
|
|
532
|
+
short: "short";
|
|
533
|
+
narrow: "narrow";
|
|
534
|
+
}>>;
|
|
535
|
+
year: z.ZodOptional<z.ZodEnum<{
|
|
536
|
+
numeric: "numeric";
|
|
537
|
+
"2-digit": "2-digit";
|
|
538
|
+
}>>;
|
|
539
|
+
month: z.ZodOptional<z.ZodEnum<{
|
|
540
|
+
long: "long";
|
|
541
|
+
short: "short";
|
|
542
|
+
narrow: "narrow";
|
|
543
|
+
numeric: "numeric";
|
|
544
|
+
"2-digit": "2-digit";
|
|
545
|
+
}>>;
|
|
546
|
+
day: z.ZodOptional<z.ZodEnum<{
|
|
547
|
+
numeric: "numeric";
|
|
548
|
+
"2-digit": "2-digit";
|
|
549
|
+
}>>;
|
|
550
|
+
dayPeriod: z.ZodOptional<z.ZodEnum<{
|
|
551
|
+
long: "long";
|
|
552
|
+
short: "short";
|
|
553
|
+
narrow: "narrow";
|
|
554
|
+
}>>;
|
|
555
|
+
hour: z.ZodOptional<z.ZodEnum<{
|
|
556
|
+
numeric: "numeric";
|
|
557
|
+
"2-digit": "2-digit";
|
|
558
|
+
}>>;
|
|
559
|
+
minute: z.ZodOptional<z.ZodEnum<{
|
|
560
|
+
numeric: "numeric";
|
|
561
|
+
"2-digit": "2-digit";
|
|
562
|
+
}>>;
|
|
563
|
+
second: z.ZodOptional<z.ZodEnum<{
|
|
564
|
+
numeric: "numeric";
|
|
565
|
+
"2-digit": "2-digit";
|
|
566
|
+
}>>;
|
|
567
|
+
timeZoneName: z.ZodOptional<z.ZodEnum<{
|
|
568
|
+
long: "long";
|
|
569
|
+
short: "short";
|
|
570
|
+
shortOffset: "shortOffset";
|
|
571
|
+
longOffset: "longOffset";
|
|
572
|
+
shortGeneric: "shortGeneric";
|
|
573
|
+
longGeneric: "longGeneric";
|
|
574
|
+
}>>;
|
|
575
|
+
}, z.core.$strict>>>;
|
|
576
|
+
relative: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
577
|
+
numeric: z.ZodOptional<z.ZodEnum<{
|
|
578
|
+
auto: "auto";
|
|
579
|
+
always: "always";
|
|
580
|
+
}>>;
|
|
581
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
582
|
+
long: "long";
|
|
583
|
+
short: "short";
|
|
584
|
+
narrow: "narrow";
|
|
585
|
+
}>>;
|
|
586
|
+
}, z.core.$strict>>>;
|
|
587
|
+
dateTimeRange: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
588
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
589
|
+
calendar: z.ZodOptional<z.ZodString>;
|
|
590
|
+
numberingSystem: z.ZodOptional<z.ZodString>;
|
|
591
|
+
hour12: z.ZodOptional<z.ZodBoolean>;
|
|
592
|
+
hourCycle: z.ZodOptional<z.ZodEnum<{
|
|
593
|
+
h11: "h11";
|
|
594
|
+
h12: "h12";
|
|
595
|
+
h23: "h23";
|
|
596
|
+
h24: "h24";
|
|
597
|
+
}>>;
|
|
598
|
+
dateStyle: z.ZodOptional<z.ZodEnum<{
|
|
599
|
+
long: "long";
|
|
600
|
+
short: "short";
|
|
601
|
+
medium: "medium";
|
|
602
|
+
full: "full";
|
|
603
|
+
}>>;
|
|
604
|
+
timeStyle: z.ZodOptional<z.ZodEnum<{
|
|
605
|
+
long: "long";
|
|
606
|
+
short: "short";
|
|
607
|
+
medium: "medium";
|
|
608
|
+
full: "full";
|
|
609
|
+
}>>;
|
|
610
|
+
formatMatcher: z.ZodOptional<z.ZodEnum<{
|
|
611
|
+
"best fit": "best fit";
|
|
612
|
+
basic: "basic";
|
|
613
|
+
}>>;
|
|
614
|
+
fractionalSecondDigits: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
615
|
+
weekday: z.ZodOptional<z.ZodEnum<{
|
|
616
|
+
long: "long";
|
|
617
|
+
short: "short";
|
|
618
|
+
narrow: "narrow";
|
|
619
|
+
}>>;
|
|
620
|
+
era: z.ZodOptional<z.ZodEnum<{
|
|
621
|
+
long: "long";
|
|
622
|
+
short: "short";
|
|
623
|
+
narrow: "narrow";
|
|
624
|
+
}>>;
|
|
625
|
+
year: z.ZodOptional<z.ZodEnum<{
|
|
626
|
+
numeric: "numeric";
|
|
627
|
+
"2-digit": "2-digit";
|
|
628
|
+
}>>;
|
|
629
|
+
month: z.ZodOptional<z.ZodEnum<{
|
|
630
|
+
long: "long";
|
|
631
|
+
short: "short";
|
|
632
|
+
narrow: "narrow";
|
|
633
|
+
numeric: "numeric";
|
|
634
|
+
"2-digit": "2-digit";
|
|
635
|
+
}>>;
|
|
636
|
+
day: z.ZodOptional<z.ZodEnum<{
|
|
637
|
+
numeric: "numeric";
|
|
638
|
+
"2-digit": "2-digit";
|
|
639
|
+
}>>;
|
|
640
|
+
dayPeriod: z.ZodOptional<z.ZodEnum<{
|
|
641
|
+
long: "long";
|
|
642
|
+
short: "short";
|
|
643
|
+
narrow: "narrow";
|
|
644
|
+
}>>;
|
|
645
|
+
hour: z.ZodOptional<z.ZodEnum<{
|
|
646
|
+
numeric: "numeric";
|
|
647
|
+
"2-digit": "2-digit";
|
|
648
|
+
}>>;
|
|
649
|
+
minute: z.ZodOptional<z.ZodEnum<{
|
|
650
|
+
numeric: "numeric";
|
|
651
|
+
"2-digit": "2-digit";
|
|
652
|
+
}>>;
|
|
653
|
+
second: z.ZodOptional<z.ZodEnum<{
|
|
654
|
+
numeric: "numeric";
|
|
655
|
+
"2-digit": "2-digit";
|
|
656
|
+
}>>;
|
|
657
|
+
timeZoneName: z.ZodOptional<z.ZodEnum<{
|
|
658
|
+
long: "long";
|
|
659
|
+
short: "short";
|
|
660
|
+
shortOffset: "shortOffset";
|
|
661
|
+
longOffset: "longOffset";
|
|
662
|
+
shortGeneric: "shortGeneric";
|
|
663
|
+
longGeneric: "longGeneric";
|
|
664
|
+
}>>;
|
|
665
|
+
}, z.core.$strict>>>;
|
|
666
|
+
}, z.core.$strict>>;
|
|
667
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
668
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
669
|
+
rawMessage: z.ZodOptional<z.ZodString>;
|
|
670
|
+
message: z.ZodOptional<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>;
|
|
671
|
+
}, z.core.$strict>>>;
|
|
672
|
+
}, z.core.$strict>;
|