@forge/manifest 13.5.0-next.2-experimental-6664e2b → 13.5.0-next.3
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
-
## 13.5.0-next.
|
|
3
|
+
## 13.5.0-next.3
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- fe8d182: Add `inline-bodied` as a supported layout for Confluence macro modules.
|
|
8
8
|
|
|
9
9
|
### Patch Changes
|
|
10
10
|
|
|
11
|
-
-
|
|
12
|
-
- 07cdf11: Fix manifest validation
|
|
13
|
-
- 0a75004: Update manifest definitions
|
|
14
|
-
- 150a3c5: Update manifest definitions
|
|
11
|
+
- eda3a24: Update manifest definitions
|
|
15
12
|
|
|
16
13
|
## 13.5.0-next.2
|
|
17
14
|
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"title": "compatibility",
|
|
57
57
|
"description": "The app compatibility configuration. If not set, app is not a cross-context or global app.",
|
|
58
58
|
"additionalProperties": false,
|
|
59
|
+
"minProperties": 1,
|
|
59
60
|
"properties": {
|
|
60
61
|
"confluence": {
|
|
61
62
|
"type": "object",
|
|
@@ -2763,7 +2764,8 @@
|
|
|
2763
2764
|
"enum": [
|
|
2764
2765
|
"inline",
|
|
2765
2766
|
"block",
|
|
2766
|
-
"bodied"
|
|
2767
|
+
"bodied",
|
|
2768
|
+
"inline-bodied"
|
|
2767
2769
|
],
|
|
2768
2770
|
"type": "string",
|
|
2769
2771
|
"default": "block"
|
|
@@ -20026,7 +20028,8 @@
|
|
|
20026
20028
|
"view_request",
|
|
20027
20029
|
"my_requests",
|
|
20028
20030
|
"approvals",
|
|
20029
|
-
"profile"
|
|
20031
|
+
"profile",
|
|
20032
|
+
"csm_help_center"
|
|
20030
20033
|
]
|
|
20031
20034
|
}
|
|
20032
20035
|
},
|
|
@@ -20074,7 +20077,8 @@
|
|
|
20074
20077
|
"view_request",
|
|
20075
20078
|
"my_requests",
|
|
20076
20079
|
"approvals",
|
|
20077
|
-
"profile"
|
|
20080
|
+
"profile",
|
|
20081
|
+
"csm_help_center"
|
|
20078
20082
|
]
|
|
20079
20083
|
}
|
|
20080
20084
|
},
|
|
@@ -33247,7 +33251,12 @@
|
|
|
33247
33251
|
"resource",
|
|
33248
33252
|
"render",
|
|
33249
33253
|
"key"
|
|
33250
|
-
]
|
|
33254
|
+
],
|
|
33255
|
+
"not": {
|
|
33256
|
+
"required": [
|
|
33257
|
+
"unlicensedAccess"
|
|
33258
|
+
]
|
|
33259
|
+
}
|
|
33251
33260
|
},
|
|
33252
33261
|
"minItems": 1
|
|
33253
33262
|
},
|
|
@@ -33351,16 +33360,6 @@
|
|
|
33351
33360
|
}
|
|
33352
33361
|
]
|
|
33353
33362
|
},
|
|
33354
|
-
"unlicensedAccess": {
|
|
33355
|
-
"type": "array",
|
|
33356
|
-
"items": {
|
|
33357
|
-
"type": "string",
|
|
33358
|
-
"enum": [
|
|
33359
|
-
"unlicensed",
|
|
33360
|
-
"anonymous"
|
|
33361
|
-
]
|
|
33362
|
-
}
|
|
33363
|
-
},
|
|
33364
33363
|
"key": {
|
|
33365
33364
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
33366
33365
|
}
|
|
@@ -33369,7 +33368,12 @@
|
|
|
33369
33368
|
"resource",
|
|
33370
33369
|
"routePrefix",
|
|
33371
33370
|
"key"
|
|
33372
|
-
]
|
|
33371
|
+
],
|
|
33372
|
+
"not": {
|
|
33373
|
+
"required": [
|
|
33374
|
+
"unlicensedAccess"
|
|
33375
|
+
]
|
|
33376
|
+
}
|
|
33373
33377
|
},
|
|
33374
33378
|
{
|
|
33375
33379
|
"type": "object",
|
|
@@ -33483,16 +33487,6 @@
|
|
|
33483
33487
|
"minLength": 1,
|
|
33484
33488
|
"maxLength": 255
|
|
33485
33489
|
},
|
|
33486
|
-
"unlicensedAccess": {
|
|
33487
|
-
"type": "array",
|
|
33488
|
-
"items": {
|
|
33489
|
-
"type": "string",
|
|
33490
|
-
"enum": [
|
|
33491
|
-
"unlicensed",
|
|
33492
|
-
"anonymous"
|
|
33493
|
-
]
|
|
33494
|
-
}
|
|
33495
|
-
},
|
|
33496
33490
|
"key": {
|
|
33497
33491
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
33498
33492
|
}
|
|
@@ -33502,7 +33496,12 @@
|
|
|
33502
33496
|
"routePrefix",
|
|
33503
33497
|
"render",
|
|
33504
33498
|
"key"
|
|
33505
|
-
]
|
|
33499
|
+
],
|
|
33500
|
+
"not": {
|
|
33501
|
+
"required": [
|
|
33502
|
+
"unlicensedAccess"
|
|
33503
|
+
]
|
|
33504
|
+
}
|
|
33506
33505
|
}
|
|
33507
33506
|
]
|
|
33508
33507
|
},
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -12863,7 +12863,7 @@ export interface Modules {
|
|
|
12863
12863
|
};
|
|
12864
12864
|
render?: 'native' | 'default';
|
|
12865
12865
|
renderRuntimeType?: 'webworker' | 'iframe';
|
|
12866
|
-
layout?: 'inline' | 'block' | 'bodied';
|
|
12866
|
+
layout?: 'inline' | 'block' | 'bodied' | 'inline-bodied';
|
|
12867
12867
|
emitsReadyEvent?: boolean;
|
|
12868
12868
|
hidden?: boolean;
|
|
12869
12869
|
key: ModuleKeySchema;
|
|
@@ -13210,7 +13210,7 @@ export interface Modules {
|
|
|
13210
13210
|
};
|
|
13211
13211
|
render?: 'native' | 'default';
|
|
13212
13212
|
renderRuntimeType?: 'webworker' | 'iframe';
|
|
13213
|
-
layout?: 'inline' | 'block' | 'bodied';
|
|
13213
|
+
layout?: 'inline' | 'block' | 'bodied' | 'inline-bodied';
|
|
13214
13214
|
emitsReadyEvent?: boolean;
|
|
13215
13215
|
hidden?: boolean;
|
|
13216
13216
|
key: ModuleKeySchema;
|
|
@@ -21367,6 +21367,7 @@ export interface Modules {
|
|
|
21367
21367
|
| 'my_requests'
|
|
21368
21368
|
| 'approvals'
|
|
21369
21369
|
| 'profile'
|
|
21370
|
+
| 'csm_help_center'
|
|
21370
21371
|
)[];
|
|
21371
21372
|
viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
21372
21373
|
function: string;
|
|
@@ -21385,6 +21386,7 @@ export interface Modules {
|
|
|
21385
21386
|
| 'my_requests'
|
|
21386
21387
|
| 'approvals'
|
|
21387
21388
|
| 'profile'
|
|
21389
|
+
| 'csm_help_center'
|
|
21388
21390
|
)[];
|
|
21389
21391
|
viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
21390
21392
|
resolver?:
|
|
@@ -21416,6 +21418,7 @@ export interface Modules {
|
|
|
21416
21418
|
| 'my_requests'
|
|
21417
21419
|
| 'approvals'
|
|
21418
21420
|
| 'profile'
|
|
21421
|
+
| 'csm_help_center'
|
|
21419
21422
|
)[];
|
|
21420
21423
|
viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
21421
21424
|
function: string;
|
|
@@ -21434,6 +21437,7 @@ export interface Modules {
|
|
|
21434
21437
|
| 'my_requests'
|
|
21435
21438
|
| 'approvals'
|
|
21436
21439
|
| 'profile'
|
|
21440
|
+
| 'csm_help_center'
|
|
21437
21441
|
)[];
|
|
21438
21442
|
viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
21439
21443
|
resolver?:
|
|
@@ -27809,7 +27813,6 @@ export interface Modules {
|
|
|
27809
27813
|
| {
|
|
27810
27814
|
endpoint: string;
|
|
27811
27815
|
};
|
|
27812
|
-
unlicensedAccess?: ('unlicensed' | 'anonymous')[];
|
|
27813
27816
|
key: ModuleKeySchema;
|
|
27814
27817
|
}
|
|
27815
27818
|
| {
|
|
@@ -27833,7 +27836,6 @@ export interface Modules {
|
|
|
27833
27836
|
renderRuntimeType?: 'webworker' | 'iframe';
|
|
27834
27837
|
routePrefix: string;
|
|
27835
27838
|
icon?: string;
|
|
27836
|
-
unlicensedAccess?: ('unlicensed' | 'anonymous')[];
|
|
27837
27839
|
key: ModuleKeySchema;
|
|
27838
27840
|
}
|
|
27839
27841
|
),
|
|
@@ -27857,7 +27859,6 @@ export interface Modules {
|
|
|
27857
27859
|
| {
|
|
27858
27860
|
endpoint: string;
|
|
27859
27861
|
};
|
|
27860
|
-
unlicensedAccess?: ('unlicensed' | 'anonymous')[];
|
|
27861
27862
|
key: ModuleKeySchema;
|
|
27862
27863
|
}
|
|
27863
27864
|
| {
|
|
@@ -27881,7 +27882,6 @@ export interface Modules {
|
|
|
27881
27882
|
renderRuntimeType?: 'webworker' | 'iframe';
|
|
27882
27883
|
routePrefix: string;
|
|
27883
27884
|
icon?: string;
|
|
27884
|
-
unlicensedAccess?: ('unlicensed' | 'anonymous')[];
|
|
27885
27885
|
key: ModuleKeySchema;
|
|
27886
27886
|
}
|
|
27887
27887
|
)[]
|
package/out/text/errors.js
CHANGED
|
@@ -288,7 +288,7 @@ exports.errors = {
|
|
|
288
288
|
invalidConfluenceModuleInJira: () => 'Using the module `confluence:fullPage` is invalid when the required product is Jira. Full page modules must match the required product. Use `jira:fullPage` as the module type, or change the required product to Confluence in your manifest.yml compatibility settings.',
|
|
289
289
|
invalidJiraModuleInConfluence: () => 'Using the module `jira:fullPage` is invalid when the required product is Confluence. Full page modules must match the required product. Use `confluence:fullPage` as the module type, or change the required product to Jira in your manifest.yml compatibility settings.',
|
|
290
290
|
invalidProduct: (product) => `Invalid product '${product}' in app.compatibility. Only 'jira' and 'confluence' are supported as compatibility products for this module.`,
|
|
291
|
-
oneRequiredContext: () => '
|
|
291
|
+
oneRequiredContext: () => 'One context (Jira, Confluence, or Compass) must have `required:true` in app.compatibility.'
|
|
292
292
|
}
|
|
293
293
|
},
|
|
294
294
|
translations: {
|
|
@@ -18,7 +18,7 @@ class CompatibilityValidator {
|
|
|
18
18
|
const compatibility = app?.compatibility || {};
|
|
19
19
|
const hasCompatibilityKeys = Object.keys(compatibility).length > 0;
|
|
20
20
|
const requiredContexts = Object.keys(compatibility).filter((key) => compatibility[key]?.required === true);
|
|
21
|
-
if (hasCompatibilityKeys && requiredContexts.length
|
|
21
|
+
if (hasCompatibilityKeys && requiredContexts.length !== 1) {
|
|
22
22
|
validationErrors.push({
|
|
23
23
|
message: text_1.errors.app.compatibility.oneRequiredContext(),
|
|
24
24
|
reference: text_2.References.SchemaError,
|