@forge/manifest 3.10.0-next.5 → 3.10.1-next.0

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,35 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 3.10.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - c1c93a4: Update manifest definitions
8
+
9
+ ## 3.10.0
10
+
11
+ ### Minor Changes
12
+
13
+ - f890e0e: Enabling jira permission modules
14
+ - 9298536: Added manifest schema changes for KeyboardShortcuts in Confluence Forge modules.
15
+
16
+ ### Patch Changes
17
+
18
+ - 02aefee: Verify Automation for Confluence extension points
19
+ - d486898: Add new product events for issue links
20
+ - ee8d860: Update manifest definitions
21
+ - 2ae0afe: Update manifest definitions
22
+ - 91daffc: Update manifest definitions
23
+ - 7558a5d: Update manifest definitions
24
+ - f543a47: Update manifest definitions
25
+ - 8876b96: Update manifest definitions
26
+
27
+ ## 3.10.0-next.6
28
+
29
+ ### Patch Changes
30
+
31
+ - ee8d860: Update manifest definitions
32
+
3
33
  ## 3.10.0-next.5
4
34
 
5
35
  ### Patch Changes
@@ -157,12 +157,15 @@
157
157
  "additionalProperties": false,
158
158
  "properties": {
159
159
  "events": {
160
- "$ref": "#/definitions/Array",
161
- "title": "events",
162
- "type": "array",
163
- "items": {
164
- "type": "string"
165
- }
160
+ "oneOf": [
161
+ {
162
+ "$ref": "#/definitions/ProductEvents"
163
+ },
164
+ {
165
+ "$ref": "#/definitions/FilteredProductEvents"
166
+ }
167
+ ],
168
+ "title": "events"
166
169
  },
167
170
  "function": {
168
171
  "$ref": "#/definitions/ExtensionKey",
@@ -2910,7 +2913,7 @@
2910
2913
  "title": {
2911
2914
  "type": "string",
2912
2915
  "minLength": 1,
2913
- "maxLength": 255
2916
+ "maxLength": 254
2914
2917
  },
2915
2918
  "resolver": {
2916
2919
  "additionalProperties": false,
@@ -12264,6 +12267,45 @@
12264
12267
  },
12265
12268
  "additionalProperties": false
12266
12269
  },
12270
+ "ProductEvents": {
12271
+ "$ref": "#/definitions/Array",
12272
+ "title": "ProductEvents",
12273
+ "type": "array",
12274
+ "items": {
12275
+ "type": "string"
12276
+ }
12277
+ },
12278
+ "FilteredProductEvents": {
12279
+ "title": "FilteredProductEvents",
12280
+ "type": "array",
12281
+ "items": {
12282
+ "type": "object",
12283
+ "properties": {
12284
+ "eventType": {
12285
+ "title": "eventType",
12286
+ "type": "string"
12287
+ },
12288
+ "filter": {
12289
+ "title": "filter",
12290
+ "type": "object",
12291
+ "properties": {
12292
+ "ignoreSelf": {
12293
+ "title": "ignoreSelf",
12294
+ "description": "The app will ignore events generated by itself",
12295
+ "type": "boolean"
12296
+ }
12297
+ },
12298
+ "required": [
12299
+ "ignoreSelf"
12300
+ ]
12301
+ }
12302
+ },
12303
+ "required": [
12304
+ "eventType",
12305
+ "filter"
12306
+ ]
12307
+ }
12308
+ },
12267
12309
  "DisplayConditions": {
12268
12310
  "additionalProperties": false,
12269
12311
  "properties": {
@@ -29,7 +29,18 @@ export type Key = string;
29
29
  * A key for the module. Must be unique within the manifest.
30
30
  */
31
31
  export type ModuleKeySchema = string;
32
- export type Events = string[];
32
+ export type Events = ProductEvents | FilteredProductEvents;
33
+ export type ProductEvents = string[];
34
+ export type EventType = string;
35
+ /**
36
+ * The app will ignore events generated by itself
37
+ */
38
+ export type IgnoreSelf = boolean;
39
+ export type FilteredProductEvents = {
40
+ eventType: EventType;
41
+ filter: Filter;
42
+ [k: string]: unknown;
43
+ }[];
33
44
  /**
34
45
  * The key for an extension in CaaS. That means that this is a reference to another
35
46
  * extension in your descriptor / manifest.
@@ -4983,6 +4994,10 @@ export interface Modules {
4983
4994
  ];
4984
4995
  [k: string]: unknown;
4985
4996
  }
4997
+ export interface Filter {
4998
+ ignoreSelf: IgnoreSelf;
4999
+ [k: string]: unknown;
5000
+ }
4986
5001
  export interface StringPredicate {
4987
5002
  op: 'contains' | 'contains-' | 'ends' | 'ends-' | 'matches' | 'matches-' | 'starts' | 'starts-';
4988
5003
  path: Path;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "3.10.0-next.5",
3
+ "version": "3.10.1-next.0",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {