@forge/manifest 3.6.0-next.4 → 3.6.0-next.5

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
+ ## 3.6.0-next.5
4
+
5
+ ### Patch Changes
6
+
7
+ - cb28bc0: Update manifest definitions
8
+
3
9
  ## 3.6.0-next.4
4
10
 
5
11
  ### Minor Changes
@@ -2555,7 +2555,7 @@
2555
2555
  },
2556
2556
  "minItems": 1
2557
2557
  },
2558
- "jira:issueAdjustment": {
2558
+ "jira:uiModifications": {
2559
2559
  "type": "array",
2560
2560
  "items": {
2561
2561
  "type": "object",
@@ -4551,6 +4551,71 @@
4551
4551
  },
4552
4552
  "minItems": 1
4553
4553
  },
4554
+ "compass:dataProvider": {
4555
+ "type": "array",
4556
+ "items": {
4557
+ "type": "object",
4558
+ "additionalProperties": false,
4559
+ "properties": {
4560
+ "domains": {
4561
+ "type": "array",
4562
+ "minItems": 1,
4563
+ "uniqueItems": true,
4564
+ "items": {
4565
+ "type": "string"
4566
+ }
4567
+ },
4568
+ "linkTypes": {
4569
+ "type": "array",
4570
+ "minItems": 1,
4571
+ "uniqueItems": true,
4572
+ "items": {
4573
+ "enum": [
4574
+ "chat-channel",
4575
+ "document",
4576
+ "repository",
4577
+ "dashboard",
4578
+ "on-call",
4579
+ "project",
4580
+ "other-link"
4581
+ ],
4582
+ "type": "string"
4583
+ },
4584
+ "title": "linkTypes"
4585
+ },
4586
+ "function": {
4587
+ "type": "string",
4588
+ "minLength": 1,
4589
+ "maxLength": 255,
4590
+ "pattern": "^[a-zA-Z0-9-_]+$"
4591
+ },
4592
+ "callback": {
4593
+ "type": "object",
4594
+ "properties": {
4595
+ "function": {
4596
+ "type": "string",
4597
+ "minLength": 1,
4598
+ "maxLength": 255,
4599
+ "pattern": "^[a-zA-Z0-9-_]+$"
4600
+ }
4601
+ },
4602
+ "required": [
4603
+ "function"
4604
+ ]
4605
+ },
4606
+ "key": {
4607
+ "$ref": "#/definitions/ModuleKeySchema"
4608
+ }
4609
+ },
4610
+ "required": [
4611
+ "function",
4612
+ "domains",
4613
+ "linkTypes",
4614
+ "key"
4615
+ ]
4616
+ },
4617
+ "minItems": 1
4618
+ },
4554
4619
  "jiraServiceManagement:queuePage": {
4555
4620
  "type": "array",
4556
4621
  "items": {
@@ -68,6 +68,10 @@ export type Handler = string;
68
68
  */
69
69
  export type Cleanup = boolean;
70
70
  export type ComponentTypes = ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE')[];
71
+ export type LinkTypes = [
72
+ 'chat-channel' | 'document' | 'repository' | 'dashboard' | 'on-call' | 'project' | 'other-link',
73
+ ...('chat-channel' | 'document' | 'repository' | 'dashboard' | 'on-call' | 'project' | 'other-link')[]
74
+ ];
71
75
  export type Scopes = string[];
72
76
  export type Scripts = string[];
73
77
  export type Styles = 'unsafe-inline'[];
@@ -1437,7 +1441,7 @@ export interface Modules {
1437
1441
  }
1438
1442
  )[]
1439
1443
  ];
1440
- 'jira:issueAdjustment'?: [
1444
+ 'jira:uiModifications'?: [
1441
1445
  {
1442
1446
  title: string;
1443
1447
  resolver?: {
@@ -2445,6 +2449,28 @@ export interface Modules {
2445
2449
  }
2446
2450
  )[]
2447
2451
  ];
2452
+ 'compass:dataProvider'?: [
2453
+ {
2454
+ domains: [string, ...string[]];
2455
+ linkTypes: LinkTypes;
2456
+ function: string;
2457
+ callback?: {
2458
+ function: string;
2459
+ [k: string]: unknown;
2460
+ };
2461
+ key: ModuleKeySchema;
2462
+ },
2463
+ ...{
2464
+ domains: [string, ...string[]];
2465
+ linkTypes: LinkTypes;
2466
+ function: string;
2467
+ callback?: {
2468
+ function: string;
2469
+ [k: string]: unknown;
2470
+ };
2471
+ key: ModuleKeySchema;
2472
+ }[]
2473
+ ];
2448
2474
  'jiraServiceManagement:queuePage'?: [
2449
2475
  (
2450
2476
  | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "3.6.0-next.4",
3
+ "version": "3.6.0-next.5",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {