@forge/manifest 7.10.0-next.0 → 7.10.0-next.1

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
+ ## 7.10.0-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 84b20e6: Fix i18n unit tests
8
+ - cdbb366: Update manifest definitions
9
+
3
10
  ## 7.10.0-next.0
4
11
 
5
12
  ### Minor Changes
@@ -12285,6 +12285,469 @@
12285
12285
  },
12286
12286
  "minItems": 1
12287
12287
  },
12288
+ "jira:personalSettingsPage": {
12289
+ "type": "array",
12290
+ "items": {
12291
+ "additionalProperties": false,
12292
+ "type": "object",
12293
+ "properties": {
12294
+ "resource": {
12295
+ "type": "string",
12296
+ "minLength": 1,
12297
+ "maxLength": 23,
12298
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
12299
+ },
12300
+ "resourceUploadId": {
12301
+ "type": "string",
12302
+ "minLength": 1,
12303
+ "maxLength": 255
12304
+ },
12305
+ "resolver": {
12306
+ "anyOf": [
12307
+ {
12308
+ "additionalProperties": false,
12309
+ "type": "object",
12310
+ "properties": {
12311
+ "function": {
12312
+ "type": "string",
12313
+ "minLength": 1,
12314
+ "maxLength": 255,
12315
+ "pattern": "^[a-zA-Z0-9-_]+$"
12316
+ }
12317
+ },
12318
+ "required": [
12319
+ "function"
12320
+ ]
12321
+ },
12322
+ {
12323
+ "additionalProperties": false,
12324
+ "type": "object",
12325
+ "properties": {
12326
+ "endpoint": {
12327
+ "type": "string",
12328
+ "minLength": 1,
12329
+ "maxLength": 255,
12330
+ "pattern": "^[a-zA-Z0-9-_]+$"
12331
+ }
12332
+ },
12333
+ "required": [
12334
+ "endpoint"
12335
+ ]
12336
+ }
12337
+ ]
12338
+ },
12339
+ "layout": {
12340
+ "enum": [
12341
+ "basic",
12342
+ "blank",
12343
+ "native"
12344
+ ],
12345
+ "type": "string"
12346
+ },
12347
+ "render": {
12348
+ "default": "default",
12349
+ "enum": [
12350
+ "default",
12351
+ "native"
12352
+ ],
12353
+ "type": "string"
12354
+ },
12355
+ "title": {
12356
+ "anyOf": [
12357
+ {
12358
+ "type": "string",
12359
+ "minLength": 1,
12360
+ "maxLength": 255
12361
+ },
12362
+ {
12363
+ "additionalProperties": false,
12364
+ "type": "object",
12365
+ "properties": {
12366
+ "i18n": {
12367
+ "type": "string",
12368
+ "minLength": 1,
12369
+ "maxLength": 300,
12370
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
12371
+ }
12372
+ },
12373
+ "required": [
12374
+ "i18n"
12375
+ ]
12376
+ }
12377
+ ]
12378
+ },
12379
+ "title__i18n": {
12380
+ "type": "string",
12381
+ "minLength": 1,
12382
+ "maxLength": 300,
12383
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
12384
+ },
12385
+ "icon": {
12386
+ "type": "string",
12387
+ "minLength": 1,
12388
+ "maxLength": 255
12389
+ },
12390
+ "pages": {
12391
+ "type": "array",
12392
+ "items": {
12393
+ "type": "object",
12394
+ "properties": {
12395
+ "title": {
12396
+ "anyOf": [
12397
+ {
12398
+ "type": "string",
12399
+ "minLength": 1,
12400
+ "maxLength": 255
12401
+ },
12402
+ {
12403
+ "additionalProperties": false,
12404
+ "type": "object",
12405
+ "properties": {
12406
+ "i18n": {
12407
+ "type": "string",
12408
+ "minLength": 1,
12409
+ "maxLength": 300,
12410
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
12411
+ }
12412
+ },
12413
+ "required": [
12414
+ "i18n"
12415
+ ]
12416
+ }
12417
+ ]
12418
+ },
12419
+ "title__i18n": {
12420
+ "type": "string",
12421
+ "minLength": 1,
12422
+ "maxLength": 300,
12423
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
12424
+ },
12425
+ "route": {
12426
+ "minLength": 1,
12427
+ "maxLength": 255,
12428
+ "type": "string"
12429
+ },
12430
+ "icon": {
12431
+ "type": "string",
12432
+ "minLength": 1,
12433
+ "maxLength": 255
12434
+ }
12435
+ },
12436
+ "required": [
12437
+ "route",
12438
+ "title"
12439
+ ]
12440
+ }
12441
+ },
12442
+ "sections": {
12443
+ "type": "array",
12444
+ "items": {
12445
+ "type": "object",
12446
+ "properties": {
12447
+ "header": {
12448
+ "anyOf": [
12449
+ {
12450
+ "type": "string",
12451
+ "minLength": 1,
12452
+ "maxLength": 255
12453
+ },
12454
+ {
12455
+ "additionalProperties": false,
12456
+ "type": "object",
12457
+ "properties": {
12458
+ "i18n": {
12459
+ "type": "string",
12460
+ "minLength": 1,
12461
+ "maxLength": 300,
12462
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
12463
+ }
12464
+ },
12465
+ "required": [
12466
+ "i18n"
12467
+ ]
12468
+ }
12469
+ ]
12470
+ },
12471
+ "header__i18n": {
12472
+ "type": "string",
12473
+ "minLength": 1,
12474
+ "maxLength": 300,
12475
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
12476
+ },
12477
+ "pages": {
12478
+ "type": "array",
12479
+ "items": {
12480
+ "type": "object",
12481
+ "properties": {
12482
+ "title": {
12483
+ "anyOf": [
12484
+ {
12485
+ "type": "string",
12486
+ "minLength": 1,
12487
+ "maxLength": 255
12488
+ },
12489
+ {
12490
+ "additionalProperties": false,
12491
+ "type": "object",
12492
+ "properties": {
12493
+ "i18n": {
12494
+ "type": "string",
12495
+ "minLength": 1,
12496
+ "maxLength": 300,
12497
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
12498
+ }
12499
+ },
12500
+ "required": [
12501
+ "i18n"
12502
+ ]
12503
+ }
12504
+ ]
12505
+ },
12506
+ "title__i18n": {
12507
+ "type": "string",
12508
+ "minLength": 1,
12509
+ "maxLength": 300,
12510
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
12511
+ },
12512
+ "route": {
12513
+ "minLength": 1,
12514
+ "maxLength": 255,
12515
+ "type": "string"
12516
+ },
12517
+ "icon": {
12518
+ "type": "string",
12519
+ "minLength": 1,
12520
+ "maxLength": 255
12521
+ }
12522
+ },
12523
+ "required": [
12524
+ "route",
12525
+ "title"
12526
+ ]
12527
+ }
12528
+ }
12529
+ },
12530
+ "required": [
12531
+ "pages"
12532
+ ]
12533
+ }
12534
+ },
12535
+ "displayConditions": {
12536
+ "type": "object",
12537
+ "properties": {}
12538
+ },
12539
+ "key": {
12540
+ "$ref": "#/definitions/ModuleKeySchema"
12541
+ }
12542
+ },
12543
+ "required": [
12544
+ "resource",
12545
+ "title",
12546
+ "key"
12547
+ ],
12548
+ "not": {
12549
+ "required": [
12550
+ "unlicensedAccess"
12551
+ ]
12552
+ }
12553
+ },
12554
+ "minItems": 1
12555
+ },
12556
+ "jira:backlogAction": {
12557
+ "type": "array",
12558
+ "items": {
12559
+ "additionalProperties": false,
12560
+ "type": "object",
12561
+ "properties": {
12562
+ "icon": {
12563
+ "type": "string",
12564
+ "minLength": 1,
12565
+ "maxLength": 255
12566
+ },
12567
+ "resource": {
12568
+ "type": "string",
12569
+ "minLength": 1,
12570
+ "maxLength": 23,
12571
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
12572
+ },
12573
+ "title": {
12574
+ "anyOf": [
12575
+ {
12576
+ "type": "string",
12577
+ "minLength": 1,
12578
+ "maxLength": 255
12579
+ },
12580
+ {
12581
+ "additionalProperties": false,
12582
+ "type": "object",
12583
+ "properties": {
12584
+ "i18n": {
12585
+ "type": "string",
12586
+ "minLength": 1,
12587
+ "maxLength": 300,
12588
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
12589
+ }
12590
+ },
12591
+ "required": [
12592
+ "i18n"
12593
+ ]
12594
+ }
12595
+ ]
12596
+ },
12597
+ "title__i18n": {
12598
+ "type": "string",
12599
+ "minLength": 1,
12600
+ "maxLength": 300,
12601
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
12602
+ },
12603
+ "tooltip": {
12604
+ "anyOf": [
12605
+ {
12606
+ "type": "string",
12607
+ "minLength": 1,
12608
+ "maxLength": 255
12609
+ },
12610
+ {
12611
+ "additionalProperties": false,
12612
+ "type": "object",
12613
+ "properties": {
12614
+ "i18n": {
12615
+ "type": "string",
12616
+ "minLength": 1,
12617
+ "maxLength": 300,
12618
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
12619
+ }
12620
+ },
12621
+ "required": [
12622
+ "i18n"
12623
+ ]
12624
+ }
12625
+ ]
12626
+ },
12627
+ "tooltip__i18n": {
12628
+ "type": "string",
12629
+ "minLength": 1,
12630
+ "maxLength": 300,
12631
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
12632
+ },
12633
+ "resolver": {
12634
+ "anyOf": [
12635
+ {
12636
+ "additionalProperties": false,
12637
+ "type": "object",
12638
+ "properties": {
12639
+ "function": {
12640
+ "type": "string",
12641
+ "minLength": 1,
12642
+ "maxLength": 255,
12643
+ "pattern": "^[a-zA-Z0-9-_]+$"
12644
+ }
12645
+ },
12646
+ "required": [
12647
+ "function"
12648
+ ]
12649
+ },
12650
+ {
12651
+ "additionalProperties": false,
12652
+ "type": "object",
12653
+ "properties": {
12654
+ "endpoint": {
12655
+ "type": "string",
12656
+ "minLength": 1,
12657
+ "maxLength": 255,
12658
+ "pattern": "^[a-zA-Z0-9-_]+$"
12659
+ }
12660
+ },
12661
+ "required": [
12662
+ "endpoint"
12663
+ ]
12664
+ }
12665
+ ]
12666
+ },
12667
+ "resourceUploadId": {
12668
+ "type": "string",
12669
+ "minLength": 1,
12670
+ "maxLength": 255
12671
+ },
12672
+ "actions": {
12673
+ "type": "array",
12674
+ "items": {
12675
+ "additionalProperties": false,
12676
+ "type": "object",
12677
+ "properties": {
12678
+ "key": {
12679
+ "type": "string",
12680
+ "minLength": 1,
12681
+ "maxLength": 23,
12682
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
12683
+ },
12684
+ "title": {
12685
+ "anyOf": [
12686
+ {
12687
+ "type": "string",
12688
+ "minLength": 1,
12689
+ "maxLength": 255
12690
+ },
12691
+ {
12692
+ "additionalProperties": false,
12693
+ "type": "object",
12694
+ "properties": {
12695
+ "i18n": {
12696
+ "type": "string",
12697
+ "minLength": 1,
12698
+ "maxLength": 300,
12699
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
12700
+ }
12701
+ },
12702
+ "required": [
12703
+ "i18n"
12704
+ ]
12705
+ }
12706
+ ]
12707
+ },
12708
+ "title__i18n": {
12709
+ "type": "string",
12710
+ "minLength": 1,
12711
+ "maxLength": 300,
12712
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
12713
+ }
12714
+ },
12715
+ "required": [
12716
+ "key",
12717
+ "title"
12718
+ ]
12719
+ }
12720
+ },
12721
+ "render": {
12722
+ "default": "default",
12723
+ "enum": [
12724
+ "default",
12725
+ "native"
12726
+ ],
12727
+ "type": "string"
12728
+ },
12729
+ "displayConditions": {
12730
+ "type": "object",
12731
+ "properties": {}
12732
+ },
12733
+ "key": {
12734
+ "$ref": "#/definitions/ModuleKeySchema"
12735
+ }
12736
+ },
12737
+ "required": [
12738
+ "icon",
12739
+ "resource",
12740
+ "title",
12741
+ "key"
12742
+ ],
12743
+ "not": {
12744
+ "required": [
12745
+ "unlicensedAccess"
12746
+ ]
12747
+ }
12748
+ },
12749
+ "minItems": 1
12750
+ },
12288
12751
  "compass:adminPage": {
12289
12752
  "type": "array",
12290
12753
  "items": {
@@ -6410,6 +6410,196 @@ export interface Modules {
6410
6410
  key: ModuleKeySchema;
6411
6411
  }[]
6412
6412
  ];
6413
+ 'jira:personalSettingsPage'?: [
6414
+ {
6415
+ resource: string;
6416
+ resourceUploadId?: string;
6417
+ resolver?:
6418
+ | {
6419
+ function: string;
6420
+ }
6421
+ | {
6422
+ endpoint: string;
6423
+ };
6424
+ layout?: 'basic' | 'blank' | 'native';
6425
+ render?: 'default' | 'native';
6426
+ title:
6427
+ | string
6428
+ | {
6429
+ i18n: string;
6430
+ };
6431
+ title__i18n?: string;
6432
+ icon?: string;
6433
+ pages?: {
6434
+ title:
6435
+ | string
6436
+ | {
6437
+ i18n: string;
6438
+ };
6439
+ title__i18n?: string;
6440
+ route: string;
6441
+ icon?: string;
6442
+ [k: string]: unknown;
6443
+ }[];
6444
+ sections?: {
6445
+ header?:
6446
+ | string
6447
+ | {
6448
+ i18n: string;
6449
+ };
6450
+ header__i18n?: string;
6451
+ pages: {
6452
+ title:
6453
+ | string
6454
+ | {
6455
+ i18n: string;
6456
+ };
6457
+ title__i18n?: string;
6458
+ route: string;
6459
+ icon?: string;
6460
+ [k: string]: unknown;
6461
+ }[];
6462
+ [k: string]: unknown;
6463
+ }[];
6464
+ displayConditions?: {
6465
+ [k: string]: unknown;
6466
+ };
6467
+ key: ModuleKeySchema;
6468
+ },
6469
+ ...{
6470
+ resource: string;
6471
+ resourceUploadId?: string;
6472
+ resolver?:
6473
+ | {
6474
+ function: string;
6475
+ }
6476
+ | {
6477
+ endpoint: string;
6478
+ };
6479
+ layout?: 'basic' | 'blank' | 'native';
6480
+ render?: 'default' | 'native';
6481
+ title:
6482
+ | string
6483
+ | {
6484
+ i18n: string;
6485
+ };
6486
+ title__i18n?: string;
6487
+ icon?: string;
6488
+ pages?: {
6489
+ title:
6490
+ | string
6491
+ | {
6492
+ i18n: string;
6493
+ };
6494
+ title__i18n?: string;
6495
+ route: string;
6496
+ icon?: string;
6497
+ [k: string]: unknown;
6498
+ }[];
6499
+ sections?: {
6500
+ header?:
6501
+ | string
6502
+ | {
6503
+ i18n: string;
6504
+ };
6505
+ header__i18n?: string;
6506
+ pages: {
6507
+ title:
6508
+ | string
6509
+ | {
6510
+ i18n: string;
6511
+ };
6512
+ title__i18n?: string;
6513
+ route: string;
6514
+ icon?: string;
6515
+ [k: string]: unknown;
6516
+ }[];
6517
+ [k: string]: unknown;
6518
+ }[];
6519
+ displayConditions?: {
6520
+ [k: string]: unknown;
6521
+ };
6522
+ key: ModuleKeySchema;
6523
+ }[]
6524
+ ];
6525
+ 'jira:backlogAction'?: [
6526
+ {
6527
+ icon: string;
6528
+ resource: string;
6529
+ title:
6530
+ | string
6531
+ | {
6532
+ i18n: string;
6533
+ };
6534
+ title__i18n?: string;
6535
+ tooltip?:
6536
+ | string
6537
+ | {
6538
+ i18n: string;
6539
+ };
6540
+ tooltip__i18n?: string;
6541
+ resolver?:
6542
+ | {
6543
+ function: string;
6544
+ }
6545
+ | {
6546
+ endpoint: string;
6547
+ };
6548
+ resourceUploadId?: string;
6549
+ actions?: {
6550
+ key: string;
6551
+ title:
6552
+ | string
6553
+ | {
6554
+ i18n: string;
6555
+ };
6556
+ title__i18n?: string;
6557
+ }[];
6558
+ render?: 'default' | 'native';
6559
+ displayConditions?: {
6560
+ [k: string]: unknown;
6561
+ };
6562
+ key: ModuleKeySchema;
6563
+ },
6564
+ ...{
6565
+ icon: string;
6566
+ resource: string;
6567
+ title:
6568
+ | string
6569
+ | {
6570
+ i18n: string;
6571
+ };
6572
+ title__i18n?: string;
6573
+ tooltip?:
6574
+ | string
6575
+ | {
6576
+ i18n: string;
6577
+ };
6578
+ tooltip__i18n?: string;
6579
+ resolver?:
6580
+ | {
6581
+ function: string;
6582
+ }
6583
+ | {
6584
+ endpoint: string;
6585
+ };
6586
+ resourceUploadId?: string;
6587
+ actions?: {
6588
+ key: string;
6589
+ title:
6590
+ | string
6591
+ | {
6592
+ i18n: string;
6593
+ };
6594
+ title__i18n?: string;
6595
+ }[];
6596
+ render?: 'default' | 'native';
6597
+ displayConditions?: {
6598
+ [k: string]: unknown;
6599
+ };
6600
+ key: ModuleKeySchema;
6601
+ }[]
6602
+ ];
6413
6603
  'compass:adminPage'?: [
6414
6604
  (
6415
6605
  | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "7.10.0-next.0",
3
+ "version": "7.10.0-next.1",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {