@forge/manifest 12.1.2-next.1 → 12.2.0-experimental-43cfec4

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,35 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 12.2.0-experimental-43cfec4
4
+
5
+ ### Patch Changes
6
+
7
+ - 43cfec4: Update manifest definitions
8
+
9
+ ## 12.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - c70bd69: Support hot reloading for forge containers tunneling
14
+
15
+ ### Patch Changes
16
+
17
+ - ad5a470: Updating manifest validation for configurable remotes
18
+ - 3a792a2: Update manifest definitions
19
+ - 4210da0: Update manifest definitions
20
+
21
+ ## 12.2.0-next.3
22
+
23
+ ### Patch Changes
24
+
25
+ - 3a792a2: Update manifest definitions
26
+
27
+ ## 12.2.0-next.2
28
+
29
+ ### Minor Changes
30
+
31
+ - c70bd69: Support hot reloading for forge containers tunneling
32
+
3
33
  ## 12.1.2-next.1
4
34
 
5
35
  ### Patch Changes
@@ -1473,6 +1473,30 @@
1473
1473
  ]
1474
1474
  }
1475
1475
  },
1476
+ {
1477
+ "productEvent": "avi:bitbucket:pending:deployment",
1478
+ "oAuthScopes": {
1479
+ "current": [
1480
+ "read:pipeline:bitbucket"
1481
+ ]
1482
+ }
1483
+ },
1484
+ {
1485
+ "productEvent": "avi:bitbucket:started:deployment",
1486
+ "oAuthScopes": {
1487
+ "current": [
1488
+ "read:pipeline:bitbucket"
1489
+ ]
1490
+ }
1491
+ },
1492
+ {
1493
+ "productEvent": "avi:bitbucket:completed:deployment",
1494
+ "oAuthScopes": {
1495
+ "current": [
1496
+ "read:pipeline:bitbucket"
1497
+ ]
1498
+ }
1499
+ },
1476
1500
  {
1477
1501
  "productEvent": "avi:jira-software:created:sprint",
1478
1502
  "oAuthScopes": {
@@ -1301,15 +1301,39 @@
1301
1301
  }
1302
1302
  }
1303
1303
  },
1304
+ "configurable": {
1305
+ "type": "object",
1306
+ "properties": {
1307
+ "name": {
1308
+ "type": "string",
1309
+ "description": "The name that an admin will see when they're configuring the remote"
1310
+ },
1311
+ "description": {
1312
+ "type": "string",
1313
+ "description": "The description that an admin will see when they're configuring the remote"
1314
+ },
1315
+ "supportedPatterns": {
1316
+ "type": "array",
1317
+ "description": "The domains that are supported for this remote, prefixed with a * wildcard. For example, `*.atlassian.net` would allow this remote to communicate with domains that matched atlassian.net domains.",
1318
+ "items": {
1319
+ "type": "string",
1320
+ "pattern": "^\\*"
1321
+ }
1322
+ }
1323
+ },
1324
+ "required": [
1325
+ "name",
1326
+ "description"
1327
+ ]
1328
+ },
1304
1329
  "key": {
1305
1330
  "$ref": "#/definitions/ModuleKeySchema"
1306
1331
  }
1307
1332
  },
1333
+ "type": "object",
1308
1334
  "required": [
1309
- "baseUrl",
1310
1335
  "key"
1311
1336
  ],
