Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@adobe/ccweb-add-on-manifest",
"comment": "New entrypoint type",
"type": "minor"
}
],
"packageName": "@adobe/ccweb-add-on-manifest"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@adobe/ccweb-add-on-sdk-types",
"comment": "SDK API updates - hyperlink, text replacement, clone, bitmapImage",
"type": "minor"
}
],
"packageName": "@adobe/ccweb-add-on-sdk-types"
}
2 changes: 1 addition & 1 deletion packages/add-on-manifest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/ccweb-add-on-manifest",
"version": "3.1.0",
"version": "3.2.0",
"author": "Adobe",
"license": "MIT",
"description": "Manifest models and validation rules for Adobe Creative Cloud Web Add-on.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
********************************************************************************/

const typePattern =
"^(panel|script|share|content-hub|mobile.your-stuff.files|mobile.media.audio|mobile.more|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command)$";
"^(panel|script|share|content-hub|mobile.your-stuff.files|mobile.media.audio|mobile.more|schedule|contextual.replace|contextual.upload|contextual.bulk-create|command|import-hub)$";
const sandboxPattern = "^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox|allow-forms)$";
const clipboardPattern = "^(clipboard-write|clipboard-read)$";
const iconPattern = "^(lightest|light|medium|dark|darkest|all)$";
Expand Down
6 changes: 5 additions & 1 deletion packages/add-on-manifest/src/AddOnManifestTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,11 @@ export enum EntrypointType {
/**
* Contextual bulk create entrypoint type.
*/
CONTEXTUAL_BULK_CREATE = "contextual.bulk-create"
CONTEXTUAL_BULK_CREATE = "contextual.bulk-create",
/**
* Import hub entrypoint type.
*/
IMPORT_HUB = "import-hub"
}

export type AuthorInfo = {
Expand Down
10 changes: 10 additions & 0 deletions packages/add-on-manifest/src/test/utils/TestManifests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ export function getTestManifestV1(privileged?: boolean): AddOnManifestV1 {
type: EntrypointType.CONTEXTUAL_BULK_CREATE,
id: `contextual-bulk-create-${count}`,
...entryPointDetails
},
{
type: EntrypointType.IMPORT_HUB,
id: `import-hub-${count}`,
...entryPointDetails
}
],
icon: [
Expand Down Expand Up @@ -238,6 +243,11 @@ export function getTestManifestV2(privileged?: boolean): AddOnManifestV2 {
type: EntrypointType.CONTEXTUAL_BULK_CREATE,
id: `contextual-bulk-create-${count}`,
main: "index.html"
},
{
type: EntrypointType.IMPORT_HUB,
id: `import-hub-${count}`,
main: "index.html"
}
]
};
Expand Down
2 changes: 1 addition & 1 deletion packages/wxp-sdk-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/ccweb-add-on-sdk-types",
"version": "1.22.0",
"version": "1.23.0",
"author": "Adobe",
"license": "MIT",
"description": "Type definitions for Adobe Creative Cloud Web Add-on SDK.",
Expand Down
Loading