@forge/manifest 8.4.0 → 8.4.1-experimental-147ff14

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,5 +1,30 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 8.4.1-experimental-147ff14
4
+
5
+ ### Patch Changes
6
+
7
+ - f93c4d3: Update manifest definitions
8
+
9
+ ## 8.4.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 19c93e7: Update application manifest to support defining a primary product for XPA support
14
+ - 1815689: Update manifest definitions
15
+
16
+ ## 8.4.1-next.1
17
+
18
+ ### Patch Changes
19
+
20
+ - 1815689: Update manifest definitions
21
+
22
+ ## 8.4.1-next.0
23
+
24
+ ### Patch Changes
25
+
26
+ - 19c93e7: Update application manifest to support defining a primary product for XPA support
27
+
3
28
  ## 8.4.0
4
29
 
5
30
  ### Minor Changes
@@ -44,6 +44,16 @@
44
44
  "name"
45
45
  ]
46
46
  },
47
+ "primaryProduct": {
48
+ "type": "string",
49
+ "enum": [
50
+ "confluence",
51
+ "jira",
52
+ "compass"
53
+ ],
54
+ "title": "primaryProduct",
55
+ "description": "The primary product for cross-product functionality. If not set, app is not a cross-product app."
56
+ },
47
57
  "licensing": {
48
58
  "additionalProperties": false,
49
59
  "required": [
@@ -21,6 +21,10 @@ export type Snapshots = boolean;
21
21
  * Name of the runtime to use for app execution.
22
22
  */
23
23
  export type Name = 'sandbox' | 'nodejs18.x' | 'nodejs20.x' | 'nodejs22.x';
24
+ /**
25
+ * The primary product for cross-product functionality. If not set, app is not a cross-product app.
26
+ */
27
+ export type PrimaryProduct = 'confluence' | 'jira' | 'compass';
24
28
  /**
25
29
  * Whether to enable paid app licensing for production installations of this app. Default value of false.
26
30
  */
@@ -50,6 +54,7 @@ export interface App {
50
54
  description?: Description;
51
55
  id: Id;
52
56
  runtime: Runtime;
57
+ primaryProduct?: PrimaryProduct;
53
58
  licensing?: Licensing;
54
59
  features?: Features;
55
60
  connect?: Connect;
@@ -44,6 +44,16 @@
44
44
  "name"
45
45
  ]
46
46
  },
47
+ "primaryProduct": {
48
+ "type": "string",
49
+ "enum": [
50
+ "confluence",
51
+ "jira",
52
+ "compass"
53
+ ],
54
+ "title": "primaryProduct",
55
+ "description": "The primary product for cross-product functionality. If not set, app is not a cross-product app."
56
+ },
47
57
  "licensing": {
48
58
  "additionalProperties": false,
49
59
  "required": [
@@ -13137,6 +13147,40 @@
13137
13147
  }
13138
13148
  ]
13139
13149
  },
13150
+ "resolver": {
13151
+ "anyOf": [
13152
+ {
13153
+ "additionalProperties": false,
13154
+ "type": "object",
13155
+ "properties": {
13156
+ "function": {
13157
+ "type": "string",
13158
+ "minLength": 1,
13159
+ "maxLength": 255,
13160
+ "pattern": "^[a-zA-Z0-9-_]+$"
13161
+ }
13162
+ },
13163
+ "required": [
13164
+ "function"
13165
+ ]
13166
+ },
13167
+ {
13168
+ "additionalProperties": false,
13169
+ "type": "object",
13170
+ "properties": {
13171
+ "endpoint": {
13172
+ "type": "string",
13173
+ "minLength": 1,
13174
+ "maxLength": 255,
13175
+ "pattern": "^[a-zA-Z0-9-_]+$"
13176
+ }
13177
+ },
13178
+ "required": [
13179
+ "endpoint"
13180
+ ]
13181
+ }
13182
+ ]
13183
+ },
13140
13184
  "resourceUploadId": {
13141
13185
  "type": "string",
13142
13186
  "minLength": 1,
@@ -21,6 +21,10 @@ export type Snapshots = boolean;
21
21
  * Name of the runtime to use for app execution.
22
22
  */
23
23
  export type Name = 'sandbox' | 'nodejs18.x' | 'nodejs20.x' | 'nodejs22.x';
24
+ /**
25
+ * The primary product for cross-product functionality. If not set, app is not a cross-product app.
26
+ */
27
+ export type PrimaryProduct = 'confluence' | 'jira' | 'compass';
24
28
  /**
25
29
  * Whether to enable paid app licensing for production installations of this app. Default value of false.
26
30
  */
@@ -566,6 +570,7 @@ export interface App {
566
570
  description?: Description;
567
571
  id: Id;
568
572
  runtime: Runtime;
573
+ primaryProduct?: PrimaryProduct;
569
574
  licensing?: Licensing;
570
575
  features?: Features;
571
576
  connect?: Connect;
@@ -8528,6 +8533,13 @@ export interface Modules {
8528
8533
  render?: 'default' | 'native';
8529
8534
  [k: string]: unknown;
8530
8535
  };
8536
+ resolver?:
8537
+ | {
8538
+ function: string;
8539
+ }
8540
+ | {
8541
+ endpoint: string;
8542
+ };
8531
8543
  resourceUploadId?: string;
8532
8544
  key: ModuleKeySchema;
8533
8545
  },
@@ -8551,6 +8563,13 @@ export interface Modules {
8551
8563
  render?: 'default' | 'native';
8552
8564
  [k: string]: unknown;
8553
8565
  };
8566
+ resolver?:
8567
+ | {
8568
+ function: string;
8569
+ }
8570
+ | {
8571
+ endpoint: string;
8572
+ };
8554
8573
  resourceUploadId?: string;
8555
8574
  key: ModuleKeySchema;
8556
8575
  }[]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "8.4.0",
3
+ "version": "8.4.1-experimental-147ff14",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {