@xuda.io/xuda-studio-checker 1.0.19 → 1.0.20
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/index.mjs +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3972,8 +3972,8 @@ export const get_fields_z_schema = function (fields = {}, exclude_props = [], da
|
|
|
3972
3972
|
_z = z.enum(val.enum);
|
|
3973
3973
|
}
|
|
3974
3974
|
|
|
3975
|
-
if (data[
|
|
3976
|
-
_z = z.default(data[
|
|
3975
|
+
if (data[key]) {
|
|
3976
|
+
_z = z.default(data[key]);
|
|
3977
3977
|
}
|
|
3978
3978
|
|
|
3979
3979
|
let valid_values = '';
|