@forge/manifest 0.0.0-experimental-e1cefc4 → 0.0.0-experimental-29a2cc1

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +183 -2
  2. package/out/index.d.ts +1 -0
  3. package/out/index.d.ts.map +1 -1
  4. package/out/index.js +1 -0
  5. package/out/mapping/product-event-to-scope-mapping.json +110 -61
  6. package/out/processor/full-validation-processor.d.ts.map +1 -1
  7. package/out/processor/full-validation-processor.js +0 -2
  8. package/out/schema/manifest-schema.json +504 -3
  9. package/out/schema/manifest.d.ts +221 -1
  10. package/out/scopes/deprecated-shipyard-scopes.json +1 -24
  11. package/out/scopes/index.d.ts +7 -0
  12. package/out/scopes/index.d.ts.map +1 -0
  13. package/out/scopes/index.js +22 -0
  14. package/out/scopes/shipyard-scopes.json +22 -0
  15. package/out/text/errors.d.ts +12 -1
  16. package/out/text/errors.d.ts.map +1 -1
  17. package/out/text/errors.js +12 -1
  18. package/out/types/module-types.d.ts +7 -1
  19. package/out/types/module-types.d.ts.map +1 -1
  20. package/out/types/module-types.js +7 -1
  21. package/out/utils/get-all-modules.d.ts +3 -0
  22. package/out/utils/get-all-modules.d.ts.map +1 -0
  23. package/out/utils/get-all-modules.js +4 -0
  24. package/out/utils/index.d.ts +1 -0
  25. package/out/utils/index.d.ts.map +1 -1
  26. package/out/utils/index.js +1 -0
  27. package/out/validators/modules-validator.js +2 -2
  28. package/out/validators/modules-validators/confluence/index.d.ts.map +1 -1
  29. package/out/validators/modules-validators/confluence/index.js +6 -0
  30. package/out/validators/modules-validators/confluence/validateCrossModulePropertyUniqueness.d.ts +4 -0
  31. package/out/validators/modules-validators/confluence/validateCrossModulePropertyUniqueness.d.ts.map +1 -0
  32. package/out/validators/modules-validators/confluence/validateCrossModulePropertyUniqueness.js +19 -0
  33. package/out/validators/modules-validators/confluence/validateCustomContentHierarchy.d.ts +4 -0
  34. package/out/validators/modules-validators/confluence/validateCustomContentHierarchy.d.ts.map +1 -0
  35. package/out/validators/modules-validators/confluence/validateCustomContentHierarchy.js +43 -0
  36. package/out/validators/modules-validators/confluence/validateKeyboardShortcuts.d.ts +4 -0
  37. package/out/validators/modules-validators/confluence/validateKeyboardShortcuts.d.ts.map +1 -0
  38. package/out/validators/modules-validators/confluence/validateKeyboardShortcuts.js +102 -0
  39. package/out/validators/modules-validators/confluence/validatePropertyUniqueness.d.ts.map +1 -1
  40. package/out/validators/modules-validators/confluence/validatePropertyUniqueness.js +1 -1
  41. package/out/validators/modules-validators/confluence/validateSingleProperty.d.ts.map +1 -1
  42. package/out/validators/modules-validators/jira/{issue-adjustment.d.ts → ui-modifications.d.ts} +2 -2
  43. package/out/validators/modules-validators/jira/ui-modifications.d.ts.map +1 -0
  44. package/out/validators/modules-validators/jira/{issue-adjustment.js → ui-modifications.js} +4 -4
  45. package/out/validators/product-trigger-scopes-validator.d.ts +2 -4
  46. package/out/validators/product-trigger-scopes-validator.d.ts.map +1 -1
  47. package/out/validators/product-trigger-scopes-validator.js +7 -21
  48. package/package.json +2 -1
  49. package/out/validators/deprecated-permissions-validator.d.ts +0 -7
  50. package/out/validators/deprecated-permissions-validator.d.ts.map +0 -1
  51. package/out/validators/deprecated-permissions-validator.js +0 -31
  52. package/out/validators/modules-validators/jira/issue-adjustment.d.ts.map +0 -1
@@ -351,6 +351,21 @@
351
351
  "minLength": 1,
352
352
  "maxLength": 10000
353
353
  },
