ugcinc 2.28.0 → 2.29.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 +11 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -371,6 +371,16 @@ export interface BaseSegmentProps {
|
|
|
371
371
|
endTrim?: number;
|
|
372
372
|
/** Override segment duration (auto-calculated if omitted) */
|
|
373
373
|
duration?: TimeValue;
|
|
374
|
+
/**
|
|
375
|
+
* Overlay support - if parentId is set, this segment's timing is relative to the parent.
|
|
376
|
+
* The segment will appear on top of the parent segment during the specified time range.
|
|
377
|
+
*/
|
|
378
|
+
/** ID of the parent segment this overlays (timing calculated relative to parent) */
|
|
379
|
+
parentId?: string;
|
|
380
|
+
/** Start time as fraction of parent duration (0-1, default: 0). Only used when parentId is set. */
|
|
381
|
+
relativeStart?: number;
|
|
382
|
+
/** End time as fraction of parent duration (0-1, default: 1). Only used when parentId is set. */
|
|
383
|
+
relativeEnd?: number;
|
|
374
384
|
}
|
|
375
385
|
/**
|
|
376
386
|
* Visual segment properties (video, image, text, editor)
|
|
@@ -712,7 +722,7 @@ export interface CreateSocialAudioParams {
|
|
|
712
722
|
export interface CreateMediaFromUrlParams {
|
|
713
723
|
urls: string[];
|
|
714
724
|
names?: string[];
|
|
715
|
-
previewUrls?: string[];
|
|
725
|
+
previewUrls?: (string | undefined)[];
|
|
716
726
|
tag?: string;
|
|
717
727
|
}
|
|
718
728
|
export interface GetUploadTokenParams {
|