@forge/manifest 2.1.0 → 2.2.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.
@@ -1391,7 +1391,7 @@ export interface Modules {
1391
1391
  fullPage?: boolean;
1392
1392
  cacheable?: boolean;
1393
1393
  location?: string;
1394
- conditions?: (CompositeCondition | SingleCondition)[];
1394
+ conditions?: (SingleCondition | CompositeCondition)[];
1395
1395
  params?: {
1396
1396
  [k: string]: unknown;
1397
1397
  };
@@ -1406,7 +1406,7 @@ export interface Modules {
1406
1406
  fullPage?: boolean;
1407
1407
  cacheable?: boolean;
1408
1408
  location?: string;
1409
- conditions?: (CompositeCondition | SingleCondition)[];
1409
+ conditions?: (SingleCondition | CompositeCondition)[];
1410
1410
  params?: {
1411
1411
  [k: string]: unknown;
1412
1412
  };
@@ -1424,7 +1424,7 @@ export interface Modules {
1424
1424
  location?: string;
1425
1425
  cacheable?: boolean;
1426
1426
  supportsNative?: boolean;
1427
- conditions?: (SingleCondition | CompositeCondition)[];
1427
+ conditions?: (CompositeCondition | SingleCondition)[];
1428
1428
  params?: {
1429
1429
  [k: string]: unknown;
1430
1430
  };
@@ -1440,7 +1440,7 @@ export interface Modules {
1440
1440
  location?: string;
1441
1441
  cacheable?: boolean;
1442
1442
  supportsNative?: boolean;
1443
- conditions?: (SingleCondition | CompositeCondition)[];
1443
+ conditions?: (CompositeCondition | SingleCondition)[];
1444
1444
  params?: {
1445
1445
  [k: string]: unknown;
1446
1446
  };
@@ -1454,7 +1454,7 @@ export interface Modules {
1454
1454
  filter?: string;
1455
1455
  excludeBody?: boolean;
1456
1456
  event?: string;
1457
- conditions?: (SingleCondition | CompositeCondition)[];
1457
+ conditions?: (CompositeCondition | SingleCondition)[];
1458
1458
  propertyKeys?: string[];
1459
1459
  url?: string;
1460
1460
  key: ModuleKeySchema;
@@ -1464,7 +1464,7 @@ export interface Modules {
1464
1464
  filter?: string;
1465
1465
  excludeBody?: boolean;
1466
1466
  event?: string;
1467
- conditions?: (SingleCondition | CompositeCondition)[];
1467
+ conditions?: (CompositeCondition | SingleCondition)[];
1468
1468
  propertyKeys?: string[];
1469
1469
  url?: string;
1470
1470
  key: ModuleKeySchema;
@@ -1507,7 +1507,7 @@ export interface Modules {
1507
1507
  name?: I18NProperty6;
1508
1508
  weight?: number;
1509
1509
  location?: string;
1510
- conditions?: (SingleCondition | CompositeCondition)[];
1510
+ conditions?: (CompositeCondition | SingleCondition)[];
1511
1511
  params?: {
1512
1512
  [k: string]: unknown;
1513
1513
  };
@@ -1519,7 +1519,7 @@ export interface Modules {
1519
1519
  name?: I18NProperty6;
1520
1520
  weight?: number;
1521
1521
  location?: string;
1522
- conditions?: (SingleCondition | CompositeCondition)[];
1522
+ conditions?: (CompositeCondition | SingleCondition)[];
1523
1523
  params?: {
1524
1524
  [k: string]: unknown;
1525
1525
  };
@@ -1572,7 +1572,7 @@ export interface Modules {
1572
1572
  name?: I18NProperty10;
1573
1573
  location?: string;
1574
1574
  cacheable?: boolean;
1575
- conditions?: (CompositeCondition1 | SingleCondition1)[];
1575
+ conditions?: (SingleCondition1 | CompositeCondition1)[];
1576
1576
  key: ModuleKeySchema;
1577
1577
  [k: string]: unknown;
1578
1578
  },
@@ -1590,7 +1590,7 @@ export interface Modules {
1590
1590
  name?: I18NProperty10;
1591
1591
  location?: string;
1592
1592
  cacheable?: boolean;
1593
- conditions?: (CompositeCondition1 | SingleCondition1)[];
1593
+ conditions?: (SingleCondition1 | CompositeCondition1)[];
1594
1594
  key: ModuleKeySchema;
1595
1595
  [k: string]: unknown;
1596
1596
  }[]
@@ -1603,7 +1603,7 @@ export interface Modules {
1603
1603
  fullPage?: boolean;
1604
1604
  cacheable?: boolean;
1605
1605
  location?: string;
1606
- conditions?: (CompositeCondition | SingleCondition)[];
1606
+ conditions?: (SingleCondition | CompositeCondition)[];
1607
1607
  params?: {
1608
1608
  [k: string]: unknown;
1609
1609
  };
@@ -1618,7 +1618,7 @@ export interface Modules {
1618
1618
  fullPage?: boolean;
1619
1619
  cacheable?: boolean;
1620
1620
  location?: string;
1621
- conditions?: (CompositeCondition | SingleCondition)[];
1621
+ conditions?: (SingleCondition | CompositeCondition)[];
1622
1622
  params?: {
1623
1623
  [k: string]: unknown;
1624
1624
  };
@@ -2317,7 +2317,7 @@ export interface Modules {
2317
2317
  fullPage?: boolean;
2318
2318
  cacheable?: boolean;
2319
2319
  location?: string;
2320
- conditions?: (SingleCondition | CompositeCondition)[];
2320
+ conditions?: (CompositeCondition | SingleCondition)[];
2321
2321
  params?: {
2322
2322
  [k: string]: unknown;
2323
2323
  };
@@ -2332,7 +2332,7 @@ export interface Modules {
2332
2332
  fullPage?: boolean;
2333
2333
  cacheable?: boolean;
2334
2334
  location?: string;
2335
- conditions?: (SingleCondition | CompositeCondition)[];
2335
+ conditions?: (CompositeCondition | SingleCondition)[];
2336
2336
  params?: {
2337
2337
  [k: string]: unknown;
2338
2338
  };
@@ -2380,7 +2380,7 @@ export interface Modules {
2380
2380
  filter?: string;
2381
2381
  excludeBody?: boolean;
2382
2382
  event?: string;
2383
- conditions?: (CompositeCondition | SingleCondition)[];
2383
+ conditions?: (SingleCondition | CompositeCondition)[];
2384
2384
  propertyKeys?: string[];
2385
2385
  url?: string;
2386
2386
  key: ModuleKeySchema;
@@ -2390,7 +2390,7 @@ export interface Modules {
2390
2390
  filter?: string;
2391
2391
  excludeBody?: boolean;
2392
2392
  event?: string;
2393
- conditions?: (CompositeCondition | SingleCondition)[];
2393
+ conditions?: (SingleCondition | CompositeCondition)[];
2394
2394
  propertyKeys?: string[];
2395
2395
  url?: string;
2396
2396
  key: ModuleKeySchema;
@@ -2433,7 +2433,7 @@ export interface Modules {
2433
2433
  name?: I18NProperty55;
2434
2434
  weight?: number;
2435
2435
  location?: string;
2436
- conditions?: (SingleCondition | CompositeCondition)[];
2436
+ conditions?: (CompositeCondition | SingleCondition)[];
2437
2437
  params?: {
2438
2438
  [k: string]: unknown;
2439
2439
  };
@@ -2445,7 +2445,7 @@ export interface Modules {
2445
2445
  name?: I18NProperty55;
2446
2446
  weight?: number;
2447
2447
  location?: string;
2448
- conditions?: (SingleCondition | CompositeCondition)[];
2448
+ conditions?: (CompositeCondition | SingleCondition)[];
2449
2449
  params?: {
2450
2450
  [k: string]: unknown;
2451
2451
  };
@@ -2498,7 +2498,7 @@ export interface Modules {
2498
2498
  name?: I18NProperty59;
2499
2499
  location?: string;
2500
2500
  cacheable?: boolean;
2501
- conditions?: (CompositeCondition6 | SingleCondition4)[];
2501
+ conditions?: (SingleCondition4 | CompositeCondition6)[];
2502
2502
  key: ModuleKeySchema;
2503
2503
  [k: string]: unknown;
2504
2504
  },
@@ -2516,7 +2516,7 @@ export interface Modules {
2516
2516
  name?: I18NProperty59;
2517
2517
  location?: string;
2518
2518
  cacheable?: boolean;
2519
- conditions?: (CompositeCondition6 | SingleCondition4)[];
2519
+ conditions?: (SingleCondition4 | CompositeCondition6)[];
2520
2520
  key: ModuleKeySchema;
2521
2521
  [k: string]: unknown;
2522
2522
  }[]
@@ -2529,7 +2529,7 @@ export interface Modules {
2529
2529
  fullPage?: boolean;
2530
2530
  cacheable?: boolean;
2531
2531
  location?: string;
2532
- conditions?: (SingleCondition | CompositeCondition)[];
2532
+ conditions?: (CompositeCondition | SingleCondition)[];
2533
2533
  params?: {
2534
2534
  [k: string]: unknown;
2535
2535
  };
@@ -2544,7 +2544,7 @@ export interface Modules {
2544
2544
  fullPage?: boolean;
2545
2545
  cacheable?: boolean;
2546
2546
  location?: string;
2547
- conditions?: (SingleCondition | CompositeCondition)[];
2547
+ conditions?: (CompositeCondition | SingleCondition)[];
2548
2548
  params?: {
2549
2549
  [k: string]: unknown;
2550
2550
  };
@@ -2594,7 +2594,7 @@ export interface Modules {
2594
2594
  name?: I18NProperty63;
2595
2595
  weight?: number;
2596
2596
  location?: string;
2597
- conditions?: (SingleCondition5 | CompositeCondition7)[];
2597
+ conditions?: (CompositeCondition7 | SingleCondition5)[];
2598
2598
  params?: {
2599
2599
  [k: string]: unknown;
2600
2600
  };
@@ -2606,7 +2606,7 @@ export interface Modules {
2606
2606
  name?: I18NProperty63;
2607
2607
  weight?: number;
2608
2608
  location?: string;
2609
- conditions?: (SingleCondition5 | CompositeCondition7)[];
2609
+ conditions?: (CompositeCondition7 | SingleCondition5)[];
2610
2610
  params?: {
2611
2611
  [k: string]: unknown;
2612
2612
  };
@@ -2802,7 +2802,7 @@ export interface Modules {
2802
2802
  icon?: Icon18;
2803
2803
  name?: I18NProperty91;
2804
2804
  cacheable?: boolean;
2805
- conditions?: (SingleCondition | CompositeCondition)[];
2805
+ conditions?: (CompositeCondition | SingleCondition)[];
2806
2806
  params?: {
2807
2807
  [k: string]: unknown;
2808
2808
  };
@@ -2818,7 +2818,7 @@ export interface Modules {
2818
2818
  icon?: Icon18;
2819
2819
  name?: I18NProperty91;
2820
2820
  cacheable?: boolean;
2821
- conditions?: (SingleCondition | CompositeCondition)[];
2821
+ conditions?: (CompositeCondition | SingleCondition)[];
2822
2822
  params?: {
2823
2823
  [k: string]: unknown;
2824
2824
  };
@@ -2998,6 +2998,37 @@ export interface I18NProperty1 {
2998
2998
  i18n?: string;
2999
2999
  [k: string]: unknown;
3000
3000
  }
3001
+ /**
3002
+ *
3003
+ *
3004
+ * Single Conditions are either provided by the host application. See the complete documentation of
3005
+ * [Conditions](../../conditions/) for more information.
3006
+ *
3007
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3008
+ * This is useful where you want to show the section if a certain condition is not satisfied.
3009
+ *
3010
+ * <h3>Example</h3>
3011
+ *
3012
+ *
3013
+ *
3014
+ *
3015
+ *
3016
+ * {
3017
+ * "condition": "user_is_logged_in",
3018
+ * "invert": false
3019
+ * }
3020
+ *
3021
+ *
3022
+ *
3023
+ */
3024
+ export interface SingleCondition {
3025
+ condition: string;
3026
+ invert?: boolean;
3027
+ params?: {
3028
+ [k: string]: unknown;
3029
+ };
3030
+ [k: string]: unknown;
3031
+ }
3001
3032
  /**
3002
3033
  *
3003
3034
  *
@@ -3035,41 +3066,10 @@ export interface I18NProperty1 {
3035
3066
  *
3036
3067
  */
3037
3068
  export interface CompositeCondition {
3038
- conditions?: (ManifestSchema | SingleCondition)[];
3069
+ conditions?: (SingleCondition | ManifestSchema)[];
3039
3070
  type?: 'and' | 'AND' | 'or' | 'OR';
3040
3071
  [k: string]: unknown;
3041
3072
  }
3042
- /**
3043
- *
3044
- *
3045
- * Single Conditions are either provided by the host application. See the complete documentation of
3046
- * [Conditions](../../conditions/) for more information.
3047
- *
3048
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3049
- * This is useful where you want to show the section if a certain condition is not satisfied.
3050
- *
3051
- * <h3>Example</h3>
3052
- *
3053
- *
3054
- *
3055
- *
3056
- *
3057
- * {
3058
- * "condition": "user_is_logged_in",
3059
- * "invert": false
3060
- * }
3061
- *
3062
- *
3063
- *
3064
- */
3065
- export interface SingleCondition {
3066
- condition: string;
3067
- invert?: boolean;
3068
- params?: {
3069
- [k: string]: unknown;
3070
- };
3071
- [k: string]: unknown;
3072
- }
3073
3073
  /**
3074
3074
  *
3075
3075
  *
@@ -3603,6 +3603,37 @@ export interface I18NProperty10 {
3603
3603
  i18n?: string;
3604
3604
  [k: string]: unknown;
3605
3605
  }
3606
+ /**
3607
+ *
3608
+ *
3609
+ * Single Conditions are either provided by the host application. See the complete documentation of
3610
+ * [Conditions](../../conditions/) for more information.
3611
+ *
3612
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3613
+ * This is useful where you want to show the section if a certain condition is not satisfied.
3614
+ *
3615
+ * <h3>Example</h3>
3616
+ *
3617
+ *
3618
+ *
3619
+ *
3620
+ *
3621
+ * {
3622
+ * "condition": "user_is_logged_in",
3623
+ * "invert": false
3624
+ * }
3625
+ *
3626
+ *
3627
+ *
3628
+ */
3629
+ export interface SingleCondition1 {
3630
+ condition: string;
3631
+ invert?: boolean;
3632
+ params?: {
3633
+ [k: string]: unknown;
3634
+ };
3635
+ [k: string]: unknown;
3636
+ }
3606
3637
  /**
3607
3638
  *
3608
3639
  *
@@ -3644,37 +3675,6 @@ export interface CompositeCondition1 {
3644
3675
  type?: 'and' | 'AND' | 'or' | 'OR';
3645
3676
  [k: string]: unknown;
3646
3677
  }
3647
- /**
3648
- *
3649
- *
3650
- * Single Conditions are either provided by the host application. See the complete documentation of
3651
- * [Conditions](../../conditions/) for more information.
3652
- *
3653
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3654
- * This is useful where you want to show the section if a certain condition is not satisfied.
3655
- *
3656
- * <h3>Example</h3>
3657
- *
3658
- *
3659
- *
3660
- *
3661
- *
3662
- * {
3663
- * "condition": "user_is_logged_in",
3664
- * "invert": false
3665
- * }
3666
- *
3667
- *
3668
- *
3669
- */
3670
- export interface SingleCondition1 {
3671
- condition: string;
3672
- invert?: boolean;
3673
- params?: {
3674
- [k: string]: unknown;
3675
- };
3676
- [k: string]: unknown;
3677
- }
3678
3678
  /**
3679
3679
  *
3680
3680
  *
@@ -5743,37 +5743,10 @@ export interface Icon10 {
5743
5743
  *
5744
5744
  */
5745
5745
  export interface WebItemTarget1 {
5746
- options?: DialogModuleOptions1 | DialogOptions2 | InlineDialogOptions1;
5746
+ options?: DialogOptions2 | InlineDialogOptions1 | DialogModuleOptions1;
5747
5747
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
5748
5748
  [k: string]: unknown;
5749
5749
  }
5750
- /**
5751
- *
5752
- *
5753
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
5754
- *
5755
- * <h3>Example</h3>
5756
- *
5757
- *
5758
- *
5759
- *
5760
- *
5761
- * {
5762
- * "target": {
5763
- * "type": "dialogmodule",
5764
- * "options": {
5765
- * "key": "dialog-module-key"
5766
- * }
5767
- * }
5768
- * }
5769
- *
5770
- *
5771
- *
5772
- */
5773
- export interface DialogModuleOptions1 {
5774
- key: string;
5775
- [k: string]: unknown;
5776
- }
5777
5750
  /**
5778
5751
  *
5779
5752
  *
@@ -5912,8 +5885,7 @@ export interface InlineDialogOptions1 {
5912
5885
  /**
5913
5886
  *
5914
5887
  *
5915
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
5916
- * and value in multiple places if you like, but identical keys must have identical values.
5888
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
5917
5889
  *
5918
5890
  * <h3>Example</h3>
5919
5891
  *
@@ -5922,22 +5894,26 @@ export interface InlineDialogOptions1 {
5922
5894
  *
5923
5895
  *
5924
5896
  * {
5925
- * "value": "My text"
5897
+ * "target": {
5898
+ * "type": "dialogmodule",
5899
+ * "options": {
5900
+ * "key": "dialog-module-key"
5901
+ * }
5902
+ * }
5926
5903
  * }
5927
5904
  *
5928
5905
  *
5929
5906
  *
5930
5907
  */
5931
- export interface I18NProperty59 {
5932
- value: string;
5933
- i18n?: string;
5908
+ export interface DialogModuleOptions1 {
5909
+ key: string;
5934
5910
  [k: string]: unknown;
5935
5911
  }
5936
5912
  /**
5937
5913
  *
5938
5914
  *
5939
- * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
5940
- * and a type attribute.
5915
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
5916
+ * and value in multiple places if you like, but identical keys must have identical values.
5941
5917
  *
5942
5918
  * <h3>Example</h3>
5943
5919
  *
@@ -5946,32 +5922,15 @@ export interface I18NProperty59 {
5946
5922
  *
5947
5923
  *
5948
5924
  * {
5949
- * "conditions": [
5950
- * {
5951
- * "or": [
5952
- * {
5953
- * "condition": "can_attach_file_to_issue",
5954
- * "invert": false
5955
- * },
5956
- * {
5957
- * "condition": "is_issue_assigned_to_current_user",
5958
- * "invert": false
5959
- * }
5960
- * ]
5961
- * },
5962
- * {
5963
- * "condition": "user_is_logged_in",
5964
- * "invert": false
5965
- * }
5966
- * ]
5925
+ * "value": "My text"
5967
5926
  * }
5968
5927
  *
5969
5928
  *
5970
5929
  *
5971
5930
  */
5972
- export interface CompositeCondition6 {
5973
- conditions?: (ManifestSchema | SingleCondition)[];
5974
- type?: 'and' | 'AND' | 'or' | 'OR';
5931
+ export interface I18NProperty59 {
5932
+ value: string;
5933
+ i18n?: string;
5975
5934
  [k: string]: unknown;
5976
5935
  }
5977
5936
  /**
@@ -6005,6 +5964,47 @@ export interface SingleCondition4 {
6005
5964
  };
6006
5965
  [k: string]: unknown;
6007
5966
  }
5967
+ /**
5968
+ *
5969
+ *
5970
+ * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
5971
+ * and a type attribute.
5972
+ *
5973
+ * <h3>Example</h3>
5974
+ *
5975
+ *
5976
+ *
5977
+ *
5978
+ *
5979
+ * {
5980
+ * "conditions": [
5981
+ * {
5982
+ * "or": [
5983
+ * {
5984
+ * "condition": "can_attach_file_to_issue",
5985
+ * "invert": false
5986
+ * },
5987
+ * {
5988
+ * "condition": "is_issue_assigned_to_current_user",
5989
+ * "invert": false
5990
+ * }
5991
+ * ]
5992
+ * },
5993
+ * {
5994
+ * "condition": "user_is_logged_in",
5995
+ * "invert": false
5996
+ * }
5997
+ * ]
5998
+ * }
5999
+ *
6000
+ *
6001
+ *
6002
+ */
6003
+ export interface CompositeCondition6 {
6004
+ conditions?: (SingleCondition | ManifestSchema)[];
6005
+ type?: 'and' | 'AND' | 'or' | 'OR';
6006
+ [k: string]: unknown;
6007
+ }
6008
6008
  /**
6009
6009
  *
6010
6010
  *
@@ -6359,6 +6359,47 @@ export interface I18NProperty63 {
6359
6359
  i18n?: string;
6360
6360
  [k: string]: unknown;
6361
6361
  }
6362
+ /**
6363
+ *
6364
+ *
6365
+ * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
6366
+ * and a type attribute.
6367
+ *
6368
+ * <h3>Example</h3>
6369
+ *
6370
+ *
6371
+ *
6372
+ *
6373
+ *
6374
+ * {
6375
+ * "conditions": [
6376
+ * {
6377
+ * "or": [
6378
+ * {
6379
+ * "condition": "can_attach_file_to_issue",
6380
+ * "invert": false
6381
+ * },
6382
+ * {
6383
+ * "condition": "is_issue_assigned_to_current_user",
6384
+ * "invert": false
6385
+ * }
6386
+ * ]
6387
+ * },
6388
+ * {
6389
+ * "condition": "user_is_logged_in",
6390
+ * "invert": false
6391
+ * }
6392
+ * ]
6393
+ * }
6394
+ *
6395
+ *
6396
+ *
6397
+ */
6398
+ export interface CompositeCondition7 {
6399
+ conditions?: (SingleCondition | ManifestSchema)[];
6400
+ type?: 'and' | 'AND' | 'or' | 'OR';
6401
+ [k: string]: unknown;
6402
+ }
6362
6403
  /**
6363
6404
  *
6364
6405
  *
@@ -6390,47 +6431,6 @@ export interface SingleCondition5 {
6390
6431
  };
6391
6432
  [k: string]: unknown;
6392
6433
  }
6393
- /**
6394
- *
6395
- *
6396
- * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
6397
- * and a type attribute.
6398
- *
6399
- * <h3>Example</h3>
6400
- *
6401
- *
6402
- *
6403
- *
6404
- *
6405
- * {
6406
- * "conditions": [
6407
- * {
6408
- * "or": [
6409
- * {
6410
- * "condition": "can_attach_file_to_issue",
6411
- * "invert": false
6412
- * },
6413
- * {
6414
- * "condition": "is_issue_assigned_to_current_user",
6415
- * "invert": false
6416
- * }
6417
- * ]
6418
- * },
6419
- * {
6420
- * "condition": "user_is_logged_in",
6421
- * "invert": false
6422
- * }
6423
- * ]
6424
- * }
6425
- *
6426
- *
6427
- *
6428
- */
6429
- export interface CompositeCondition7 {
6430
- conditions?: (ManifestSchema | SingleCondition)[];
6431
- type?: 'and' | 'AND' | 'or' | 'OR';
6432
- [k: string]: unknown;
6433
- }
6434
6434
  /**
6435
6435
  *
6436
6436
  *
@@ -7850,11 +7850,39 @@ export interface I18NProperty74 {
7850
7850
  *
7851
7851
  */
7852
7852
  export interface MacroPropertyPanel {
7853
- controls?: (ControlGroup | ButtonControl1 | ToggleGroup | TextControl)[];
7853
+ controls?: (TextControl | ControlGroup | ButtonControl1 | ToggleGroup)[];
7854
7854
  cacheable?: boolean;
7855
7855
  url: string;
7856
7856
  [k: string]: unknown;
7857
7857
  }
7858
+ /**
7859
+ *
7860
+ *
7861
+ * Defines a text field which may appear in control extension points such as the property panel
7862
+ *
7863
+ * <p><b>Example</b></p>
7864
+ *
7865
+ *
7866
+ *
7867
+ *
7868
+ *
7869
+ * {
7870
+ * "type": "button",
7871
+ * "label": {
7872
+ * "value": "My Custom Control 0"
7873
+ * },
7874
+ * "key": "my-custom-control-0"
7875
+ * }
7876
+ *
7877
+ *
7878
+ *
7879
+ */
7880
+ export interface TextControl {
7881
+ macroParameter: string;
7882
+ type: 'text' | 'TEXT';
7883
+ key: string;
7884
+ [k: string]: unknown;
7885
+ }
7858
7886
  /**
7859
7887
  *
7860
7888
  *
@@ -8099,34 +8127,6 @@ export interface I18NProperty77 {
8099
8127
  i18n?: string;
8100
8128
  [k: string]: unknown;
8101
8129
  }
8102
- /**
8103
- *
8104
- *
8105
- * Defines a text field which may appear in control extension points such as the property panel
8106
- *
8107
- * <p><b>Example</b></p>
8108
- *
8109
- *
8110
- *
8111
- *
8112
- *
8113
- * {
8114
- * "type": "button",
8115
- * "label": {
8116
- * "value": "My Custom Control 0"
8117
- * },
8118
- * "key": "my-custom-control-0"
8119
- * }
8120
- *
8121
- *
8122
- *
8123
- */
8124
- export interface TextControl {
8125
- macroParameter: string;
8126
- type: 'text' | 'TEXT';
8127
- key: string;
8128
- [k: string]: unknown;
8129
- }
8130
8130
  /**
8131
8131
  *
8132
8132
  *
@@ -29095,7 +29095,7 @@ export interface I18NProperty83 {
29095
29095
  *
29096
29096
  */
29097
29097
  export interface MacroPropertyPanel1 {
29098
- controls?: (TextControl1 | ButtonControl2 | ControlGroup1 | ToggleGroup1)[];
29098
+ controls?: (ControlGroup1 | TextControl1 | ToggleGroup1 | ButtonControl3)[];
29099
29099
  cacheable?: boolean;
29100
29100
  url: string;
29101
29101
  [k: string]: unknown;
@@ -29103,7 +29103,7 @@ export interface MacroPropertyPanel1 {
29103
29103
  /**
29104
29104
  *
29105
29105
  *
29106
- * Defines a text field which may appear in control extension points such as the property panel
29106
+ * Defines a ControlGroup which may appear in control extension points such as the property panel
29107
29107
  *
29108
29108
  * <p><b>Example</b></p>
29109
29109
  *
@@ -29111,21 +29111,34 @@ export interface MacroPropertyPanel1 {
29111
29111
  *
29112
29112
  *
29113
29113
  *
29114
- * {
29115
- * "type": "button",
29116
- * "label": {
29117
- * "value": "My Custom Control 0"
29118
- * },
29119
- * "key": "my-custom-control-0"
29120
- * }
29114
+ * [
29115
+ * {
29116
+ * "type": "group",
29117
+ * "controls": [
29118
+ * {
29119
+ * "type": "button",
29120
+ * "label": {
29121
+ * "value": "My Custom Control 0"
29122
+ * },
29123
+ * "key": "my-custom-control-0"
29124
+ * },
29125
+ * {
29126
+ * "type": "button",
29127
+ * "label": {
29128
+ * "value": "My Custom Control 1"
29129
+ * },
29130
+ * "key": "my-custom-control-1"
29131
+ * }
29132
+ * ]
29133
+ * }
29134
+ * ]
29121
29135
  *
29122
29136
  *
29123
29137
  *
29124
29138
  */
29125
- export interface TextControl1 {
29126
- macroParameter: string;
29127
- type: 'text' | 'TEXT';
29128
- key: string;
29139
+ export interface ControlGroup1 {
29140
+ controls: ButtonControl2[];
29141
+ type: 'group' | 'GROUP';
29129
29142
  [k: string]: unknown;
29130
29143
  }
29131
29144
  /**
@@ -29183,7 +29196,35 @@ export interface I18NProperty84 {
29183
29196
  /**
29184
29197
  *
29185
29198
  *
29186
- * Defines a ControlGroup which may appear in control extension points such as the property panel
29199
+ * Defines a text field which may appear in control extension points such as the property panel
29200
+ *
29201
+ * <p><b>Example</b></p>
29202
+ *
29203
+ *
29204
+ *
29205
+ *
29206
+ *
29207
+ * {
29208
+ * "type": "button",
29209
+ * "label": {
29210
+ * "value": "My Custom Control 0"
29211
+ * },
29212
+ * "key": "my-custom-control-0"
29213
+ * }
29214
+ *
29215
+ *
29216
+ *
29217
+ */
29218
+ export interface TextControl1 {
29219
+ macroParameter: string;
29220
+ type: 'text' | 'TEXT';
29221
+ key: string;
29222
+ [k: string]: unknown;
29223
+ }
29224
+ /**
29225
+ *
29226
+ *
29227
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
29187
29228
  *
29188
29229
  * <p><b>Example</b></p>
29189
29230
  *
@@ -29193,21 +29234,24 @@ export interface I18NProperty84 {
29193
29234
  *
29194
29235
  * [
29195
29236
  * {
29196
- * "type": "group",
29237
+ * "type": "togglegroup",
29238
+ * "macroParameter": "toggleGroupMacroParameter",
29197
29239
  * "controls": [
29198
29240
  * {
29199
- * "type": "button",
29241
+ * "type": "togglebutton",
29242
+ * "macroParameterValue": "macroParameterValue 0",
29200
29243
  * "label": {
29201
29244
  * "value": "My Custom Control 0"
29202
29245
  * },
29203
- * "key": "my-custom-control-0"
29246
+ * "key": "my-custom-toggle-button-0"
29204
29247
  * },
29205
29248
  * {
29206
- * "type": "button",
29249
+ * "type": "togglebutton",
29250
+ * "macroParameterValue": "macroParameterValue 1",
29207
29251
  * "label": {
29208
29252
  * "value": "My Custom Control 1"
29209
29253
  * },
29210
- * "key": "my-custom-control-1"
29254
+ * "key": "my-custom-toggle-button-1"
29211
29255
  * }
29212
29256
  * ]
29213
29257
  * }
@@ -29216,15 +29260,16 @@ export interface I18NProperty84 {
29216
29260
  *
29217
29261
  *
29218
29262
  */
29219
- export interface ControlGroup1 {
29220
- controls: ButtonControl3[];
29221
- type: 'group' | 'GROUP';
29263
+ export interface ToggleGroup1 {
29264
+ controls: ToggleButtonControl1[];
29265
+ macroParameter: string;
29266
+ type: 'togglegroup' | 'TOGGLEGROUP';
29222
29267
  [k: string]: unknown;
29223
29268
  }
29224
29269
  /**
29225
29270
  *
29226
29271
  *
29227
- * Defines a button which may appear in control extension points such as the property panel
29272
+ * Defines a toggle button which appears inside a ToggleGroup
29228
29273
  *
29229
29274
  * <p><b>Example</b></p>
29230
29275
  *
@@ -29233,19 +29278,21 @@ export interface ControlGroup1 {
29233
29278
  *
29234
29279
  *
29235
29280
  * {
29236
- * "type": "button",
29281
+ * "type": "togglebutton",
29282
+ * "macroParameterValue": "macroParameterValue 0",
29237
29283
  * "label": {
29238
29284
  * "value": "My Custom Control 0"
29239
29285
  * },
29240
- * "key": "my-custom-control-0"
29286
+ * "key": "my-custom-toggle-button-0"
29241
29287
  * }
29242
29288
  *
29243
29289
  *
29244
29290
  *
29245
29291
  */
29246
- export interface ButtonControl3 {
29292
+ export interface ToggleButtonControl1 {
29293
+ macroParameterValue: string;
29247
29294
  label: I18NProperty85;
29248
- type: 'button' | 'BUTTON';
29295
+ type: 'togglebutton' | 'TOGGLEBUTTON';
29249
29296
  key: string;
29250
29297
  [k: string]: unknown;
29251
29298
  }
@@ -29276,52 +29323,7 @@ export interface I18NProperty85 {
29276
29323
  /**
29277
29324
  *
29278
29325
  *
29279
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
29280
- *
29281
- * <p><b>Example</b></p>
29282
- *
29283
- *
29284
- *
29285
- *
29286
- *
29287
- * [
29288
- * {
29289
- * "type": "togglegroup",
29290
- * "macroParameter": "toggleGroupMacroParameter",
29291
- * "controls": [
29292
- * {
29293
- * "type": "togglebutton",
29294
- * "macroParameterValue": "macroParameterValue 0",
29295
- * "label": {
29296
- * "value": "My Custom Control 0"
29297
- * },
29298
- * "key": "my-custom-toggle-button-0"
29299
- * },
29300
- * {
29301
- * "type": "togglebutton",
29302
- * "macroParameterValue": "macroParameterValue 1",
29303
- * "label": {
29304
- * "value": "My Custom Control 1"
29305
- * },
29306
- * "key": "my-custom-toggle-button-1"
29307
- * }
29308
- * ]
29309
- * }
29310
- * ]
29311
- *
29312
- *
29313
- *
29314
- */
29315
- export interface ToggleGroup1 {
29316
- controls: ToggleButtonControl1[];
29317
- macroParameter: string;
29318
- type: 'togglegroup' | 'TOGGLEGROUP';
29319
- [k: string]: unknown;
29320
- }
29321
- /**
29322
- *
29323
- *
29324
- * Defines a toggle button which appears inside a ToggleGroup
29326
+ * Defines a button which may appear in control extension points such as the property panel
29325
29327
  *
29326
29328
  * <p><b>Example</b></p>
29327
29329
  *
@@ -29330,21 +29332,19 @@ export interface ToggleGroup1 {
29330
29332
  *
29331
29333
  *
29332
29334
  * {
29333
- * "type": "togglebutton",
29334
- * "macroParameterValue": "macroParameterValue 0",
29335
+ * "type": "button",
29335
29336
  * "label": {
29336
29337
  * "value": "My Custom Control 0"
29337
29338
  * },
29338
- * "key": "my-custom-toggle-button-0"
29339
+ * "key": "my-custom-control-0"
29339
29340
  * }
29340
29341
  *
29341
29342
  *
29342
29343
  *
29343
29344
  */
29344
- export interface ToggleButtonControl1 {
29345
- macroParameterValue: string;
29345
+ export interface ButtonControl3 {
29346
29346
  label: I18NProperty86;
29347
- type: 'togglebutton' | 'TOGGLEBUTTON';
29347
+ type: 'button' | 'BUTTON';
29348
29348
  key: string;
29349
29349
  [k: string]: unknown;
29350
29350
  }
@@ -51214,13 +51214,11 @@ export interface AuthProviderCustom {
51214
51214
  clientId: string;
51215
51215
  scopes?: string[];
51216
51216
  remotes?: ModuleKeySchema[];
51217
- profileRetriever?: {
51218
- function: ModuleKeySchema;
51219
- };
51220
51217
  actions: {
51221
51218
  authorization: ActionDefinition;
51222
51219
  exchange: ActionDefinition;
51223
51220
  revokeToken: ActionDefinition;
51221
+ retrieveProfile: DynamicProfileRetriever | StaticProfileRetriever;
51224
51222
  };
51225
51223
  }
51226
51224
  export interface ActionDefinition {
@@ -51237,3 +51235,23 @@ export interface ActionDefinition {
51237
51235
  [k: string]: string;
51238
51236
  };
51239
51237
  }
51238
+ /**
51239
+ * Use a Forge function to map the fields to profile information
51240
+ */
51241
+ export interface DynamicProfileRetriever {
51242
+ remote: ModuleKeySchema;
51243
+ path: string;
51244
+ function: ModuleKeySchema;
51245
+ }
51246
+ /**
51247
+ * A static direct mapping of API response fields to profile information
51248
+ */
51249
+ export interface StaticProfileRetriever {
51250
+ remote: ModuleKeySchema;
51251
+ path: string;
51252
+ resolvers: {
51253
+ id: string;
51254
+ displayName: string;
51255
+ avatarUrl?: string;
51256
+ };
51257
+ }