ugcinc 3.74.0 → 3.76.0
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/types.d.ts +13 -6
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -796,7 +796,10 @@ export interface NodeOutputValues {
|
|
|
796
796
|
* Schema definition for a property within an array item
|
|
797
797
|
*/
|
|
798
798
|
export interface PropertySchema {
|
|
799
|
-
type: 'string' | 'number' | 'boolean' | 'object';
|
|
799
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
800
|
+
/** For arrays - the item type */
|
|
801
|
+
items?: 'string' | 'number' | 'boolean' | 'object';
|
|
802
|
+
/** For nested objects or array of objects */
|
|
800
803
|
itemSchema?: Record<string, PropertySchema>;
|
|
801
804
|
}
|
|
802
805
|
export interface NodePort {
|
|
@@ -991,21 +994,25 @@ export interface ObjectSchemaFieldLevel3 {
|
|
|
991
994
|
type: 'string' | 'number' | 'boolean';
|
|
992
995
|
}
|
|
993
996
|
/**
|
|
994
|
-
* Level 2 object schema field - can contain Level 3 nested objects
|
|
997
|
+
* Level 2 object schema field - can contain primitives, arrays of primitives, or Level 3 nested objects
|
|
995
998
|
*/
|
|
996
999
|
export interface ObjectSchemaFieldLevel2 {
|
|
997
1000
|
name: string;
|
|
998
|
-
type: 'string' | 'number' | 'boolean' | 'object';
|
|
1001
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
1002
|
+
/** For arrays - the item type (primitives only at this level) */
|
|
1003
|
+
items?: 'string' | 'number' | 'boolean';
|
|
999
1004
|
/** For nested objects at level 2 - can only contain primitive fields */
|
|
1000
1005
|
objectSchema?: ObjectSchemaFieldLevel3[];
|
|
1001
1006
|
}
|
|
1002
1007
|
/**
|
|
1003
|
-
* Level 1 (top-level) object schema field - can contain Level 2 nested objects
|
|
1008
|
+
* Level 1 (top-level) object schema field - can contain primitives, arrays (including of objects), or Level 2 nested objects
|
|
1004
1009
|
*/
|
|
1005
1010
|
export interface ObjectSchemaField {
|
|
1006
1011
|
name: string;
|
|
1007
|
-
type: 'string' | 'number' | 'boolean' | 'object';
|
|
1008
|
-
/** For
|
|
1012
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
1013
|
+
/** For arrays - the item type */
|
|
1014
|
+
items?: 'string' | 'number' | 'boolean' | 'object';
|
|
1015
|
+
/** For nested objects or array of objects at level 1 - can contain up to one more level of nesting */
|
|
1009
1016
|
objectSchema?: ObjectSchemaFieldLevel2[];
|
|
1010
1017
|
}
|
|
1011
1018
|
/**
|