@forge/manifest 13.8.0-next.8 → 13.8.0-next.9

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,11 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 13.8.0-next.9
4
+
5
+ ### Patch Changes
6
+
7
+ - c443ae7: Update manifest definitions
8
+
3
9
  ## 13.8.0-next.8
4
10
 
5
11
  ### Minor Changes
@@ -2854,20 +2854,76 @@
2854
2854
  "type": "object",
2855
2855
  "properties": {
2856
2856
  "title": {
2857
+ "anyOf": [
2858
+ {
2859
+ "type": "string",
2860
+ "minLength": 1,
2861
+ "maxLength": 255
2862
+ },
2863
+ {
2864
+ "type": "object",
2865
+ "additionalProperties": false,
2866
+ "properties": {
2867
+ "i18n": {
2868
+ "type": "string",
2869
+ "minLength": 1,
2870
+ "maxLength": 300,
2871
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
2872
+ }
2873
+ },
2874
+ "required": [
2875
+ "i18n"
2876
+ ]
2877
+ }
2878
+ ]
2879
+ },
2880
+ "title__i18n": {
2857
2881
  "type": "string",
2858
2882
  "minLength": 1,
2859
- "maxLength": 255
2883
+ "maxLength": 300,
2884
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
2860
2885
  },
2861
2886
  "description": {
2887
+ "anyOf": [
2888
+ {
2889
+ "type": "string",
2890
+ "minLength": 1,
2891
+ "maxLength": 1000
2892
+ },
2893
+ {
2894
+ "type": "object",
2895
+ "additionalProperties": false,
2896
+ "properties": {
2897
+ "i18n": {
2898
+ "type": "string",
2899
+ "minLength": 1,
2900
+ "maxLength": 300,
2901
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
2902
+ }
2903
+ },
2904
+ "required": [
2905
+ "i18n"
2906
+ ]
2907
+ }
2908
+ ]
2909
+ },
2910
+ "description__i18n": {
2862
2911
  "type": "string",
2863
2912
  "minLength": 1,
2864
- "maxLength": 1000
2913
+ "maxLength": 300,
2914
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
2865
2915
  },
2866
2916
  "resource": {
2867
2917
  "type": "string",
2868
2918
  "minLength": 1,
2869
- "maxLength": 23,
2870
- "pattern": "^[a-zA-Z0-9_\\-]+$"
2919
+ "maxLength": 47,
2920
+ "pattern": "^[a-zA-Z0-9_\\-]{1,23}(/[a-zA-Z0-9_\\-]{1,23})?$"
2921
+ },
2922
+ "resolvedResourceEntry": {
2923
+ "type": "string",
2924
+ "minLength": 1,
2925
+ "maxLength": 64,
2926
+ "pattern": "^[a-zA-Z0-9._-]+$"
2871
2927
  },
2872
2928
  "render": {
2873
2929
  "default": "default",
@@ -2883,8 +2939,14 @@
2883
2939
  "resource": {
2884
2940
  "type": "string",
2885
2941
  "minLength": 1,
2886
- "maxLength": 23,
2887
- "pattern": "^[a-zA-Z0-9_\\-]+$"
2942
+ "maxLength": 47,
2943
+ "pattern": "^[a-zA-Z0-9_\\-]{1,23}(/[a-zA-Z0-9_\\-]{1,23})?$"
2944
+ },
2945
+ "resolvedResourceEntry": {
2946
+ "type": "string",
2947
+ "minLength": 1,
2948
+ "maxLength": 64,
2949
+ "pattern": "^[a-zA-Z0-9._-]+$"
2888
2950
  },
2889
2951
  "render": {
2890
2952
  "default": "default",
@@ -3241,59 +3303,6 @@
3241
3303
  ],
3242
3304
  "type": "string"
3243
3305
  },
3244
- "migration": {
3245
- "type": "object",
3246
- "properties": {
3247
- "from": {
3248
- "type": "array",
3249
- "minItems": 1,
3250
- "items": {
3251
- "type": "string",
3252
- "minLength": 1,
3253
- "maxLength": 255,
3254
- "pattern": "^[a-zA-Z0-9-_]+$"
3255
- }
3256
- },
3257
- "migrate": {
3258
- "anyOf": [
3259
- {
3260
- "additionalProperties": false,
3261
- "type": "object",
3262
- "properties": {
3263
- "function": {
3264
- "type": "string",
3265
- "minLength": 1,
3266
- "maxLength": 255,
3267
- "pattern": "^[a-zA-Z0-9-_]+$"
3268
- }
3269
- },
3270
- "required": [
3271
- "function"
3272
- ]
3273
- },
3274
- {
3275
- "additionalProperties": false,
3276
- "type": "object",
3277
- "properties": {
3278
- "endpoint": {
3279
- "type": "string",
3280
- "minLength": 1,
3281
- "maxLength": 255,
3282
- "pattern": "^[a-zA-Z0-9-_]+$"
3283
- }
3284
- },
3285
- "required": [
3286
- "endpoint"
3287
- ]
3288
- }
3289
- ]
3290
- }
3291
- },
3292
- "required": [
3293
- "from",
3294
- "migrate"
3295
- ]
3296
- },
3297
3306
  "key": {
3298
3307
  "$ref": "#/definitions/ModuleKeySchema"
3299
3308
  }
@@ -13517,245 +13526,6 @@
13517
13526
  },