1312
- "type": "object",
1313
1337
  "not": {
1314
1338
  "required": [
1315
1339
  "unlicensedAccess"
@@ -5864,7 +5888,7 @@
5864
5888
  "searchAlias": {
5865
5889
  "minLength": 1,
5866
5890
  "maxLength": 255,
5867
- "pattern": "^[a-zA-Z0-9-_]+$",
5891
+ "pattern": "^[a-zA-Z0-9._-]+$",
5868
5892
  "type": "string"
5869
5893
  },
5870
5894
  "uiSupport": {
@@ -6731,16 +6755,23 @@
6731
6755
  "type": "object",
6732
6756
  "properties": {
6733
6757
  "key": {
6734
- "type": "string"
6758
+ "type": "string",
6759
+ "minLength": 1,
6760
+ "maxLength": 255
6735
6761
  },
6736
6762
  "path": {
6737
- "type": "string"
6763
+ "type": "string",
6764
+ "minLength": 1,
6765
+ "maxLength": 255
6766
+ },
6767
+ "fieldType": {
6768
+ "type": "string",
6769
+ "enum": [
6770
+ "SINGLE_SELECT",
6771
+ "MULTI_SELECT"
6772
+ ]
6738
6773
  }
6739
- },
6740
- "required": [
6741
- "key",
6742
- "path"
6743
- ]
6774
+ }
6744
6775
  },
6745
6776
  "isUIModificationsEnabled": {
6746
6777
  "default": false,
@@ -7198,16 +7229,23 @@
7198
7229
  "type": "object",
7199
7230
  "properties": {
7200
7231
  "key": {
7201
- "type": "string"
7232
+ "type": "string",
7233
+ "minLength": 1,
7234
+ "maxLength": 255
7202
7235
  },
7203
7236
  "path": {
7204
- "type": "string"
7237
+ "type": "string",
7238
+ "minLength": 1,
7239
+ "maxLength": 255
7240
+ },
7241
+ "fieldType": {
7242
+ "type": "string",
7243
+ "enum": [
7244
+ "SINGLE_SELECT",
7245
+ "MULTI_SELECT"
7246
+ ]
7205
7247
  }
7206
- },
7207
- "required": [
7208
- "key",
7209
- "path"
7210
- ]
7248
+ }
7211
7249
  },
7212
7250
  "isUIModificationsEnabled": {
7213
7251
  "default": false,
@@ -7620,16 +7658,23 @@
7620
7658
  "type": "object",
7621
7659
  "properties": {
7622
7660
  "key": {
7623
- "type": "string"
7661
+ "type": "string",
7662
+ "minLength": 1,
7663
+ "maxLength": 255
7624
7664
  },
7625
7665
  "path": {
7626
- "type": "string"
7666
+ "type": "string",
7667
+ "minLength": 1,
7668
+ "maxLength": 255
7669
+ },
7670
+ "fieldType": {
7671
+ "type": "string",
7672
+ "enum": [
7673
+ "SINGLE_SELECT",
7674
+ "MULTI_SELECT"
7675
+ ]
7627
7676
  }
7628
- },
7629
- "required": [
7630
- "key",
7631
- "path"
7632
- ]
7677
+ }
7633
7678
  },
7634
7679
  "isUIModificationsEnabled": {
7635
7680
  "default": false,
@@ -28812,6 +28857,7 @@
28812
28857
  "atlassian:design",
28813
28858
  "atlassian:message",
28814
28859
  "atlassian:customer-org",
28860
+ "atlassian:customer-org-category",
28815
28861
  "atlassian:space",
28816
28862
  "atlassian:project",
28817
28863
  "atlassian:remote-link",
@@ -28827,7 +28873,8 @@
28827
28873
  "atlassian:test",
28828
28874
  "atlassian:test-execution",
28829
28875
  "atlassian:test-plan",
28830
- "atlassian:test-run"
28876
+ "atlassian:test-run",
28877
+ "atlassian:test-status"
28831
28878
  ],
28832
28879
  "minLength": 1,
28833
28880
  "maxLength": 255
@@ -30258,6 +30305,87 @@
30258
30305
  "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*=.+$"
30259
30306
  },
30260
30307
  "description": "The custom environment variables available to the running processes in the container"
