ugcinc 3.74.0 → 3.75.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 +9 -5
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -991,21 +991,25 @@ export interface ObjectSchemaFieldLevel3 {
|
|
|
991
991
|
type: 'string' | 'number' | 'boolean';
|
|
992
992
|
}
|
|
993
993
|
/**
|
|
994
|
-
* Level 2 object schema field - can contain Level 3 nested objects
|
|
994
|
+
* Level 2 object schema field - can contain primitives, arrays of primitives, or Level 3 nested objects
|
|
995
995
|
*/
|
|
996
996
|
export interface ObjectSchemaFieldLevel2 {
|
|
997
997
|
name: string;
|
|
998
|
-
type: 'string' | 'number' | 'boolean' | 'object';
|
|
998
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
999
|
+
/** For arrays - the item type (primitives only at this level) */
|
|
1000
|
+
items?: 'string' | 'number' | 'boolean';
|
|
999
1001
|
/** For nested objects at level 2 - can only contain primitive fields */
|
|
1000
1002
|
objectSchema?: ObjectSchemaFieldLevel3[];
|
|
1001
1003
|
}
|
|
1002
1004
|
/**
|
|
1003
|
-
* Level 1 (top-level) object schema field - can contain Level 2 nested objects
|
|
1005
|
+
* Level 1 (top-level) object schema field - can contain primitives, arrays (including of objects), or Level 2 nested objects
|
|
1004
1006
|
*/
|
|
1005
1007
|
export interface ObjectSchemaField {
|
|
1006
1008
|
name: string;
|
|
1007
|
-
type: 'string' | 'number' | 'boolean' | 'object';
|
|
1008
|
-
/** For
|
|
1009
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
1010
|
+
/** For arrays - the item type */
|
|
1011
|
+
items?: 'string' | 'number' | 'boolean' | 'object';
|
|
1012
|
+
/** For nested objects or array of objects at level 1 - can contain up to one more level of nesting */
|
|
1009
1013
|
objectSchema?: ObjectSchemaFieldLevel2[];
|
|
1010
1014
|
}
|
|
1011
1015
|
/**
|