Skip to content

Commit f82e13d

Browse files
authored
Merge pull request #43 from adobe/release-20250725
Release 20250725
2 parents db631c6 + 7b5c588 commit f82e13d

File tree

3 files changed

+118
-1
lines changed

3 files changed

+118
-1
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@adobe/ccweb-add-on-sdk-types",
5+
"comment": "Frame Rate and Bit Rate options in Video Export, Higher Resolution Support in Video Export, File Size Limit in PNG Export",
6+
"type": "major"
7+
}
8+
],
9+
"packageName": "@adobe/ccweb-add-on-sdk-types"
10+
}

packages/wxp-sdk-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adobe/ccweb-add-on-sdk-types",
3-
"version": "1.19.0",
3+
"version": "1.20.0",
44
"author": "Adobe",
55
"license": "MIT",
66
"description": "Type definitions for Adobe Creative Cloud Web Add-on SDK.",

packages/wxp-sdk-types/ui/ui-sdk.d.ts

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,40 @@ export declare type AuthorizeWithOwnRedirectRequest = AuthorizationRequest & {
451451
state: string;
452452
};
453453

454+
/**
455+
* Bit rate in bits per second
456+
*/
457+
export declare enum BitRate {
458+
/**
459+
* 4 Mbps
460+
*/
461+
mbps4 = 4000000,
462+
/**
463+
* 8 Mbps
464+
*/
465+
mbps8 = 8000000,
466+
/**
467+
* 10 Mbps
468+
*/
469+
mbps10 = 10000000,
470+
/**
471+
* 12 Mbps
472+
*/
473+
mbps12 = 12000000,
474+
/**
475+
* 15 Mbps
476+
*/
477+
mbps15 = 15000000,
478+
/**
479+
* 25 Mbps
480+
*/
481+
mbps25 = 25000000,
482+
/**
483+
* 50 Mbps
484+
*/
485+
mbps50 = 50000000
486+
}
487+
454488
/**
455489
* Bleed for the page.
456490
* In printing, bleed is printing that goes beyond the edge of where the sheet will be trimmed.
@@ -635,6 +669,8 @@ declare namespace Constants {
635669
RuntimeType,
636670
BleedUnit,
637671
VideoResolution,
672+
FrameRate,
673+
BitRate,
638674
EditorPanel,
639675
MediaTabs,
640676
ElementsTabs,
@@ -643,6 +679,7 @@ declare namespace Constants {
643679
DeviceClass,
644680
PlatformType,
645681
ColorPickerPlacement,
682+
FileSizeLimitUnit,
646683
AuthorizationStatus
647684
};
648685
}
@@ -1101,6 +1138,50 @@ export declare enum FieldType {
11011138
text = "text"
11021139
}
11031140

1141+
/**
1142+
* Units for the file size limit.
1143+
*/
1144+
export declare enum FileSizeLimitUnit {
1145+
/**
1146+
* Kilobyte
1147+
*/
1148+
KB = "KB",
1149+
/**
1150+
* Megabyte
1151+
*/
1152+
MB = "MB"
1153+
}
1154+
1155+
/**
1156+
* Frame rate in frames per second
1157+
*/
1158+
export declare enum FrameRate {
1159+
/**
1160+
* 23.976 frames per second
1161+
*/
1162+
fps23_976 = 23.976,
1163+
/**
1164+
* 24 frames per second
1165+
*/
1166+
fps24 = 24,
1167+
/**
1168+
* 25 frames per second
1169+
*/
1170+
fps25 = 25,
1171+
/**
1172+
* 29.97 frames per second
1173+
*/
1174+
fps29_97 = 29.97,
1175+
/**
1176+
* 30 frames per second
1177+
*/
1178+
fps30 = 30,
1179+
/**
1180+
* 60 frames per second
1181+
*/
1182+
fps60 = 60
1183+
}
1184+
11041185
/**
11051186
* Type of input dialog data passed from the add-on.
11061187
*/
@@ -1276,6 +1357,15 @@ export declare interface Mp4RenditionOptions extends RenditionOptions {
12761357
* Custom Resolution (in pixel)
12771358
*/
12781359
customResolution?: number;
1360+
1361+
/**
1362+
* Frame rate in frames per second
1363+
*/
1364+
frameRate?: FrameRate;
1365+
/**
1366+
* Bit rate in mbps
1367+
*/
1368+
bitRate?: BitRate;
12791369
}
12801370

12811371
/**
@@ -1578,6 +1668,15 @@ export declare interface PngRenditionOptions extends RenditionOptions {
15781668
width?: number;
15791669
height?: number;
15801670
};
1671+
1672+
/**
1673+
* File size limit for the rendition
1674+
*/
1675+
fileSizeLimit?: number;
1676+
/**
1677+
* Unit of the file size limit
1678+
*/
1679+
fileSizeLimitUnit?: FileSizeLimitUnit;
15811680
}
15821681

15831682
/**
@@ -1953,6 +2052,14 @@ export declare enum VideoResolution {
19532052
* FHD 1080p video resolution
19542053
*/
19552054
fhd1080p = "1080p",
2055+
/**
2056+
* QHD 1440p video resolution
2057+
*/
2058+
qhd1440p = "1440p",
2059+
/**
2060+
* UHD 4K video resolution
2061+
*/
2062+
uhd2160p = "2160p",
19562063
/**
19572064
* Custom video resolution
19582065
*/

0 commit comments

Comments
 (0)