30308
+ },
30309
+ "working_dir": {
30310
+ "type": "string",
30311
+ "description": "The working directory for commands to run in. This will override the default WORKDIR specified in the Dockerfile"
30312
+ },
30313
+ "command": {
30314
+ "oneOf": [
30315
+ {
30316
+ "type": "string",
30317
+ "description": "The command to run in the container as a single string"
30318
+ },
30319
+ {
30320
+ "type": "array",
30321
+ "items": {
30322
+ "type": "string"
30323
+ },
30324
+ "description": "The command to run in the container as an array of strings"
30325
+ }
30326
+ ],
30327
+ "description": "The command to run in the container. This will override the default CMD specified in the Dockerfile"
30328
+ },
30329
+ "develop": {
30330
+ "type": "object",
30331
+ "additionalProperties": false,
30332
+ "properties": {
30333
+ "watch": {
30334
+ "type": "array",
30335
+ "items": {
30336
+ "type": "object",
30337
+ "required": [
30338
+ "path",
30339
+ "action"
30340
+ ],
30341
+ "additionalProperties": false,
30342
+ "properties": {
30343
+ "path": {
30344
+ "type": "string",
30345
+ "description": "The path to source code (relative to the project directory) to monitor for changes"
30346
+ },
30347
+ "target": {
30348
+ "type": "string",
30349
+ "description": "The destination path inside the container where source file changes should be synced to. This attribute is only required when the action is set to sync."
30350
+ },
30351
+ "action": {
30352
+ "type": "string",
30353
+ "enum": [
30354
+ "sync",
30355
+ "rebuild",
30356
+ "restart",
30357
+ "sync+restart"
30358
+ ],
30359
+ "description": "The possible actions to take when changes are detected. Refer to official docker documentation for more details on each action"
30360
+ },
30361
+ "ignore": {
30362
+ "type": "array",
30363
+ "items": {
30364
+ "type": "string"
30365
+ },
30366
+ "description": "A list of paths or patterns to ignore when watching for changes"
30367
+ },
30368
+ "include": {
30369
+ "type": "array",
30370
+ "items": {
30371
+ "type": "string"
30372
+ },
30373
+ "description": "A list of paths or patterns to specifically include when watching for changes"
30374
+ }
30375
+ }
30376
+ },
30377
+ "description": "A list of rules that control automatic service updates based on local file changes"
30378
+ }
30379
+ },
30380
+ "description": "A section of config which groups development-specific features together"
30381
+ },
30382
+ "volumes": {
30383
+ "type": "array",
30384
+ "items": {
30385
+ "type": "string",
30386
+ "pattern": "^[^:]+:[^:]+(:ro|:rw)?$"
30387
+ },
30388
+ "description": "Volumes define mount points that are accessible by service containers. The format is 'source:container_path[:mode]' where mode is optional and can be 'ro' (read-only) or by default 'rw' (read-write)"
30261
30389
  }
30262
30390
  }
30263
30391
  }
@@ -1651,7 +1651,7 @@ export interface Modules {
1651
1651
  */
1652
1652
  [k: string]: string;
1653
1653
  };
1654
- baseUrl:
1654
+ baseUrl?:
1655
1655
  | string
1656
1656
  | {
1657
1657
  /**
@@ -1682,6 +1682,21 @@ export interface Modules {
1682
1682
  inScopeEUD?: boolean;
1683
1683
  [k: string]: unknown;
1684
1684
  };
1685
+ configurable?: {
1686
+ /**
1687
+ * The name that an admin will see when they're configuring the remote
1688
+ */
1689
+ name: string;
1690
+ /**
1691
+ * The description that an admin will see when they're configuring the remote
1692
+ */
1693
+ description: string;
1694
+ /**
1695
+ * The domains that are supported for this remote, prefixed with a * wildcard. For example, `*.atlassian.net` would allow this remote to communicate with domains that matched atlassian.net domains.
1696
+ */
1697
+ supportedPatterns?: string[];
1698
+ [k: string]: unknown;
1699
+ };
1685
1700
  key: ModuleKeySchema;
1686
1701
  [k: string]: unknown;
1687
1702
  },
@@ -1693,7 +1708,7 @@ export interface Modules {
1693
1708
  */
1694
1709
  [k: string]: string;
1695
1710
  };
1696
- baseUrl:
1711
+ baseUrl?:
1697
1712
  | string
1698
1713
  | {
1699
1714
  /**
@@ -1724,6 +1739,21 @@ export interface Modules {
1724
1739
  inScopeEUD?: boolean;
1725
1740
  [k: string]: unknown;
1726
1741
  };
1742
+ configurable?: {
1743
+ /**
1744
+ * The name that an admin will see when they're configuring the remote
1745
+ */
1746
+ name: string;
1747
+ /**
1748
+ * The description that an admin will see when they're configuring the remote
1749
+ */
1750
+ description: string;
1751
+ /**
1752
+ * The domains that are supported for this remote, prefixed with a * wildcard. For example, `*.atlassian.net` would allow this remote to communicate with domains that matched atlassian.net domains.
1753
+ */
1754
+ supportedPatterns?: string[];
1755
+ [k: string]: unknown;
1756
+ };
1727
1757
  key: ModuleKeySchema;
