@adobe/premierepro 26.5.0-beta.29 → 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 +1 -1
- package/src/premierepro.d.ts +20 -74
package/package.json
CHANGED
package/src/premierepro.d.ts
CHANGED
|
@@ -40,7 +40,6 @@ export declare type premierepro = {
|
|
|
40
40
|
Marker: MarkerStatic;
|
|
41
41
|
Markers: MarkersStatic;
|
|
42
42
|
Media: Media;
|
|
43
|
-
MediaManager: MediaManagerStatic;
|
|
44
43
|
Metadata: MetadataStatic;
|
|
45
44
|
ObjectMaskUtils: ObjectMaskUtilsStatic;
|
|
46
45
|
OpenProjectOptions: OpenProjectOptions;
|
|
@@ -79,7 +78,6 @@ export declare type premierepro = {
|
|
|
79
78
|
VideoFilterFactory: VideoFilterFactoryStatic;
|
|
80
79
|
VideoTrack: VideoTrackStatic;
|
|
81
80
|
VideoTransition: VideoTransitionStatic;
|
|
82
|
-
WorkAreaUtils: WorkAreaUtilsStatic;
|
|
83
81
|
EventManager: EventManagerStatic;
|
|
84
82
|
Transcript: TranscriptStatic;
|
|
85
83
|
Constants: typeof Constants;
|
|
@@ -315,7 +313,7 @@ export declare type AddTransitionOptions = {
|
|
|
315
313
|
|
|
316
314
|
export declare type AppPreferenceStatic = {
|
|
317
315
|
/**
|
|
318
|
-
* Set backend preference using
|
|
316
|
+
* Set backend preference using given list of property keys. The parameters are <key, value (number, boolean or string), persistence flag>
|
|
319
317
|
*
|
|
320
318
|
* @param key App preference key to set
|
|
321
319
|
* @param value Value to set for the preference key
|
|
@@ -947,17 +945,17 @@ export declare type ClipProjectItem = {
|
|
|
947
945
|
/**
|
|
948
946
|
* Returns an action which sets Override pixel aspect ratio
|
|
949
947
|
*
|
|
950
|
-
* @param
|
|
951
|
-
* @param
|
|
948
|
+
* @param inNumerator
|
|
949
|
+
* @param inDenominator
|
|
952
950
|
*/
|
|
953
|
-
createSetOverridePixelAspectRatioAction(
|
|
951
|
+
createSetOverridePixelAspectRatioAction(inNumerator: number, inDenominator: number): Action;
|
|
954
952
|
|
|
955
953
|
/**
|
|
956
954
|
* Returns an action which sets the override frame rate
|
|
957
955
|
*
|
|
958
|
-
* @param
|
|
956
|
+
* @param inOverriddenFrameRateValue
|
|
959
957
|
*/
|
|
960
|
-
createSetOverrideFrameRateAction(
|
|
958
|
+
createSetOverrideFrameRateAction(inOverriddenFrameRateValue: number): Action;
|
|
961
959
|
|
|
962
960
|
/**
|
|
963
961
|
* Returns an action which Sets the in point of the Project item
|
|
@@ -1957,7 +1955,7 @@ export declare type Marker = {
|
|
|
1957
1955
|
/**
|
|
1958
1956
|
* Return an action to set the type of the marker.
|
|
1959
1957
|
*
|
|
1960
|
-
* @param markerType
|
|
1958
|
+
* @param markerType This values can be Scale (0), AnchorToInPoint (1) or AnchorToOutPoint (2)
|
|
1961
1959
|
*/
|
|
1962
1960
|
createSetTypeAction(markerType: string): Action;
|
|
1963
1961
|
|
|
@@ -2010,14 +2008,14 @@ export declare type Markers = {
|
|
|
2010
2008
|
/**
|
|
2011
2009
|
* Add a new marker
|
|
2012
2010
|
*
|
|
2013
|
-
* @param
|
|
2011
|
+
* @param Name
|
|
2014
2012
|
* @param markerType
|
|
2015
2013
|
* @param startTime
|
|
2016
2014
|
* @param duration
|
|
2017
2015
|
* @param comments
|
|
2018
2016
|
*/
|
|
2019
2017
|
createAddMarkerAction(
|
|
2020
|
-
|
|
2018
|
+
Name: string,
|
|
2021
2019
|
markerType?: string,
|
|
2022
2020
|
startTime?: TickTime,
|
|
2023
2021
|
duration?: TickTime,
|
|
@@ -2046,15 +2044,6 @@ export declare type Media = {
|
|
|
2046
2044
|
readonly duration: TickTime;
|
|
2047
2045
|
};
|
|
2048
2046
|
|
|
2049
|
-
export declare type MediaManagerStatic = {
|
|
2050
|
-
/**
|
|
2051
|
-
* Flush the media cache.
|
|
2052
|
-
*/
|
|
2053
|
-
purgeMediaCache(): Promise<boolean>;
|
|
2054
|
-
};
|
|
2055
|
-
|
|
2056
|
-
export declare type MediaManager = {};
|
|
2057
|
-
|
|
2058
2047
|
export declare type MetadataStatic = {
|
|
2059
2048
|
/**
|
|
2060
2049
|
* Get project metadata
|
|
@@ -2402,7 +2391,7 @@ export declare type Project = {
|
|
|
2402
2391
|
createSequenceWithPresetPath(name: string, presetPath: string): Promise<Sequence>;
|
|
2403
2392
|
|
|
2404
2393
|
/**
|
|
2405
|
-
* Create a new sequence with a given name and
|
|
2394
|
+
* Create a new sequence with a given name and medias
|
|
2406
2395
|
*
|
|
2407
2396
|
* @param name
|
|
2408
2397
|
* @param clipProjectItems
|
|
@@ -2456,16 +2445,16 @@ export declare type Project = {
|
|
|
2456
2445
|
*
|
|
2457
2446
|
* @param aepPath
|
|
2458
2447
|
* @param compNames
|
|
2459
|
-
* @param
|
|
2448
|
+
* @param TargetBin
|
|
2460
2449
|
*/
|
|
2461
|
-
importAEComps(aepPath: string, compNames: string[],
|
|
2450
|
+
importAEComps(aepPath: string, compNames: string[], TargetBin?: ProjectItem): Promise<boolean>;
|
|
2462
2451
|
|
|
2463
2452
|
/**
|
|
2464
2453
|
*
|
|
2465
2454
|
* @param aepPath
|
|
2466
|
-
* @param
|
|
2455
|
+
* @param TargetBin
|
|
2467
2456
|
*/
|
|
2468
|
-
importAllAEComps(aepPath: string,
|
|
2457
|
+
importAllAEComps(aepPath: string, TargetBin?: ProjectItem): Promise<boolean>;
|
|
2469
2458
|
|
|
2470
2459
|
/**
|
|
2471
2460
|
* Import files in root/target bin of the project
|
|
@@ -2519,7 +2508,7 @@ export declare type Project = {
|
|
|
2519
2508
|
getRootItem(): Promise<FolderItem>;
|
|
2520
2509
|
|
|
2521
2510
|
/**
|
|
2522
|
-
*
|
|
2511
|
+
* Pause growing of files instead swap the files
|
|
2523
2512
|
*
|
|
2524
2513
|
* @param pause
|
|
2525
2514
|
*/
|
|
@@ -2921,7 +2910,7 @@ export declare type Properties = {
|
|
|
2921
2910
|
getValue(name: string): string;
|
|
2922
2911
|
|
|
2923
2912
|
/**
|
|
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.
|
|
2913
|
+
* Create an action to set a named value through scripting. The parameters are <name, value (number, boolean or string), persistence flag>. This method can fail if e.g. the underlying properties object does not support action based setting of properties.
|
|
2925
2914
|
*
|
|
2926
2915
|
* @param name property name
|
|
2927
2916
|
* @param value Value to set for the property key
|
|
@@ -3116,7 +3105,7 @@ export declare type Sequence = {
|
|
|
3116
3105
|
getSettings(): Promise<SequenceSettings>;
|
|
3117
3106
|
|
|
3118
3107
|
/**
|
|
3119
|
-
* Returns
|
|
3108
|
+
* Returns action that set sequence settings
|
|
3120
3109
|
*
|
|
3121
3110
|
* @param sequenceSettings
|
|
3122
3111
|
*/
|
|
@@ -3150,12 +3139,12 @@ export declare type Sequence = {
|
|
|
3150
3139
|
getEndTime(): Promise<TickTime>;
|
|
3151
3140
|
|
|
3152
3141
|
/**
|
|
3153
|
-
* Get time representing the
|
|
3142
|
+
* Get time representing the inPoint of sequence.
|
|
3154
3143
|
*/
|
|
3155
3144
|
getInPoint(): Promise<TickTime>;
|
|
3156
3145
|
|
|
3157
3146
|
/**
|
|
3158
|
-
* Get time representing the
|
|
3147
|
+
* Get time representing the inPoint of sequence.
|
|
3159
3148
|
*/
|
|
3160
3149
|
getOutPoint(): Promise<TickTime>;
|
|
3161
3150
|
|
|
@@ -3167,7 +3156,7 @@ export declare type Sequence = {
|
|
|
3167
3156
|
createSetInPointAction(tickTime: TickTime): Action;
|
|
3168
3157
|
|
|
3169
3158
|
/**
|
|
3170
|
-
* Create an action to set
|
|
3159
|
+
* Create an action to set an InPoint for the sequence
|
|
3171
3160
|
*
|
|
3172
3161
|
* @param tickTime
|
|
3173
3162
|
*/
|
|
@@ -4357,49 +4346,6 @@ export declare type VideoTransitionStatic = {
|
|
|
4357
4346
|
|
|
4358
4347
|
export declare type VideoTransition = {};
|
|
4359
4348
|
|
|
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
|
-
|
|
4403
4349
|
export declare type EventManagerStatic = {
|
|
4404
4350
|
/**
|
|
4405
4351
|
* add event listener to target object
|