@forge/manifest 4.0.0-next.3 → 4.0.0

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,32 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 4.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 6728c67: Make validator interface asynchronous
8
+
9
+ ### Minor Changes
10
+
11
+ - c0c88f0: BCAT-1386 Remove scopes mapping for bitbucket repo created event
12
+
13
+ ### Patch Changes
14
+
15
+ - c1c93a4: Update manifest definitions
16
+ - b1684fd: Update manifest definitions
17
+
18
+ ## 4.0.0-next.5
19
+
20
+ ### Minor Changes
21
+
22
+ - c0c88f09: BCAT-1386 Remove scopes mapping for bitbucket repo created event
23
+
24
+ ## 4.0.0-next.4
25
+
26
+ ### Patch Changes
27
+
28
+ - b1684fd: Update manifest definitions
29
+
3
30
  ## 4.0.0-next.3
4
31
 
5
32
  ### Major Changes
@@ -524,14 +524,6 @@
524
524
  "read:component:compass"
525
525
  ]
526
526
  }
527
- },
528
- {
529
- "productEvent": "avi:bitbucket:created:repository",
530
- "oAuthScopes": {
531
- "current": [
532
- "read:repository:bitbucket"
533
- ]
534
- }
535
527
  }
536
528
  ]
537
529
  }
@@ -6264,6 +6264,218 @@
6264
6264
  },
6265
6265
  "minItems": 1
6266
6266
  },
