@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.js
CHANGED
|
@@ -4358,6 +4358,8 @@ var validateValue = (field, value) => {
|
|
|
4358
4358
|
return val instanceof Date || typeof val === "string";
|
|
4359
4359
|
case "datetime":
|
|
4360
4360
|
return val instanceof Date || typeof val === "string";
|
|
4361
|
+
case "json":
|
|
4362
|
+
return typeof val === "object" || typeof val === "string";
|
|
4361
4363
|
default:
|
|
4362
4364
|
return false;
|
|
4363
4365
|
}
|