ugcinc 2.14.2 → 2.16.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/index.d.ts +1 -1
- package/dist/types.d.ts +12 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ export { OrganizationClient } from './org';
|
|
|
12
12
|
export { RenderClient } from './render';
|
|
13
13
|
export { AutomationsClient, getAllNodes, getNodeByType } from './automations';
|
|
14
14
|
export type { ClientConfig, } from './base';
|
|
15
|
-
export type { SuccessResponse, ErrorResponse, ApiResponse, Account, AccountStat, AccountTask, EditProfileInfo, Task, TaskType, Post, PostType, PostStat, ApiKey, EditorConfig, VideoEditorConfig, ImageEditorConfig, EditorChannel, TimeValue, BaseSegmentProps, VisualSegmentProps, EditorSegment, VideoSegment, AudioSegment, ImageSegment, TextSegment, StaticSegment, RenderJobSubmit, RenderVideoRequest, RenderImageRequest, RenderJobResponse, RenderJobStatus, GetAccountsParams, GetAccountStatsParams, GetAccountStatusParams, UpdateAccountInfoParams, UpdateAccountSocialParams, GetTasksParams, GetPostsParams, CreateSlideshowParams, GetPostStatsParams, GetPostStatusParams, CreateVideoParams, RefreshStatsParams, RefreshStatsResponse, RefreshStatsError, MediaType, NodePort, NodeControlConfig, NodeTypeEnum, WorkflowNodeDefinition, WorkflowDefinition, CanvasState, AutomationTemplate, AutomationRun, NodeRun, OutputSchemaProperty, SelectionMode, ExhaustionBehavior, SelectionConfig, SelectionState, } from './types';
|
|
15
|
+
export type { SuccessResponse, ErrorResponse, ApiResponse, Account, AccountStat, AccountTask, EditProfileInfo, Task, TaskType, Post, PostType, PostStat, ApiKey, EditorConfig, VideoEditorConfig, ImageEditorConfig, EditorChannel, TimeValue, BaseSegmentProps, VisualSegmentProps, EditorSegment, VideoSegment, AudioSegment, ImageSegment, TextSegment, StaticSegment, RenderJobSubmit, RenderVideoRequest, RenderImageRequest, RenderJobResponse, RenderJobStatus, GetAccountsParams, GetAccountStatsParams, GetAccountStatusParams, UpdateAccountInfoParams, UpdateAccountSocialParams, GetTasksParams, GetPostsParams, CreateSlideshowParams, GetPostStatsParams, GetPostStatusParams, CreateVideoParams, RefreshStatsParams, RefreshStatsResponse, RefreshStatsError, MediaType, NodePort, NodeControlConfig, NodeTypeEnum, WorkflowNodeDefinition, WorkflowDefinition, CanvasState, AutomationTemplate, AutomationRun, NodeRun, OutputSchemaProperty, SelectionMode, ExhaustionBehavior, SelectionConfig, SelectionState, OutputMode, } from './types';
|
package/dist/types.d.ts
CHANGED
|
@@ -552,6 +552,12 @@ export interface SelectionState {
|
|
|
552
552
|
usedIndices: number[];
|
|
553
553
|
currentIndex: number;
|
|
554
554
|
}
|
|
555
|
+
/**
|
|
556
|
+
* Output mode for source nodes (image, video, audio, text)
|
|
557
|
+
* - 'per-input': Generate a unique value for each consumer input (default)
|
|
558
|
+
* - 'single': Use the same value for all consumer inputs
|
|
559
|
+
*/
|
|
560
|
+
export type OutputMode = 'per-input' | 'single';
|
|
555
561
|
export interface NodePort {
|
|
556
562
|
id: string;
|
|
557
563
|
title: string;
|
|
@@ -565,6 +571,11 @@ export interface NodeControlConfig {
|
|
|
565
571
|
category: string;
|
|
566
572
|
inputs: NodePort[];
|
|
567
573
|
outputs: NodePort[];
|
|
574
|
+
/**
|
|
575
|
+
* If true, this node supports generating multiple unique outputs per run
|
|
576
|
+
* when outputMode is 'per-input'. Used for source nodes like image, audio, text.
|
|
577
|
+
*/
|
|
578
|
+
supportsPerInputMode?: boolean;
|
|
568
579
|
}
|
|
569
580
|
export type NodeTypeEnum = 'image' | 'video' | 'audio' | 'text' | 'image-editor' | 'video-editor' | 'llm' | 'output';
|
|
570
581
|
export interface OutputSchemaProperty {
|
|
@@ -589,6 +600,7 @@ export interface WorkflowNodeDefinition {
|
|
|
589
600
|
outputSchema?: Record<string, OutputSchemaProperty>;
|
|
590
601
|
selectionConfig?: SelectionConfig;
|
|
591
602
|
selectionState?: SelectionState;
|
|
603
|
+
outputMode?: OutputMode;
|
|
592
604
|
};
|
|
593
605
|
}
|
|
594
606
|
export interface CanvasState {
|