@forge/manifest 13.7.1-next.2 → 13.8.0-next.11

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.
Files changed (30) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/out/mapping/module-to-scope-mapping.d.ts.map +1 -1
  3. package/out/mapping/module-to-scope-mapping.js +2 -1
  4. package/out/schema/display-conditions-schema.json +37 -0
  5. package/out/schema/manifest-schema.json +397 -262
  6. package/out/schema/manifest.d.ts +216 -116
  7. package/out/text/errors.d.ts +1 -9
  8. package/out/text/errors.d.ts.map +1 -1
  9. package/out/text/errors.js +1 -9
  10. package/out/types/display-condition-types.d.ts +8 -0
  11. package/out/types/display-condition-types.d.ts.map +1 -1
  12. package/out/types/module-types.d.ts +2 -2
  13. package/out/types/module-types.d.ts.map +1 -1
  14. package/out/types/module-types.js +2 -2
  15. package/out/validators/display-conditions-validator.d.ts +2 -0
  16. package/out/validators/display-conditions-validator.d.ts.map +1 -1
  17. package/out/validators/display-conditions-validator.js +20 -1
  18. package/out/validators/modules-validator.d.ts.map +1 -1
  19. package/out/validators/modules-validator.js +1 -2
  20. package/out/validators/modules-validators/bitbucket/validateBackendModuleEndpoints.d.ts.map +1 -1
  21. package/out/validators/modules-validators/bitbucket/validateBackendModuleEndpoints.js +4 -1
  22. package/out/validators/modules-validators/confluence/index.d.ts.map +1 -1
  23. package/out/validators/modules-validators/confluence/index.js +1 -8
  24. package/package.json +1 -1
  25. package/out/validators/modules-validators/confluence/validateFullPage.d.ts +0 -4
  26. package/out/validators/modules-validators/confluence/validateFullPage.d.ts.map +0 -1
  27. package/out/validators/modules-validators/confluence/validateFullPage.js +0 -30
  28. package/out/validators/modules-validators/jira/validate-full-page-module.d.ts +0 -4
  29. package/out/validators/modules-validators/jira/validate-full-page-module.d.ts.map +0 -1
  30. package/out/validators/modules-validators/jira/validate-full-page-module.js +0 -51
@@ -912,6 +912,61 @@
912
912
  },
913
913
  "minItems": 1
914
914
  },
915
+ "preSuspend": {
916
+ "type": "array",
917
+ "items": {
918
+ "$schema": "http://json-schema.org/draft-07/schema#",
919
+ "oneOf": [
920
+ {
921
+ "additionalProperties": false,
922
+ "properties": {
923
+ "function": {
924
+ "$ref": "#/definitions/ExtensionKey",
925
+ "description": "The key of the function that should be invoked for this lifecycle trigger.",
926
+ "title": "function"
927
+ },
928
+ "key": {
929
+ "$ref": "#/definitions/ModuleKeySchema"
930
+ }
931
+ },
932
+ "required": [
933
+ "function",
934
+ "key"
935
+ ],
936
+ "type": "object",
937
+ "not": {
938
+ "required": [
939
+ "unlicensedAccess"
940
+ ]
941
+ }
942
+ },
943
+ {
944
+ "additionalProperties": false,
945
+ "properties": {
946
+ "endpoint": {
947
+ "$ref": "#/definitions/ExtensionKey",
948
+ "title": "endpoint",
949
+ "type": "string"
950
+ },
951
+ "key": {
952
+ "$ref": "#/definitions/ModuleKeySchema"
953
+ }
954
+ },
955
+ "required": [
956
+ "endpoint",
957
+ "key"
958
+ ],
959
+ "type": "object",
960
+ "not": {
961
+ "required": [
962
+ "unlicensedAccess"
963
+ ]
964
+ }
965
+ }
966
+ ]
967
+ },
968
+ "minItems": 1
969
+ },
915
970
  "fifoConsumer": {
916
971
  "type": "array",
917
972
  "items": {
@@ -2854,20 +2909,76 @@
2854
2909
  "type": "object",
2855
2910
  "properties": {
2856
2911
  "title": {
2912
+ "anyOf": [
2913
+ {
2914
+ "type": "string",
2915
+ "minLength": 1,
2916
+ "maxLength": 255
2917
+ },
2918
+ {
2919
+ "type": "object",
2920
+ "additionalProperties": false,
2921
+ "properties": {
2922
+ "i18n": {
2923
+ "type": "string",
2924
+ "minLength": 1,
2925
+ "maxLength": 300,
2926
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
2927
+ }
2928
+ },
2929
+ "required": [
2930
+ "i18n"
2931
+ ]
2932
+ }
2933
+ ]
2934
+ },
2935
+ "title__i18n": {
2857
2936
  "type": "string",
2858
2937
  "minLength": 1,
2859
- "maxLength": 255
2938
+ "maxLength": 300,
2939
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
2860
2940
  },
2861
2941
  "description": {
2942
+ "anyOf": [
2943
+ {
2944
+ "type": "string",
2945
+ "minLength": 1,
2946
+ "maxLength": 1000
2947
+ },
2948
+ {
2949
+ "type": "object",
2950
+ "additionalProperties": false,
2951
+ "properties": {
2952
+ "i18n": {
2953
+ "type": "string",
2954
+ "minLength": 1,
2955
+ "maxLength": 300,
2956
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
2957
+ }
2958
+ },
2959
+ "required": [
2960
+ "i18n"
2961
+ ]
2962
+ }
2963
+ ]
2964
+ },
2965
+ "description__i18n": {
2862
2966
  "type": "string",
2863
2967
  "minLength": 1,
2864
- "maxLength": 1000
2968
+ "maxLength": 300,
2969
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
2865
2970
  },
2866
2971
  "resource": {
2867
2972
  "type": "string",
2868
2973
  "minLength": 1,
2869
- "maxLength": 23,
2870
- "pattern": "^[a-zA-Z0-9_\\-]+$"
2974
+ "maxLength": 47,
2975
+ "pattern": "^[a-zA-Z0-9_\\-]{1,23}(/[a-zA-Z0-9_\\-]{1,23})?$"
2976
+ },
2977
+ "resolvedResourceEntry": {
2978
+ "type": "string",
2979
+ "minLength": 1,
2980
+ "maxLength": 64,
2981
+ "pattern": "^[a-zA-Z0-9._-]+$"
2871
2982
  },
2872
2983
  "render": {
2873
2984
  "default": "default",
@@ -2883,8 +2994,14 @@
2883
2994
  "resource": {
2884
2995
  "type": "string",
2885
2996
  "minLength": 1,
2886
- "maxLength": 23,
2887
- "pattern": "^[a-zA-Z0-9_\\-]+$"
2997
+ "maxLength": 47,
2998
+ "pattern": "^[a-zA-Z0-9_\\-]{1,23}(/[a-zA-Z0-9_\\-]{1,23})?$"
2999
+ },
3000
+ "resolvedResourceEntry": {
3001
+ "type": "string",
3002
+ "minLength": 1,
3003
+ "maxLength": 64,
3004
+ "pattern": "^[a-zA-Z0-9._-]+$"
2888
3005
  },
2889
3006
  "render": {
2890
3007
  "default": "default",
@@ -2980,6 +3097,59 @@
2980
3097
  "minLength": 1,
2981
3098
  "maxLength": 255
2982
3099
  },
3100
+ "migration": {
3101
+ "type": "object",
3102
+ "properties": {
3103
+ "from": {
3104
+ "type": "array",
3105
+ "minItems": 1,
3106
+ "items": {
3107
+ "type": "string",
3108
+ "minLength": 1,
3109
+ "maxLength": 255,
3110
+ "pattern": "^[a-zA-Z0-9-_]+$"
3111
+ }
3112
+ },
3113
+ "migrate": {
3114
+ "anyOf": [
3115
+ {
3116
+ "additionalProperties": false,
3117
+ "type": "object",
3118
+ "properties": {
3119
+ "function": {
3120
+ "type": "string",
3121
+ "minLength": 1,
3122
+ "maxLength": 255,
3123
+ "pattern": "^[a-zA-Z0-9-_]+$"
3124
+ }
3125
+ },
3126
+ "required": [
3127
+ "function"
3128
+ ]
3129
+ },
3130
+ {
3131
+ "additionalProperties": false,
3132
+ "type": "object",
3133
+ "properties": {
3134
+ "endpoint": {
3135
+ "type": "string",
3136
+ "minLength": 1,
3137
+ "maxLength": 255,
3138
+ "pattern": "^[a-zA-Z0-9-_]+$"
3139
+ }
3140
+ },
3141
+ "required": [
3142
+ "endpoint"
3143
+ ]
3144
+ }
3145
+ ]
3146
+ }
3147
+ },
3148
+ "required": [
3149
+ "from",
3150
+ "migrate"
3151
+ ]
3152
+ },
2983
3153
  "key": {
2984
3154
  "$ref": "#/definitions/ModuleKeySchema"
2985
3155
  }
@@ -3860,6 +4030,64 @@
3860
4030
  "metadata"
3861
4031
  ]
3862
4032
  },
4033
+ "appearance": {
4034
+ "type": "string",
4035
+ "enum": [
4036
+ "neutral",
4037
+ "information",
4038
+ "warning",
4039
+ "discovery",
4040
+ "danger",
4041
+ "default",
4042
+ "inprogress",
4043
+ "moved",
4044
+ "new",
4045
+ "removed",
4046
+ "success"
4047
+ ]
4048
+ },
4049
+ "displayConditions": {
4050
+ "type": "object"
4051
+ },
4052
+ "resolver": {
4053
+ "anyOf": [
4054
+ {
4055
+ "additionalProperties": false,
4056
+ "type": "object",
4057
+ "properties": {
4058
+ "function": {
4059
+ "type": "string",
4060
+ "minLength": 1,
4061
+ "maxLength": 255,
4062
+ "pattern": "^[a-zA-Z0-9-_]+$"
4063
+ }
4064
+ },
4065
+ "required": [
4066
+ "function"
4067
+ ]
4068
+ },
4069
+ {
4070
+ "additionalProperties": false,
4071
+ "type": "object",
4072
+ "properties": {
4073
+ "endpoint": {
4074
+ "type": "string",
4075
+ "minLength": 1,
4076
+ "maxLength": 255,
4077
+ "pattern": "^[a-zA-Z0-9-_]+$"
4078
+ }
4079
+ },
4080
+ "required": [
4081
+ "endpoint"
4082
+ ]
4083
+ }
4084
+ ]
4085
+ },
4086
+ "resourceUploadId": {
4087
+ "type": "string",
4088
+ "minLength": 1,
4089
+ "maxLength": 255
4090
+ },
3863
4091
  "key": {
3864
4092
  "$ref": "#/definitions/ModuleKeySchema"
3865
4093
  }
@@ -13353,277 +13581,38 @@
13353
13581
  },
13354
13582
  "minItems": 1
13355
13583
  },
