@adobe/premierepro 26.5.0-beta.3 → 26.5.0-beta.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/premierepro",
3
- "version": "26.5.0-beta.3",
3
+ "version": "26.5.0-beta.7",
4
4
  "description": "The TypeScript definitions and declarations for UXP APIs in Premiere",
5
5
  "license": "Apache-2.0",
6
6
  "bugs": {
@@ -837,7 +837,7 @@ export declare type ClipProjectItem = {
837
837
  changeMediaFilePath(newPath: string, overrideCompatibilityCheck?: boolean): Promise<boolean>;
838
838
 
839
839
  /**
840
- * Returns a deferred Action that creates a subclip when committed inside a transaction. hasHardBoundaries: if true, prevents trimming beyond the subclip boundaries. Accepts additional options (defaults to true): { takeVideo?: boolean, takeAudio?: boolean }.
840
+ * Returns a deferred Action that creates a subclip when committed inside a transaction. hasHardBoundaries: if true, prevents trimming beyond the subclip boundaries. Takes additional options (defaulting to true).
841
841
  *
842
842
  * @param name
843
843
  * @param startTime
@@ -850,7 +850,7 @@ export declare type ClipProjectItem = {
850
850
  startTime: TickTime,
851
851
  endTime: TickTime,
852
852
  hasHardBoundaries: boolean,
853
- options?: object
853
+ options?: { takeVideo?: boolean; takeAudio?: boolean }
854
854
  ): Action;
855
855
 
856
856
  /**
@@ -927,11 +927,13 @@ export declare type ClipProjectItem = {
927
927
  getMediaFilePath(): Promise<string>;
928
928
 
929
929
  /**
930
- * Get the media file path of the Project item.
930
+ * Get the component chain of the Project item for the given media type.
931
931
  *
932
- * @param mediaType Media type can be audio, video or data/caption
932
+ * @param mediaType Media type can be audio or video
933
933
  */
934
- getComponentChain(mediaType: Constants.MediaType): Promise<string>;
934
+ getComponentChain(
935
+ mediaType: Constants.MediaType
936
+ ): Promise<AudioComponentChain | VideoComponentChain | null>;
935
937
 
936
938
  /**
937
939
  * Returns an action which Sets the in point of the Project item