Skip to content

Commit cadea12

Browse files
xerxovksiAbhishek Das
andauthored
Release 20250320 (#34)
* Release 20250320 * Change logs --------- Co-authored-by: Abhishek Das <[email protected]>
1 parent 7562e2b commit cadea12

File tree

25 files changed

+204
-25
lines changed

25 files changed

+204
-25
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-analytics",
5+
"comment": "Manifest update",
6+
"type": "minor"
7+
}
8+
],
9+
"packageName": "@adobe/ccweb-add-on-analytics"
10+
}
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-core",
5+
"comment": "Manifest update",
6+
"type": "minor"
7+
}
8+
],
9+
"packageName": "@adobe/ccweb-add-on-core"
10+
}
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-manifest",
5+
"comment": "Manifest update",
6+
"type": "minor"
7+
}
8+
],
9+
"packageName": "@adobe/ccweb-add-on-manifest"
10+
}
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-scaffolder",
5+
"comment": "Manifest update",
6+
"type": "minor"
7+
}
8+
],
9+
"packageName": "@adobe/ccweb-add-on-scaffolder"
10+
}
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-scripts",
5+
"comment": "Manifest update",
6+
"type": "minor"
7+
}
8+
],
9+
"packageName": "@adobe/ccweb-add-on-scripts"
10+
}
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-ssl",
5+
"comment": "Manifest update",
6+
"type": "minor"
7+
}
8+
],
9+
"packageName": "@adobe/ccweb-add-on-ssl"
10+
}
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/create-ccweb-add-on",
5+
"comment": "Manifest update",
6+
"type": "minor"
7+
}
8+
],
9+
"packageName": "@adobe/create-ccweb-add-on"
10+
}
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"extension": ["ts"],
3-
"node-option": ["experimental-specifier-resolution=node", "loader=ts-node/esm", "no-warnings"],
3+
"node-option": [
4+
"experimental-specifier-resolution=node",
5+
"loader=ts-node/esm",
6+
"enable-source-maps",
7+
"no-warnings"
8+
],
49
"spec": ["src/test/**/*.spec.ts"]
510
}

packages/add-on-manifest/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-manifest",
3-
"version": "2.4.1",
3+
"version": "2.5.0",
44
"author": "Adobe",
55
"license": "MIT",
66
"description": "Manifest models and validation rules for Adobe Creative Cloud Web Add-on.",

packages/add-on-manifest/scripts/AddOnManifestSchemaTypes.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
* SOFTWARE.
2323
********************************************************************************/
2424

25-
const typePattern = "^(panel|share|content-hub|mobile.your-stuff.files|mobile.media.audio|mobile.more)$";
25+
const typePattern =
26+
"^(panel|command|share|content-hub|mobile.your-stuff.files|mobile.media.audio|mobile.more|schedule|contextual.replace|contextual.upload|contextual.bulk-create)$";
2627
const sandboxPattern = "^(allow-popups|allow-presentation|allow-downloads|allow-popups-to-escape-sandbox|allow-forms)$";
2728
const clipboardPattern = "^(clipboard-write|clipboard-read)$";
2829
const iconPattern = "^(lightest|light|medium|dark|darkest|all)$";
@@ -62,6 +63,17 @@ export const AuthorInfoSchema = {
6263
additionalProperties: false
6364
};
6465

66+
export const CommandSchema = {
67+
type: "object",
68+
properties: {
69+
name: { type: "string" },
70+
supportedMimeTypes: { type: "array", items: { type: "string" } },
71+
discoverable: { type: "boolean" }
72+
},
73+
required: ["name"],
74+
additionalProperties: false
75+
};
76+
6577
export const EntrypointSchemaV1 = {
6678
type: "object",
6779
properties: {
@@ -103,6 +115,7 @@ export const EntrypointSchemaV2 = {
103115
script: { type: "string" },
104116
documentSandbox: { type: "string" },
105117
hostDomain: { type: "string" },
118+
commands: { type: "array", items: CommandSchema },
106119
permissions: {
107120
type: "object",
108121
properties: {

0 commit comments

Comments
 (0)