ugcinc 2.11.4 → 2.12.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 +16 -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, AutomationTemplate, AutomationRun, NodeRun, OutputSchemaProperty, } 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, AutomationTemplate, AutomationRun, NodeRun, OutputSchemaProperty, SelectionMode, ExhaustionBehavior, SelectionConfig, SelectionState, } from './types';
|
package/dist/types.d.ts
CHANGED
|
@@ -538,6 +538,20 @@ export interface RenderJobStatus {
|
|
|
538
538
|
* Automation types
|
|
539
539
|
*/
|
|
540
540
|
export type MediaType = 'video' | 'image' | 'audio' | 'text';
|
|
541
|
+
/**
|
|
542
|
+
* Selection order configuration for media nodes
|
|
543
|
+
*/
|
|
544
|
+
export type SelectionMode = 'random' | 'sequential';
|
|
545
|
+
export type ExhaustionBehavior = 'restart' | 'error';
|
|
546
|
+
export interface SelectionConfig {
|
|
547
|
+
mode: SelectionMode;
|
|
548
|
+
enforceUniqueness: boolean;
|
|
549
|
+
exhaustionBehavior: ExhaustionBehavior;
|
|
550
|
+
}
|
|
551
|
+
export interface SelectionState {
|
|
552
|
+
usedIndices: number[];
|
|
553
|
+
currentIndex: number;
|
|
554
|
+
}
|
|
541
555
|
export interface NodePort {
|
|
542
556
|
id: string;
|
|
543
557
|
title: string;
|
|
@@ -570,6 +584,8 @@ export interface WorkflowNodeDefinition {
|
|
|
570
584
|
videoEditor?: VideoEditorConfig;
|
|
571
585
|
imageEditor?: ImageEditorConfig;
|
|
572
586
|
outputSchema?: Record<string, OutputSchemaProperty>;
|
|
587
|
+
selectionConfig?: SelectionConfig;
|
|
588
|
+
selectionState?: SelectionState;
|
|
573
589
|
};
|
|
574
590
|
}
|
|
575
591
|
export interface WorkflowDefinition {
|