ag-common 0.0.867 → 0.0.868
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/api/helpers/zod.js +0 -3
- package/package.json +1 -1
package/dist/api/helpers/zod.js
CHANGED
|
@@ -99,9 +99,6 @@ function zodTypeToCode(zodType) {
|
|
|
99
99
|
const optionsStr = options.map((opt) => zodTypeToCode(opt)).join(', ');
|
|
100
100
|
return `z.union([${optionsStr}])${describeChain}`;
|
|
101
101
|
}
|
|
102
|
-
if (typeName === 'ZodUndefined') {
|
|
103
|
-
return `z.undefined()${describeChain}`;
|
|
104
|
-
}
|
|
105
102
|
if (typeName === 'ZodRecord') {
|
|
106
103
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
107
104
|
const valueType = zodType._def.valueType;
|
package/package.json
CHANGED