@forge/manifest 3.6.0-next.1 → 3.6.0-next.2

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,12 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 3.6.0-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 5c9419f4: Update manifest definitions
8
+ - e8a69267: Update manifest definitions
9
+
3
10
  ## 3.6.0-next.1
4
11
 
5
12
  ### Minor Changes
@@ -1312,6 +1312,222 @@
1312
1312
  },
1313
1313
  "minItems": 1
1314
1314
  },
1315
+ "confluence:customContent": {
1316
+ "type": "array",
1317
+ "items": {
1318
+ "oneOf": [
1319
+ {
1320
+ "type": "object",
1321
+ "additionalProperties": false,
1322
+ "properties": {
1323
+ "title": {
1324
+ "type": "string",
1325
+ "minLength": 1,
1326
+ "maxLength": 255
1327
+ },
1328
+ "description": {
1329
+ "type": "string",
1330
+ "minLength": 1,
1331
+ "maxLength": 1000
1332
+ },
1333
+ "icon": {
1334
+ "type": "string",
1335
+ "minLength": 1,
1336
+ "maxLength": 255
1337
+ },
1338
+ "bodyType": {
1339
+ "type": "string",
1340
+ "enum": [
1341
+ "raw",
1342
+ "storage"
1343
+ ]
1344
+ },
1345
+ "supportedContainerTypes": {
1346
+ "type": "array",
1347
+ "minItems": 1,
1348
+ "uniqueItems": true,
1349
+ "items": {
1350
+ "type": "string",
1351
+ "maxLength": 100,
1352
+ "minLength": 1,
1353
+ "pattern": "^space$|^page$|^blogpost$|^this:[a-zA-Z0-9-]+$"
1354
+ }
1355
+ },
1356
+ "supportedChildTypes": {
1357
+ "type": "array",
1358
+ "minItems": 1,
1359
+ "uniqueItems": true,
1360
+ "items": {
1361
+ "type": "string",
1362
+ "maxLength": 100,
1363
+ "minLength": 1,
1364
+ "pattern": "^attachment$|^comment$|^this:[a-zA-Z0-9-]+$"
1365
+ }
1366
+ },
1367
+ "supportedSpacePermissions": {
1368
+ "type": "array",
1369
+ "minItems": 1,
1370
+ "uniqueItems": true,
1371
+ "items": {
1372
+ "type": "string",
1373
+ "enum": [
1374
+ "read",
1375
+ "write",
1376
+ "delete"
1377
+ ]
1378
+ }
1379
+ },
1380
+ "indexing": {
1381
+ "type": "boolean"
1382
+ },
1383
+ "preventDuplicateTitle": {
1384
+ "type": "boolean"
1385
+ },
1386
+ "breadcrumbs": {
1387
+ "type": "array",
1388
+ "minItems": 1,
1389
+ "uniqueItems": true,
1390
+ "items": {
1391
+ "type": "string",
1392
+ "maxLength": 100,
1393
+ "minLength": 1
1394
+ }
1395
+ },
1396
+ "function": {
1397
+ "type": "string",
1398
+ "minLength": 1,
1399
+ "maxLength": 255,
1400
+ "pattern": "^[a-zA-Z0-9-_]+$"
1401
+ },
1402
+ "key": {
1403
+ "$ref": "#/definitions/ModuleKeySchema"
1404
+ }
1405
+ },
1406
+ "required": [
1407
+ "title",
1408
+ "supportedContainerTypes",
1409
+ "function",
1410
+ "key"
1411
+ ]
1412
+ },
1413
+ {
1414
+ "type": "object",
1415
+ "additionalProperties": false,
1416
+ "properties": {
1417
+ "title": {
1418
+ "type": "string",
1419
+ "minLength": 1,
1420
+ "maxLength": 255
1421
+ },
1422
+ "description": {
1423
+ "type": "string",
1424
+ "minLength": 1,
1425
+ "maxLength": 1000
1426
+ },
1427
+ "icon": {
1428
+ "type": "string",
1429
+ "minLength": 1,
1430
+ "maxLength": 255
1431
+ },
1432
+ "bodyType": {
1433
+ "type": "string",
1434
+ "enum": [
1435
+ "raw",
1436
+ "storage"
1437
+ ]
1438
+ },
1439
+ "supportedContainerTypes": {
1440
+ "type": "array",
1441
+ "minItems": 1,
1442
+ "uniqueItems": true,
1443
+ "items": {
1444
+ "type": "string",
1445
+ "maxLength": 100,
1446
+ "minLength": 1,
1447
+ "pattern": "^space$|^page$|^blogpost$|^this:[a-zA-Z0-9-]+$"
1448
+ }
1449
+ },
1450
+ "supportedChildTypes": {
1451
+ "type": "array",
1452
+ "minItems": 1,
1453
+ "uniqueItems": true,
1454
+ "items": {
1455
+ "type": "string",
1456
+ "maxLength": 100,
1457
+ "minLength": 1,
1458
+ "pattern": "^attachment$|^comment$|^this:[a-zA-Z0-9-]+$"
1459
+ }
1460
+ },
1461
+ "supportedSpacePermissions": {
1462
+ "type": "array",
1463
+ "minItems": 1,
1464
+ "uniqueItems": true,
1465
+ "items": {
1466
+ "type": "string",
1467
+ "enum": [
1468
+ "read",
1469
+ "write",
1470
+ "delete"
1471
+ ]
1472
+ }
1473
+ },
1474
+ "indexing": {
1475
+ "type": "boolean"
1476
+ },
1477
+ "preventDuplicateTitle": {
1478
+ "type": "boolean"
1479
+ },
1480
+ "breadcrumbs": {
1481
+ "type": "array",
1482
+ "minItems": 1,
1483
+ "uniqueItems": true,
1484
+ "items": {
1485
+ "type": "string",
1486
+ "maxLength": 100,
1487
+ "minLength": 1
1488
+ }
1489
+ },
1490
+ "resolver": {
1491
+ "additionalProperties": false,
1492
+ "type": "object",
1493
+ "properties": {
1494
+ "function": {
1495
+ "type": "string",
1496
+ "minLength": 1,
1497
+ "maxLength": 255,
1498
+ "pattern": "^[a-zA-Z0-9-_]+$"
1499
+ }
1500
+ },
1501
+ "required": [
1502
+ "function"
1503
+ ]
1504
+ },
1505
+ "resource": {
1506
+ "type": "string",
1507
+ "minLength": 1,
1508
+ "maxLength": 23,
1509
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
1510
+ },
1511
+ "resourceUploadId": {
1512
+ "type": "string",
1513
+ "minLength": 1,
1514
+ "maxLength": 255
1515
+ },
1516
+ "key": {
1517
+ "$ref": "#/definitions/ModuleKeySchema"
1518
+ }
1519
+ },
1520
+ "required": [
1521
+ "title",
1522
+ "supportedContainerTypes",
1523
+ "resource",
1524
+ "key"
1525
+ ]
1526
+ }
1527
+ ]
1528
+ },
1529
+ "minItems": 1
1530
+ },
1315
1531
  "jira:workflowValidator": {
1316
1532
  "type": "array",
1317
1533
  "items": {
@@ -1416,7 +1632,6 @@
1416
1632
  "propertyKey": {
1417
1633
  "minLength": 1,
1418
1634
  "maxLength": 255,
1419
- "pattern": "^[a-zA-Z0-9-_]+$",
1420
1635
  "type": "string"
1421
1636
  },
1422
1637
  "entityType": {
@@ -1436,7 +1651,6 @@
1436
1651
  "path": {
1437
1652
  "minLength": 1,
1438
1653
  "maxLength": 255,
1439
- "pattern": "^[a-zA-Z0-9-_]+$",
1440
1654
  "type": "string"
1441
1655
  },
1442
1656
  "type": {
@@ -5264,6 +5478,101 @@
5264
5478
  },
5265
5479
  "minItems": 1
5266
5480
  },
5481
+ "jiraServiceManagement:portalUserMenuAction": {
5482
+ "type": "array",
5483
+ "items": {
5484
+ "oneOf": [
5485
+ {
5486
+ "type": "object",
5487
+ "properties": {
5488
+ "title": {
5489
+ "type": "string",
5490
+ "minLength": 1,
5491
+ "maxLength": 255
5492
+ },
5493
+ "function": {
5494
+ "type": "string",
5495
+ "minLength": 1,
5496
+ "maxLength": 255,
5497
+ "pattern": "^[a-zA-Z0-9-_]+$"
5498
+ },
5499
+ "displayConditions": {
5500
+ "type": "object",
5501
+ "properties": {}
5502
+ },
5503
+ "key": {
5504
+ "$ref": "#/definitions/ModuleKeySchema"
5505
+ }
5506
+ },
5507
+ "required": [
5508
+ "title",
5509
+ "function",
5510
+ "key"
5511
+ ]
5512
+ },
5513
+ {
5514
+ "type": "object",
5515
+ "properties": {
5516
+ "title": {
5517
+ "type": "string",
5518
+ "minLength": 1,
5519
+ "maxLength": 255
5520
+ },
5521
+ "resolver": {
5522
+ "additionalProperties": false,
5523
+ "type": "object",
5524
+ "properties": {
5525
+ "function": {
5526
+ "type": "string",
5527
+ "minLength": 1,
5528
+ "maxLength": 255,
5529
+ "pattern": "^[a-zA-Z0-9-_]+$"
5530
+ }
5531
+ },
5532
+ "required": [
5533
+ "function"
5534
+ ]
5535
+ },
5536
+ "resource": {
5537
+ "type": "string",
5538
+ "minLength": 1,
5539
+ "maxLength": 23,
5540
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
5541
+ },
5542
+ "resourceUploadId": {
5543
+ "type": "string",
5544
+ "minLength": 1,
5545
+ "maxLength": 255
5546
+ },
5547
+ "viewportSize": {
5548
+ "type": "string",
5549
+ "minLength": 1,
5550
+ "maxLength": 255,
5551
+ "enum": [
5552
+ "small",
5553
+ "medium",
5554
+ "large",
5555
+ "xlarge"
5556
+ ]
5557
+ },
5558
+ "displayConditions": {
5559
+ "type": "object",
5560
+ "properties": {}
5561
+ },
5562
+ "key": {
5563
+ "$ref": "#/definitions/ModuleKeySchema"
5564
+ }
5565
+ },
5566
+ "required": [
5567
+ "title",
5568
+ "resource",
5569
+ "key"
5570
+ ]
5571
+ }
5572
+ ]
5573
+ },
5574
+ "minItems": 1
5575
+ },
5267
5576
  "connect-jira:keyboardShortcuts": {
5268
5577
  "type": "array",
5269
5578
  "items": {
@@ -795,6 +795,76 @@ export interface Modules {
795
795
  }
796
796
  )[]
797
797
  ];
798
+ 'confluence:customContent'?: [
799
+ (
800
+ | {
801
+ title: string;
802
+ description?: string;
803
+ icon?: string;
804
+ bodyType?: 'raw' | 'storage';
805
+ supportedContainerTypes: [string, ...string[]];
806
+ supportedChildTypes?: [string, ...string[]];
807
+ supportedSpacePermissions?: ['read' | 'write' | 'delete', ...('read' | 'write' | 'delete')[]];
808
+ indexing?: boolean;
809
+ preventDuplicateTitle?: boolean;
810
+ breadcrumbs?: [string, ...string[]];
811
+ function: string;
812
+ key: ModuleKeySchema;
813
+ }
814
+ | {
815
+ title: string;
816
+ description?: string;
817
+ icon?: string;
818
+ bodyType?: 'raw' | 'storage';
819
+ supportedContainerTypes: [string, ...string[]];
820
+ supportedChildTypes?: [string, ...string[]];
821
+ supportedSpacePermissions?: ['read' | 'write' | 'delete', ...('read' | 'write' | 'delete')[]];
822
+ indexing?: boolean;
823
+ preventDuplicateTitle?: boolean;
824
+ breadcrumbs?: [string, ...string[]];
825
+ resolver?: {
826
+ function: string;
827
+ };
828
+ resource: string;
829
+ resourceUploadId?: string;
830
+ key: ModuleKeySchema;
831
+ }
832
+ ),
833
+ ...(
834
+ | {
835
+ title: string;
836
+ description?: string;
837
+ icon?: string;
838
+ bodyType?: 'raw' | 'storage';
839
+ supportedContainerTypes: [string, ...string[]];
840
+ supportedChildTypes?: [string, ...string[]];
841
+ supportedSpacePermissions?: ['read' | 'write' | 'delete', ...('read' | 'write' | 'delete')[]];
842
+ indexing?: boolean;
843
+ preventDuplicateTitle?: boolean;
844
+ breadcrumbs?: [string, ...string[]];
845
+ function: string;
846
+ key: ModuleKeySchema;
847
+ }
848
+ | {
849
+ title: string;
850
+ description?: string;
851
+ icon?: string;
852
+ bodyType?: 'raw' | 'storage';
853
+ supportedContainerTypes: [string, ...string[]];
854
+ supportedChildTypes?: [string, ...string[]];
855
+ supportedSpacePermissions?: ['read' | 'write' | 'delete', ...('read' | 'write' | 'delete')[]];
856
+ indexing?: boolean;
857
+ preventDuplicateTitle?: boolean;
858
+ breadcrumbs?: [string, ...string[]];
859
+ resolver?: {
860
+ function: string;
861
+ };
862
+ resource: string;
863
+ resourceUploadId?: string;
864
+ key: ModuleKeySchema;
865
+ }
866
+ )[]
867
+ ];
798
868
  'jira:workflowValidator'?: [
799
869
  {
800
870
  name: string;
@@ -2837,6 +2907,58 @@ export interface Modules {
2837
2907
  }
2838
2908
  )[]
2839
2909
  ];
2910
+ 'jiraServiceManagement:portalUserMenuAction'?: [
2911
+ (
2912
+ | {
2913
+ title: string;
2914
+ function: string;
2915
+ displayConditions?: {
2916
+ [k: string]: unknown;
2917
+ };
2918
+ key: ModuleKeySchema;
2919
+ [k: string]: unknown;
2920
+ }
2921
+ | {
2922
+ title: string;
2923
+ resolver?: {
2924
+ function: string;
2925
+ };
2926
+ resource: string;
2927
+ resourceUploadId?: string;
2928
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
2929
+ displayConditions?: {
2930
+ [k: string]: unknown;
2931
+ };
2932
+ key: ModuleKeySchema;
2933
+ [k: string]: unknown;
2934
+ }
2935
+ ),
2936
+ ...(
2937
+ | {
2938
+ title: string;
2939
+ function: string;
2940
+ displayConditions?: {
2941
+ [k: string]: unknown;
2942
+ };
2943
+ key: ModuleKeySchema;
2944
+ [k: string]: unknown;
2945
+ }
2946
+ | {
2947
+ title: string;
2948
+ resolver?: {
2949
+ function: string;
2950
+ };
2951
+ resource: string;
2952
+ resourceUploadId?: string;
2953
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
2954
+ displayConditions?: {
2955
+ [k: string]: unknown;
2956
+ };
2957
+ key: ModuleKeySchema;
2958
+ [k: string]: unknown;
2959
+ }
2960
+ )[]
2961
+ ];
2840
2962
  'connect-jira:keyboardShortcuts'?: [
2841
2963
  {
2842
2964
  shortcut?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "3.6.0-next.1",
3
+ "version": "3.6.0-next.2",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {