@forge/manifest 11.3.0-next.1-experimental-e14a289 → 11.3.0-next.2-experimental-a8bc05b

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,6 +1,6 @@
1
1
  # @forge/manifest
2
2
 
3
- ## 11.3.0-next.1-experimental-e14a289
3
+ ## 11.3.0-next.2-experimental-a8bc05b
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -9,6 +9,13 @@
9
9
  ### Patch Changes
10
10
 
11
11
  - 7c2186c: Update manifest definitions
12
+ - 0c3a0df: Update manifest definitions
13
+
14
+ ## 11.3.0-next.2
15
+
16
+ ### Patch Changes
17
+
18
+ - 0c3a0df: Update manifest definitions
12
19
 
13
20
  ## 11.3.0-next.1
14
21
 
@@ -13183,6 +13183,12 @@
13183
13183
  "maxLength": 255,
13184
13184
  "pattern": "^[a-zA-Z0-9-_]+$"
13185
13185
  },
13186
+ "endpoint": {
13187
+ "type": "string",
13188
+ "minLength": 1,
13189
+ "maxLength": 255,
13190
+ "pattern": "^[a-zA-Z0-9-_]+$"
13191
+ },
13186
13192
  "resolver": {
13187
13193
  "anyOf": [
13188
13194
  {
@@ -13295,22 +13301,60 @@
13295
13301
  "company-managed"
13296
13302
  ]
13297
13303
  }
13298
- },
13299
- "key": {
13300
- "$ref": "#/definitions/ModuleKeySchema"
13301
13304
  }
13302
13305
  },
13306
+ "oneOf": [
13307
+ {
13308
+ "type": "object",
13309
+ "properties": {
13310
+ "function": {
13311
+ "type": "string",
13312
+ "minLength": 1,
13313
+ "maxLength": 255,
13314
+ "pattern": "^[a-zA-Z0-9-_]+$"
13315
+ },
13316
+ "key": {
13317
+ "$ref": "#/definitions/ModuleKeySchema"
13318
+ }
13319
+ },
13320
+ "required": [
13321
+ "function",
13322
+ "key"
13323
+ ],
13324
+ "not": {
13325
+ "required": [
13326
+ "unlicensedAccess"
13327
+ ]
13328
+ }
13329
+ },
13330
+ {
13331
+ "type": "object",
13332
+ "properties": {
13333
+ "endpoint": {
13334
+ "type": "string",
13335
+ "minLength": 1,
13336
+ "maxLength": 255,
13337
+ "pattern": "^[a-zA-Z0-9-_]+$"
13338
+ },
13339
+ "key": {
13340
+ "$ref": "#/definitions/ModuleKeySchema"
13341
+ }
13342
+ },
13343
+ "required": [
13344
+ "endpoint",
13345
+ "key"
13346
+ ],
13347
+ "not": {
13348
+ "required": [
13349
+ "unlicensedAccess"
13350
+ ]
13351
+ }
13352
+ }
13353
+ ],
13303
13354
  "required": [
13304
13355
  "description",
13305
- "function",
13306
- "name",
13307
- "key"
13308
- ],
13309
- "not": {
13310
- "required": [
13311
- "unlicensedAccess"
13312
- ]
13313
- }
13356
+ "name"
13357
+ ]
13314
13358
  },
13315
13359
  "minItems": 1
13316
13360
  },
@@ -17551,86 +17551,30 @@ export interface Modules {
17551
17551
  }[]
17552
17552
  ];
17553
17553
  'jira:workflowPostFunction'?: [
17554
- {
17555
- name:
17556
- | string
17557
- | {
17558
- i18n: string;
17559
- };
17560
- name__i18n?: string;
17561
- description:
17562
- | string
17563
- | {
17564
- i18n: string;
17565
- };
17566
- description__i18n?: string;
17567
- function: string;
17568
- resolver?:
17569
- | {
17570
- function: string;
17571
- }
17572
- | {
17573
- endpoint: string;
17574
- };
17575
- view?: {
17576
- resource: string;
17577
- render?: 'default' | 'native';
17578
- [k: string]: unknown;
17579
- };
17580
- edit?: {
17581
- resource: string;
17582
- render?: 'default' | 'native';
17583
- [k: string]: unknown;
17584
- };
17585
- create?: {
17586
- resource: string;
17587
- render?: 'default' | 'native';
17588
- [k: string]: unknown;
17589
- };
17590
- projectTypes?: ('team-managed' | 'company-managed')[];
17591
- key: ModuleKeySchema;
17592
- [k: string]: unknown;
17593
- },
17594
- ...{
17595
- name:
17596
- | string
17597
- | {
17598
- i18n: string;
17599
- };
17600
- name__i18n?: string;
17601
- description:
17602
- | string
17603
- | {
17604
- i18n: string;
17605
- };
17606
- description__i18n?: string;
17607
- function: string;
17608
- resolver?:
17609
- | {
17610
- function: string;
17611
- }
17612
- | {
17613
- endpoint: string;
17614
- };
17615
- view?: {
17616
- resource: string;
17617
- render?: 'default' | 'native';
17618
- [k: string]: unknown;
17619
- };
17620
- edit?: {
17621
- resource: string;
17622
- render?: 'default' | 'native';
17623
- [k: string]: unknown;
17624
- };
17625
- create?: {
17626
- resource: string;
17627
- render?: 'default' | 'native';
17628
- [k: string]: unknown;
17629
- };
17630
- projectTypes?: ('team-managed' | 'company-managed')[];
17631
- key: ModuleKeySchema;
17632
- [k: string]: unknown;
17633
- }[]
17554
+ (
17555
+ | {
17556
+ function: string;
17557
+ key: ModuleKeySchema;
17558
+ [k: string]: unknown;
17559
+ }
17560
+ | {
17561
+ endpoint: string;
17562
+ key: ModuleKeySchema;
17563
+ [k: string]: unknown;
17564
+ }
17565
+ ),
17566
+ ...(
17567
+ | {
17568
+ function: string;
17569
+ key: ModuleKeySchema;
17570
+ [k: string]: unknown;
17571
+ }
17572
+ | {
17573
+ endpoint: string;
17574
+ key: ModuleKeySchema;
17575
+ [k: string]: unknown;
17576
+ }
17577
+ )[]
17634
17578
  ];
17635
17579
  'jira:issueContext'?: [
17636
17580
  (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "11.3.0-next.1-experimental-e14a289",
3
+ "version": "11.3.0-next.2-experimental-a8bc05b",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {