@adobe/premierepro 26.3.0-beta.65 → 26.3.0-beta.85
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 +2 -2
- package/src/premierepro.d.ts +30 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/premierepro",
|
|
3
|
-
"version": "26.3.0-beta.
|
|
3
|
+
"version": "26.3.0-beta.85",
|
|
4
4
|
"description": "The TypeScript definitions and declarations for UXP APIs in Premiere",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"bugs": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
],
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"engines": {
|
|
27
|
-
"node": ">=
|
|
27
|
+
"node": ">=20.0.0"
|
|
28
28
|
},
|
|
29
29
|
"types": "./src/premierepro.d.ts",
|
|
30
30
|
"exports": {
|
package/src/premierepro.d.ts
CHANGED
|
@@ -131,7 +131,7 @@ export declare type AAFExportOptions = {
|
|
|
131
131
|
*
|
|
132
132
|
* @param audioFileFormat
|
|
133
133
|
*/
|
|
134
|
-
setAudioFileFormat(audioFileFormat:
|
|
134
|
+
setAudioFileFormat(audioFileFormat: Constants.AAFExportAudioFormat): AAFExportOptions;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
* Set whether to trim sources
|
|
@@ -836,6 +836,23 @@ export declare type ClipProjectItem = {
|
|
|
836
836
|
*/
|
|
837
837
|
changeMediaFilePath(newPath: string, overrideCompatibilityCheck?: boolean): Promise<boolean>;
|
|
838
838
|
|
|
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 }.
|
|
841
|
+
*
|
|
842
|
+
* @param name
|
|
843
|
+
* @param startTime
|
|
844
|
+
* @param endTime
|
|
845
|
+
* @param hasHardBoundaries
|
|
846
|
+
* @param options
|
|
847
|
+
*/
|
|
848
|
+
createSubClipAction(
|
|
849
|
+
name: string,
|
|
850
|
+
startTime: TickTime,
|
|
851
|
+
endTime: TickTime,
|
|
852
|
+
hasHardBoundaries: boolean,
|
|
853
|
+
options?: object
|
|
854
|
+
): Action;
|
|
855
|
+
|
|
839
856
|
/**
|
|
840
857
|
* Returns true if the clip Project item is a merged clip
|
|
841
858
|
*/
|
|
@@ -3726,6 +3743,13 @@ export declare type SourceMonitorStatic = {
|
|
|
3726
3743
|
*/
|
|
3727
3744
|
getPosition(): Promise<TickTime>;
|
|
3728
3745
|
|
|
3746
|
+
/**
|
|
3747
|
+
* Set position of source monitor to the given TickTime
|
|
3748
|
+
*
|
|
3749
|
+
* @param position
|
|
3750
|
+
*/
|
|
3751
|
+
setPosition(position: TickTime): Promise<boolean>;
|
|
3752
|
+
|
|
3729
3753
|
/**
|
|
3730
3754
|
* Play clip at source monitor with input speed
|
|
3731
3755
|
*
|
|
@@ -4438,6 +4462,11 @@ export declare type TranscriptStatic = {
|
|
|
4438
4462
|
export declare type Transcript = {};
|
|
4439
4463
|
|
|
4440
4464
|
export namespace Constants {
|
|
4465
|
+
export enum AAFExportAudioFormat {
|
|
4466
|
+
AIFF,
|
|
4467
|
+
WAV,
|
|
4468
|
+
}
|
|
4469
|
+
|
|
4441
4470
|
export enum AudioChannelType {
|
|
4442
4471
|
MONO,
|
|
4443
4472
|
STEREO,
|