@teleporthq/teleport-uidl-validator
Advanced tools
Comparing version 0.32.3 to 0.32.4
@@ -65,4 +65,3 @@ "use strict"; | ||
name: (0, json_type_validation_1.string)(), | ||
valuePath: (0, json_type_validation_1.optional)((0, json_type_validation_1.array)((0, json_type_validation_1.string)())), | ||
itemValuePath: (0, json_type_validation_1.optional)((0, json_type_validation_1.array)((0, json_type_validation_1.string)())), | ||
valuePath: (0, json_type_validation_1.withDefault)([], (0, json_type_validation_1.array)((0, json_type_validation_1.string)())), | ||
}), | ||
@@ -450,3 +449,3 @@ resource: (0, json_type_validation_1.union)((0, json_type_validation_1.object)({ | ||
renderPropIdentifier: (0, json_type_validation_1.string)(), | ||
valuePath: (0, json_type_validation_1.optional)((0, json_type_validation_1.array)((0, json_type_validation_1.string)())), | ||
valuePath: (0, json_type_validation_1.withDefault)([], (0, json_type_validation_1.array)((0, json_type_validation_1.string)())), | ||
itemValuePath: (0, json_type_validation_1.optional)((0, json_type_validation_1.array)((0, json_type_validation_1.string)())), | ||
@@ -474,3 +473,3 @@ resource: (0, json_type_validation_1.optional)(exports.uidlResourceLinkDecoder), | ||
itemValuePath: (0, json_type_validation_1.optional)((0, json_type_validation_1.array)((0, json_type_validation_1.string)())), | ||
valuePath: (0, json_type_validation_1.optional)((0, json_type_validation_1.array)((0, json_type_validation_1.string)())), | ||
valuePath: (0, json_type_validation_1.withDefault)([], (0, json_type_validation_1.array)((0, json_type_validation_1.string)())), | ||
resource: (0, json_type_validation_1.optional)(exports.uidlResourceLinkDecoder), | ||
@@ -477,0 +476,0 @@ initialData: (0, json_type_validation_1.optional)((0, json_type_validation_1.lazy)(function () { return exports.dyamicFunctionParam; })), |
@@ -61,4 +61,3 @@ import { object, string, dict, constant, number, optional, union, boolean, array, lazy, oneOf, intersection, withDefault, anyJson, } from '@mojotech/json-type-validation'; | ||
name: string(), | ||
valuePath: optional(array(string())), | ||
itemValuePath: optional(array(string())), | ||
valuePath: withDefault([], array(string())), | ||
}), | ||
@@ -446,3 +445,3 @@ resource: union(object({ | ||
renderPropIdentifier: string(), | ||
valuePath: optional(array(string())), | ||
valuePath: withDefault([], array(string())), | ||
itemValuePath: optional(array(string())), | ||
@@ -470,3 +469,3 @@ resource: optional(uidlResourceLinkDecoder), | ||
itemValuePath: optional(array(string())), | ||
valuePath: optional(array(string())), | ||
valuePath: withDefault([], array(string())), | ||
resource: optional(uidlResourceLinkDecoder), | ||
@@ -473,0 +472,0 @@ initialData: optional(lazy(function () { return dyamicFunctionParam; })), |
{ | ||
"name": "@teleporthq/teleport-uidl-validator", | ||
"version": "0.32.3", | ||
"version": "0.32.4", | ||
"description": "A module that offers validation and parsing for non-standard UIDL structures", | ||
@@ -28,6 +28,6 @@ "author": "teleportHQ", | ||
"@mojotech/json-type-validation": "^3.1.0", | ||
"@teleporthq/teleport-shared": "^0.32.3", | ||
"@teleporthq/teleport-types": "^0.32.3" | ||
"@teleporthq/teleport-shared": "^0.32.4", | ||
"@teleporthq/teleport-types": "^0.32.4" | ||
}, | ||
"gitHead": "891708b576d816bfd3d47c8d894f64f654ccc903" | ||
"gitHead": "3cd81f19b5358e1b5f71e7c9ef610258fc3f0210" | ||
} |
@@ -190,4 +190,3 @@ import { | ||
name: string(), | ||
valuePath: optional(array(string())), | ||
itemValuePath: optional(array(string())), | ||
valuePath: withDefault([], array(string())), | ||
}), | ||
@@ -799,3 +798,3 @@ resource: union( | ||
renderPropIdentifier: string(), | ||
valuePath: optional(array(string())), | ||
valuePath: withDefault([], array(string())), | ||
itemValuePath: optional(array(string())), | ||
@@ -824,3 +823,3 @@ resource: optional(uidlResourceLinkDecoder), | ||
itemValuePath: optional(array(string())), | ||
valuePath: optional(array(string())), | ||
valuePath: withDefault([], array(string())), | ||
resource: optional(uidlResourceLinkDecoder), | ||
@@ -827,0 +826,0 @@ initialData: optional(lazy(() => dyamicFunctionParam)), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
543759
8599