ugcinc 2.90.0 → 2.91.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 +10 -12
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -930,31 +930,29 @@ export interface ManualTriggerOutput {
|
|
|
930
930
|
type: 'image' | 'video' | 'audio' | 'text' | 'social_audio' | 'account';
|
|
931
931
|
}
|
|
932
932
|
/**
|
|
933
|
-
* Iteration mode for trigger nodes with
|
|
934
|
-
* - 'fan-out': Spawn all runs simultaneously (one per
|
|
935
|
-
* - 'sequential': One
|
|
933
|
+
* Iteration mode for trigger nodes with account iteration
|
|
934
|
+
* - 'fan-out': Spawn all runs simultaneously (one per account)
|
|
935
|
+
* - 'sequential': One account per trigger fire, cycling through the collection
|
|
936
936
|
*/
|
|
937
937
|
export type TriggerIterationMode = 'fan-out' | 'sequential';
|
|
938
938
|
/**
|
|
939
|
-
* Behavior when sequential iteration exhausts all
|
|
939
|
+
* Behavior when sequential iteration exhausts all accounts
|
|
940
940
|
* - 'repeat': Start from the beginning of the collection
|
|
941
941
|
* - 'stop': Stop the automation (disable schedule for recurrence)
|
|
942
942
|
*/
|
|
943
943
|
export type IterationExhaustionBehavior = 'repeat' | 'stop';
|
|
944
944
|
/**
|
|
945
|
-
*
|
|
946
|
-
* When enabled, the trigger iterates over a collection
|
|
945
|
+
* Account iteration configuration for trigger nodes
|
|
946
|
+
* When enabled, the trigger iterates over a collection of accounts
|
|
947
947
|
*/
|
|
948
948
|
export interface TriggerCollectionConfig {
|
|
949
|
-
/** Whether
|
|
949
|
+
/** Whether account iteration is enabled */
|
|
950
950
|
enabled: boolean;
|
|
951
|
-
/** How to iterate over the
|
|
951
|
+
/** How to iterate over the accounts */
|
|
952
952
|
iterationMode: TriggerIterationMode;
|
|
953
|
-
/** What to do when sequential iteration exhausts all
|
|
953
|
+
/** What to do when sequential iteration exhausts all accounts */
|
|
954
954
|
exhaustionBehavior?: IterationExhaustionBehavior;
|
|
955
|
-
/**
|
|
956
|
-
elementType: 'account';
|
|
957
|
-
/** Account IDs to iterate over (for elementType='account') */
|
|
955
|
+
/** Account IDs to iterate over */
|
|
958
956
|
accountIds?: string[];
|
|
959
957
|
}
|
|
960
958
|
/**
|