@adobe/premierepro 26.3.0-beta.85 → 26.5.0-beta.29
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 +1 -1
- package/src/premierepro.d.ts +84 -28
package/package.json
CHANGED
package/src/premierepro.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export declare type premierepro = {
|
|
|
40
40
|
Marker: MarkerStatic;
|
|
41
41
|
Markers: MarkersStatic;
|
|
42
42
|
Media: Media;
|
|
43
|
+
MediaManager: MediaManagerStatic;
|
|
43
44
|
Metadata: MetadataStatic;
|
|
44
45
|
ObjectMaskUtils: ObjectMaskUtilsStatic;
|
|
45
46
|
OpenProjectOptions: OpenProjectOptions;
|
|
@@ -78,6 +79,7 @@ export declare type premierepro = {
|
|
|
78
79
|
VideoFilterFactory: VideoFilterFactoryStatic;
|
|
79
80
|
VideoTrack: VideoTrackStatic;
|
|
80
81
|
VideoTransition: VideoTransitionStatic;
|
|
82
|
+
WorkAreaUtils: WorkAreaUtilsStatic;
|
|
81
83
|
EventManager: EventManagerStatic;
|
|
82
84
|
Transcript: TranscriptStatic;
|
|
83
85
|
Constants: typeof Constants;
|
|
@@ -313,7 +315,7 @@ export declare type AddTransitionOptions = {
|
|
|
313
315
|
|
|
314
316
|
export declare type AppPreferenceStatic = {
|
|
315
317
|
/**
|
|
316
|
-
* Set backend preference using
|
|
318
|
+
* Set backend preference using one of the available property keys
|
|
317
319
|
*
|
|
318
320
|
* @param key App preference key to set
|
|
319
321
|
* @param value Value to set for the preference key
|
|
@@ -632,7 +634,7 @@ export declare type AudioTrack = {
|
|
|
632
634
|
*
|
|
633
635
|
* @param name
|
|
634
636
|
*/
|
|
635
|
-
createSetNameAction(name: string):
|
|
637
|
+
createSetNameAction(name: string): Action;
|
|
636
638
|
|
|
637
639
|
/**
|
|
638
640
|
* sets the mute state of the track to muted/unmuted
|
|
@@ -688,7 +690,7 @@ export declare type CaptionTrack = {
|
|
|
688
690
|
*
|
|
689
691
|
* @param name
|
|
690
692
|
*/
|
|
691
|
-
createSetNameAction(name: string):
|
|
693
|
+
createSetNameAction(name: string): Action;
|
|
692
694
|
|
|
693
695
|
/**
|
|
694
696
|
* sets the mute state of the track to muted/unmuted
|
|
@@ -837,7 +839,7 @@ export declare type ClipProjectItem = {
|
|
|
837
839
|
changeMediaFilePath(newPath: string, overrideCompatibilityCheck?: boolean): Promise<boolean>;
|
|
838
840
|
|
|
839
841
|
/**
|
|
840
|
-
* Returns a deferred Action that creates a subclip when committed inside a transaction. hasHardBoundaries: if true, prevents trimming beyond the subclip boundaries.
|
|
842
|
+
* 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
843
|
*
|
|
842
844
|
* @param name
|
|
843
845
|
* @param startTime
|
|
@@ -850,7 +852,7 @@ export declare type ClipProjectItem = {
|
|
|
850
852
|
startTime: TickTime,
|
|
851
853
|
endTime: TickTime,
|
|
852
854
|
hasHardBoundaries: boolean,
|
|
853
|
-
options?:
|
|
855
|
+
options?: { takeVideo?: boolean; takeAudio?: boolean }
|
|
854
856
|
): Action;
|
|
855
857
|
|
|
856
858
|
/**
|
|
@@ -927,11 +929,13 @@ export declare type ClipProjectItem = {
|
|
|
927
929
|
getMediaFilePath(): Promise<string>;
|
|
928
930
|
|
|
929
931
|
/**
|
|
930
|
-
* Get the
|
|
932
|
+
* Get the component chain of the Project item for the given media type.
|
|
931
933
|
*
|
|
932
|
-
* @param mediaType Media type can be audio
|
|
934
|
+
* @param mediaType Media type can be audio or video
|
|
933
935
|
*/
|
|
934
|
-
getComponentChain(
|
|
936
|
+
getComponentChain(
|
|
937
|
+
mediaType: Constants.MediaType
|
|
938
|
+
): Promise<AudioComponentChain | VideoComponentChain | null>;
|
|
935
939
|
|
|
936
940
|
/**
|
|
937
941
|
* Returns an action which Sets the in point of the Project item
|
|
@@ -943,17 +947,17 @@ export declare type ClipProjectItem = {
|
|
|
943
947
|
/**
|
|
944
948
|
* Returns an action which sets Override pixel aspect ratio
|
|
945
949
|
*
|
|
946
|
-
* @param
|
|
947
|
-
* @param
|
|
950
|
+
* @param numerator
|
|
951
|
+
* @param denominator
|
|
948
952
|
*/
|
|
949
|
-
createSetOverridePixelAspectRatioAction(
|
|
953
|
+
createSetOverridePixelAspectRatioAction(numerator: number, denominator: number): Action;
|
|
950
954
|
|
|
951
955
|
/**
|
|
952
956
|
* Returns an action which sets the override frame rate
|
|
953
957
|
*
|
|
954
|
-
* @param
|
|
958
|
+
* @param overriddenFrameRateValue
|
|
955
959
|
*/
|
|
956
|
-
createSetOverrideFrameRateAction(
|
|
960
|
+
createSetOverrideFrameRateAction(overriddenFrameRateValue: number): Action;
|
|
957
961
|
|
|
958
962
|
/**
|
|
959
963
|
* Returns an action which Sets the in point of the Project item
|
|
@@ -1953,7 +1957,7 @@ export declare type Marker = {
|
|
|
1953
1957
|
/**
|
|
1954
1958
|
* Return an action to set the type of the marker.
|
|
1955
1959
|
*
|
|
1956
|
-
* @param markerType
|
|
1960
|
+
* @param markerType Can be set to "Comment", "Chapter", "Segmentation", or "WebLink"
|
|
1957
1961
|
*/
|
|
1958
1962
|
createSetTypeAction(markerType: string): Action;
|
|
1959
1963
|
|
|
@@ -2006,14 +2010,14 @@ export declare type Markers = {
|
|
|
2006
2010
|
/**
|
|
2007
2011
|
* Add a new marker
|
|
2008
2012
|
*
|
|
2009
|
-
* @param
|
|
2013
|
+
* @param name
|
|
2010
2014
|
* @param markerType
|
|
2011
2015
|
* @param startTime
|
|
2012
2016
|
* @param duration
|
|
2013
2017
|
* @param comments
|
|
2014
2018
|
*/
|
|
2015
2019
|
createAddMarkerAction(
|
|
2016
|
-
|
|
2020
|
+
name: string,
|
|
2017
2021
|
markerType?: string,
|
|
2018
2022
|
startTime?: TickTime,
|
|
2019
2023
|
duration?: TickTime,
|
|
@@ -2042,6 +2046,15 @@ export declare type Media = {
|
|
|
2042
2046
|
readonly duration: TickTime;
|
|
2043
2047
|
};
|
|
2044
2048
|
|
|
2049
|
+
export declare type MediaManagerStatic = {
|
|
2050
|
+
/**
|
|
2051
|
+
* Flush the media cache.
|
|
2052
|
+
*/
|
|
2053
|
+
purgeMediaCache(): Promise<boolean>;
|
|
2054
|
+
};
|
|
2055
|
+
|
|
2056
|
+
export declare type MediaManager = {};
|
|
2057
|
+
|
|
2045
2058
|
export declare type MetadataStatic = {
|
|
2046
2059
|
/**
|
|
2047
2060
|
* Get project metadata
|
|
@@ -2389,7 +2402,7 @@ export declare type Project = {
|
|
|
2389
2402
|
createSequenceWithPresetPath(name: string, presetPath: string): Promise<Sequence>;
|
|
2390
2403
|
|
|
2391
2404
|
/**
|
|
2392
|
-
* Create a new sequence with a given name and
|
|
2405
|
+
* Create a new sequence with a given name and media
|
|
2393
2406
|
*
|
|
2394
2407
|
* @param name
|
|
2395
2408
|
* @param clipProjectItems
|
|
@@ -2443,16 +2456,16 @@ export declare type Project = {
|
|
|
2443
2456
|
*
|
|
2444
2457
|
* @param aepPath
|
|
2445
2458
|
* @param compNames
|
|
2446
|
-
* @param
|
|
2459
|
+
* @param targetBin
|
|
2447
2460
|
*/
|
|
2448
|
-
importAEComps(aepPath: string, compNames: string[],
|
|
2461
|
+
importAEComps(aepPath: string, compNames: string[], targetBin?: ProjectItem): Promise<boolean>;
|
|
2449
2462
|
|
|
2450
2463
|
/**
|
|
2451
2464
|
*
|
|
2452
2465
|
* @param aepPath
|
|
2453
|
-
* @param
|
|
2466
|
+
* @param targetBin
|
|
2454
2467
|
*/
|
|
2455
|
-
importAllAEComps(aepPath: string,
|
|
2468
|
+
importAllAEComps(aepPath: string, targetBin?: ProjectItem): Promise<boolean>;
|
|
2456
2469
|
|
|
2457
2470
|
/**
|
|
2458
2471
|
* Import files in root/target bin of the project
|
|
@@ -2506,7 +2519,7 @@ export declare type Project = {
|
|
|
2506
2519
|
getRootItem(): Promise<FolderItem>;
|
|
2507
2520
|
|
|
2508
2521
|
/**
|
|
2509
|
-
*
|
|
2522
|
+
* Pauses or resumes monitoring of actively-captured (growing) media files in the project. When paused, Premiere stops refreshing clips whose source files are still being written to disk, allowing stable playback at the current captured duration. Pass true to pause, false to resume.
|
|
2510
2523
|
*
|
|
2511
2524
|
* @param pause
|
|
2512
2525
|
*/
|
|
@@ -2908,7 +2921,7 @@ export declare type Properties = {
|
|
|
2908
2921
|
getValue(name: string): string;
|
|
2909
2922
|
|
|
2910
2923
|
/**
|
|
2911
|
-
* Create an action to set a named value through scripting.
|
|
2924
|
+
* Create an action to set a named value through scripting. This method can fail if e.g. the underlying properties object does not support action based setting of properties.
|
|
2912
2925
|
*
|
|
2913
2926
|
* @param name property name
|
|
2914
2927
|
* @param value Value to set for the property key
|
|
@@ -3103,7 +3116,7 @@ export declare type Sequence = {
|
|
|
3103
3116
|
getSettings(): Promise<SequenceSettings>;
|
|
3104
3117
|
|
|
3105
3118
|
/**
|
|
3106
|
-
* Returns action that
|
|
3119
|
+
* Returns an action that updates the settings for the sequence.
|
|
3107
3120
|
*
|
|
3108
3121
|
* @param sequenceSettings
|
|
3109
3122
|
*/
|
|
@@ -3137,12 +3150,12 @@ export declare type Sequence = {
|
|
|
3137
3150
|
getEndTime(): Promise<TickTime>;
|
|
3138
3151
|
|
|
3139
3152
|
/**
|
|
3140
|
-
* Get time representing the
|
|
3153
|
+
* Get time representing the in point of the sequence.
|
|
3141
3154
|
*/
|
|
3142
3155
|
getInPoint(): Promise<TickTime>;
|
|
3143
3156
|
|
|
3144
3157
|
/**
|
|
3145
|
-
* Get time representing the
|
|
3158
|
+
* Get time representing the out point of the sequence.
|
|
3146
3159
|
*/
|
|
3147
3160
|
getOutPoint(): Promise<TickTime>;
|
|
3148
3161
|
|
|
@@ -3154,7 +3167,7 @@ export declare type Sequence = {
|
|
|
3154
3167
|
createSetInPointAction(tickTime: TickTime): Action;
|
|
3155
3168
|
|
|
3156
3169
|
/**
|
|
3157
|
-
* Create an action to set
|
|
3170
|
+
* Create an action to set the zero point for the sequence.
|
|
3158
3171
|
*
|
|
3159
3172
|
* @param tickTime
|
|
3160
3173
|
*/
|
|
@@ -4280,7 +4293,7 @@ export declare type VideoTrack = {
|
|
|
4280
4293
|
*
|
|
4281
4294
|
* @param name
|
|
4282
4295
|
*/
|
|
4283
|
-
createSetNameAction(name: string):
|
|
4296
|
+
createSetNameAction(name: string): Action;
|
|
4284
4297
|
|
|
4285
4298
|
/**
|
|
4286
4299
|
* sets the mute state of the track to muted/unmuted
|
|
@@ -4344,6 +4357,49 @@ export declare type VideoTransitionStatic = {
|
|
|
4344
4357
|
|
|
4345
4358
|
export declare type VideoTransition = {};
|
|
4346
4359
|
|
|
4360
|
+
export declare type WorkAreaUtilsStatic = {
|
|
4361
|
+
/**
|
|
4362
|
+
* Get the work area in point of the sequence.
|
|
4363
|
+
*
|
|
4364
|
+
* @param sequence
|
|
4365
|
+
*/
|
|
4366
|
+
getWorkAreaInPoint(sequence: Sequence): TickTime;
|
|
4367
|
+
|
|
4368
|
+
/**
|
|
4369
|
+
* Get the work area out point of the sequence.
|
|
4370
|
+
*
|
|
4371
|
+
* @param sequence
|
|
4372
|
+
*/
|
|
4373
|
+
getWorkAreaOutPoint(sequence: Sequence): TickTime;
|
|
4374
|
+
|
|
4375
|
+
/**
|
|
4376
|
+
* Set the work area in point of the sequence.
|
|
4377
|
+
*
|
|
4378
|
+
* @param sequence
|
|
4379
|
+
* @param tickTime
|
|
4380
|
+
*/
|
|
4381
|
+
setWorkAreaInPoint(sequence: Sequence, tickTime: TickTime): boolean;
|
|
4382
|
+
|
|
4383
|
+
/**
|
|
4384
|
+
* Set the work area out point of the sequence.
|
|
4385
|
+
*
|
|
4386
|
+
* @param sequence
|
|
4387
|
+
* @param tickTime
|
|
4388
|
+
*/
|
|
4389
|
+
setWorkAreaOutPoint(sequence: Sequence, tickTime: TickTime): boolean;
|
|
4390
|
+
|
|
4391
|
+
/**
|
|
4392
|
+
* Set the work area in and out points of the sequence.
|
|
4393
|
+
*
|
|
4394
|
+
* @param sequence
|
|
4395
|
+
* @param inTickTime
|
|
4396
|
+
* @param outTickTime
|
|
4397
|
+
*/
|
|
4398
|
+
setWorkAreaInOutPoints(sequence: Sequence, inTickTime: TickTime, outTickTime: TickTime): boolean;
|
|
4399
|
+
};
|
|
4400
|
+
|
|
4401
|
+
export declare type WorkAreaUtils = {};
|
|
4402
|
+
|
|
4347
4403
|
export declare type EventManagerStatic = {
|
|
4348
4404
|
/**
|
|
4349
4405
|
* add event listener to target object
|