@forge/manifest 4.20.1-next.1 → 4.20.1-next.10

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,67 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 4.20.1-next.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 342f87ac: Added version related product delete event to scope mapping
8
+
9
+ ## 4.20.1-next.9
10
+
11
+ ### Patch Changes
12
+
13
+ - be07192e: Update manifest definitions
14
+
15
+ ## 4.20.1-next.8
16
+
17
+ ### Patch Changes
18
+
19
+ - 6f4e2f01: Bumping dependencies via Renovate:
20
+
21
+ - @types/jest
22
+
23
+ ## 4.20.1-next.7
24
+
25
+ ### Patch Changes
26
+
27
+ - 9d9361e8: Bumping dependencies via Renovate:
28
+
29
+ - @types/js-yaml
30
+
31
+ ## 4.20.1-next.6
32
+
33
+ ### Patch Changes
34
+
35
+ - efffc256: Bumping dependencies via Renovate:
36
+
37
+ - @types/node
38
+
39
+ ## 4.20.1-next.5
40
+
41
+ ### Patch Changes
42
+
43
+ - 641b0551: Bumping dependencies via Renovate:
44
+
45
+ - @types/node-fetch
46
+
47
+ ## 4.20.1-next.4
48
+
49
+ ### Patch Changes
50
+
51
+ - 4ccdaa4e: Added delete sprint related product event to scope mapping
52
+
53
+ ## 4.20.1-next.3
54
+
55
+ ### Patch Changes
56
+
57
+ - b6d6adbe: Added project delete event scopes mapping for forge product trigger
58
+
59
+ ## 4.20.1-next.2
60
+
61
+ ### Patch Changes
62
+
63
+ - c02dfc6e: Added worklog delete event scopes mapping for forge product trigger
64
+
3
65
  ## 4.20.1-next.1
4
66
 
5
67
  ### Patch Changes
@@ -382,6 +382,17 @@
382
382
  ]
383
383
  }
384
384
  },
385
+ {
386
+ "productEvent": "avi:jira:deleted:version",
387
+ "oAuthScopes": {
388
+ "beta": [
389
+ "read:project-version:jira"
390
+ ],
391
+ "current": [
392
+ "read:jira-work"
393
+ ]
394
+ }
395
+ },
385
396
  {
386
397
  "productEvent": "avi:jira:created:worklog",
387
398
  "oAuthScopes": {
@@ -416,6 +427,23 @@
416
427
  ]
417
428
  }
418
429
  },
430
+ {
431
+ "productEvent": "avi:jira:deleted:worklog",
432
+ "oAuthScopes": {
433
+ "beta": [
434
+ "read:issue-worklog.property:jira",
435
+ "read:issue-worklog:jira",
436
+ "read:project-role:jira",
437
+ "read:comment:jira",
438
+ "read:avatar:jira",
439
+ "read:group:jira",
440
+ "read:user:jira"
441
+ ],
442
+ "current": [
443
+ "read:jira-work"
444
+ ]
445
+ }
446
+ },
419
447
  {
420
448
  "productEvent": "avi:confluence:updated:blogpost",
421
449
  "oAuthScopes": {
@@ -1094,6 +1122,17 @@
1094
1122
  ]
1095
1123
  }
1096
1124
  },
1125
+ {
1126
+ "productEvent": "avi:jira-software:deleted:sprint",
1127
+ "oAuthScopes": {
1128
+ "beta": [
1129
+ "read:sprint:jira-software"
1130
+ ],
1131
+ "current": [
1132
+ "read:jira-work"
1133
+ ]
1134
+ }
1135
+ },
1097
1136
  {
1098
1137
  "productEvent": "avi:jira:created:attachment",
1099
1138
  "oAuthScopes": {
@@ -1217,6 +1256,17 @@
1217
1256
  "read:jira-work"
1218
1257
  ]
1219
1258
  }
1259
+ },
1260
+ {
1261
+ "productEvent": "avi:jira:deleted:project",
1262
+ "oAuthScopes": {
1263
+ "beta": [
1264
+ "read:project:jira"
1265
+ ],
1266
+ "current": [
1267
+ "read:jira-work"
1268
+ ]
1269
+ }
1220
1270
  }
1221
1271
  ]
1222
1272
  }
@@ -510,6 +510,60 @@
510
510
  },
511
511
  "minItems": 1
512
512
  },