13356
- "jira:fullPage": {
13584
+ "jira:globalPage": {
13357
13585
  "type": "array",
13358
13586
  "items": {
13359
13587
  "oneOf": [
13360
13588
  {
13361
13589
  "type": "object",
13362
- "additionalProperties": false,
13363
13590
  "properties": {
13364
- "resource": {
13365
- "type": "string",
13366
- "minLength": 1,
13367
- "maxLength": 47,
13368
- "pattern": "^[a-zA-Z0-9_\\-]{1,23}(/[a-zA-Z0-9_\\-]{1,23})?$"
13369
- },
13370
- "resolvedResourceEntry": {
13591
+ "function": {
13371
13592
  "type": "string",
13372
13593
  "minLength": 1,
13373
- "maxLength": 64,
13374
- "pattern": "^[a-zA-Z0-9._-]+$"
13594
+ "maxLength": 255,
13595
+ "pattern": "^[a-zA-Z0-9-_]+$"
13375
13596
  },
13376
- "resourceUploadId": {
13377
- "type": "string",
13378
- "minLength": 1,
13379
- "maxLength": 255
13597
+ "layout": {
13598
+ "enum": [
13599
+ "basic",
13600
+ "native"
13601
+ ],
13602
+ "type": "string"
13380
13603
  },
13381
- "resolver": {
13604
+ "title": {
13382
13605
  "anyOf": [
13606
+ {
13607
+ "type": "string",
13608
+ "minLength": 1,
13609
+ "maxLength": 255
13610
+ },
13383
13611
  {
13384
13612
  "additionalProperties": false,
13385
13613
  "type": "object",
13386
13614
  "properties": {
13387
- "function": {
13388
- "type": "string",
13389
- "minLength": 1,
13390
- "maxLength": 255,
13391
- "pattern": "^[a-zA-Z0-9-_]+$"
13392
- }
13393
- },
13394
- "required": [
13395
- "function"
13396
- ]
13397
- },
13398
- {
13399
- "additionalProperties": false,
13400
- "type": "object",
13401
- "properties": {
13402
- "endpoint": {
13403
- "type": "string",
13404
- "minLength": 1,
13405
- "maxLength": 255,
13406
- "pattern": "^[a-zA-Z0-9-_]+$"
13407
- }
13408
- },
13409
- "required": [
13410
- "endpoint"
13411
- ]
13412
- }
13413
- ]
13414
- },
13415
- "title": {
13416
- "anyOf": [
13417
- {
13418
- "type": "string",
13419
- "minLength": 1,
13420
- "maxLength": 255
13421
- },
13422
- {
13423
- "additionalProperties": false,
13424
- "type": "object",
13425
- "properties": {
13426
- "i18n": {
13427
- "type": "string",
13428
- "minLength": 1,
13429
- "maxLength": 300,
13430
- "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
13431
- }
13432
- },
13433
- "required": [
13434
- "i18n"
13435
- ]
13436
- }
13437
- ]
13438
- },
13439
- "title__i18n": {
13440
- "type": "string",
13441
- "minLength": 1,
13442
- "maxLength": 300,
13443
- "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
13444
- },
13445
- "routePrefix": {
13446
- "type": "string",
13447
- "minLength": 1,
13448
- "maxLength": 255,
13449
- "pattern": "^[a-z0-9\\-]+$"
13450
- },
13451
- "icon": {
13452
- "type": "string",
13453
- "minLength": 1,
13454
- "maxLength": 255
13455
- },
13456
- "key": {
13457
- "$ref": "#/definitions/ModuleKeySchema"
13458
- }
13459
- },
13460
- "required": [
13461
- "resource",
13462
- "routePrefix",
13463
- "key"
13464
- ],
13465
- "not": {
13466
- "required": [
13467
- "unlicensedAccess"
13468
- ]
13469
- }
13470
- },
13471
- {
13472
- "type": "object",
13473
- "additionalProperties": false,
13474
- "properties": {
13475
- "resource": {
13476
- "type": "string",
13477
- "minLength": 1,
13478
- "maxLength": 47,
13479
- "pattern": "^[a-zA-Z0-9_\\-]{1,23}(/[a-zA-Z0-9_\\-]{1,23})?$"
13480
- },
13481
- "resolvedResourceEntry": {
13482
- "type": "string",
13483
- "minLength": 1,
13484
- "maxLength": 64,
13485
- "pattern": "^[a-zA-Z0-9._-]+$"
13486
- },
13487
- "resourceUploadId": {
13488
- "type": "string",
13489
- "minLength": 1,
13490
- "maxLength": 255
13491
- },
13492
- "resolver": {
13493
- "anyOf": [
13494
- {
13495
- "additionalProperties": false,
13496
- "type": "object",
13497
- "properties": {
13498
- "function": {
13499
- "type": "string",
13500
- "minLength": 1,
13501
- "maxLength": 255,
13502
- "pattern": "^[a-zA-Z0-9-_]+$"
13503
- }
13504
- },
13505
- "required": [
13506
- "function"
13507
- ]
13508
- },
13509
- {
13510
- "additionalProperties": false,
13511
- "type": "object",
13512
- "properties": {
13513
- "endpoint": {
13514
- "type": "string",
13515
- "minLength": 1,
13516
- "maxLength": 255,
13517
- "pattern": "^[a-zA-Z0-9-_]+$"
13518
- }
13519
- },
13520
- "required": [
13521
- "endpoint"
13522
- ]
13523
- }
13524
- ]
13525
- },
13526
- "render": {
13527
- "default": "default",
13528
- "enum": [
13529
- "default",
13530
- "native"
13531
- ],
13532
- "type": "string"
13533
- },
13534
- "title": {
13535
- "anyOf": [
13536
- {
13537
- "type": "string",
13538
- "minLength": 1,
13539
- "maxLength": 255
13540
- },
13541
- {
13542
- "additionalProperties": false,
13543
- "type": "object",
13544
- "properties": {
13545
- "i18n": {
13546
- "type": "string",
13547
- "minLength": 1,
13548
- "maxLength": 300,
13549
- "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
13550
- }
13551
- },
13552
- "required": [
13553
- "i18n"
13554
- ]
13555
- }
13556
- ]
13557
- },
13558
- "title__i18n": {
13559
- "type": "string",
13560
- "minLength": 1,
13561
- "maxLength": 300,
13562
- "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
13563
- },
13564
- "routePrefix": {
13565
- "type": "string",
13566
- "minLength": 1,
13567
- "maxLength": 255,
13568
- "pattern": "^[a-z0-9\\-]+$"
13569
- },
13570
- "icon": {
13571
- "type": "string",
13572
- "minLength": 1,
13573
- "maxLength": 255
13574
- },
13575
- "key": {
13576
- "$ref": "#/definitions/ModuleKeySchema"
13577
- }
13578
- },
13579
- "required": [
13580
- "resource",
13581
- "render",
13582
- "routePrefix",
13583
- "key"
13584
- ],
13585
- "not": {
13586
- "required": [
13587
- "unlicensedAccess"
13588
- ]
13589
- }
13590
- }
13591
- ]
13592
- },
13593
- "minItems": 1
13594
- },
13595
- "jira:globalPage": {
13596
- "type": "array",
13597
- "items": {
13598
- "oneOf": [
13599
- {
13600
- "type": "object",
13601
- "properties": {
13602
- "function": {
13603
- "type": "string",
13604
- "minLength": 1,
13605
- "maxLength": 255,
13606
- "pattern": "^[a-zA-Z0-9-_]+$"
13607
- },
13608
- "layout": {
13609
- "enum": [
13610
- "basic",
13611
- "native"
13612
- ],
13613
- "type": "string"
13614
- },
13615
- "title": {
13616
- "anyOf": [
13617
- {
13618
- "type": "string",
13619
- "minLength": 1,
13620
- "maxLength": 255
13621
- },
13622
- {
13623
- "additionalProperties": false,
13624
- "type": "object",
13625
- "properties": {
13626
- "i18n": {
13615
+ "i18n": {
13627
13616
  "type": "string",
13628
13617
  "minLength": 1,
13629
13618
  "maxLength": 300,
@@ -24532,6 +24521,152 @@
24532
24521
  },
24533
24522
  "minItems": 1
24534
24523
  },
24524
+ "bitbucket:deploymentCheck": {
24525
+ "type": "array",
24526
+ "items": {
24527
+ "oneOf": [
24528
+ {
24529
+ "type": "object",
24530
+ "properties": {
24531
+ "key": {
24532
+ "$ref": "#/definitions/ModuleKeySchema"
24533
+ },
24534
+ "name": {
24535
+ "oneOf": [
24536
+ {
24537
+ "type": "object",
24538
+ "additionalProperties": false,
24539
+ "properties": {
24540
+ "i18n": {
24541
+ "type": "string",
24542
+ "minLength": 1,
24543
+ "maxLength": 300,
24544
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
24545
+ }
24546
+ },
24547
+ "required": [
24548
+ "i18n"
24549
+ ]
24550
+ },
24551
+ {
24552
+ "type": "string",
24553
+ "minLength": 1,
24554
+ "maxLength": 255
24555
+ }
24556
+ ]
24557
+ },
24558
+ "name__i18n": {
24559
+ "type": "string",
24560
+ "minLength": 1,
24561
+ "maxLength": 300,
24562
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
24563
+ },
24564
+ "description": {
24565
+ "oneOf": [
24566
+ {
24567
+ "type": "object",
24568
+ "additionalProperties": false,
24569
+ "properties": {
24570
+ "i18n": {
24571
+ "type": "string",
24572
+ "minLength": 1,
24573
+ "maxLength": 300,
24574
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
24575
+ }
24576
+ },
24577
+ "required": [
24578
+ "i18n"
24579
+ ]
24580
+ },
24581
+ {
24582
+ "type": "string",
24583
+ "minLength": 1,
24584
+ "maxLength": 255
24585
+ }
24586
+ ]
24587
+ },
24588
+ "description__i18n": {
24589
+ "type": "string",
24590
+ "minLength": 1,
24591
+ "maxLength": 300,
24592
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
24593
+ },
24594
+ "triggers": {
24595
+ "type": "array",
24596
+ "minItems": 1,
24597
+ "items": {
24598
+ "type": "string",
24599
+ "enum": [
24600
+ "on-deployment-pending",
24601
+ "on-deployment-triggered"
24602
+ ]
24603
+ }
24604
+ },
24605
+ "function": {
24606
+ "type": "string",
24607
+ "minLength": 1,
24608
+ "maxLength": 255,
24609
+ "pattern": "^[a-zA-Z0-9-_]+$"
24610
+ }
24611
+ },
24612
+ "required": [
24613
+ "name",
24614
+ "triggers",
24615
+ "function",
24616
+ "key"
24617
+ ],
24618
+ "not": {
24619
+ "required": [
24620
+ "unlicensedAccess"
24621
+ ]
24622
+ }
24623
+ },
24624
+ {
24625
+ "type": "object",
24626
+ "properties": {
24627
+ "key": {
24628
+ "$ref": "#/definitions/ModuleKeySchema"
24629
+ },
24630
+ "name": {
24631
+ "type": "string"
24632
+ },
24633
+ "description": {
24634
+ "type": "string"
24635
+ },
24636
+ "triggers": {
24637
+ "type": "array",
24638
+ "minItems": 1,
24639
+ "items": {
24640
+ "type": "string",
24641
+ "enum": [
24642
+ "on-deployment-pending",
24643
+ "on-deployment-triggered"
24644
+ ]
24645
+ }
24646
+ },
24647
+ "endpoint": {
24648
+ "type": "string",
24649
+ "minLength": 1,
24650
+ "maxLength": 255,
24651
+ "pattern": "^[a-zA-Z0-9-_]+$"
24652
+ }
24653
+ },
24654
+ "required": [
24655
+ "name",
24656
+ "triggers",
24657
+ "endpoint",
24658
+ "key"
24659
+ ],
24660
+ "not": {
24661
+ "required": [
24662
+ "unlicensedAccess"
24663
+ ]
24664
+ }
24665
+ }
24666
+ ]
24667
+ },
24668
+ "minItems": 1
24669
+ },
24535
24670
  "bitbucket:dynamicPipelinesProvider": {
24536
24671
  "type": "array",
24537
24672
  "items": {