>`.
@@ -1392,6 +1401,20 @@ declare enum Range_2 {
}
export { Range_2 as Range };
+/**
+ * Options for providing range of pages
+ */
+export declare interface RangeOptions {
+ /**
+ * Page range of the document
+ */
+ range: Range_2;
+ /**
+ * Ids of the pages (Only required if the range is "specificPages")
+ */
+ pageIds?: string[];
+}
+
/**
* Takes the raw type of a remote object or function in the other thread and returns the type as it is visible to
* the local thread from the proxy return value of `Runtime.apiProxy()`.
@@ -1484,19 +1507,11 @@ export declare enum RenditionIntent {
print = "print"
}
-export declare interface RenditionOptions {
- /**
- * Range of the document to get the rendition
- */
- range: Range_2;
+export declare interface RenditionOptions extends RangeOptions {
/**
* Format of the rendition
*/
format: RenditionFormat;
- /**
- * Ids of the pages (Only required if the range is "specificPages")
- */
- pageIds?: string[];
}
/**
@@ -1584,6 +1599,20 @@ export declare interface SearchAction extends PanelAction {
export declare type SimpleDialogOptions = AlertDialogOptions | InputDialogOptions;
+/**
+ * Represents template data for a page
+ */
+export declare interface TemplateDetails {
+ /**
+ * Unique id of the template
+ */
+ id: string;
+ /**
+ * Creative intent of the template
+ */
+ creativeIntent?: string;
+}
+
/**
* Interface that contains methods and properties that are Application UI related.
*/
@@ -1605,7 +1634,6 @@ export declare interface UI {
*/
readonly locales: string[];
/**
- * @experimental - Experimental API
* Opens an Editor Panel
* @param panel - one of {@link EditorPanel}
* @param action - optional action to be performed on the panel {@link PanelAction}
@@ -1629,7 +1657,6 @@ declare type Unpromisify = P extends Promise ? T : P;
declare type UnproxyOrClone = T extends RemoteObject ? Local : T;
/**
- * @experimental - Experimental API
* Callback to unregister iframe from the add-on SDK.
*/
declare type UnregisterIframe = () => void;
diff --git a/rush.json b/rush.json
index f9924dc..ca5ec7e 100644
--- a/rush.json
+++ b/rush.json
@@ -43,7 +43,7 @@
"packageName": "@adobe/ccweb-add-on-scripts",
"projectFolder": "packages/wxp-scripts",
"reviewCategory": "production",
- "shouldPublish": true
+ "shouldPublish": false
},
{
"packageName": "@adobe/ccweb-add-on-ssl",
@@ -61,7 +61,7 @@
"packageName": "@adobe/ccweb-add-on-sdk-types",
"projectFolder": "packages/wxp-sdk-types",
"reviewCategory": "production",
- "shouldPublish": false
+ "shouldPublish": true
}
]
}