513
+ "migration": {
514
+ "type": "array",
515
+ "items": {
516
+ "anyOf": [
517
+ {
518
+ "type": "object",
519
+ "properties": {
520
+ "listenerTriggered": {
521
+ "type": "object",
522
+ "properties": {
523
+ "function": {
524
+ "type": "string",
525
+ "minLength": 1,
526
+ "maxLength": 255,
527
+ "pattern": "^[a-zA-Z0-9-_]+$"
528
+ }
529
+ },
530
+ "required": [
531
+ "function"
532
+ ]
533
+ }
534
+ }
535
+ },
536
+ {
537
+ "type": "object",
538
+ "properties": {
539
+ "appDataUploaded": {
540
+ "type": "object",
541
+ "properties": {
542
+ "function": {
543
+ "type": "string",
544
+ "minLength": 1,
545
+ "maxLength": 255,
546
+ "pattern": "^[a-zA-Z0-9-_]+$"
547
+ }
548
+ },
549
+ "required": [
550
+ "function"
551
+ ]
552
+ }
553
+ }
554
+ }
555
+ ],
556
+ "properties": {
557
+ "key": {
558
+ "$ref": "#/definitions/ModuleKeySchema"
559
+ }
560
+ },
561
+ "required": [
562
+ "key"
563
+ ]
564
+ },
565
+ "minItems": 1
566
+ },
513
567
  "endpoint": {
514
568
  "type": "array",
515
569
  "items": {
@@ -475,6 +475,40 @@ export interface Modules {
475
475
  [k: string]: unknown;
476
476
  }[]
477
477
  ];
478
+ migration?: [
479
+ (
480
+ | {
481
+ listenerTriggered?: {
482
+ function: string;
483
+ [k: string]: unknown;
484
+ };
485
+ [k: string]: unknown;
486
+ }
487
+ | {
488
+ appDataUploaded?: {
489
+ function: string;
490
+ [k: string]: unknown;
491
+ };
492
+ [k: string]: unknown;
493
+ }
494
+ ),
495
+ ...(
496
+ | {
497
+ listenerTriggered?: {
498
+ function: string;
499
+ [k: string]: unknown;
500
+ };
501
+ [k: string]: unknown;
502
+ }
503
+ | {
504
+ appDataUploaded?: {
505
+ function: string;
506
+ [k: string]: unknown;
507
+ };
508
+ [k: string]: unknown;
509
+ }
510
+ )[]
511
+ ];
478
512
  endpoint?: [
479
513
  {
480
514
  /**
@@ -5,6 +5,7 @@ export declare enum AllModuleTypes {
5
5
  CoreConsumer = "core:consumer",
6
6
  CoreScheduledTrigger = "core:scheduledTrigger",
7
7
  CoreEndpoint = "core:endpoint",
8
+ CoreMigration = "core:migration",
8
9
  XenMacro = "xen:macro",
9
10
  ConfluenceContentAction = "confluence:contentAction",
10
11
  ConfluenceContentBylineItem = "confluence:contentBylineItem",
@@ -1 +1 @@
1
- {"version":3,"file":"module-types.d.ts","sourceRoot":"","sources":["../../src/types/module-types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,YAAY,kBAAkB;IAC9B,oBAAoB,0BAA0B;IAC9C,YAAY,kBAAkB;IAC9B,QAAQ,cAAc;IACtB,uBAAuB,6BAA6B;IACpD,2BAA2B,iCAAiC;IAC5D,qBAAqB,2BAA2B;IAChD,uBAAuB,6BAA6B;IACpD,wBAAwB,8BAA8B;IACtD,oBAAoB,0BAA0B;IAC9C,sBAAsB,4BAA4B;IAClD,mBAAmB,yBAAyB;IAC5C,uBAAuB,6BAA6B;IACpD,kBAAkB,wBAAwB;IAC1C,qBAAqB,2BAA2B;IAChD,qBAAqB,2BAA2B;IAChD,wBAAwB,8BAA8B;IACtD,eAAe,qBAAqB;IACpC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;IACxC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,gBAAgB,sBAAsB;IACtC,cAAc,oBAAoB;IAClC,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,uBAAuB,6BAA6B;IACpD,cAAc,oBAAoB;IAClC,mBAAmB,yBAAyB;IAC5C,6BAA6B,mCAAmC;IAChE,6BAA6B,mCAAmC;IAChE,oBAAoB,0BAA0B;IAC9C,qBAAqB,2BAA2B;IAChD,eAAe,qBAAqB;IAEpC,gBAAgB,sBAAsB;IACtC,oBAAoB,0BAA0B;IAC9C,iBAAiB,uBAAuB;IACxC,eAAe,qBAAqB;IACpC,mBAAmB,yBAAyB;IAE5C,qCAAqC,2CAA2C;IAChF,qCAAqC,2CAA2C;IAChF,8BAA8B,oCAAoC;IAClE,wCAAwC,8CAA8C;IACtF,6CAA6C,mDAAmD;IAChG,sCAAsC,4CAA4C;IAClF,iCAAiC,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ACnE,4CAA4C,mDAAmD;IAC/F,iCAAiC,wCAAwC;IACzE,mCAAmC,0CAA0C;IAC7E,8BAA8B,qCAAqC;IACnE,wBAAwB,+BAA+B;IACvD,qCAAqC,4CAA4C;IACjF,6BAA6B,oCAAoC;IACjE,kCAAkC,yCAAyC;IAC3E,gCAAgC,uCAAuC;IACvE,+BAA+B,sCAAsC;IACrE,oCAAoC,2CAA2C;IAC/E,yBAAyB,gCAAgC;IACzD,0BAA0B,iCAAiC;IAC3D,4BAA4B,mCAAmC;IAC/D,yBAAyB,gCAAgC;IACzD,wBAAwB,+BAA+B;IACvD,kBAAkB,yBAAyB;IAC3C,gCAAgC,uCAAuC;IACvE,qCAAqC,4CAA4C;IACjF,8BAA8B,qCAAqC;IACnE,+BAA+B,sCAAsC;IACrE,sCAAsC,6CAA6C;IACnF,4BAA4B,mCAAmC;IAC/D,6BAA6B,oCAAoC;IACjE,yBAAyB,gCAAgC;IACzD,2BAA2B,kCAAkC;IAC7D,iCAAiC,wCAAwC;IACzE,sBAAsB,6BAA6B;IACnD,iCAAiC,wCAAwC;IACzE,oCAAoC,2CAA2C;IAC/E,iCAAiC,wCAAwC;IACzE,0BAA0B,iCAAiC;IAC3D,oBAAoB,2BAA2B;IAC/C,sBAAsB,6BAA6B;IACnD,mBAAmB,0BAA0B;IAC7C,0BAA0B,iCAAiC;IAC3D,8BAA8B,uBAAuB;IACrD,6BAA6B,sBAAsB;IACnD,6BAA6B,sBAAsB;IACnD,gCAAgC,yBAAyB;IACzD,wCAAwC,iCAAiC;IACzE,+BAA+B,wBAAwB;IACvD,2BAA2B,oBAAoB;CAChD;AAED,eAAO,MAAM,iBAAiB,kBAAgC,CAAC;AAE/D,eAAO,MAAM,uBAAuB,UAAwE,CAAC"}
@@ -9,6 +9,7 @@ var AllModuleTypes;
9
9
  AllModuleTypes["CoreConsumer"] = "core:consumer";
10
10
  AllModuleTypes["CoreScheduledTrigger"] = "core:scheduledTrigger";
11
11
  AllModuleTypes["CoreEndpoint"] = "core:endpoint";
12
+ AllModuleTypes["CoreMigration"] = "core:migration";
12
13
  AllModuleTypes["XenMacro"] = "xen:macro";
13
14
  AllModuleTypes["ConfluenceContentAction"] = "confluence:contentAction";
14
15
  AllModuleTypes["ConfluenceContentBylineItem"] = "confluence:contentBylineItem";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "4.20.1-next.1",
3
+ "version": "4.20.1-next.10",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {
@@ -15,10 +15,10 @@
15
15
  "fetch-config": "yarn run build && node out/config/index.js"
16
16
  },
17
17
  "devDependencies": {
18
- "@types/jest": "^29.5.4",
19
- "@types/js-yaml": "^3.12.7",
20
- "@types/node": "14.18.59",
21
- "@types/node-fetch": "^2.6.4"
18
+ "@types/jest": "^29.5.5",
19
+ "@types/js-yaml": "^3.12.8",
20
+ "@types/node": "14.18.61",
21
+ "@types/node-fetch": "^2.6.5"
22
22
  },
23
23
  "author": "Atlassian",
24
24
  "license": "UNLICENSED",