Commit 27ccaf1
committed
3.25.27. Use for override. Add .value to ZodLiteral.
1 parent d93271e commit 27ccaf1Copy full SHA for 27ccaf1
File tree
Expand file treeCollapse file tree
8 files changed
+29
-15
lines changedOpen diff view settings
Filter options
- packages
- docs/content
- zod
- src/v4
- classic
- tests
- core
Expand file treeCollapse file tree
8 files changed
+29
-15
lines changedOpen diff view settings
Collapse file
packages/docs/content/error-customization.mdx
Copy file name to clipboardExpand all lines: packages/docs/content/error-customization.mdx+6-6Lines changed: 6 additions & 6 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
181 | 181 | |
182 | 182 | |
183 | 183 | |
184 | | - |
185 | | - |
186 | | - |
187 | | - |
188 | | - |
| 184 | + |
| 185 | + |
| 186 | + |
| 187 | + |
| 188 | + |
189 | 189 | |
190 | 190 | |
191 | | - |
| 191 | + |
192 | 192 | |
193 | 193 | |
194 | 194 | |
|
Collapse file
packages/docs/content/json-schema.mdx
Copy file name to clipboardExpand all lines: packages/docs/content/json-schema.mdx+1Lines changed: 1 addition & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
414 | 414 | |
415 | 415 | |
416 | 416 | |
| 417 | + |
417 | 418 | |
418 | 419 | |
419 | 420 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | 6 | |
|
Collapse file
packages/zod/src/v4/classic/schemas.ts
Copy file name to clipboardExpand all lines: packages/zod/src/v4/classic/schemas.ts+10Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1540 | 1540 | |
1541 | 1541 | |
1542 | 1542 | |
| 1543 | + |
| 1544 | + |
1543 | 1545 | |
1544 | 1546 | |
1545 | 1547 | |
1546 | 1548 | |
1547 | 1549 | |
| 1550 | + |
| 1551 | + |
| 1552 | + |
| 1553 | + |
| 1554 | + |
| 1555 | + |
| 1556 | + |
| 1557 | + |
1548 | 1558 | |
1549 | 1559 | |
1550 | 1560 | |
|
Collapse file
packages/zod/src/v4/classic/tests/literal.test.ts
Copy file name to clipboardExpand all lines: packages/zod/src/v4/classic/tests/literal.test.ts+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
80 | 80 | |
81 | 81 | |
82 | 82 | |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
Collapse file
packages/zod/src/v4/core/schemas.ts
Copy file name to clipboardExpand all lines: packages/zod/src/v4/core/schemas.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2777 | 2777 | |
2778 | 2778 | |
2779 | 2779 | |
2780 | | - |
| 2780 | + |
2781 | 2781 | |
2782 | 2782 | |
2783 | 2783 | |
|
Collapse file
packages/zod/src/v4/core/to-json-schema.ts
Copy file name to clipboardExpand all lines: packages/zod/src/v4/core/to-json-schema.ts+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
| 19 | + |
20 | 20 | |
21 | 21 | |
22 | 22 | |
| ||
73 | 73 | |
74 | 74 | |
75 | 75 | |
76 | | - |
| 76 | + |
77 | 77 | |
78 | 78 | |
79 | 79 | |
| ||
694 | 694 | |
695 | 695 | |
696 | 696 | |
697 | | - |
| 697 | + |
698 | 698 | |
699 | 699 | |
700 | 700 | |
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
2 | 2 | |
3 | | - |
4 | | - |
5 | | - |
| 3 | + |
0 commit comments