@forge/manifest 2.4.0 → 2.5.0-next.3

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.
@@ -1287,6 +1287,94 @@ export interface Modules {
1287
1287
  }
1288
1288
  )[]
1289
1289
  ];
1290
+ 'jira:globalPage'?: [
1291
+ (
1292
+ | {
1293
+ function: string;
1294
+ title: string;
1295
+ icon?: string;
1296
+ layout?: 'basic' | 'native';
1297
+ key: ModuleKeySchema;
1298
+ [k: string]: unknown;
1299
+ }
1300
+ | {
1301
+ resource: string;
1302
+ resolver?: {
1303
+ function: string;
1304
+ };
1305
+ title: string;
1306
+ icon?: string;
1307
+ layout?: 'basic' | 'native';
1308
+ key: ModuleKeySchema;
1309
+ [k: string]: unknown;
1310
+ }
1311
+ ),
1312
+ ...(
1313
+ | {
1314
+ function: string;
1315
+ title: string;
1316
+ icon?: string;
1317
+ layout?: 'basic' | 'native';
1318
+ key: ModuleKeySchema;
1319
+ [k: string]: unknown;
1320
+ }
1321
+ | {
1322
+ resource: string;
1323
+ resolver?: {
1324
+ function: string;
1325
+ };
1326
+ title: string;
1327
+ icon?: string;
1328
+ layout?: 'basic' | 'native';
1329
+ key: ModuleKeySchema;
1330
+ [k: string]: unknown;
1331
+ }
1332
+ )[]
1333
+ ];
1334
+ 'jira:projectSettingsPage'?: [
1335
+ (
1336
+ | {
1337
+ function: string;
1338
+ title: string;
1339
+ icon?: string;
1340
+ layout?: 'basic' | 'native';
1341
+ key: ModuleKeySchema;
1342
+ [k: string]: unknown;
1343
+ }
1344
+ | {
1345
+ resource: string;
1346
+ resolver?: {
1347
+ function: string;
1348
+ };
1349
+ title: string;
1350
+ icon?: string;
1351
+ layout?: 'basic' | 'native';
1352
+ key: ModuleKeySchema;
1353
+ [k: string]: unknown;
1354
+ }
1355
+ ),
1356
+ ...(
1357
+ | {
1358
+ function: string;
1359
+ title: string;
1360
+ icon?: string;
1361
+ layout?: 'basic' | 'native';
1362
+ key: ModuleKeySchema;
1363
+ [k: string]: unknown;
1364
+ }
1365
+ | {
1366
+ resource: string;
1367
+ resolver?: {
1368
+ function: string;
1369
+ };
1370
+ title: string;
1371
+ icon?: string;
1372
+ layout?: 'basic' | 'native';
1373
+ key: ModuleKeySchema;
1374
+ [k: string]: unknown;
1375
+ }
1376
+ )[]
1377
+ ];
1290
1378
  'compass:adminPage'?: [
1291
1379
  (
1292
1380
  | {
@@ -2448,7 +2536,7 @@ export interface Modules {
2448
2536
  filter?: string;
2449
2537
  excludeBody?: boolean;
2450
2538
  event?: string;
2451
- conditions?: (SingleCondition | CompositeCondition)[];
2539
+ conditions?: (CompositeCondition | SingleCondition)[];
2452
2540
  propertyKeys?: string[];
2453
2541
  url?: string;
2454
2542
  key: ModuleKeySchema;
@@ -2458,7 +2546,7 @@ export interface Modules {
2458
2546
  filter?: string;
2459
2547
  excludeBody?: boolean;
2460
2548
  event?: string;
2461
- conditions?: (SingleCondition | CompositeCondition)[];
2549
+ conditions?: (CompositeCondition | SingleCondition)[];
2462
2550
  propertyKeys?: string[];
2463
2551
  url?: string;
2464
2552
  key: ModuleKeySchema;
@@ -5811,10 +5899,37 @@ export interface Icon10 {
5811
5899
  *
5812
5900
  */
5813
5901
  export interface WebItemTarget1 {
5814
- options?: DialogOptions2 | InlineDialogOptions1 | DialogModuleOptions1;
5902
+ options?: DialogModuleOptions1 | DialogOptions2 | InlineDialogOptions1;
5815
5903
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
5816
5904
  [k: string]: unknown;
5817
5905
  }
5906
+ /**
5907
+ *
5908
+ *
5909
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
5910
+ *
5911
+ * <h3>Example</h3>
5912
+ *
5913
+ *
5914
+ *
5915
+ *
5916
+ *
5917
+ * {
5918
+ * "target": {
5919
+ * "type": "dialogmodule",
5920
+ * "options": {
5921
+ * "key": "dialog-module-key"
5922
+ * }
5923
+ * }
5924
+ * }
5925
+ *
5926
+ *
5927
+ *
5928
+ */
5929
+ export interface DialogModuleOptions1 {
5930
+ key: string;
5931
+ [k: string]: unknown;
5932
+ }
5818
5933
  /**
5819
5934
  *
5820
5935
  *
@@ -5950,33 +6065,6 @@ export interface InlineDialogOptions1 {
5950
6065
  isRelativeToMouse?: boolean;
5951
6066
  [k: string]: unknown;
5952
6067
  }
5953
- /**
5954
- *
5955
- *
5956
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
5957
- *
5958
- * <h3>Example</h3>
5959
- *
5960
- *
5961
- *
5962
- *
5963
- *
5964
- * {
5965
- * "target": {
5966
- * "type": "dialogmodule",
5967
- * "options": {
5968
- * "key": "dialog-module-key"
5969
- * }
5970
- * }
5971
- * }
5972
- *
5973
- *
5974
- *
5975
- */
5976
- export interface DialogModuleOptions1 {
5977
- key: string;
5978
- [k: string]: unknown;
5979
- }
5980
6068
  /**
5981
6069
  *
5982
6070
  *
@@ -7918,39 +8006,11 @@ export interface I18NProperty74 {
7918
8006
  *
7919
8007
  */
7920
8008
  export interface MacroPropertyPanel {
7921
- controls?: (TextControl | ControlGroup | ButtonControl1 | ToggleGroup)[];
8009
+ controls?: (ControlGroup | ButtonControl1 | TextControl | ToggleGroup)[];
7922
8010
  cacheable?: boolean;
7923
8011
  url: string;
7924
8012
  [k: string]: unknown;
7925
8013
  }
7926
- /**
7927
- *
7928
- *
7929
- * Defines a text field which may appear in control extension points such as the property panel
7930
- *
7931
- * <p><b>Example</b></p>
7932
- *
7933
- *
7934
- *
7935
- *
7936
- *
7937
- * {
7938
- * "type": "button",
7939
- * "label": {
7940
- * "value": "My Custom Control 0"
7941
- * },
7942
- * "key": "my-custom-control-0"
7943
- * }
7944
- *
7945
- *
7946
- *
7947
- */
7948
- export interface TextControl {
7949
- macroParameter: string;
7950
- type: 'text' | 'TEXT';
7951
- key: string;
7952
- [k: string]: unknown;
7953
- }
7954
8014
  /**
7955
8015
  *
7956
8016
  *
@@ -8096,6 +8156,34 @@ export interface I18NProperty76 {
8096
8156
  i18n?: string;
8097
8157
  [k: string]: unknown;
8098
8158
  }
8159
+ /**
8160
+ *
8161
+ *
8162
+ * Defines a text field which may appear in control extension points such as the property panel
8163
+ *
8164
+ * <p><b>Example</b></p>
8165
+ *
8166
+ *
8167
+ *
8168
+ *
8169
+ *
8170
+ * {
8171
+ * "type": "button",
8172
+ * "label": {
8173
+ * "value": "My Custom Control 0"
8174
+ * },
8175
+ * "key": "my-custom-control-0"
8176
+ * }
8177
+ *
8178
+ *
8179
+ *
8180
+ */
8181
+ export interface TextControl {
8182
+ macroParameter: string;
8183
+ type: 'text' | 'TEXT';
8184
+ key: string;
8185
+ [k: string]: unknown;
8186
+ }
8099
8187
  /**
8100
8188
  *
8101
8189
  *
@@ -29163,7 +29251,7 @@ export interface I18NProperty83 {
29163
29251
  *
29164
29252
  */
29165
29253
  export interface MacroPropertyPanel1 {
29166
- controls?: (ButtonControl2 | TextControl1 | ControlGroup1 | ToggleGroup1)[];
29254
+ controls?: (ButtonControl2 | ToggleGroup1 | TextControl1 | ControlGroup1)[];
29167
29255
  cacheable?: boolean;
29168
29256
  url: string;
29169
29257
  [k: string]: unknown;
@@ -29223,35 +29311,7 @@ export interface I18NProperty84 {
29223
29311
  /**
29224
29312
  *
29225
29313
  *
29226
- * Defines a text field which may appear in control extension points such as the property panel
29227
- *
29228
- * <p><b>Example</b></p>
29229
- *
29230
- *
29231
- *
29232
- *
29233
- *
29234
- * {
29235
- * "type": "button",
29236
- * "label": {
29237
- * "value": "My Custom Control 0"
29238
- * },
29239
- * "key": "my-custom-control-0"
29240
- * }
29241
- *
29242
- *
29243
- *
29244
- */
29245
- export interface TextControl1 {
29246
- macroParameter: string;
29247
- type: 'text' | 'TEXT';
29248
- key: string;
29249
- [k: string]: unknown;
29250
- }
29251
- /**
29252
- *
29253
- *
29254
- * Defines a ControlGroup which may appear in control extension points such as the property panel
29314
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
29255
29315
  *
29256
29316
  * <p><b>Example</b></p>
29257
29317
  *
@@ -29261,21 +29321,24 @@ export interface TextControl1 {
29261
29321
  *
29262
29322
  * [
29263
29323
  * {
29264
- * "type": "group",
29324
+ * "type": "togglegroup",
29325
+ * "macroParameter": "toggleGroupMacroParameter",
29265
29326
  * "controls": [
29266
29327
  * {
29267
- * "type": "button",
29328
+ * "type": "togglebutton",
29329
+ * "macroParameterValue": "macroParameterValue 0",
29268
29330
  * "label": {
29269
29331
  * "value": "My Custom Control 0"
29270
29332
  * },
29271
- * "key": "my-custom-control-0"
29333
+ * "key": "my-custom-toggle-button-0"
29272
29334
  * },
29273
29335
  * {
29274
- * "type": "button",
29336
+ * "type": "togglebutton",
29337
+ * "macroParameterValue": "macroParameterValue 1",
29275
29338
  * "label": {
29276
29339
  * "value": "My Custom Control 1"
29277
29340
  * },
29278
- * "key": "my-custom-control-1"
29341
+ * "key": "my-custom-toggle-button-1"
29279
29342
  * }
29280
29343
  * ]
29281
29344
  * }
@@ -29284,15 +29347,16 @@ export interface TextControl1 {
29284
29347
  *
29285
29348
  *
29286
29349
  */
29287
- export interface ControlGroup1 {
29288
- controls: ButtonControl3[];
29289
- type: 'group' | 'GROUP';
29350
+ export interface ToggleGroup1 {
29351
+ controls: ToggleButtonControl1[];
29352
+ macroParameter: string;
29353
+ type: 'togglegroup' | 'TOGGLEGROUP';
29290
29354
  [k: string]: unknown;
29291
29355
  }
29292
29356
  /**
29293
29357
  *
29294
29358
  *
29295
- * Defines a button which may appear in control extension points such as the property panel
29359
+ * Defines a toggle button which appears inside a ToggleGroup
29296
29360
  *
29297
29361
  * <p><b>Example</b></p>
29298
29362
  *
@@ -29301,19 +29365,21 @@ export interface ControlGroup1 {
29301
29365
  *
29302
29366
  *
29303
29367
  * {
29304
- * "type": "button",
29368
+ * "type": "togglebutton",
29369
+ * "macroParameterValue": "macroParameterValue 0",
29305
29370
  * "label": {
29306
29371
  * "value": "My Custom Control 0"
29307
29372
  * },
29308
- * "key": "my-custom-control-0"
29373
+ * "key": "my-custom-toggle-button-0"
29309
29374
  * }
29310
29375
  *
29311
29376
  *
29312
29377
  *
29313
29378
  */
29314
- export interface ButtonControl3 {
29379
+ export interface ToggleButtonControl1 {
29380
+ macroParameterValue: string;
29315
29381
  label: I18NProperty85;
29316
- type: 'button' | 'BUTTON';
29382
+ type: 'togglebutton' | 'TOGGLEBUTTON';
29317
29383
  key: string;
29318
29384
  [k: string]: unknown;
29319
29385
  }
@@ -29344,7 +29410,35 @@ export interface I18NProperty85 {
29344
29410
  /**
29345
29411
  *
29346
29412
  *
29347
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
29413
+ * Defines a text field which may appear in control extension points such as the property panel
29414
+ *
29415
+ * <p><b>Example</b></p>
29416
+ *
29417
+ *
29418
+ *
29419
+ *
29420
+ *
29421
+ * {
29422
+ * "type": "button",
29423
+ * "label": {
29424
+ * "value": "My Custom Control 0"
29425
+ * },
29426
+ * "key": "my-custom-control-0"
29427
+ * }
29428
+ *
29429
+ *
29430
+ *
29431
+ */
29432
+ export interface TextControl1 {
29433
+ macroParameter: string;
29434
+ type: 'text' | 'TEXT';
29435
+ key: string;
29436
+ [k: string]: unknown;
29437
+ }
29438
+ /**
29439
+ *
29440
+ *
29441
+ * Defines a ControlGroup which may appear in control extension points such as the property panel
29348
29442
  *
29349
29443
  * <p><b>Example</b></p>
29350
29444
  *
@@ -29354,24 +29448,21 @@ export interface I18NProperty85 {
29354
29448
  *
29355
29449
  * [
29356
29450
  * {
29357
- * "type": "togglegroup",
29358
- * "macroParameter": "toggleGroupMacroParameter",
29451
+ * "type": "group",
29359
29452
  * "controls": [
29360
29453
  * {
29361
- * "type": "togglebutton",
29362
- * "macroParameterValue": "macroParameterValue 0",
29454
+ * "type": "button",
29363
29455
  * "label": {
29364
29456
  * "value": "My Custom Control 0"
29365
29457
  * },
29366
- * "key": "my-custom-toggle-button-0"
29458
+ * "key": "my-custom-control-0"
29367
29459
  * },
29368
29460
  * {
29369
- * "type": "togglebutton",
29370
- * "macroParameterValue": "macroParameterValue 1",
29461
+ * "type": "button",
29371
29462
  * "label": {
29372
29463
  * "value": "My Custom Control 1"
29373
29464
  * },
29374
- * "key": "my-custom-toggle-button-1"
29465
+ * "key": "my-custom-control-1"
29375
29466
  * }
29376
29467
  * ]
29377
29468
  * }
@@ -29380,16 +29471,15 @@ export interface I18NProperty85 {
29380
29471
  *
29381
29472
  *
29382
29473
  */
29383
- export interface ToggleGroup1 {
29384
- controls: ToggleButtonControl1[];
29385
- macroParameter: string;
29386
- type: 'togglegroup' | 'TOGGLEGROUP';
29474
+ export interface ControlGroup1 {
29475
+ controls: ButtonControl3[];
29476
+ type: 'group' | 'GROUP';
29387
29477
  [k: string]: unknown;
29388
29478
  }
29389
29479
  /**
29390
29480
  *
29391
29481
  *
29392
- * Defines a toggle button which appears inside a ToggleGroup
29482
+ * Defines a button which may appear in control extension points such as the property panel
29393
29483
  *
29394
29484
  * <p><b>Example</b></p>
29395
29485
  *
@@ -29398,21 +29488,19 @@ export interface ToggleGroup1 {
29398
29488
  *
29399
29489
  *
29400
29490
  * {
29401
- * "type": "togglebutton",
29402
- * "macroParameterValue": "macroParameterValue 0",
29491
+ * "type": "button",
29403
29492
  * "label": {
29404
29493
  * "value": "My Custom Control 0"
29405
29494
  * },
29406
- * "key": "my-custom-toggle-button-0"
29495
+ * "key": "my-custom-control-0"
29407
29496
  * }
29408
29497
  *
29409
29498
  *
29410
29499
  *
29411
29500
  */
29412
- export interface ToggleButtonControl1 {
29413
- macroParameterValue: string;
29501
+ export interface ButtonControl3 {
29414
29502
  label: I18NProperty86;
29415
- type: 'togglebutton' | 'TOGGLEBUTTON';
29503
+ type: 'button' | 'BUTTON';
29416
29504
  key: string;
29417
29505
  [k: string]: unknown;
29418
29506
  }
@@ -50289,37 +50377,10 @@ export interface I18NProperty91 {
50289
50377
  *
50290
50378
  */
50291
50379
  export interface WebItemTarget2 {
50292
- options?: DialogModuleOptions2 | DialogOptions4 | InlineDialogOptions2;
50380
+ options?: DialogOptions4 | InlineDialogOptions2 | DialogModuleOptions2;
50293
50381
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
50294
50382
  [k: string]: unknown;
50295
50383
  }
50296
- /**
50297
- *
50298
- *
50299
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
50300
- *
50301
- * <h3>Example</h3>
50302
- *
50303
- *
50304
- *
50305
- *
50306
- *
50307
- * {
50308
- * "target": {
50309
- * "type": "dialogmodule",
50310
- * "options": {
50311
- * "key": "dialog-module-key"
50312
- * }
50313
- * }
50314
- * }
50315
- *
50316
- *
50317
- *
50318
- */
50319
- export interface DialogModuleOptions2 {
50320
- key: string;
50321
- [k: string]: unknown;
50322
- }
50323
50384
  /**
50324
50385
  *
50325
50386
  *
@@ -50455,6 +50516,33 @@ export interface InlineDialogOptions2 {
50455
50516
  isRelativeToMouse?: boolean;
50456
50517
  [k: string]: unknown;
50457
50518
  }
50519
+ /**
50520
+ *
50521
+ *
50522
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
50523
+ *
50524
+ * <h3>Example</h3>
50525
+ *
50526
+ *
50527
+ *
50528
+ *
50529
+ *
50530
+ * {
50531
+ * "target": {
50532
+ * "type": "dialogmodule",
50533
+ * "options": {
50534
+ * "key": "dialog-module-key"
50535
+ * }
50536
+ * }
50537
+ * }
50538
+ *
50539
+ *
50540
+ *
50541
+ */
50542
+ export interface DialogModuleOptions2 {
50543
+ key: string;
50544
+ [k: string]: unknown;
50545
+ }
50458
50546
  /**
50459
50547
  *
50460
50548
  *
@@ -56,6 +56,12 @@ declare type ProjectPage = Jira & {
56
56
  isProjectAdmin?: boolean;
57
57
  isProjectArchived?: boolean;
58
58
  };
59
+ declare type ProjectSettingsPage = Jira & {
60
+ projectKey?: StringOrListOfStrings;
61
+ projectId?: StringOrListOfStrings;
62
+ projectType?: StringOrListOfStrings;
63
+ projectName?: StringOrListOfStrings;
64
+ };
59
65
  declare enum EntityType {
60
66
  Space = "space",
61
67
  Content = "content"
@@ -97,7 +103,9 @@ export declare type DisplayConditions = {
97
103
  'jira:issueGlance'?: IssueView;
98
104
  'jira:customField'?: IssueView;
99
105
  'jira:adminPage'?: Jira;
106
+ 'jira:globalPage'?: Jira;
100
107
  'jira:projectPage'?: ProjectPage;
108
+ 'jira:projectSettingsPage'?: ProjectSettingsPage;
101
109
  'confluence:contentBylineItem'?: Confluence;
102
110
  };
103
111
  };
@@ -1 +1 @@
1
- {"version":3,"file":"display-condition-types.d.ts","sourceRoot":"","sources":["../../src/types/display-condition-types.ts"],"names":[],"mappings":"AAAA,aAAK,OAAO,GAAG;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,aAAK,IAAI,GAAG,OAAO,GAAG;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,aAAK,qBAAqB,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAC/C,aAAK,SAAS,GAAG,IAAI,GAAG;IACtB,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,qBAA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;QAC/B,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,kBAAkB,CAAC,EAAE,WAAW,CAAC;QACjC,8BAA8B,CAAC,EAAE,UAAU,CAAC;KAC7C,CAAC;CACH,CAAC"}
1
+ {"version":3,"file":"display-condition-types.d.ts","sourceRoot":"","sources":["../../src/types/display-condition-types.ts"],"names":[],"mappings":"AAAA,aAAK,OAAO,GAAG;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,aAAK,IAAI,GAAG,OAAO,GAAG;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,aAAK,qBAAqB,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAC/C,aAAK,SAAS,GAAG,IAAI,GAAG;IACtB,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,uBAAuB,CAAC,EAAE,OA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,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,iBAAiB,CAAC,EAAE,IAAI,CAAC;QACzB,kBAAkB,CAAC,EAAE,WAAW,CAAC;QACjC,0BAA0B,CAAC,EAAE,mBAAmB,CAAC;QACjD,8BAA8B,CAAC,EAAE,UAAU,CAAC;KAC7C,CAAC;CACH,CAAC"}
@@ -21,6 +21,8 @@ export declare enum AllModuleTypes {
21
21
  JiraIssuePanel = "jira:issuePanel",
22
22
  JiraAdminPage = "jira:adminPage",
23
23
  JiraProjectPage = "jira:projectPage",
24
+ JiraProjectSettingsPage = "jira:projectSettingsPage",
25
+ JiraGlobalPage = "jira:globalPage",
24
26
  JiraDashboardGadget = "jira:dashboardGadget",
25
27
  CompassAdminPage = "compass:adminPage",
26
28
  CompassComponentPage = "compass:componentPage",
@@ -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;IAC9C,QAAQ,cAAc;IACtB,uBAAuB,6BAA6B;IACpD,2BAA2B,iCAAiC;IAC5D,qBAAqB,2BAA2B;IAChD,wBAAwB,8BAA8B;IACtD,sBAAsB,4BAA4B;IAClD,mBAAmB,yBAAyB;IAC5C,uBAAuB,6BAA6B;IACpD,qBAAqB,2BAA2B;IAChD,eAAe,qBAAqB;IACpC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;IACxC,eAAe,qBAAqB;IACpC,cAAc,oBAAoB;IAClC,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,mBAAmB,yBAAyB;IAC5C,gBAAgB,sBAAsB;IACtC,oBAAoB,0BAA0B;IAC9C,iBAAiB,uBAAuB;IAExC,qBAAqB,4BAA4B;IACjD,gCAAgC,uCAAuC;I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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"}
@@ -25,6 +25,8 @@ var AllModuleTypes;
25
25
  AllModuleTypes["JiraIssuePanel"] = "jira:issuePanel";
26
26
  AllModuleTypes["JiraAdminPage"] = "jira:adminPage";
27
27
  AllModuleTypes["JiraProjectPage"] = "jira:projectPage";
28
+ AllModuleTypes["JiraProjectSettingsPage"] = "jira:projectSettingsPage";
29
+ AllModuleTypes["JiraGlobalPage"] = "jira:globalPage";
28
30
  AllModuleTypes["JiraDashboardGadget"] = "jira:dashboardGadget";
29
31
  AllModuleTypes["CompassAdminPage"] = "compass:adminPage";
30
32
  AllModuleTypes["CompassComponentPage"] = "compass:componentPage";
@@ -1 +1 @@
1
- {"version":3,"file":"modules-validator.d.ts","sourceRoot":"","sources":["../../src/validators/modules-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,cAAc,EAAE,wBAAwB,EAAsC,MAAM,UAAU,CAAC;AAGxH,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAK3D,qBAAa,gBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IACzF,OAAO,CAAC,oBAAoB,CAA0C;IAEtE,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GAAG,wBAAwB,CAAC,cAAc,CAAC;CAgMzG"}
1
+ {"version":3,"file":"modules-validator.d.ts","sourceRoot":"","sources":["../../src/validators/modules-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,cAAc,EAAE,wBAAwB,EAAsC,MAAM,UAAU,CAAC;AAGxH,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAK3D,qBAAa,gBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IACzF,OAAO,CAAC,oBAAoB,CAA0C;IAEtE,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GAAG,wBAAwB,CAAC,cAAc,CAAC;CAqMzG"}
@@ -86,7 +86,12 @@ class ModulesValidator {
86
86
  validationErrors.push(Object.assign({ message: text_1.errors.modules.jiraWorkflow.invalidProperty(module.key), reference: text_1.References.Modules, level: 'error' }, utils_1.findPosition(module.key, yamlContentByLine)));
87
87
  }
88
88
  });
89
- [types_1.AllModuleTypes.JiraAdminPage, types_1.AllModuleTypes.JiraProjectPage].forEach((moduleType) => {
89
+ [
90
+ types_1.AllModuleTypes.JiraAdminPage,
91
+ types_1.AllModuleTypes.JiraProjectPage,
92
+ types_1.AllModuleTypes.JiraProjectSettingsPage,
93
+ types_1.AllModuleTypes.JiraGlobalPage
94
+ ].forEach((moduleType) => {
90
95
  const module = modules[moduleType];
91
96
  if (module && module.length > 1) {
92
97
  validationErrors.push(Object.assign({ message: text_1.errors.modules.fullPage.children(moduleType), reference: text_1.References.Modules, level: 'error' }, utils_1.findPosition(module[1].key, yamlContentByLine)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "2.4.0",
3
+ "version": "2.5.0-next.3",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {