@forge/manifest 3.6.0-next.1 → 3.6.0-next.4
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 +19 -0
- package/out/schema/manifest-schema.json +311 -2
- package/out/schema/manifest.d.ts +122 -0
- package/out/types/module-types.d.ts +2 -1
- package/out/types/module-types.d.ts.map +1 -1
- package/out/types/module-types.js +2 -1
- package/out/validators/modules-validator.js +2 -2
- package/out/validators/modules-validators/jira/{issue-adjustment.d.ts → ui-modifications.d.ts} +2 -2
- package/out/validators/modules-validators/jira/ui-modifications.d.ts.map +1 -0
- package/out/validators/modules-validators/jira/{issue-adjustment.js → ui-modifications.js} +4 -4
- package/package.json +1 -1
- package/out/validators/modules-validators/jira/issue-adjustment.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 3.6.0-next.4
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e314dd0: Renaming Issue Adjustments to UI modifications
|
|
8
|
+
|
|
9
|
+
## 3.6.0-next.3
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 90475812: Add compass:dataProvider module
|
|
14
|
+
|
|
15
|
+
## 3.6.0-next.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 5c9419f4: Update manifest definitions
|
|
20
|
+
- e8a69267: Update manifest definitions
|
|
21
|
+
|
|
3
22
|
## 3.6.0-next.1
|
|
4
23
|
|
|
5
24
|
### 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": {
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -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;
|
|
@@ -21,7 +21,7 @@ export declare enum AllModuleTypes {
|
|
|
21
21
|
JiraCustomFieldType = "jira:customFieldType",
|
|
22
22
|
JiraIssueAction = "jira:issueAction",
|
|
23
23
|
JiraIssueActivity = "jira:issueActivity",
|
|
24
|
-
|
|
24
|
+
JiraUiModifications = "jira:uiModifications",
|
|
25
25
|
JiraIssueGlance = "jira:issueGlance",
|
|
26
26
|
JiraIssuePanel = "jira:issuePanel",
|
|
27
27
|
JiraAdminPage = "jira:adminPage",
|
|
@@ -33,6 +33,7 @@ export declare enum AllModuleTypes {
|
|
|
33
33
|
CompassComponentPage = "compass:componentPage",
|
|
34
34
|
CompassGlobalPage = "compass:globalPage",
|
|
35
35
|
CompassTeamPage = "compass:teamPage",
|
|
36
|
+
CompassDataProvider = "compass:dataProvider",
|
|
36
37
|
JiraServiceManagementQueuePage = "jiraServiceManagement:queuePage",
|
|
37
38
|
JiraServiceManagementPortalRequestDetail = "jiraServiceManagement:portalRequestDetail",
|
|
38
39
|
JiraServiceManagementPortalRequestDetailPanel = "jiraServiceManagement:portalRequestDetailPanel",
|
|
@@ -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,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,eAAe,qBAAqB;IACpC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;IACxC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,cAAc,oBAAoB;IAClC,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,uBAAuB,6BAA6B;IACpD,cAAc,oBAAoB;IAClC,mBAAmB,yBAAyB;
|
|
1
|
+
{"version":3,"file":"module-types.d.ts","sourceRoot":"","sources":["../../src/types/module-types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,YAAY,kBAAkB;IAC9B,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|
AllModuleTypes["JiraIssueActivity"] = "jira:issueActivity";
|
|
28
|
-
AllModuleTypes["
|
|
28
|
+
AllModuleTypes["JiraUiModifications"] = "jira:uiModifications";
|
|
29
29
|
AllModuleTypes["JiraIssueGlance"] = "jira:issueGlance";
|
|
30
30
|
AllModuleTypes["JiraIssuePanel"] = "jira:issuePanel";
|
|
31
31
|
AllModuleTypes["JiraAdminPage"] = "jira:adminPage";
|
|
@@ -37,6 +37,7 @@ var AllModuleTypes;
|
|
|
37
37
|
AllModuleTypes["CompassComponentPage"] = "compass:componentPage";
|
|
38
38
|
AllModuleTypes["CompassGlobalPage"] = "compass:globalPage";
|
|
39
39
|
AllModuleTypes["CompassTeamPage"] = "compass:teamPage";
|
|
40
|
+
AllModuleTypes["CompassDataProvider"] = "compass:dataProvider";
|
|
40
41
|
AllModuleTypes["JiraServiceManagementQueuePage"] = "jiraServiceManagement:queuePage";
|
|
41
42
|
AllModuleTypes["JiraServiceManagementPortalRequestDetail"] = "jiraServiceManagement:portalRequestDetail";
|
|
42
43
|
AllModuleTypes["JiraServiceManagementPortalRequestDetailPanel"] = "jiraServiceManagement:portalRequestDetailPanel";
|
|
@@ -6,7 +6,7 @@ const utils_1 = require("../utils");
|
|
|
6
6
|
const text_1 = require("../text");
|
|
7
7
|
const fs_1 = require("fs");
|
|
8
8
|
const path_1 = require("path");
|
|
9
|
-
const
|
|
9
|
+
const ui_modifications_1 = require("./modules-validators/jira/ui-modifications");
|
|
10
10
|
const confluence_1 = require("./modules-validators/confluence");
|
|
11
11
|
class ModulesValidator {
|
|
12
12
|
constructor() {
|
|
@@ -92,7 +92,7 @@ class ModulesValidator {
|
|
|
92
92
|
validationErrors.push(Object.assign({ message: text_1.errors.modules.jiraWorkflowCondition.missingExpression(module.key), reference: text_1.References.Modules, level: 'error' }, utils_1.findPosition(module.key, yamlContentByLine)));
|
|
93
93
|
}
|
|
94
94
|
});
|
|
95
|
-
validationErrors.push(...
|
|
95
|
+
validationErrors.push(...ui_modifications_1.validateUiModificationsModule(modules, yamlContentByLine));
|
|
96
96
|
[
|
|
97
97
|
types_1.AllModuleTypes.JiraAdminPage,
|
|
98
98
|
types_1.AllModuleTypes.JiraProjectPage,
|
package/out/validators/modules-validators/jira/{issue-adjustment.d.ts → ui-modifications.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ValidationError } from '../../../types';
|
|
2
2
|
import { Modules } from '../../../schema/manifest';
|
|
3
|
-
export declare function
|
|
4
|
-
//# sourceMappingURL=
|
|
3
|
+
export declare function validateUiModificationsModule(modules: Modules, yamlContentByLine?: string[]): ValidationError[];
|
|
4
|
+
//# sourceMappingURL=ui-modifications.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-modifications.d.ts","sourceRoot":"","sources":["../../../../src/validators/modules-validators/jira/ui-modifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGjE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,OAAO,EAAE,iBAAiB,CAAC,EAAE,MAAM,EAAE,GAAG,eAAe,EAAE,CAe/G"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.validateUiModificationsModule = void 0;
|
|
4
4
|
const types_1 = require("../../../types");
|
|
5
5
|
const text_1 = require("../../../text");
|
|
6
6
|
const utils_1 = require("../../../utils");
|
|
7
|
-
function
|
|
7
|
+
function validateUiModificationsModule(modules, yamlContentByLine) {
|
|
8
8
|
const validationErrors = [];
|
|
9
|
-
const moduleType = types_1.AllModuleTypes.
|
|
9
|
+
const moduleType = types_1.AllModuleTypes.JiraUiModifications;
|
|
10
10
|
const moduleArray = modules[moduleType];
|
|
11
11
|
if (moduleArray && moduleArray.length > 1) {
|
|
12
12
|
validationErrors.push(Object.assign({ message: text_1.errors.modules.singleEntryOfTheModule(moduleType), reference: text_1.References.Modules, level: 'error' }, utils_1.findPosition(moduleArray[1].key, yamlContentByLine)));
|
|
13
13
|
}
|
|
14
14
|
return validationErrors;
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.validateUiModificationsModule = validateUiModificationsModule;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"issue-adjustment.d.ts","sourceRoot":"","sources":["../../../../src/validators/modules-validators/jira/issue-adjustment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGjE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,OAAO,EAAE,iBAAiB,CAAC,EAAE,MAAM,EAAE,GAAG,eAAe,EAAE,CAe/G"}
|