354
+ "refDataSchema": {
355
+ "type": "object",
356
+ "additionalProperties": false,
357
+ "properties": {
358
+ "inputType": {
359
+ "type": "string",
360
+ "minLength": 1,
361
+ "maxLength": 255,
362
+ "pattern": "^[a-zA-Z0-9-_]+$"
363
+ }
364
+ },
365
+ "required": [
366
+ "inputType"
367
+ ]
368
+ },
354
369
  "config": {
355
370
  "type": "object",
356
371
  "properties": {
@@ -428,6 +443,21 @@
428
443
  "minLength": 1,
429
444
  "maxLength": 10000
430
445
  },
446
+ "refDataSchema": {
447
+ "type": "object",
448
+ "additionalProperties": false,
449
+ "properties": {
450
+ "inputType": {
451
+ "type": "string",
452
+ "minLength": 1,
453
+ "maxLength": 255,
454
+ "pattern": "^[a-zA-Z0-9-_]+$"
455
+ }
456
+ },
457
+ "required": [
458
+ "inputType"
459
+ ]
460
+ },
431
461
  "config": {
432
462
  "type": "object",
433
463
  "properties": {
@@ -1312,6 +1342,202 @@
1312
1342
  },
1313
1343
  "minItems": 1
1314
1344
  },
1345
+ "confluence:customContent": {
1346
+ "type": "array",
1347
+ "items": {
1348
+ "oneOf": [
1349
+ {
1350
+ "type": "object",
1351
+ "additionalProperties": false,
1352
+ "properties": {
1353
+ "title": {
1354
+ "type": "string",
1355
+ "minLength": 1,
1356
+ "maxLength": 255
1357
+ },
1358
+ "description": {
1359
+ "type": "string",
1360
+ "minLength": 1,
1361
+ "maxLength": 1000
1362
+ },
1363
+ "icon": {
1364
+ "type": "string",
1365
+ "minLength": 1,
1366
+ "maxLength": 255
1367
+ },
1368
+ "bodyType": {
1369
+ "type": "string",
1370
+ "enum": [
1371
+ "raw",
1372
+ "storage"
1373
+ ]
1374
+ },
1375
+ "supportedContainerTypes": {
1376
+ "type": "array",
1377
+ "minItems": 1,
1378
+ "uniqueItems": true,
1379
+ "items": {
1380
+ "type": "string",
1381
+ "maxLength": 100,
1382
+ "minLength": 1,
1383
+ "pattern": "^space$|^page$|^blogpost$|^this:[a-zA-Z0-9-]+$"
1384
+ }
1385
+ },
1386
+ "supportedChildTypes": {
1387
+ "type": "array",
1388
+ "minItems": 1,
1389
+ "uniqueItems": true,
1390
+ "items": {
1391
+ "type": "string",
1392
+ "maxLength": 100,
1393
+ "minLength": 1,
1394
+ "pattern": "^attachment$|^comment$|^this:[a-zA-Z0-9-]+$"
1395
+ }
1396
+ },
1397
+ "supportedSpacePermissions": {
1398
+ "type": "array",
1399
+ "minItems": 1,
1400
+ "uniqueItems": true,
1401
+ "items": {
1402
+ "type": "string",
1403
+ "enum": [
1404
+ "read",
1405
+ "create",
1406
+ "delete"
1407
+ ]
1408
+ }
1409
+ },
1410
+ "indexing": {
1411
+ "type": "boolean"
1412
+ },
1413
+ "preventDuplicateTitle": {
1414
+ "type": "boolean"
1415
+ },
1416
+ "function": {
1417
+ "type": "string",
1418
+ "minLength": 1,
1419
+ "maxLength": 255,
1420
+ "pattern": "^[a-zA-Z0-9-_]+$"
1421
+ },
1422
+ "key": {
1423
+ "$ref": "#/definitions/ModuleKeySchema"
1424
+ }
1425
+ },
1426
+ "required": [
1427
+ "title",
1428
+ "supportedContainerTypes",
1429
+ "function",
1430
+ "key"
1431
+ ]
1432
+ },
1433
+ {
1434
+ "type": "object",
1435
+ "additionalProperties": false,
1436
+ "properties": {
1437
+ "title": {
1438
+ "type": "string",
1439
+ "minLength": 1,
1440
+ "maxLength": 255
1441
+ },
1442
+ "description": {
1443
+ "type": "string",
1444
+ "minLength": 1,
1445
+ "maxLength": 1000
1446
+ },
1447
+ "icon": {
1448
+ "type": "string",
1449
+ "minLength": 1,
1450
+ "maxLength": 255
1451
+ },
1452
+ "bodyType": {
1453
+ "type": "string",
1454
+ "enum": [
1455
+ "raw",
1456
+ "storage"
1457
+ ]
1458
+ },
1459
+ "supportedContainerTypes": {
1460
+ "type": "array",
1461
+ "minItems": 1,
1462
+ "uniqueItems": true,
1463
+ "items": {
1464
+ "type": "string",
1465
+ "maxLength": 100,
1466
+ "minLength": 1,
1467
+ "pattern": "^space$|^page$|^blogpost$|^this:[a-zA-Z0-9-]+$"
1468
+ }
1469
+ },
1470
+ "supportedChildTypes": {
1471
+ "type": "array",
1472
+ "minItems": 1,
1473
+ "uniqueItems": true,
1474
+ "items": {
1475
+ "type": "string",
1476
+ "maxLength": 100,
1477
+ "minLength": 1,
1478
+ "pattern": "^attachment$|^comment$|^this:[a-zA-Z0-9-]+$"
1479
+ }
1480
+ },
1481
+ "supportedSpacePermissions": {
1482
+ "type": "array",
1483
+ "minItems": 1,
1484
+ "uniqueItems": true,
1485
+ "items": {
1486
+ "type": "string",
1487
+ "enum": [
1488
+ "read",
1489
+ "create",
1490
+ "delete"
1491
+ ]
1492
+ }
1493
+ },
1494
+ "indexing": {
1495
+ "type": "boolean"
1496
+ },
1497
+ "preventDuplicateTitle": {
1498
+ "type": "boolean"
1499
+ },
1500
+ "resolver": {
1501
+ "additionalProperties": false,
1502
+ "type": "object",
1503
+ "properties": {
1504
+ "function": {
1505
+ "type": "string",
1506
+ "minLength": 1,
1507
+ "maxLength": 255,
1508
+ "pattern": "^[a-zA-Z0-9-_]+$"
1509
+ }
1510
+ },
1511
+ "required": [
1512
+ "function"
1513
+ ]
1514
+ },
1515
+ "resource": {
1516
+ "type": "string",
1517
+ "minLength": 1,
1518
+ "maxLength": 23,
1519
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
1520
+ },
1521
+ "resourceUploadId": {
1522
+ "type": "string",
1523
+ "minLength": 1,
1524
+ "maxLength": 255
1525
+ },
1526
+ "key": {
1527
+ "$ref": "#/definitions/ModuleKeySchema"
1528
+ }
1529
+ },
1530
+ "required": [
1531
+ "title",
1532
+ "supportedContainerTypes",
1533
+ "resource",
1534
+ "key"
1535
+ ]
1536
+ }
1537
+ ]
1538
+ },
1539
+ "minItems": 1
1540
+ },
1315
1541
  "jira:workflowValidator": {
1316
1542
  "type": "array",
1317
1543
  "items": {
@@ -1416,7 +1642,6 @@
1416
1642
  "propertyKey": {
1417
1643
  "minLength": 1,
1418
1644
  "maxLength": 255,
1419
- "pattern": "^[a-zA-Z0-9-_]+$",
1420
1645
  "type": "string"
1421
1646
  },
1422
1647
  "entityType": {
@@ -1436,7 +1661,6 @@
1436
1661
  "path": {
1437
1662
  "minLength": 1,
1438
1663
  "maxLength": 255,
1439
- "pattern": "^[a-zA-Z0-9-_]+$",
1440
1664
  "type": "string"
1441
1665
  },
1442
1666
  "type": {
@@ -2341,7 +2565,7 @@
2341
2565
  },
2342
2566
  "minItems": 1
2343
2567
  },
2344
- "jira:issueAdjustment": {
2568
+ "jira:uiModifications": {
2345
2569
  "type": "array",
2346
2570
  "items": {
2347
2571
  "type": "object",
@@ -4007,6 +4231,123 @@
4007
4231
  },
4008
4232
  "minItems": 1
4009
4233
  },
4234
+ "jira:dashboardBackgroundScript": {
4235
+ "type": "array",
4236
+ "items": {
4237
+ "type": "object",
4238
+ "properties": {
4239
+ "resource": {
4240
+ "type": "string",
4241
+ "minLength": 1,
4242
+ "maxLength": 23,
4243
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4244
+ },
4245
+ "resolver": {
4246
+ "additionalProperties": false,
4247
+ "type": "object",
4248
+ "properties": {
4249
+ "function": {
4250
+ "type": "string",
4251
+ "minLength": 1,
4252
+ "maxLength": 255,
4253
+ "pattern": "^[a-zA-Z0-9-_]+$"
4254
+ }
4255
+ },
4256
+ "required": [
4257
+ "function"
4258
+ ]
4259
+ },
4260
+ "displayConditions": {
4261
+ "type": "object",
4262
+ "properties": {}
4263
+ },
4264
+ "key": {
4265
+ "$ref": "#/definitions/ModuleKeySchema"
4266
+ }
4267
+ },
4268
+ "required": [
4269
+ "resource",
4270
+ "key"
4271
+ ]
4272
+ },
4273
+ "minItems": 1
4274
+ },
4275
+ "jira:workflowPostFunction": {
4276
+ "type": "array",
4277
+ "items": {
4278
+ "type": "object",
4279
+ "properties": {
4280
+ "name": {
4281
+ "minLength": 1,
4282
+ "maxLength": 255,
4283
+ "type": "string"
4284
+ },
4285
+ "description": {
4286
+ "minLength": 1,
4287
+ "maxLength": 1000,
4288
+ "type": "string"
4289
+ },
4290
+ "function": {
4291
+ "type": "string",
4292
+ "minLength": 1,
4293
+ "maxLength": 255,
4294
+ "pattern": "^[a-zA-Z0-9-_]+$"
4295
+ },
4296
+ "view": {
4297
+ "type": "object",
4298
+ "properties": {
4299
+ "resource": {
4300
+ "type": "string",
4301
+ "minLength": 1,
4302
+ "maxLength": 23,
4303
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4304
+ }
4305
+ },
4306
+ "required": [
4307
+ "resource"
4308
+ ]
4309
+ },
4310
+ "edit": {
4311
+ "type": "object",
4312
+ "properties": {
4313
+ "resource": {
4314
+ "type": "string",
4315
+ "minLength": 1,
4316
+ "maxLength": 23,
4317
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4318
+ }
4319
+ },
4320
+ "required": [
4321
+ "resource"
4322
+ ]
4323
+ },
4324
+ "create": {
4325
+ "type": "object",
4326
+ "properties": {
4327
+ "resource": {
4328
+ "type": "string",
4329
+ "minLength": 1,
4330
+ "maxLength": 23,
4331
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4332
+ }
4333
+ },
4334
+ "required": [
4335
+ "resource"
4336
+ ]
4337
+ },
4338
+ "key": {
4339
+ "$ref": "#/definitions/ModuleKeySchema"
4340
+ }
4341
+ },
4342
+ "required": [
4343
+ "description",
4344
+ "function",
4345
+ "name",
4346
+ "key"
4347
+ ]
4348
+ },
4349
+ "minItems": 1
4350
+ },
4010
4351
  "compass:adminPage": {
4011
4352
  "type": "array",
4012
4353
  "items": {
@@ -4337,6 +4678,71 @@
4337
4678
  },
4338
4679
  "minItems": 1
4339
4680
  },
4681
+ "compass:dataProvider": {
4682
+ "type": "array",
4683
+ "items": {
4684
+ "type": "object",
4685
+ "additionalProperties": false,
4686
+ "properties": {
4687
+ "domains": {
4688
+ "type": "array",
4689
+ "minItems": 1,
4690
+ "uniqueItems": true,
4691
+ "items": {
4692
+ "type": "string"
4693
+ }
4694
+ },
4695
+ "linkTypes": {
4696
+ "type": "array",
4697
+ "minItems": 1,
4698
+ "uniqueItems": true,
4699
+ "items": {
4700
+ "enum": [
4701
+ "chat-channel",
4702
+ "document",
4703
+ "repository",
4704
+ "dashboard",
4705
+ "on-call",
4706
+ "project",
4707
+ "other-link"
4708
+ ],
4709
+ "type": "string"
4710
+ },
4711
+ "title": "linkTypes"
4712
+ },
4713
+ "function": {
4714
+ "type": "string",
4715
+ "minLength": 1,
4716
+ "maxLength": 255,
4717
+ "pattern": "^[a-zA-Z0-9-_]+$"
4718
+ },
4719
+ "callback": {
4720
+ "type": "object",
4721
+ "properties": {
4722
+ "function": {
4723
+ "type": "string",
4724
+ "minLength": 1,
4725
+ "maxLength": 255,
4726
+ "pattern": "^[a-zA-Z0-9-_]+$"
4727
+ }
4728
+ },
4729
+ "required": [
4730
+ "function"
4731
+ ]
4732
+ },
4733
+ "key": {
4734
+ "$ref": "#/definitions/ModuleKeySchema"
4735
+ }
4736
+ },
4737
+ "required": [
4738
+ "function",
4739
+ "domains",
4740
+ "linkTypes",
4741
+ "key"
4742
+ ]
4743
+ },
4744
+ "minItems": 1
4745
+ },
4340
4746
  "jiraServiceManagement:queuePage": {
4341
4747
  "type": "array",
4342
4748
  "items": {
@@ -5264,6 +5670,101 @@
5264
5670
  },
5265
5671
  "minItems": 1
5266
5672
  },
5673
+ "jiraServiceManagement:portalUserMenuAction": {
5674
+ "type": "array",
5675
+ "items": {
5676
+ "oneOf": [
5677
+ {
5678
+ "type": "object",
5679
+ "properties": {
5680
+ "title": {
5681
+ "type": "string",
5682
+ "minLength": 1,
5683
+ "maxLength": 255
5684
+ },
5685
+ "function": {
5686
+ "type": "string",
5687
+ "minLength": 1,
5688
+ "maxLength": 255,
5689
+ "pattern": "^[a-zA-Z0-9-_]+$"
5690
+ },
5691
+ "displayConditions": {
5692
+ "type": "object",
5693
+ "properties": {}
5694
+ },
5695
+ "key": {
5696
+ "$ref": "#/definitions/ModuleKeySchema"
5697
+ }
5698
+ },
5699
+ "required": [
5700
+ "title",
5701
+ "function",
5702
+ "key"
5703
+ ]
5704
+ },
5705
+ {
5706
+ "type": "object",
5707
+ "properties": {
5708
+ "title": {
5709
+ "type": "string",
5710
+ "minLength": 1,
5711
+ "maxLength": 255
5712
+ },
5713
+ "resolver": {
5714
+ "additionalProperties": false,
5715
+ "type": "object",
5716
+ "properties": {
5717
+ "function": {
5718
+ "type": "string",
5719
+ "minLength": 1,
5720
+ "maxLength": 255,
5721
+ "pattern": "^[a-zA-Z0-9-_]+$"
5722
+ }
5723
+ },
5724
+ "required": [
5725
+ "function"
5726
+ ]
5727
+ },
5728
+ "resource": {
5729
+ "type": "string",
5730
+ "minLength": 1,
5731
+ "maxLength": 23,
5732
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
5733
+ },
5734
+ "resourceUploadId": {
5735
+ "type": "string",
5736
+ "minLength": 1,
5737
+ "maxLength": 255
5738
+ },
5739
+ "viewportSize": {
5740
+ "type": "string",
5741
+ "minLength": 1,
5742
+ "maxLength": 255,
5743
+ "enum": [
5744
+ "small",
5745
+ "medium",
5746
+ "large",
5747
+ "xlarge"
5748
+ ]
5749
+ },
5750
+ "displayConditions": {
5751
+ "type": "object",
5752
+ "properties": {}
5753
+ },
5754
+ "key": {
5755
+ "$ref": "#/definitions/ModuleKeySchema"
5756
+ }
5757
+ },
5758
+ "required": [
5759
+ "title",
5760
+ "resource",
5761
+ "key"
5762
+ ]
5763
+ }
5764
+ ]
5765
+ },
5766
+ "minItems": 1
5767
+ },
5267
5768
  "connect-jira:keyboardShortcuts": {
5268
5769
  "type": "array",
5269
5770
  "items": {