1728
1758
  [k: string]: unknown;
1729
1759
  }[]
@@ -14480,8 +14510,9 @@ export interface Modules {
14480
14510
  };
14481
14511
  migratedFromConnect?: boolean;
14482
14512
  connectFieldProperty?: {
14483
- key: string;
14484
- path: string;
14513
+ key?: string;
14514
+ path?: string;
14515
+ fieldType?: 'SINGLE_SELECT' | 'MULTI_SELECT';
14485
14516
  [k: string]: unknown;
14486
14517
  };
14487
14518
  isUIModificationsEnabled?: boolean;
@@ -14600,8 +14631,9 @@ export interface Modules {
14600
14631
  };
14601
14632
  migratedFromConnect?: boolean;
14602
14633
  connectFieldProperty?: {
14603
- key: string;
14604
- path: string;
14634
+ key?: string;
14635
+ path?: string;
14636
+ fieldType?: 'SINGLE_SELECT' | 'MULTI_SELECT';
14605
14637
  [k: string]: unknown;
14606
14638
  };
14607
14639
  isUIModificationsEnabled?: boolean;
@@ -14710,8 +14742,9 @@ export interface Modules {
14710
14742
  };
14711
14743
  migratedFromConnect?: boolean;
14712
14744
  connectFieldProperty?: {
14713
- key: string;
14714
- path: string;
14745
+ key?: string;
14746
+ path?: string;
14747
+ fieldType?: 'SINGLE_SELECT' | 'MULTI_SELECT';
14715
14748
  [k: string]: unknown;
14716
14749
  };
14717
14750
  isUIModificationsEnabled?: boolean;
@@ -14829,8 +14862,9 @@ export interface Modules {
14829
14862
  };
14830
14863
  migratedFromConnect?: boolean;
14831
14864
  connectFieldProperty?: {
14832
- key: string;
14833
- path: string;
14865
+ key?: string;
14866
+ path?: string;
14867
+ fieldType?: 'SINGLE_SELECT' | 'MULTI_SELECT';
14834
14868
  [k: string]: unknown;
14835
14869
  };
14836
14870
  isUIModificationsEnabled?: boolean;
@@ -14949,8 +14983,9 @@ export interface Modules {
14949
14983
  };
14950
14984
  migratedFromConnect?: boolean;
14951
14985
  connectFieldProperty?: {
14952
- key: string;
14953
- path: string;
14986
+ key?: string;
14987
+ path?: string;
14988
+ fieldType?: 'SINGLE_SELECT' | 'MULTI_SELECT';
14954
14989
  [k: string]: unknown;
14955
14990
  };
14956
14991
  isUIModificationsEnabled?: boolean;
@@ -15059,8 +15094,9 @@ export interface Modules {
15059
15094
  };
15060
15095
  migratedFromConnect?: boolean;
15061
15096
  connectFieldProperty?: {
15062
- key: string;
15063
- path: string;
15097
+ key?: string;
15098
+ path?: string;
15099
+ fieldType?: 'SINGLE_SELECT' | 'MULTI_SELECT';
15064
15100
  [k: string]: unknown;
15065
15101
  };
15066
15102
  isUIModificationsEnabled?: boolean;
