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

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,23 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 3.6.0-next.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 0920759f: Update manifest definitions
8
+
9
+ ## 3.6.0-next.6
10
+
11
+ ### Minor Changes
12
+
13
+ - 2bd062d0: Add support for Forge Post Functions module
14
+
15
+ ## 3.6.0-next.5
16
+
17
+ ### Patch Changes
18
+
19
+ - cb28bc0: Update manifest definitions
20
+
3
21
  ## 3.6.0-next.4
4
22
 
5
23
  ### 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",
@@ -4221,6 +4221,82 @@
4221
4221
  },
4222
4222
  "minItems": 1
4223
4223
  },
4224
+ "jira:workflowPostFunction": {
4225
+ "type": "array",
4226
+ "items": {
4227
+ "type": "object",
4228
+ "properties": {
4229
+ "name": {
4230
+ "minLength": 1,
4231
+ "maxLength": 255,
4232
+ "type": "string"
4233
+ },
4234
+ "description": {
4235
+ "minLength": 1,
4236
+ "maxLength": 1000,
4237
+ "type": "string"
4238
+ },
4239
+ "function": {
4240
+ "type": "string",
4241
+ "minLength": 1,
4242
+ "maxLength": 255,
4243
+ "pattern": "^[a-zA-Z0-9-_]+$"
4244
+ },
4245
+ "view": {
4246
+ "type": "object",
4247
+ "properties": {
4248
+ "resource": {
4249
+ "type": "string",
4250
+ "minLength": 1,
4251
+ "maxLength": 23,
4252
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4253
+ }
4254
+ },
4255
+ "required": [
4256
+ "resource"
4257
+ ]
4258
+ },
4259
+ "edit": {
4260
+ "type": "object",
4261
+ "properties": {
4262
+ "resource": {
4263
+ "type": "string",
4264
+ "minLength": 1,
4265
+ "maxLength": 23,
4266
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4267
+ }
4268
+ },
4269
+ "required": [
4270
+ "resource"
4271
+ ]
4272
+ },
4273
+ "create": {
4274
+ "type": "object",
4275
+ "properties": {
4276
+ "resource": {
4277
+ "type": "string",
4278
+ "minLength": 1,
4279
+ "maxLength": 23,
4280
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4281
+ }
4282
+ },
4283
+ "required": [
4284
+ "resource"
4285
+ ]
4286
+ },
4287
+ "key": {
4288
+ "$ref": "#/definitions/ModuleKeySchema"
4289
+ }
4290
+ },
4291
+ "required": [
4292
+ "description",
4293
+ "function",
4294
+ "name",
4295
+ "key"
4296
+ ]
4297
+ },
4298
+ "minItems": 1
4299
+ },
4224
4300
  "compass:adminPage": {
4225
4301
  "type": "array",
4226
4302
  "items": {
@@ -4551,6 +4627,71 @@
4551
4627
  },
4552
4628
  "minItems": 1
4553
4629
  },
4630
+ "compass:dataProvider": {
4631
+ "type": "array",
4632
+ "items": {
4633
+ "type": "object",
4634
+ "additionalProperties": false,
4635
+ "properties": {
4636
+ "domains": {
4637
+ "type": "array",
4638
+ "minItems": 1,
4639
+ "uniqueItems": true,
4640
+ "items": {
4641
+ "type": "string"
4642
+ }
4643
+ },
4644
+ "linkTypes": {
4645
+ "type": "array",
4646
+ "minItems": 1,
4647
+ "uniqueItems": true,
4648
+ "items": {
4649
+ "enum": [
4650
+ "chat-channel",
4651
+ "document",
4652
+ "repository",
4653
+ "dashboard",
4654
+ "on-call",
4655
+ "project",
4656
+ "other-link"
4657
+ ],
4658
+ "type": "string"
4659
+ },
4660
+ "title": "linkTypes"
4661
+ },
4662
+ "function": {
4663
+ "type": "string",
4664
+ "minLength": 1,
4665
+ "maxLength": 255,
4666
+ "pattern": "^[a-zA-Z0-9-_]+$"
4667
+ },
4668
+ "callback": {
4669
+ "type": "object",
4670
+ "properties": {
4671
+ "function": {
4672
+ "type": "string",
4673
+ "minLength": 1,
4674
+ "maxLength": 255,
4675
+ "pattern": "^[a-zA-Z0-9-_]+$"
4676
+ }
4677
+ },
4678
+ "required": [
4679
+ "function"
4680
+ ]
4681
+ },
4682
+ "key": {
4683
+ "$ref": "#/definitions/ModuleKeySchema"
4684
+ }
4685
+ },
4686
+ "required": [
4687
+ "function",
4688
+ "domains",
4689
+ "linkTypes",
4690
+ "key"
4691
+ ]
4692
+ },
4693
+ "minItems": 1
4694
+ },
4554
4695
  "jiraServiceManagement:queuePage": {
4555
4696
  "type": "array",
4556
4697
  "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?: {
@@ -2281,6 +2285,46 @@ export interface Modules {
2281
2285
  [k: string]: unknown;
2282
2286
  }[]
2283
2287
  ];
2288
+ 'jira:workflowPostFunction'?: [
2289
+ {
2290
+ name: string;
2291
+ description: string;
2292
+ function: string;
2293
+ view?: {
2294
+ resource: string;
2295
+ [k: string]: unknown;
2296
+ };
2297
+ edit?: {
2298
+ resource: string;
2299
+ [k: string]: unknown;
2300
+ };
2301
+ create?: {
2302
+ resource: string;
2303
+ [k: string]: unknown;
2304
+ };
2305
+ key: ModuleKeySchema;
2306
+ [k: string]: unknown;
2307
+ },
2308
+ ...{
2309
+ name: string;
2310
+ description: string;
2311
+ function: string;
2312
+ view?: {
2313
+ resource: string;
2314
+ [k: string]: unknown;
2315
+ };
2316
+ edit?: {
2317
+ resource: string;
2318
+ [k: string]: unknown;
2319
+ };
2320
+ create?: {
2321
+ resource: string;
2322
+ [k: string]: unknown;
2323
+ };
2324
+ key: ModuleKeySchema;
2325
+ [k: string]: unknown;
2326
+ }[]
2327
+ ];
2284
2328
  'compass:adminPage'?: [
2285
2329
  (
2286
2330
  | {
@@ -2445,6 +2489,28 @@ export interface Modules {
2445
2489
  }
2446
2490
  )[]
2447
2491
  ];
2492
+ 'compass:dataProvider'?: [
2493
+ {
2494
+ domains: [string, ...string[]];
2495
+ linkTypes: LinkTypes;
2496
+ function: string;
2497
+ callback?: {
2498
+ function: string;
2499
+ [k: string]: unknown;
2500
+ };
2501
+ key: ModuleKeySchema;
2502
+ },
2503
+ ...{
2504
+ domains: [string, ...string[]];
2505
+ linkTypes: LinkTypes;
2506
+ function: string;
2507
+ callback?: {
2508
+ function: string;
2509
+ [k: string]: unknown;
2510
+ };
2511
+ key: ModuleKeySchema;
2512
+ }[]
2513
+ ];
2448
2514
  'jiraServiceManagement:queuePage'?: [
2449
2515
  (
2450
2516
  | {
@@ -17,6 +17,7 @@ export declare enum AllModuleTypes {
17
17
  JiraEntityProperty = "jira:entityProperty",
18
18
  JiraWorkflowValidator = "jira:workflowValidator",
19
19
  JiraWorkflowCondition = "jira:workflowCondition",
20
+ JiraWorkflowPostFunction = "jira:workflowPostFunction",
20
21
  JiraCustomField = "jira:customField",
21
22
  JiraCustomFieldType = "jira:customFieldType",
22
23
  JiraIssueAction = "jira:issueAction",
@@ -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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A0B;IAC7C,oBAAoB,2BAA2B;IAC/C,2BAA2B,kCAAkC;IAC7D,2BAA2B,kCAAkC;IAC7D,8BAA8B,qCAAqC;IACnE,4CAA4C,mDAAmD;IAC/F,iCAAiC,wCAAwC;IACzE,mCAAmC,0CAA0C;IAC7E,8BAA8B,qCAAqC;IACnE,wBAAwB,+BAA+B;IACvD,qCAAqC,4CAA4C;IACjF,6BAA6B,oCAAoC;IACjE,kCAAkC,yCAAyC;IAC3E,gCAAgC,uCAAuC;IACvE,+BAA+B,sCAAsC;IACrE,oCAAoC,2CAA2C;IAC/E,yBAAyB,gCAAgC;IACzD,0BAA0B,iCAAiC;IAC3D,4BAA4B,mCAAmC;IAC/D,yBAAyB,gCAAgC;IACzD,wBAAwB,+BAA+B;IACvD,kBAAkB,yBAAyB;IAC3C,gCAAgC,uCAAuC;IACvE,qCAAqC,4CAA4C;IACjF,8BAA8B,qCAAqC;IACnE,+BAA+B,sCAAsC;IACrE,sCAAsC,6CAA6C;IACnF,4BAA4B,mCAAmC;IAC/D,6BAA6B,oCAAoC;IACjE,yBAAyB,gCAAgC;IACzD,2BAA2B,kCAAkC;IAC7D,iCAAiC,wCAAwC;IACzE,sBAAsB,6BAA6B;IACnD,iCAAiC,wCAAwC;IACzE,oCAAoC,2CAA2C;IAC/E,iCAAiC,wCAAwC;IACzE,0BAA0B,iCAAiC;IAC3D,oBAAoB,2BAA2B;IAC/C,sBAAsB,6BAA6B;IACnD,mBAAmB,0BAA0B;IAC7C,0BAA0B,iCAAiC;CAC5D;AAED,eAAO,MAAM,iBAAiB,kBAAgC,CAAC;AAE/D,eAAO,MAAM,uBAAuB,UAAwE,CAAC"}
@@ -21,6 +21,7 @@ var AllModuleTypes;
21
21
  AllModuleTypes["JiraEntityProperty"] = "jira:entityProperty";
22
22
  AllModuleTypes["JiraWorkflowValidator"] = "jira:workflowValidator";
23
23
  AllModuleTypes["JiraWorkflowCondition"] = "jira:workflowCondition";
24
+ AllModuleTypes["JiraWorkflowPostFunction"] = "jira:workflowPostFunction";
24
25
  AllModuleTypes["JiraCustomField"] = "jira:customField";
25
26
  AllModuleTypes["JiraCustomFieldType"] = "jira:customFieldType";
26
27
  AllModuleTypes["JiraIssueAction"] = "jira:issueAction";
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.7",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {