@ax-llm/ax 11.0.14 → 11.0.15
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.cjs +2 -0
- package/index.cjs.map +1 -1
- package/index.js +2 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -4460,6 +4460,8 @@ var validateValue = (field, value) => {
|
|
|
4460
4460
|
return val instanceof Date || typeof val === "string";
|
|
4461
4461
|
case "datetime":
|
|
4462
4462
|
return val instanceof Date || typeof val === "string";
|
|
4463
|
+
case "json":
|
|
4464
|
+
return typeof val === "object" || typeof val === "string";
|
|
4463
4465
|
default:
|
|
4464
4466
|
return false;
|
|
4465
4467
|
}
|