6267
+ "jiraServiceManagement:portalRequestViewAction": {
6268
+ "type": "array",
6269
+ "items": {
6270
+ "oneOf": [
6271
+ {
6272
+ "type": "object",
6273
+ "properties": {
6274
+ "title": {
6275
+ "type": "string",
6276
+ "minLength": 1,
6277
+ "maxLength": 255
6278
+ },
6279
+ "function": {
6280
+ "type": "string",
6281
+ "minLength": 1,
6282
+ "maxLength": 255,
6283
+ "pattern": "^[a-zA-Z0-9-_]+$"
6284
+ },
6285
+ "key": {
6286
+ "$ref": "#/definitions/ModuleKeySchema"
6287
+ }
6288
+ },
6289
+ "required": [
6290
+ "title",
6291
+ "function",
6292
+ "key"
6293
+ ]
6294
+ },
6295
+ {
6296
+ "type": "object",
6297
+ "properties": {
6298
+ "title": {
6299
+ "type": "string",
6300
+ "minLength": 1,
6301
+ "maxLength": 255
6302
+ },
6303
+ "resolver": {
6304
+ "additionalProperties": false,
6305
+ "type": "object",
6306
+ "properties": {
6307
+ "function": {
6308
+ "type": "string",
6309
+ "minLength": 1,
6310
+ "maxLength": 255,
6311
+ "pattern": "^[a-zA-Z0-9-_]+$"
6312
+ }
6313
+ },
6314
+ "required": [
6315
+ "function"
6316
+ ]
6317
+ },
6318
+ "resource": {
6319
+ "type": "string",
6320
+ "minLength": 1,
6321
+ "maxLength": 23,
6322
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
6323
+ },
6324
+ "resourceUploadId": {
6325
+ "type": "string",
6326
+ "minLength": 1,
6327
+ "maxLength": 255
6328
+ },
6329
+ "viewportSize": {
6330
+ "type": "string",
6331
+ "minLength": 1,
6332
+ "maxLength": 255,
6333
+ "enum": [
6334
+ "small",
6335
+ "medium",
6336
+ "large",
6337
+ "xlarge"
6338
+ ]
6339
+ },
6340
+ "key": {
6341
+ "$ref": "#/definitions/ModuleKeySchema"
6342
+ }
6343
+ },
6344
+ "required": [
6345
+ "title",
6346
+ "resource",
6347
+ "key"
6348
+ ]
6349
+ }
6350
+ ]
6351
+ },
6352
+ "minItems": 1
6353
+ },
6354
+ "jiraServiceManagement:portalRequestCreatePropertyPanel": {
6355
+ "type": "array",
6356
+ "items": {
6357
+ "oneOf": [
6358
+ {
6359
+ "type": "object",
6360
+ "required": [
6361
+ "function",
6362
+ "key"
6363
+ ],
6364
+ "properties": {
6365
+ "title": {
6366
+ "type": "string",
6367
+ "minLength": 1,
6368
+ "maxLength": 255
6369
+ },
6370
+ "icon": {
6371
+ "type": "string",
6372
+ "minLength": 1,
6373
+ "maxLength": 255
6374
+ },
6375
+ "layout": {
6376
+ "type": "string",
6377
+ "minLength": 1,
6378
+ "maxLength": 255,
6379
+ "enum": [
6380
+ "native",
6381
+ "basic"
6382
+ ]
6383
+ },
6384
+ "viewportSize": {
6385
+ "type": "string",
6386
+ "minLength": 1,
6387
+ "maxLength": 255,
6388
+ "enum": [
6389
+ "small",
6390
+ "medium",
6391
+ "large",
6392
+ "xlarge"
6393
+ ]
6394
+ },
6395
+ "function": {
6396
+ "type": "string",
6397
+ "minLength": 1,
6398
+ "maxLength": 255,
6399
+ "pattern": "^[a-zA-Z0-9-_]+$"
6400
+ },
6401
+ "key": {
6402
+ "$ref": "#/definitions/ModuleKeySchema"
6403
+ }
6404
+ }
6405
+ },
6406
+ {
6407
+ "type": "object",
6408
+ "required": [
6409
+ "resource",
6410
+ "key"
6411
+ ],
6412
+ "properties": {
6413
+ "viewportSize": {
6414
+ "type": "string",
6415
+ "minLength": 1,
6416
+ "maxLength": 255,
6417
+ "enum": [
6418
+ "xsmall",
6419
+ "small",
6420
+ "medium",
6421
+ "large",
6422
+ "xlarge"
6423
+ ]
6424
+ },
6425
+ "title": {
6426
+ "type": "string",
6427
+ "minLength": 1,
6428
+ "maxLength": 255
6429
+ },
6430
+ "icon": {
6431
+ "type": "string",
6432
+ "minLength": 1,
6433
+ "maxLength": 255
6434
+ },
6435
+ "layout": {
6436
+ "type": "string",
6437
+ "minLength": 1,
6438
+ "maxLength": 255,
6439
+ "enum": [
6440
+ "native",
6441
+ "basic"
6442
+ ]
6443
+ },
6444
+ "resolver": {
6445
+ "additionalProperties": false,
6446
+ "type": "object",
6447
+ "properties": {
6448
+ "function": {
6449
+ "type": "string",
6450
+ "minLength": 1,
6451
+ "maxLength": 255,
6452
+ "pattern": "^[a-zA-Z0-9-_]+$"
6453
+ }
6454
+ },
6455
+ "required": [
6456
+ "function"
6457
+ ]
6458
+ },
6459
+ "resource": {
6460
+ "type": "string",
6461
+ "minLength": 1,
6462
+ "maxLength": 23,
6463
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
6464
+ },
6465
+ "resourceUploadId": {
6466
+ "type": "string",
6467
+ "minLength": 1,
6468
+ "maxLength": 255
6469
+ },
6470
+ "key": {
6471
+ "$ref": "#/definitions/ModuleKeySchema"
6472
+ }
6473
+ }
6474
+ }
6475
+ ]
6476
+ },
6477
+ "minItems": 1
6478
+ },
6267
6479
  "connect-jira:keyboardShortcuts": {
6268
6480
  "type": "array",
6269
6481
  "items": {
@@ -3368,6 +3368,96 @@ export interface Modules {
3368
3368
  }
3369
3369
  )[]
3370
3370
  ];
3371
+ 'jiraServiceManagement:portalRequestViewAction'?: [
3372
+ (
3373
+ | {
3374
+ title: string;
3375
+ function: string;
3376
+ key: ModuleKeySchema;
3377
+ [k: string]: unknown;
3378
+ }
3379
+ | {
3380
+ title: string;
3381
+ resolver?: {
3382
+ function: string;
3383
+ };
3384
+ resource: string;
3385
+ resourceUploadId?: string;
3386
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
3387
+ key: ModuleKeySchema;
3388
+ [k: string]: unknown;
3389
+ }
3390
+ ),
3391
+ ...(
3392
+ | {
3393
+ title: string;
3394
+ function: string;
3395
+ key: ModuleKeySchema;
3396
+ [k: string]: unknown;
3397
+ }
3398
+ | {
3399
+ title: string;
3400
+ resolver?: {
3401
+ function: string;
3402
+ };
3403
+ resource: string;
3404
+ resourceUploadId?: string;
3405
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
3406
+ key: ModuleKeySchema;
3407
+ [k: string]: unknown;
3408
+ }
3409
+ )[]
3410
+ ];
3411
+ 'jiraServiceManagement:portalRequestCreatePropertyPanel'?: [
3412
+ (
3413
+ | {
3414
+ title?: string;
3415
+ icon?: string;
3416
+ layout?: 'native' | 'basic';
3417
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
3418
+ function: string;
3419
+ key: ModuleKeySchema;
3420
+ [k: string]: unknown;
3421
+ }
3422
+ | {
3423
+ viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
3424
+ title?: string;
3425
+ icon?: string;
3426
+ layout?: 'native' | 'basic';
3427
+ resolver?: {
3428
+ function: string;
3429
+ };
3430
+ resource: string;
3431
+ resourceUploadId?: string;
3432
+ key: ModuleKeySchema;
3433
+ [k: string]: unknown;
3434
+ }
3435
+ ),
3436
+ ...(
3437
+ | {
3438
+ title?: string;
3439
+ icon?: string;
3440
+ layout?: 'native' | 'basic';
3441
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
3442
+ function: string;
3443
+ key: ModuleKeySchema;
3444
+ [k: string]: unknown;
3445
+ }
3446
+ | {
3447
+ viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
3448
+ title?: string;
3449
+ icon?: string;
3450
+ layout?: 'native' | 'basic';
3451
+ resolver?: {
3452
+ function: string;
3453
+ };
3454
+ resource: string;
3455
+ resourceUploadId?: string;
3456
+ key: ModuleKeySchema;
3457
+ [k: string]: unknown;
3458
+ }
3459
+ )[]
3460
+ ];
3371
3461
  'connect-jira:keyboardShortcuts'?: [
3372
3462
  {
3373
3463
  shortcut?: string;
@@ -48,7 +48,6 @@ export declare enum AllModuleTypes {
48
48
  JiraServiceManagementPortalProfilePanel = "jiraServiceManagement:portalProfilePanel",
49
49
  JiraServiceManagementPortalRequestViewAction = "jiraServiceManagement:portalRequestViewAction",
50
50
  JiraServiceManagementPortalUserMenuAction = "jiraServiceManagement:portalUserMenuAction",
51
- JiraServiceManagementPortalRequestCreatePropertyPanel = "jiraServiceManagement:portalRequestCreatePropertyPanel",
52
51
  ConnectJiraAdminPages = "connect-jira:adminPages",
53
52
  ConnectJiraJiraBackgroundScripts = "connect-jira:jiraBackgroundScripts",
54
53
  ConnectJiraGeneralPages = "connect-jira:generalPages",
@@ -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;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IAC3D,8BAA8B,uBAAuB;IACrD,6BAA6B,sBAAsB;IACnD,6BAA6B,sBAAsB;IACnD,gCAAgC,yBAAyB;IACzD,wCAAwC,iCAAiC;IACzE,+BAA+B,wBAAwB;CACxD;AAED,eAAO,MAAM,iBAAiB,kBAAgC,CAAC;AAE/D,eAAO,MAAM,uBAAuB,UAAwE,CAAC"}
@@ -52,7 +52,6 @@ var AllModuleTypes;
52
52
  AllModuleTypes["JiraServiceManagementPortalProfilePanel"] = "jiraServiceManagement:portalProfilePanel";
53
53
  AllModuleTypes["JiraServiceManagementPortalRequestViewAction"] = "jiraServiceManagement:portalRequestViewAction";
54
54
  AllModuleTypes["JiraServiceManagementPortalUserMenuAction"] = "jiraServiceManagement:portalUserMenuAction";
55
- AllModuleTypes["JiraServiceManagementPortalRequestCreatePropertyPanel"] = "jiraServiceManagement:portalRequestCreatePropertyPanel";
56
55
  AllModuleTypes["ConnectJiraAdminPages"] = "connect-jira:adminPages";
57
56
  AllModuleTypes["ConnectJiraJiraBackgroundScripts"] = "connect-jira:jiraBackgroundScripts";
58
57
  AllModuleTypes["ConnectJiraGeneralPages"] = "connect-jira:generalPages";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "4.0.0-next.3",
3
+ "version": "4.0.0",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {