@adobe/ccweb-add-on-sdk-types 1.19.0 → 1.20.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/ui/ui-sdk.d.ts +107 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/ccweb-add-on-sdk-types",
3
- "version": "1.19.0",
3
+ "version": "1.20.0",
4
4
  "author": "Adobe",
5
5
  "license": "MIT",
6
6
  "description": "Type definitions for Adobe Creative Cloud Web Add-on SDK.",
package/ui/ui-sdk.d.ts CHANGED
@@ -451,6 +451,40 @@ export declare type AuthorizeWithOwnRedirectRequest = AuthorizationRequest & {
451
451
  state: string;
452
452
  };
453
453
 
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
+
454
488
  /**
455
489
  * Bleed for the page.
456
490
  * In printing, bleed is printing that goes beyond the edge of where the sheet will be trimmed.
@@ -635,6 +669,8 @@ declare namespace Constants {
635
669
  RuntimeType,
636
670
  BleedUnit,
637
671
  VideoResolution,
672
+ FrameRate,
673
+ BitRate,
638
674
  EditorPanel,
639
675
  MediaTabs,
640
676
  ElementsTabs,
@@ -643,6 +679,7 @@ declare namespace Constants {
643
679
  DeviceClass,
644
680
  PlatformType,
645
681
  ColorPickerPlacement,
682
+ FileSizeLimitUnit,
646
683
  AuthorizationStatus
647
684
  };
648
685
  }
@@ -1101,6 +1138,50 @@ export declare enum FieldType {
1101
1138
  text = "text"
1102
1139
  }
1103
1140
 
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
+
1104
1185
  /**
1105
1186
  * Type of input dialog data passed from the add-on.
1106
1187
  */
@@ -1276,6 +1357,15 @@ export declare interface Mp4RenditionOptions extends RenditionOptions {
1276
1357
  * Custom Resolution (in pixel)
1277
1358
  */
1278
1359
  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;
1279
1369
  }
1280
1370
 
1281
1371
  /**
@@ -1578,6 +1668,15 @@ export declare interface PngRenditionOptions extends RenditionOptions {
1578
1668
  width?: number;
1579
1669
  height?: number;
1580
1670
  };
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;
1581
1680
  }
1582
1681
 
1583
1682
  /**
@@ -1953,6 +2052,14 @@ export declare enum VideoResolution {
1953
2052
  * FHD 1080p video resolution
1954
2053
  */
1955
2054
  fhd1080p = "1080p",
2055
+ /**
2056
+ * QHD 1440p video resolution
2057
+ */
2058
+ qhd1440p = "1440p",
2059
+ /**
2060
+ * UHD 4K video resolution
2061
+ */
2062
+ uhd2160p = "2160p",
1956
2063
  /**
1957
2064
  * Custom video resolution
1958
2065
  */