13518
13527
  "minItems": 1
13519
13528
  },
13520
- "jira:fullPage": {
13521
- "type": "array",
13522
- "items": {
13523
- "oneOf": [
13524
- {
13525
- "type": "object",
13526
- "additionalProperties": false,
13527
- "properties": {
13528
- "resource": {
13529
- "type": "string",
13530
- "minLength": 1,
13531
- "maxLength": 47,
13532
- "pattern": "^[a-zA-Z0-9_\\-]{1,23}(/[a-zA-Z0-9_\\-]{1,23})?$"
13533
- },
13534
- "resolvedResourceEntry": {
13535
- "type": "string",
13536
- "minLength": 1,
13537
- "maxLength": 64,
13538
- "pattern": "^[a-zA-Z0-9._-]+$"
13539
- },
13540
- "resourceUploadId": {
13541
- "type": "string",
13542
- "minLength": 1,
13543
- "maxLength": 255
13544
- },
13545
- "resolver": {
13546
- "anyOf": [
13547
- {
13548
- "additionalProperties": false,
13549
- "type": "object",
13550
- "properties": {
13551
- "function": {
13552
- "type": "string",
13553
- "minLength": 1,
13554
- "maxLength": 255,
13555
- "pattern": "^[a-zA-Z0-9-_]+$"
13556
- }
13557
- },
13558
- "required": [
13559
- "function"
13560
- ]
13561
- },
13562
- {
13563
- "additionalProperties": false,
13564
- "type": "object",
13565
- "properties": {
13566
- "endpoint": {
13567
- "type": "string",
13568
- "minLength": 1,
13569
- "maxLength": 255,
13570
- "pattern": "^[a-zA-Z0-9-_]+$"
13571
- }
13572
- },
13573
- "required": [
13574
- "endpoint"
13575
- ]
13576
- }
13577
- ]
13578
- },
13579
- "title": {
13580
- "anyOf": [
13581
- {
13582
- "type": "string",
13583
- "minLength": 1,
13584
- "maxLength": 255
13585
- },
13586
- {
13587
- "additionalProperties": false,
13588
- "type": "object",
13589
- "properties": {
13590
- "i18n": {
13591
- "type": "string",
13592
- "minLength": 1,
13593
- "maxLength": 300,
13594
- "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
13595
- }
13596
- },
13597
- "required": [
13598
- "i18n"
13599
- ]
13600
- }
13601
- ]
13602
- },
13603
- "title__i18n": {
13604
- "type": "string",
13605
- "minLength": 1,
13606
- "maxLength": 300,
13607
- "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
13608
- },
13609
- "routePrefix": {
13610
- "type": "string",
13611
- "minLength": 1,
13612
- "maxLength": 255,
13613
- "pattern": "^[a-z0-9\\-]+$"
13614
- },
13615
- "icon": {
13616
- "type": "string",
13617
- "minLength": 1,
13618
- "maxLength": 255
13619
- },
13620
- "key": {
13621
- "$ref": "#/definitions/ModuleKeySchema"
13622
- }
13623
- },
13624
- "required": [
13625
- "resource",
13626
- "routePrefix",
13627
- "key"
13628
- ],
13629
- "not": {
13630
- "required": [
13631
- "unlicensedAccess"
13632
- ]
13633
- }
13634
- },
13635
- {
13636
- "type": "object",
13637
- "additionalProperties": false,
13638
- "properties": {
13639
- "resource": {
13640
- "type": "string",
13641
- "minLength": 1,
13642
- "maxLength": 47,
13643
- "pattern": "^[a-zA-Z0-9_\\-]{1,23}(/[a-zA-Z0-9_\\-]{1,23})?$"
13644
- },
13645
- "resolvedResourceEntry": {
13646
- "type": "string",
13647
- "minLength": 1,
13648
- "maxLength": 64,
13649
- "pattern": "^[a-zA-Z0-9._-]+$"
13650
- },
13651
- "resourceUploadId": {
13652
- "type": "string",
13653
- "minLength": 1,
13654
- "maxLength": 255
13655
- },
13656
- "resolver": {
13657
- "anyOf": [
13658
- {
13659
- "additionalProperties": false,
13660
- "type": "object",
13661
- "properties": {
13662
- "function": {
13663
- "type": "string",
13664
- "minLength": 1,
13665
- "maxLength": 255,
13666
- "pattern": "^[a-zA-Z0-9-_]+$"
13667
- }
13668
- },
13669
- "required": [
13670
- "function"
13671
- ]
13672
- },
13673
- {
13674
- "additionalProperties": false,
13675
- "type": "object",
13676
- "properties": {
13677
- "endpoint": {
13678
- "type": "string",
13679
- "minLength": 1,
13680
- "maxLength": 255,
13681
- "pattern": "^[a-zA-Z0-9-_]+$"
13682
- }
13683
- },
13684
- "required": [
13685
- "endpoint"
13686
- ]
13687
- }
13688
- ]
13689
- },
13690
- "render": {
13691
- "default": "default",
13692
- "enum": [
13693
- "default",
13694
- "native"
13695
- ],
13696
- "type": "string"
13697
- },
13698
- "title": {
13699
- "anyOf": [
13700
- {
13701
- "type": "string",
13702
- "minLength": 1,
13703
- "maxLength": 255
13704
- },
13705
- {
13706
- "additionalProperties": false,
13707
- "type": "object",
13708
- "properties": {
13709
- "i18n": {
13710
- "type": "string",
13711
- "minLength": 1,
13712
- "maxLength": 300,
13713
- "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
13714
- }
13715
- },
13716
- "required": [
13717
- "i18n"
13718
- ]
13719
- }
13720
- ]
13721
- },
13722
- "title__i18n": {
13723
- "type": "string",
13724
- "minLength": 1,
13725
- "maxLength": 300,
13726
- "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
13727
- },
13728
- "routePrefix": {
13729
- "type": "string",
13730
- "minLength": 1,
13731
- "maxLength": 255,
13732
- "pattern": "^[a-z0-9\\-]+$"
13733
- },
13734
- "icon": {
13735
- "type": "string",
13736
- "minLength": 1,
13737
- "maxLength": 255
13738
- },
13739
- "key": {
13740
- "$ref": "#/definitions/ModuleKeySchema"
13741
- }
13742
- },
13743
- "required": [
13744
- "resource",
13745
- "render",
13746
- "routePrefix",
13747
- "key"
13748
- ],
13749
- "not": {
13750
- "required": [
13751
- "unlicensedAccess"
13752
- ]
13753
- }
13754
- }
13755
- ]
13756
- },
13757
- "minItems": 1
13758
- },
13759
13529
  "jira:globalPage": {
13760
13530
  "type": "array",
13761
13531
  "items": {
@@ -13247,12 +13247,24 @@ export interface Modules {
13247
13247
  ];
13248
13248
  'dashboards:widget'?: [
13249
13249
  {
13250
- title: string;
13251
- description: string;
13250
+ title:
13251
+ | string
13252
+ | {
13253
+ i18n: string;
13254
+ };
13255
+ title__i18n?: string;
13256
+ description:
13257
+ | string
13258
+ | {
13259
+ i18n: string;
13260
+ };
13261
+ description__i18n?: string;
13252
13262
  resource: string;
13263
+ resolvedResourceEntry?: string;
13253
13264
  render?: 'default' | 'native';
13254
13265
  edit?: {
13255
13266
  resource: string;
13267
+ resolvedResourceEntry?: string;
13256
13268
  render?: 'default' | 'native';
13257
13269
  [k: string]: unknown;
13258
13270
  };
@@ -13289,12 +13301,24 @@ export interface Modules {
13289
13301
  [k: string]: unknown;
13290
13302
  },
13291
13303
  ...{
13292
- title: string;
13293
- description: string;
13304
+ title:
13305
+ | string
13306
+ | {
13307
+ i18n: string;
13308
+ };
13309
+ title__i18n?: string;
13310
+ description:
13311
+ | string
13312
+ | {
13313
+ i18n: string;
13314
+ };
13315
+ description__i18n?: string;
13294
13316
  resource: string;
13317
+ resolvedResourceEntry?: string;
13295
13318
  render?: 'default' | 'native';
13296
13319
  edit?: {
13297
13320
  resource: string;
13321
+ resolvedResourceEntry?: string;
13298
13322
  render?: 'default' | 'native';
13299
13323
  [k: string]: unknown;
13300
13324
  };
@@ -13368,17 +13392,6 @@ export interface Modules {
13368
13392
  endpoint: string;
13369
13393
  };
13370
13394
  render?: 'default' | 'native';
13371
- migration?: {
13372
- from: [string, ...string[]];
13373
- migrate:
13374
- | {
13375
- function: string;
13376
- }
13377
- | {
13378
- endpoint: string;
13379
- };
13380
- [k: string]: unknown;
13381
- };
13382
13395
  key: ModuleKeySchema;
13383
13396
  [k: string]: unknown;
13384
13397
  },
@@ -13392,17 +13405,6 @@ export interface Modules {
13392
13405
  endpoint: string;
13393
13406
  };
13394
13407
  render?: 'default' | 'native';
13395
- migration?: {
13396
- from: [string, ...string[]];
13397
- migrate:
13398
- | {
13399
- function: string;
13400
- }
13401
- | {
13402
- endpoint: string;
13403
- };
13404
- [k: string]: unknown;
13405
- };
13406
13408
  key: ModuleKeySchema;
13407
13409
  [k: string]: unknown;
13408
13410
  }[]
@@ -18423,98 +18425,6 @@ export interface Modules {
18423
18425
  }
18424
18426
  )[]
18425
18427
  ];
18426
- 'jira:fullPage'?: [
18427
- (
18428
- | {
18429
- resource: string;
18430
- resolvedResourceEntry?: string;
18431
- resourceUploadId?: string;
18432
- resolver?:
18433
- | {
18434
- function: string;
18435
- }
18436
- | {
18437
- endpoint: string;
18438
- };
18439
- title?:
18440
- | string
18441
- | {
18442
- i18n: string;
18443
- };
18444
- title__i18n?: string;
18445
- routePrefix: string;
18446
- icon?: string;
18447
- key: ModuleKeySchema;
18448
- }
18449
- | {
18450
- resource: string;
18451
- resolvedResourceEntry?: string;
18452
- resourceUploadId?: string;
18453
- resolver?:
18454
- | {
18455
- function: string;
18456
- }
18457
- | {
18458
- endpoint: string;
18459
- };
18460
- render: 'default' | 'native';
18461
- title?:
18462
- | string
18463
- | {
18464
- i18n: string;
18465
- };
18466
- title__i18n?: string;
18467
- routePrefix: string;
18468
- icon?: string;
18469
- key: ModuleKeySchema;
18470
- }
18471
- ),
18472
- ...(
18473
- | {
18474
- resource: string;
18475
- resolvedResourceEntry?: string;
18476
- resourceUploadId?: string;
18477
- resolver?:
18478
- | {
18479
- function: string;
18480
- }
18481
- | {
18482
- endpoint: string;
18483
- };
18484
- title?:
18485
- | string
18486
- | {
18487
- i18n: string;
18488
- };
18489
- title__i18n?: string;
18490
- routePrefix: string;
18491
- icon?: string;
18492
- key: ModuleKeySchema;
18493
- }
18494
- | {
18495
- resource: string;
18496
- resolvedResourceEntry?: string;
18497
- resourceUploadId?: string;
18498
- resolver?:
18499
- | {
18500
- function: string;
18501
- }
18502
- | {
18503
- endpoint: string;
18504
- };
18505
- render: 'default' | 'native';
18506
- title?:
18507
- | string
18508
- | {
18509
- i18n: string;
18510
- };
18511
- title__i18n?: string;
18512
- routePrefix: string;
18513
- icon?: string;
18514
- key: ModuleKeySchema;
18515
- }
18516
- )[]
18517
- ];
18518
18428
  'jira:globalPage'?: [
18519
18429
  (
18520
18430
  | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "13.8.0-next.8",
3
+ "version": "13.8.0-next.9",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",