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

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.29",
3
+ "version": "26.5.0-beta.3",
4
4
  "description": "The TypeScript definitions and declarations for UXP APIs in Premiere",
5
5
  "license": "Apache-2.0",
6
6
  "bugs": {
@@ -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 one of the available property keys
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
@@ -839,7 +837,7 @@ export declare type ClipProjectItem = {
839
837
  changeMediaFilePath(newPath: string, overrideCompatibilityCheck?: boolean): Promise<boolean>;
840
838
 
841
839
  /**
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).
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 }.
843
841
  *
844
842
  * @param name
845
843
  * @param startTime
@@ -852,7 +850,7 @@ export declare type ClipProjectItem = {
852
850
  startTime: TickTime,
853
851
  endTime: TickTime,
854
852
  hasHardBoundaries: boolean,
855
- options?: { takeVideo?: boolean; takeAudio?: boolean }
853
+ options?: object
856
854
  ): Action;
857
855
 
858
856
  /**
@@ -929,13 +927,11 @@ export declare type ClipProjectItem = {
929
927
  getMediaFilePath(): Promise<string>;
930
928
 
931
929
  /**
932
- * Get the component chain of the Project item for the given media type.
930
+ * Get the media file path of the Project item.
933
931
  *
934
- * @param mediaType Media type can be audio or video
932
+ * @param mediaType Media type can be audio, video or data/caption
935
933
  */
936
- getComponentChain(
937
- mediaType: Constants.MediaType
938
- ): Promise<AudioComponentChain | VideoComponentChain | null>;
934
+ getComponentChain(mediaType: Constants.MediaType): Promise<string>;
939
935
 
940
936
  /**
941
937
  * Returns an action which Sets the in point of the Project item
@@ -947,17 +943,17 @@ export declare type ClipProjectItem = {
947
943
  /**
948
944
  * Returns an action which sets Override pixel aspect ratio
949
945
  *
950
- * @param numerator
951
- * @param denominator
946
+ * @param inNumerator
947
+ * @param inDenominator
952
948
  */
953
- createSetOverridePixelAspectRatioAction(numerator: number, denominator: number): Action;
949
+ createSetOverridePixelAspectRatioAction(inNumerator: number, inDenominator: number): Action;
954
950
 
955
951
  /**
956
952
  * Returns an action which sets the override frame rate
957
953
  *
958
- * @param overriddenFrameRateValue
954
+ * @param inOverriddenFrameRateValue
959
955
  */
960
- createSetOverrideFrameRateAction(overriddenFrameRateValue: number): Action;
956
+ createSetOverrideFrameRateAction(inOverriddenFrameRateValue: number): Action;
961
957
 
962
958
  /**
963
959
  * Returns an action which Sets the in point of the Project item
@@ -1957,7 +1953,7 @@ export declare type Marker = {
1957
1953
  /**
1958
1954
  * Return an action to set the type of the marker.
1959
1955
  *
1960
- * @param markerType Can be set to "Comment", "Chapter", "Segmentation", or "WebLink"
1956
+ * @param markerType This values can be Scale (0), AnchorToInPoint (1) or AnchorToOutPoint (2)
1961
1957
  */
1962
1958
  createSetTypeAction(markerType: string): Action;
1963
1959
 
@@ -2010,14 +2006,14 @@ export declare type Markers = {
2010
2006
  /**
2011
2007
  * Add a new marker
2012
2008
  *
2013
- * @param name
2009
+ * @param Name
2014
2010
  * @param markerType
2015
2011
  * @param startTime
2016
2012
  * @param duration
2017
2013
  * @param comments
2018
2014
  */
2019
2015
  createAddMarkerAction(
2020
- name: string,
2016
+ Name: string,
2021
2017
  markerType?: string,
2022
2018
  startTime?: TickTime,
2023
2019
  duration?: TickTime,
@@ -2046,15 +2042,6 @@ export declare type Media = {
2046
2042
  readonly duration: TickTime;
2047
2043
  };
2048
2044
 
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
2045
  export declare type MetadataStatic = {
2059
2046
  /**
2060
2047
  * Get project metadata
@@ -2402,7 +2389,7 @@ export declare type Project = {
2402
2389
  createSequenceWithPresetPath(name: string, presetPath: string): Promise<Sequence>;
2403
2390
 
2404
2391
  /**
2405
- * Create a new sequence with a given name and media
2392
+ * Create a new sequence with a given name and medias
2406
2393
  *
2407
2394
  * @param name
2408
2395
  * @param clipProjectItems
@@ -2456,16 +2443,16 @@ export declare type Project = {
2456
2443
  *
2457
2444
  * @param aepPath
2458
2445
  * @param compNames
2459
- * @param targetBin
2446
+ * @param TargetBin
2460
2447
  */
2461
- importAEComps(aepPath: string, compNames: string[], targetBin?: ProjectItem): Promise<boolean>;
2448
+ importAEComps(aepPath: string, compNames: string[], TargetBin?: ProjectItem): Promise<boolean>;
2462
2449
 
2463
2450
  /**
2464
2451
  *
2465
2452
  * @param aepPath
2466
- * @param targetBin
2453
+ * @param TargetBin
2467
2454
  */
2468
- importAllAEComps(aepPath: string, targetBin?: ProjectItem): Promise<boolean>;
2455
+ importAllAEComps(aepPath: string, TargetBin?: ProjectItem): Promise<boolean>;
2469
2456
 
2470
2457
  /**
2471
2458
  * Import files in root/target bin of the project
@@ -2519,7 +2506,7 @@ export declare type Project = {
2519
2506
  getRootItem(): Promise<FolderItem>;
2520
2507
 
2521
2508
  /**
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.
2509
+ * Pause growing of files instead swap the files
2523
2510
  *
2524
2511
  * @param pause
2525
2512
  */
@@ -2921,7 +2908,7 @@ export declare type Properties = {
2921
2908
  getValue(name: string): string;
2922
2909
 
2923
2910
  /**
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.
2911
+ * 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
2912
  *
2926
2913
  * @param name property name
2927
2914
  * @param value Value to set for the property key
@@ -3116,7 +3103,7 @@ export declare type Sequence = {
3116
3103
  getSettings(): Promise<SequenceSettings>;
3117
3104
 
3118
3105
  /**
3119
- * Returns an action that updates the settings for the sequence.
3106
+ * Returns action that set sequence settings
3120
3107
  *
3121
3108
  * @param sequenceSettings
3122
3109
  */
@@ -3150,12 +3137,12 @@ export declare type Sequence = {
3150
3137
  getEndTime(): Promise<TickTime>;
3151
3138
 
3152
3139
  /**
3153
- * Get time representing the in point of the sequence.
3140
+ * Get time representing the inPoint of sequence.
3154
3141
  */
3155
3142
  getInPoint(): Promise<TickTime>;
3156
3143
 
3157
3144
  /**
3158
- * Get time representing the out point of the sequence.
3145
+ * Get time representing the inPoint of sequence.
3159
3146
  */
3160
3147
  getOutPoint(): Promise<TickTime>;
3161
3148
 
@@ -3167,7 +3154,7 @@ export declare type Sequence = {
3167
3154
  createSetInPointAction(tickTime: TickTime): Action;
3168
3155
 
3169
3156
  /**
3170
- * Create an action to set the zero point for the sequence.
3157
+ * Create an action to set an InPoint for the sequence
3171
3158
  *
3172
3159
  * @param tickTime
3173
3160
  */
@@ -4357,49 +4344,6 @@ export declare type VideoTransitionStatic = {
4357
4344
 
4358
4345
  export declare type VideoTransition = {};
4359
4346
 
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
4347
  export declare type EventManagerStatic = {
4404
4348
  /**
4405
4349
  * add event listener to target object