ugcinc 3.2.3 → 3.3.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.
Files changed (2) hide show
  1. package/dist/types.d.ts +10 -2
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -840,8 +840,16 @@ export interface LLMOutputField {
840
840
  description?: string;
841
841
  /** Output type */
842
842
  type: 'string' | 'number' | 'boolean' | 'array';
843
- /** For array types - the item type */
844
- items?: 'string' | 'number' | 'boolean';
843
+ /** For array types - the item type (including 'object' for arrays of objects) */
844
+ items?: 'string' | 'number' | 'boolean' | 'object';
845
+ /** For array of objects - nested field definitions (max 2 levels of nesting) */
846
+ objectSchema?: LLMOutputField[];
847
+ /** Exact array length constraint */
848
+ length?: number;
849
+ /** Minimum array length constraint */
850
+ minLength?: number;
851
+ /** Maximum array length constraint */
852
+ maxLength?: number;
845
853
  }
846
854
  /**
847
855
  * API Keys configuration for LLM providers (user can bring their own)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "3.2.3",
3
+ "version": "3.3.0",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",