@@ -24300,6 +24336,7 @@ export interface Modules {
24300
24336
  | 'atlassian:design'
24301
24337
  | 'atlassian:message'
24302
24338
  | 'atlassian:customer-org'
24339
+ | 'atlassian:customer-org-category'
24303
24340
  | 'atlassian:space'
24304
24341
  | 'atlassian:project'
24305
24342
  | 'atlassian:remote-link'
@@ -24316,6 +24353,7 @@ export interface Modules {
24316
24353
  | 'atlassian:test-execution'
24317
24354
  | 'atlassian:test-plan'
24318
24355
  | 'atlassian:test-run'
24356
+ | 'atlassian:test-status'
24319
24357
  ),
24320
24358
  ...(
24321
24359
  | 'atlassian:document'
@@ -24328,6 +24366,7 @@ export interface Modules {
24328
24366
  | 'atlassian:design'
24329
24367
  | 'atlassian:message'
24330
24368
  | 'atlassian:customer-org'
24369
+ | 'atlassian:customer-org-category'
24331
24370
  | 'atlassian:space'
24332
24371
  | 'atlassian:project'
24333
24372
  | 'atlassian:remote-link'
@@ -24344,6 +24383,7 @@ export interface Modules {
24344
24383
  | 'atlassian:test-execution'
24345
24384
  | 'atlassian:test-plan'
24346
24385
  | 'atlassian:test-run'
24386
+ | 'atlassian:test-status'
24347
24387
  )[]
24348
24388
  ];
24349
24389
  orchestration?: {
@@ -24409,6 +24449,7 @@ export interface Modules {
24409
24449
  | 'atlassian:design'
24410
24450
  | 'atlassian:message'
24411
24451
  | 'atlassian:customer-org'
24452
+ | 'atlassian:customer-org-category'
24412
24453
  | 'atlassian:space'
24413
24454
  | 'atlassian:project'
24414
24455
  | 'atlassian:remote-link'
@@ -24425,6 +24466,7 @@ export interface Modules {
24425
24466
  | 'atlassian:test-execution'
24426
24467
  | 'atlassian:test-plan'
24427
24468
  | 'atlassian:test-run'
24469
+ | 'atlassian:test-status'
24428
24470
  ),
24429
24471
  ...(
24430
24472
  | 'atlassian:document'
@@ -24437,6 +24479,7 @@ export interface Modules {
24437
24479
  | 'atlassian:design'
24438
24480
  | 'atlassian:message'
24439
24481
  | 'atlassian:customer-org'
24482
+ | 'atlassian:customer-org-category'
24440
24483
  | 'atlassian:space'
24441
24484
  | 'atlassian:project'
24442
24485
  | 'atlassian:remote-link'
@@ -24453,6 +24496,7 @@ export interface Modules {
24453
24496
  | 'atlassian:test-execution'
24454
24497
  | 'atlassian:test-plan'
24455
24498
  | 'atlassian:test-run'
24499
+ | 'atlassian:test-status'
24456
24500
  )[]
24457
24501
  ];
24458
24502
  orchestration?: {
@@ -74158,6 +74202,48 @@ export interface ContainerTunnelConfig {
74158
74202
  * The custom environment variables available to the running processes in the container
74159
74203
  */
74160
74204
  environment?: string[];
74205
+ /**
74206
+ * The working directory for commands to run in. This will override the default WORKDIR specified in the Dockerfile
74207
+ */
74208
+ working_dir?: string;
74209
+ /**
74210
+ * The command to run in the container. This will override the default CMD specified in the Dockerfile
74211
+ */
74212
+ command?: string | string[];
74213
+ /**
74214
+ * A section of config which groups development-specific features together
74215
+ */
74216
+ develop?: {
74217
+ /**
74218
+ * A list of rules that control automatic service updates based on local file changes
74219
+ */
74220
+ watch?: {
74221
+ /**
74222
+ * The path to source code (relative to the project directory) to monitor for changes
74223
+ */
74224
+ path: string;
74225
+ /**
74226
+ * The destination path inside the container where source file changes should be synced to. This attribute is only required when the action is set to sync.
74227
+ */
74228
+ target?: string;
74229
+ /**
74230
+ * The possible actions to take when changes are detected. Refer to official docker documentation for more details on each action
74231
+ */
74232
+ action: 'sync' | 'rebuild' | 'restart' | 'sync+restart';
74233
+ /**
74234
+ * A list of paths or patterns to ignore when watching for changes
74235
+ */
74236
+ ignore?: string[];
74237
+ /**
74238
+ * A list of paths or patterns to specifically include when watching for changes
74239
+ */
74240
+ include?: string[];
74241
+ }[];
74242
+ };
74243
+ /**
74244
+ * Volumes define mount points that are accessible by service containers. The format is 'source:container_path[:mode]' where mode is optional and can be 'ro' (read-only) or by default 'rw' (read-write)
74245
+ */
74246
+ volumes?: string[];
74161
74247
  };
74162
74248
  }
74163
74249
  export interface Scaling {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "12.1.2-next.1",
3
+ "version": "12.2.0-experimental-43cfec4",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {