@forge/manifest 7.9.0-next.1 → 7.9.0-next.3

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,19 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 7.9.0-next.3
4
+
5
+ ### Patch Changes
6
+
7
+ - f69e798: Update manifest definitions
8
+
9
+ ## 7.9.0-next.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 63d81cf: Update i18n unit test to include macro config property
14
+ - b961661: Update manifest definitions
15
+ - 8ec88e3: Update manifest definitions
16
+
3
17
  ## 7.9.0-next.1
4
18
 
5
19
  ### Minor Changes
@@ -749,11 +749,43 @@
749
749
  "type": "array",
750
750
  "items": {
751
751
  "$schema": "http://json-schema.org/draft-07/schema#",
752
- "additionalProperties": true,
752
+ "additionalProperties": false,
753
753
  "description": "A Forge Remote definition.",
754
754
  "properties": {
755
755
  "baseUrl": {
756
- "type": "string"
756
+ "oneOf": [
757
+ {
758
+ "type": "string"
759
+ },
760
+ {
761
+ "type": "object",
762
+ "propertyNames": {
763
+ "enum": [
764
+ "EU",
765
+ "US",
766
+ "AU",
767
+ "DE",
768
+ "SG",
769
+ "CA",
770
+ "IN",
771
+ "KR",
772
+ "JP",
773
+ "GB",
774
+ "CH",
775
+ "default"
776
+ ]
777
+ },
778
+ "patternProperties": {
779
+ ".+": {
780
+ "type": "string",
781
+ "minLength": 1
782
+ }
783
+ },
784
+ "required": [
785
+ "default"
786
+ ]
787
+ }
788
+ ]
757
789
  },
758
790
  "operations": {
759
791
  "type": "array",
@@ -1408,12 +1440,55 @@
1408
1440
  },
1409
1441
  {
1410
1442
  "type": "object",
1443
+ "additionalProperties": false,
1411
1444
  "properties": {
1412
1445
  "function": {
1413
1446
  "type": "string",
1414
1447
  "minLength": 1,
1415
1448
  "maxLength": 255,
1416
1449
  "pattern": "^[a-zA-Z0-9-_]+$"
1450
+ }
1451
+ }
1452
+ },
1453
+ {
1454
+ "type": "object",
1455
+ "additionalProperties": false,
1456
+ "properties": {
1457
+ "title": {
1458
+ "oneOf": [
1459
+ {
1460
+ "type": "object",
1461
+ "additionalProperties": false,
1462
+ "properties": {
1463
+ "i18n": {
1464
+ "type": "string",
1465
+ "minLength": 1,
1466
+ "maxLength": 300,
1467
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
1468
+ }
1469
+ },
1470
+ "required": [
1471
+ "i18n"
1472
+ ]
1473
+ },
1474
+ {
1475
+ "type": "string",
1476
+ "minLength": 1,
1477
+ "maxLength": 255
1478
+ }
1479
+ ]
1480
+ },
1481
+ "title__i18n": {
1482
+ "type": "string",
1483
+ "minLength": 1,
1484
+ "maxLength": 300,
1485
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
1486
+ },
1487
+ "resource": {
1488
+ "type": "string",
1489
+ "minLength": 1,
1490
+ "maxLength": 23,
1491
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
1417
1492
  },
1418
1493
  "render": {
1419
1494
  "enum": [
@@ -1422,8 +1497,57 @@
1422
1497
  ],
1423
1498
  "type": "string",
1424
1499
  "default": "default"
1500
+ },
1501
+ "resolver": {
1502
+ "anyOf": [
1503
+ {
1504
+ "additionalProperties": false,
1505
+ "type": "object",
1506
+ "properties": {
1507
+ "function": {
1508
+ "type": "string",
1509
+ "minLength": 1,
1510
+ "maxLength": 255,
1511
+ "pattern": "^[a-zA-Z0-9-_]+$"
1512
+ }
1513
+ },
1514
+ "required": [
1515
+ "function"
1516
+ ]
1517
+ },
1518
+ {
1519
+ "additionalProperties": false,
1520
+ "type": "object",
1521
+ "properties": {
1522
+ "endpoint": {
1523
+ "type": "string",
1524
+ "minLength": 1,
1525
+ "maxLength": 255,
1526
+ "pattern": "^[a-zA-Z0-9-_]+$"
1527
+ }
1528
+ },
1529
+ "required": [
1530
+ "endpoint"
1531
+ ]
1532
+ }
1533
+ ]
1534
+ },
1535
+ "viewportSize": {
1536
+ "type": "string",
1537
+ "minLength": 1,
1538
+ "maxLength": 255,
1539
+ "enum": [
1540
+ "small",
1541
+ "medium",
1542
+ "large",
1543
+ "xlarge",
1544
+ "max"
1545
+ ]
1425
1546
  }
1426
- }
1547
+ },
1548
+ "required": [
1549
+ "resource"
1550
+ ]
1427
1551
  }
1428
1552
  ]
1429
1553
  },
@@ -920,7 +920,15 @@ export interface Modules {
920
920
  ];
921
921
  remote?: [
922
922
  {
923
- baseUrl: string;
923
+ baseUrl:
924
+ | string
925
+ | {
926
+ /**
927
+ * This interface was referenced by `undefined`'s JSON-Schema definition
928
+ * via the `patternProperty` ".+".
929
+ */
930
+ [k: string]: string;
931
+ };
924
932
  operations?: ['storage' | 'other' | 'compute' | 'fetch', ...('storage' | 'other' | 'compute' | 'fetch')[]];
925
933
  auth?: {
926
934
  appUserToken?: {
@@ -944,10 +952,17 @@ export interface Modules {
944
952
  [k: string]: unknown;
945
953
  };
946
954
  key: ModuleKeySchema;
947
- [k: string]: unknown;
948
955
  },
949
956
  ...{
950
- baseUrl: string;
957
+ baseUrl:
958
+ | string
959
+ | {
960
+ /**
961
+ * This interface was referenced by `undefined`'s JSON-Schema definition
962
+ * via the `patternProperty` ".+".
963
+ */
964
+ [k: string]: string;
965
+ };
951
966
  operations?: ['storage' | 'other' | 'compute' | 'fetch', ...('storage' | 'other' | 'compute' | 'fetch')[]];
952
967
  auth?: {
953
968
  appUserToken?: {
@@ -971,7 +986,6 @@ export interface Modules {
971
986
  [k: string]: unknown;
972
987
  };
973
988
  key: ModuleKeySchema;
974
- [k: string]: unknown;
975
989
  }[]
976
990
  ];
977
991
  action?: [
@@ -1288,8 +1302,24 @@ export interface Modules {
1288
1302
  | boolean
1289
1303
  | {
1290
1304
  function?: string;
1305
+ }
1306
+ | {
1307
+ title?:
1308
+ | {
1309
+ i18n: string;
1310
+ }
1311
+ | string;
1312
+ title__i18n?: string;
1313
+ resource: string;
1291
1314
  render?: 'native' | 'default';
1292
- [k: string]: unknown;
1315
+ resolver?:
1316
+ | {
1317
+ function: string;
1318
+ }
1319
+ | {
1320
+ endpoint: string;
1321
+ };
1322
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge' | 'max';
1293
1323
  };
1294
1324
  data?: {
1295
1325
  function?: string;
@@ -1366,8 +1396,24 @@ export interface Modules {
1366
1396
  | boolean
1367
1397
  | {
1368
1398
  function?: string;
1399
+ }
1400
+ | {
1401
+ title?:
1402
+ | {
1403
+ i18n: string;
1404
+ }
1405
+ | string;
1406
+ title__i18n?: string;
1407
+ resource: string;
1369
1408
  render?: 'native' | 'default';
1370
- [k: string]: unknown;
1409
+ resolver?:
1410
+ | {
1411
+ function: string;
1412
+ }
1413
+ | {
1414
+ endpoint: string;
1415
+ };
1416
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge' | 'max';
1371
1417
  };
1372
1418
  data?: {
1373
1419
  function?: string;
@@ -16,6 +16,7 @@
16
16
  "delete:blogpost:confluence",
17
17
  "delete:board-scope.admin:jira-software",
18
18
  "delete:build-info:jira",
19
+ "delete:calendar-info:jira",
19
20
  "delete:cmdb-attribute:jira",
20
21
  "delete:cmdb-object:jira",
21
22
  "delete:cmdb-schema:jira",
@@ -130,6 +131,7 @@
130
131
  "read:board-scope.admin:jira-software",
131
132
  "read:build-info:jira",
132
133
  "read:build:jira-software",
134
+ "read:calendar-info:jira",
133
135
  "read:cmdb-attribute:jira",
134
136
  "read:cmdb-icon:jira",
135
137
  "read:cmdb-object:jira",
@@ -344,6 +346,7 @@
344
346
  "write:board-scope.admin:jira-software",
345
347
  "write:build-info:jira",
346
348
  "write:build:jira-software",
349
+ "write:calendar-info:jira",
347
350
  "write:cmdb-attribute:jira",
348
351
  "write:cmdb-object:jira",
349
352
  "write:cmdb-schema:jira",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "7.9.0-next.1",
3
+ "version": "7.9.0-next.3",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {