@forge/manifest 0.0.0-experimental-c3d0263 → 0.0.0-experimental-490cfcf

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,9 +1,29 @@
1
1
  # @forge/manifest
2
2
 
3
- ## 0.0.0-experimental-c3d0263
3
+ ## 0.0.0-experimental-490cfcf
4
+
5
+ ### Patch Changes
6
+
7
+ - 54bf134: Update manifest definitions
8
+ - 2484683: Update manifest definitions
9
+
10
+ ## 3.3.1-next.1
11
+
12
+ ### Patch Changes
13
+
14
+ - 24846832: Update manifest definitions
15
+
16
+ ## 3.3.1-next.0
17
+
18
+ ### Patch Changes
19
+
20
+ - 54bf134: Update manifest definitions
21
+
22
+ ## 3.3.0
4
23
 
5
24
  ### Minor Changes
6
25
 
26
+ - fcd9580: Add support for compass:teamPage extensions
7
27
  - 6c44d2b: Add following Jira Service Management modules:
8
28
  - jiraServiceManagement:organizationPanel module
9
29
  - jiraServiceManagement:portalHeader module
@@ -18,15 +38,33 @@
18
38
  ### Patch Changes
19
39
 
20
40
  - e822a8a: Update manifest definitions
41
+ - 720953f: Update manifest definitions
21
42
  - 2420378: Update manifest definitions
22
43
  - 051ed1f: Update manifest definitions
23
44
  - ad94136: Update manifest definitions
45
+ - e65d33e: Update manifest definitions
24
46
  - ae111cd: Update manifest definitions
25
47
  - 8e35955: Update manifest definitions
26
48
  - c255b24: Update manifest definitions
27
49
  - f894871: Update manifest definitions
28
50
  - Updated dependencies [88e57a12]
29
- - @forge/util@0.0.0-experimental-c3d0263
51
+ - @forge/util@1.2.0
52
+
53
+ ## 3.3.0-next.9
54
+
55
+ ### Patch Changes
56
+
57
+ - 720953f: Update manifest definitions
58
+
59
+ ## 3.3.0-next.8
60
+
61
+ ### Minor Changes
62
+
63
+ - fcd95803: Add support for compass:teamPage extensions
64
+
65
+ ### Patch Changes
66
+
67
+ - e65d33e6: Update manifest definitions
30
68
 
31
69
  ## 3.3.0-next.7
32
70
 
@@ -2656,79 +2656,180 @@
2656
2656
  "jira:dashboardGadget": {
2657
2657
  "type": "array",
2658
2658
  "items": {
2659
- "type": "object",
2660
- "properties": {
2661
- "title": {
2662
- "oneOf": [
2663
- {
2664
- "type": "object",
2665
- "properties": {
2666
- "text": {
2659
+ "oneOf": [
2660
+ {
2661
+ "type": "object",
2662
+ "properties": {
2663
+ "title": {
2664
+ "oneOf": [
2665
+ {
2666
+ "type": "object",
2667
+ "properties": {
2668
+ "text": {
2669
+ "type": "string",
2670
+ "minLength": 1,
2671
+ "maxLength": 255
2672
+ },
2673
+ "href": {
2674
+ "type": "string",
2675
+ "minLength": 1,
2676
+ "maxLength": 1000
2677
+ }
2678
+ },
2679
+ "required": [
2680
+ "text"
2681
+ ]
2682
+ },
2683
+ {
2667
2684
  "type": "string",
2668
2685
  "minLength": 1,
2669
2686
  "maxLength": 255
2670
- },
2671
- "href": {
2687
+ }
2688
+ ]
2689
+ },
2690
+ "description": {
2691
+ "type": "string",
2692
+ "minLength": 1,
2693
+ "maxLength": 255
2694
+ },
2695
+ "thumbnail": {
2696
+ "type": "string",
2697
+ "minLength": 1,
2698
+ "maxLength": 255
2699
+ },
2700
+ "function": {
2701
+ "type": "string",
2702
+ "minLength": 1,
2703
+ "maxLength": 255,
2704
+ "pattern": "^[a-zA-Z0-9-_]+$"
2705
+ },
2706
+ "edit": {
2707
+ "type": "object",
2708
+ "properties": {
2709
+ "function": {
2672
2710
  "type": "string",
2673
2711
  "minLength": 1,
2674
- "maxLength": 1000
2712
+ "maxLength": 255,
2713
+ "pattern": "^[a-zA-Z0-9-_]+$"
2675
2714
  }
2676
2715
  },
2677
2716
  "required": [
2678
- "text"
2717
+ "function"
2679
2718
  ]
2680
2719
  },
2681
- {
2682
- "type": "string",
2683
- "minLength": 1,
2684
- "maxLength": 255
2720
+ "displayConditions": {
2721
+ "type": "object",
2722
+ "properties": {}
2723
+ },
2724
+ "key": {
2725
+ "$ref": "#/definitions/ModuleKeySchema"
2685
2726
  }
2727
+ },
2728
+ "required": [
2729
+ "title",
2730
+ "description",
2731
+ "thumbnail",
2732
+ "function",
2733
+ "key"
2686
2734
  ]
2687
2735
  },
2688
- "description": {
2689
- "type": "string",
2690
- "minLength": 1,
2691
- "maxLength": 255
2692
- },
2693
- "thumbnail": {
2694
- "type": "string",
2695
- "minLength": 1,
2696
- "maxLength": 255
2697
- },
2698
- "function": {
2699
- "type": "string",
2700
- "minLength": 1,
2701
- "maxLength": 255,
2702
- "pattern": "^[a-zA-Z0-9-_]+$"
2703
- },
2704
- "edit": {
2736
+ {
2705
2737
  "type": "object",
2706
2738
  "properties": {
2739
+ "resource": {
2740
+ "type": "string",
2741
+ "minLength": 1,
2742
+ "maxLength": 23,
2743
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
2744
+ },
2745
+ "resolver": {
2746
+ "additionalProperties": false,
2747
+ "type": "object",
2748
+ "properties": {
2749
+ "function": {
2750
+ "type": "string",
2751
+ "minLength": 1,
2752
+ "maxLength": 255,
2753
+ "pattern": "^[a-zA-Z0-9-_]+$"
2754
+ }
2755
+ },
2756
+ "required": [
2757
+ "function"
2758
+ ]
2759
+ },
2760
+ "title": {
2761
+ "oneOf": [
2762
+ {
2763
+ "type": "object",
2764
+ "properties": {
2765
+ "text": {
2766
+ "type": "string",
2767
+ "minLength": 1,
2768
+ "maxLength": 255
2769
+ },
2770
+ "href": {
2771
+ "type": "string",
2772
+ "minLength": 1,
2773
+ "maxLength": 1000
2774
+ }
2775
+ },
2776
+ "required": [
2777
+ "text"
2778
+ ]
2779
+ },
2780
+ {
2781
+ "type": "string",
2782
+ "minLength": 1,
2783
+ "maxLength": 255
2784
+ }
2785
+ ]
2786
+ },
2787
+ "description": {
2788
+ "type": "string",
2789
+ "minLength": 1,
2790
+ "maxLength": 255
2791
+ },
2792
+ "thumbnail": {
2793
+ "type": "string",
2794
+ "minLength": 1,
2795
+ "maxLength": 255
2796
+ },
2707
2797
  "function": {
2708
2798
  "type": "string",
2709
2799
  "minLength": 1,
2710
2800
  "maxLength": 255,
2711
2801
  "pattern": "^[a-zA-Z0-9-_]+$"
2802
+ },
2803
+ "edit": {
2804
+ "type": "object",
2805
+ "properties": {
2806
+ "resource": {
2807
+ "type": "string",
2808
+ "minLength": 1,
2809
+ "maxLength": 23,
2810
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
2811
+ }
2812
+ },
2813
+ "required": [
2814
+ "resource"
2815
+ ]
2816
+ },
2817
+ "displayConditions": {
2818
+ "type": "object",
2819
+ "properties": {}
2820
+ },
2821
+ "key": {
2822
+ "$ref": "#/definitions/ModuleKeySchema"
2712
2823
  }
2713
2824
  },
2714
2825
  "required": [
2715
- "function"
2826
+ "title",
2827
+ "description",
2828
+ "thumbnail",
2829
+ "resource",
2830
+ "key"
2716
2831
  ]
2717
- },
2718
- "displayConditions": {
2719
- "type": "object",
2720
- "properties": {}
2721
- },
2722
- "key": {
2723
- "$ref": "#/definitions/ModuleKeySchema"
2724
2832
  }
2725
- },
2726
- "required": [
2727
- "title",
2728
- "description",
2729
- "thumbnail",
2730
- "function",
2731
- "key"
2732
2833
  ]
2733
2834
  },
2734
2835
  "minItems": 1
@@ -3974,6 +4075,87 @@
3974
4075
  },
3975
4076
  "minItems": 1
3976
4077
  },
4078
+ "compass:teamPage": {
4079
+ "type": "array",
4080
+ "items": {
4081
+ "oneOf": [
4082
+ {
4083
+ "type": "object",
4084
+ "required": [
4085
+ "title",
4086
+ "function",
4087
+ "key"
4088
+ ],
4089
+ "properties": {
4090
+ "title": {
4091
+ "type": "string",
4092
+ "minLength": 1,
4093
+ "maxLength": 255
4094
+ },
4095
+ "icon": {
4096
+ "type": "string",
4097
+ "minLength": 1,
4098
+ "maxLength": 255
4099
+ },
4100
+ "function": {
4101
+ "type": "string",
4102
+ "minLength": 1,
4103
+ "maxLength": 255,
4104
+ "pattern": "^[a-zA-Z0-9-_]+$"
4105
+ },
4106
+ "key": {
4107
+ "$ref": "#/definitions/ModuleKeySchema"
4108
+ }
4109
+ }
4110
+ },
4111
+ {
4112
+ "type": "object",
4113
+ "required": [
4114
+ "title",
4115
+ "resource",
4116
+ "key"
4117
+ ],
4118
+ "properties": {
4119
+ "title": {
4120
+ "type": "string",
4121
+ "minLength": 1,
4122
+ "maxLength": 255
4123
+ },
4124
+ "icon": {
4125
+ "type": "string",
4126
+ "minLength": 1,
4127
+ "maxLength": 255
4128
+ },
4129
+ "resolver": {
4130
+ "additionalProperties": false,
4131
+ "type": "object",
4132
+ "properties": {
4133
+ "function": {
4134
+ "type": "string",
4135
+ "minLength": 1,
4136
+ "maxLength": 255,
4137
+ "pattern": "^[a-zA-Z0-9-_]+$"
4138
+ }
4139
+ },
4140
+ "required": [
4141
+ "function"
4142
+ ]
4143
+ },
4144
+ "resource": {
4145
+ "type": "string",
4146
+ "minLength": 1,
4147
+ "maxLength": 23,
4148
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4149
+ },
4150
+ "key": {
4151
+ "$ref": "#/definitions/ModuleKeySchema"
4152
+ }
4153
+ }
4154
+ }
4155
+ ]
4156
+ },
4157
+ "minItems": 1
4158
+ },
3977
4159
  "jiraServiceManagement:queuePage": {
3978
4160
  "type": "array",
3979
4161
  "items": {
@@ -7390,10 +7572,10 @@
7390
7572
  "type": "object",
7391
7573
  "anyOf": [
7392
7574
  {
7393
- "$ref": "#/definitions/compositeCondition"
7575
+ "$ref": "#/definitions/singleCondition"
7394
7576
  },
7395
7577
  {
7396
- "$ref": "#/definitions/singleCondition"
7578
+ "$ref": "#/definitions/compositeCondition"
7397
7579
  }
7398
7580
  ]
7399
7581
  },
@@ -7445,10 +7627,10 @@
7445
7627
  "type": "object",
7446
7628
  "anyOf": [
7447
7629
  {
7448
- "$ref": "#/definitions/compositeCondition"
7630
+ "$ref": "#/definitions/singleCondition"
7449
7631
  },
7450
7632
  {
7451
- "$ref": "#/definitions/singleCondition"
7633
+ "$ref": "#/definitions/compositeCondition"
7452
7634
  }
7453
7635
  ]
7454
7636
  },
@@ -7509,10 +7691,10 @@
7509
7691
  "type": "object",
7510
7692
  "anyOf": [
7511
7693
  {
7512
- "$ref": "#/definitions/singleCondition"
7694
+ "$ref": "#/definitions/compositeCondition"
7513
7695
  },
7514
7696
  {
7515
- "$ref": "#/definitions/compositeCondition"
7697
+ "$ref": "#/definitions/singleCondition"
7516
7698
  }
7517
7699
  ]
7518
7700
  },
@@ -7625,10 +7807,10 @@
7625
7807
  "type": "object",
7626
7808
  "anyOf": [
7627
7809
  {
7628
- "$ref": "#/definitions/singleCondition"
7810
+ "$ref": "#/definitions/compositeCondition"
7629
7811
  },
7630
7812
  {
7631
- "$ref": "#/definitions/compositeCondition"
7813
+ "$ref": "#/definitions/singleCondition"
7632
7814
  }
7633
7815
  ]
7634
7816
  },
@@ -7743,22 +7925,6 @@
7743
7925
  "title": "Dialog Options",
7744
7926
  "description": "\n\nOptions for a modal dialog <a href=\"../web-item-target/\">web item target</a> or <a href=\"../dialog/\">common module</a>.\n\n <p>\n These options are a subset of those available via the <a href=\"../../jsapi/dialog/\">JavaScript API</a>.\n </p>\n\n <h2>Web Item Example</h2>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialog\",\n \"options\": {\n \"height\": \"100px\",\n \"width\": \"200px\"\n }\n }\n }\n\n\n\n\n <h2>Dialog Example</h2>\n\n\n\n\n\n {\n \"modules\": {\n \"dialogs\": [\n {\n \"url\": \"/my-dialog-content\",\n \"options\": {\n \"size\": \"fullscreen\",\n \"header\": {\n \"value\": \"Example Dialog\"\n }\n },\n \"key\": \"dialog-module-key\"\n }\n ]\n }\n }\n\n\n"
7745
7927
  },
7746
- {
7747
- "properties": {
7748
- "key": {
7749
- "maxLength": 100,
7750
- "type": "string",
7751
- "fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
7752
- }
7753
- },
7754
- "required": [
7755
- "key"
7756
- ],
7757
- "shortClassName": "dialogModuleOptions",
7758
- "type": "object",
7759
- "title": "Dialog Module Options",
7760
- "description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
7761
- },
7762
7928
  {
7763
7929
  "properties": {
7764
7930
  "offsetX": {
@@ -7805,6 +7971,22 @@
7805
7971
  "type": "object",
7806
7972
  "title": "Inline Dialog Options",
7807
7973
  "description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
7974
+ },
7975
+ {
7976
+ "properties": {
7977
+ "key": {
7978
+ "maxLength": 100,
7979
+ "type": "string",
7980
+ "fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
7981
+ }
7982
+ },
7983
+ "required": [
7984
+ "key"
7985
+ ],
7986
+ "shortClassName": "dialogModuleOptions",
7987
+ "type": "object",
7988
+ "title": "Dialog Module Options",
7989
+ "description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
7808
7990
  }
7809
7991
  ]
7810
7992
  },
@@ -7861,33 +8043,6 @@
7861
8043
  "items": {
7862
8044
  "type": "object",
7863
8045
  "anyOf": [
7864
- {
7865
- "properties": {
7866
- "condition": {
7867
- "maxLength": 100,
7868
- "type": "string",
7869
- "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
7870
- },
7871
- "invert": {
7872
- "type": "boolean",
7873
- "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
7874
- "defaultValue": "false"
7875
- },
7876
- "params": {
7877
- "additionalProperties": true,
7878
- "type": "object",
7879
- "fieldTitle": "Object",
7880
- "fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
7881
- }
7882
- },
7883
- "required": [
7884
- "condition"
7885
- ],
7886
- "shortClassName": "singleConditionBean",
7887
- "type": "object",
7888
- "title": "Single Condition",
7889
- "description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
7890
- },
7891
8046
  {
7892
8047
  "properties": {
7893
8048
  "conditions": {
@@ -7920,6 +8075,33 @@
7920
8075
  "type": "object",
7921
8076
  "title": "Composite Condition",
7922
8077
  "description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
8078
+ },
8079
+ {
8080
+ "properties": {
8081
+ "condition": {
8082
+ "maxLength": 100,
8083
+ "type": "string",
8084
+ "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
8085
+ },
8086
+ "invert": {
8087
+ "type": "boolean",
8088
+ "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
8089
+ "defaultValue": "false"
8090
+ },
8091
+ "params": {
8092
+ "additionalProperties": true,
8093
+ "type": "object",
8094
+ "fieldTitle": "Object",
8095
+ "fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
8096
+ }
8097
+ },
8098
+ "required": [
8099
+ "condition"
8100
+ ],
8101
+ "shortClassName": "singleConditionBean",
8102
+ "type": "object",
8103
+ "title": "Single Condition",
8104
+ "description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
7923
8105
  }
7924
8106
  ]
7925
8107
  },
@@ -1520,48 +1520,102 @@ export interface Modules {
1520
1520
  )[]
1521
1521
  ];
1522
1522
  'jira:dashboardGadget'?: [
1523
- {
1524
- title:
1525
- | {
1526
- text: string;
1527
- href?: string;
1523
+ (
1524
+ | {
1525
+ title:
1526
+ | {
1527
+ text: string;
1528
+ href?: string;
1529
+ [k: string]: unknown;
1530
+ }
1531
+ | string;
1532
+ description: string;
1533
+ thumbnail: string;
1534
+ function: string;
1535
+ edit?: {
1536
+ function: string;
1528
1537
  [k: string]: unknown;
1529
- }
1530
- | string;
1531
- description: string;
1532
- thumbnail: string;
1533
- function: string;
1534
- edit?: {
1535
- function: string;
1536
- [k: string]: unknown;
1537
- };
1538
- displayConditions?: {
1539
- [k: string]: unknown;
1540
- };
1541
- key: ModuleKeySchema;
1542
- [k: string]: unknown;
1543
- },
1544
- ...{
1545
- title:
1546
- | {
1547
- text: string;
1548
- href?: string;
1538
+ };
1539
+ displayConditions?: {
1549
1540
  [k: string]: unknown;
1550
- }
1551
- | string;
1552
- description: string;
1553
- thumbnail: string;
1554
- function: string;
1555
- edit?: {
1556
- function: string;
1557
- [k: string]: unknown;
1558
- };
1559
- displayConditions?: {
1560
- [k: string]: unknown;
1561
- };
1562
- key: ModuleKeySchema;
1563
- [k: string]: unknown;
1564
- }[]
1541
+ };
1542
+ key: ModuleKeySchema;
1543
+ [k: string]: unknown;
1544
+ }
1545
+ | {
1546
+ resource: string;
1547
+ resolver?: {
1548
+ function: string;
1549
+ };
1550
+ title:
1551
+ | {
1552
+ text: string;
1553
+ href?: string;
1554
+ [k: string]: unknown;
1555
+ }
1556
+ | string;
1557
+ description: string;
1558
+ thumbnail: string;
1559
+ function?: string;
1560
+ edit?: {
1561
+ resource: string;
1562
+ [k: string]: unknown;
1563
+ };
1564
+ displayConditions?: {
1565
+ [k: string]: unknown;
1566
+ };
1567
+ key: ModuleKeySchema;
1568
+ [k: string]: unknown;
1569
+ }
1570
+ ),
1571
+ ...(
1572
+ | {
1573
+ title:
1574
+ | {
1575
+ text: string;
1576
+ href?: string;
1577
+ [k: string]: unknown;
1578
+ }
1579
+ | string;
1580
+ description: string;
1581
+ thumbnail: string;
1582
+ function: string;
1583
+ edit?: {
1584
+ function: string;
1585
+ [k: string]: unknown;
1586
+ };
1587
+ displayConditions?: {
1588
+ [k: string]: unknown;
1589
+ };
1590
+ key: ModuleKeySchema;
1591
+ [k: string]: unknown;
1592
+ }
1593
+ | {
1594
+ resource: string;
1595
+ resolver?: {
1596
+ function: string;
1597
+ };
1598
+ title:
1599
+ | {
1600
+ text: string;
1601
+ href?: string;
1602
+ [k: string]: unknown;
1603
+ }
1604
+ | string;
1605
+ description: string;
1606
+ thumbnail: string;
1607
+ function?: string;
1608
+ edit?: {
1609
+ resource: string;
1610
+ [k: string]: unknown;
1611
+ };
1612
+ displayConditions?: {
1613
+ [k: string]: unknown;
1614
+ };
1615
+ key: ModuleKeySchema;
1616
+ [k: string]: unknown;
1617
+ }
1618
+ )[]
1565
1619
  ];
1566
1620
  'jira:adminPage'?: [
1567
1621
  (
@@ -2175,6 +2229,46 @@ export interface Modules {
2175
2229
  }
2176
2230
  )[]
2177
2231
  ];
2232
+ 'compass:teamPage'?: [
2233
+ (
2234
+ | {
2235
+ title: string;
2236
+ icon?: string;
2237
+ function: string;
2238
+ key: ModuleKeySchema;
2239
+ [k: string]: unknown;
2240
+ }
2241
+ | {
2242
+ title: string;
2243
+ icon?: string;
2244
+ resolver?: {
2245
+ function: string;
2246
+ };
2247
+ resource: string;
2248
+ key: ModuleKeySchema;
2249
+ [k: string]: unknown;
2250
+ }
2251
+ ),
2252
+ ...(
2253
+ | {
2254
+ title: string;
2255
+ icon?: string;
2256
+ function: string;
2257
+ key: ModuleKeySchema;
2258
+ [k: string]: unknown;
2259
+ }
2260
+ | {
2261
+ title: string;
2262
+ icon?: string;
2263
+ resolver?: {
2264
+ function: string;
2265
+ };
2266
+ resource: string;
2267
+ key: ModuleKeySchema;
2268
+ [k: string]: unknown;
2269
+ }
2270
+ )[]
2271
+ ];
2178
2272
  'jiraServiceManagement:queuePage'?: [
2179
2273
  (
2180
2274
  | {
@@ -3640,7 +3734,7 @@ export interface Modules {
3640
3734
  location?: string;
3641
3735
  cacheable?: boolean;
3642
3736
  supportsNative?: boolean;
3643
- conditions?: (CompositeCondition | SingleCondition)[];
3737
+ conditions?: (SingleCondition | CompositeCondition)[];
3644
3738
  params?: {
3645
3739
  [k: string]: unknown;
3646
3740
  };
@@ -3656,7 +3750,7 @@ export interface Modules {
3656
3750
  location?: string;
3657
3751
  cacheable?: boolean;
3658
3752
  supportsNative?: boolean;
3659
- conditions?: (CompositeCondition | SingleCondition)[];
3753
+ conditions?: (SingleCondition | CompositeCondition)[];
3660
3754
  params?: {
3661
3755
  [k: string]: unknown;
3662
3756
  };
@@ -3670,7 +3764,7 @@ export interface Modules {
3670
3764
  filter?: string;
3671
3765
  excludeBody?: boolean;
3672
3766
  event?: string;
3673
- conditions?: (CompositeCondition | SingleCondition)[];
3767
+ conditions?: (SingleCondition | CompositeCondition)[];
3674
3768
  propertyKeys?: string[];
3675
3769
  url?: string;
3676
3770
  key: ModuleKeySchema;
@@ -3680,7 +3774,7 @@ export interface Modules {
3680
3774
  filter?: string;
3681
3775
  excludeBody?: boolean;
3682
3776
  event?: string;
3683
- conditions?: (CompositeCondition | SingleCondition)[];
3777
+ conditions?: (SingleCondition | CompositeCondition)[];
3684
3778
  propertyKeys?: string[];
3685
3779
  url?: string;
3686
3780
  key: ModuleKeySchema;
@@ -3694,7 +3788,7 @@ export interface Modules {
3694
3788
  weight?: number;
3695
3789
  cacheable?: boolean;
3696
3790
  location?: string;
3697
- conditions?: (SingleCondition | CompositeCondition)[];
3791
+ conditions?: (CompositeCondition | SingleCondition)[];
3698
3792
  params?: {
3699
3793
  [k: string]: unknown;
3700
3794
  };
@@ -3708,7 +3802,7 @@ export interface Modules {
3708
3802
  weight?: number;
3709
3803
  cacheable?: boolean;
3710
3804
  location?: string;
3711
- conditions?: (SingleCondition | CompositeCondition)[];
3805
+ conditions?: (CompositeCondition | SingleCondition)[];
3712
3806
  params?: {
3713
3807
  [k: string]: unknown;
3714
3808
  };
@@ -3750,7 +3844,7 @@ export interface Modules {
3750
3844
  weight?: number;
3751
3845
  cacheable?: boolean;
3752
3846
  location?: string;
3753
- conditions?: (SingleCondition | CompositeCondition)[];
3847
+ conditions?: (CompositeCondition | SingleCondition)[];
3754
3848
  params?: {
3755
3849
  [k: string]: unknown;
3756
3850
  };
@@ -3764,7 +3858,7 @@ export interface Modules {
3764
3858
  weight?: number;
3765
3859
  cacheable?: boolean;
3766
3860
  location?: string;
3767
- conditions?: (SingleCondition | CompositeCondition)[];
3861
+ conditions?: (CompositeCondition | SingleCondition)[];
3768
3862
  params?: {
3769
3863
  [k: string]: unknown;
3770
3864
  };
@@ -3788,7 +3882,7 @@ export interface Modules {
3788
3882
  name?: I18NProperty59;
3789
3883
  location?: string;
3790
3884
  cacheable?: boolean;
3791
- conditions?: (SingleCondition4 | CompositeCondition6)[];
3885
+ conditions?: (CompositeCondition6 | SingleCondition4)[];
3792
3886
  key: ModuleKeySchema;
3793
3887
  [k: string]: unknown;
3794
3888
  },
@@ -3806,7 +3900,7 @@ export interface Modules {
3806
3900
  name?: I18NProperty59;
3807
3901
  location?: string;
3808
3902
  cacheable?: boolean;
3809
- conditions?: (SingleCondition4 | CompositeCondition6)[];
3903
+ conditions?: (CompositeCondition6 | SingleCondition4)[];
3810
3904
  key: ModuleKeySchema;
3811
3905
  [k: string]: unknown;
3812
3906
  }[]
@@ -7035,7 +7129,7 @@ export interface Icon10 {
7035
7129
  *
7036
7130
  */
7037
7131
  export interface WebItemTarget1 {
7038
- options?: DialogOptions2 | DialogModuleOptions1 | InlineDialogOptions1;
7132
+ options?: DialogOptions2 | InlineDialogOptions1 | DialogModuleOptions1;
7039
7133
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
7040
7134
  [k: string]: unknown;
7041
7135
  }
@@ -7137,33 +7231,6 @@ export interface I18NProperty58 {
7137
7231
  i18n?: string;
7138
7232
  [k: string]: unknown;
7139
7233
  }
7140
- /**
7141
- *
7142
- *
7143
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
7144
- *
7145
- * <h3>Example</h3>
7146
- *
7147
- *
7148
- *
7149
- *
7150
- *
7151
- * {
7152
- * "target": {
7153
- * "type": "dialogmodule",
7154
- * "options": {
7155
- * "key": "dialog-module-key"
7156
- * }
7157
- * }
7158
- * }
7159
- *
7160
- *
7161
- *
7162
- */
7163
- export interface DialogModuleOptions1 {
7164
- key: string;
7165
- [k: string]: unknown;
7166
- }
7167
7234
  /**
7168
7235
  *
7169
7236
  *
@@ -7204,8 +7271,7 @@ export interface InlineDialogOptions1 {
7204
7271
  /**
7205
7272
  *
7206
7273
  *
7207
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
7208
- * and value in multiple places if you like, but identical keys must have identical values.
7274
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
7209
7275
  *
7210
7276
  * <h3>Example</h3>
7211
7277
  *
@@ -7214,25 +7280,26 @@ export interface InlineDialogOptions1 {
7214
7280
  *
7215
7281
  *
7216
7282
  * {
7217
- * "value": "My text"
7283
+ * "target": {
7284
+ * "type": "dialogmodule",
7285
+ * "options": {
7286
+ * "key": "dialog-module-key"
7287
+ * }
7288
+ * }
7218
7289
  * }
7219
7290
  *
7220
7291
  *
7221
7292
  *
7222
7293
  */
7223
- export interface I18NProperty59 {
7224
- value: string;
7225
- i18n?: string;
7294
+ export interface DialogModuleOptions1 {
7295
+ key: string;
7226
7296
  [k: string]: unknown;
7227
7297
  }
7228
7298
  /**
7229
7299
  *
7230
7300
  *
7231
- * Single Conditions are either provided by the host application. See the complete documentation of
7232
- * [Conditions](../../conditions/) for more information.
7233
- *
7234
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
7235
- * This is useful where you want to show the section if a certain condition is not satisfied.
7301
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
7302
+ * and value in multiple places if you like, but identical keys must have identical values.
7236
7303
  *
7237
7304
  * <h3>Example</h3>
7238
7305
  *
@@ -7241,19 +7308,15 @@ export interface I18NProperty59 {
7241
7308
  *
7242
7309
  *
7243
7310
  * {
7244
- * "condition": "user_is_logged_in",
7245
- * "invert": false
7311
+ * "value": "My text"
7246
7312
  * }
7247
7313
  *
7248
7314
  *
7249
7315
  *
7250
7316
  */
7251
- export interface SingleCondition4 {
7252
- condition: string;
7253
- invert?: boolean;
7254
- params?: {
7255
- [k: string]: unknown;
7256
- };
7317
+ export interface I18NProperty59 {
7318
+ value: string;
7319
+ i18n?: string;
7257
7320
  [k: string]: unknown;
7258
7321
  }
7259
7322
  /**
@@ -7297,6 +7360,37 @@ export interface CompositeCondition6 {
7297
7360
  type?: 'and' | 'AND' | 'or' | 'OR';
7298
7361
  [k: string]: unknown;
7299
7362
  }
7363
+ /**
7364
+ *
7365
+ *
7366
+ * Single Conditions are either provided by the host application. See the complete documentation of
7367
+ * [Conditions](../../conditions/) for more information.
7368
+ *
7369
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
7370
+ * This is useful where you want to show the section if a certain condition is not satisfied.
7371
+ *
7372
+ * <h3>Example</h3>
7373
+ *
7374
+ *
7375
+ *
7376
+ *
7377
+ *
7378
+ * {
7379
+ * "condition": "user_is_logged_in",
7380
+ * "invert": false
7381
+ * }
7382
+ *
7383
+ *
7384
+ *
7385
+ */
7386
+ export interface SingleCondition4 {
7387
+ condition: string;
7388
+ invert?: boolean;
7389
+ params?: {
7390
+ [k: string]: unknown;
7391
+ };
7392
+ [k: string]: unknown;
7393
+ }
7300
7394
  /**
7301
7395
  *
7302
7396
  *
@@ -28,6 +28,7 @@ export declare enum AllModuleTypes {
28
28
  CompassAdminPage = "compass:adminPage",
29
29
  CompassComponentPage = "compass:componentPage",
30
30
  CompassGlobalPage = "compass:globalPage",
31
+ CompassTeamPage = "compass:teamPage",
31
32
  JiraServiceManagementQueuePage = "jiraServiceManagement:queuePage",
32
33
  JiraServiceManagementPortalRequestDetail = "jiraServiceManagement:portalRequestDetail",
33
34
  JiraServiceManagementPortalRequestDetailPanel = "jiraServiceManagement:portalRequestDetailPanel",
@@ -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,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AgC,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"}
@@ -32,6 +32,7 @@ var AllModuleTypes;
32
32
  AllModuleTypes["CompassAdminPage"] = "compass:adminPage";
33
33
  AllModuleTypes["CompassComponentPage"] = "compass:componentPage";
34
34
  AllModuleTypes["CompassGlobalPage"] = "compass:globalPage";
35
+ AllModuleTypes["CompassTeamPage"] = "compass:teamPage";
35
36
  AllModuleTypes["JiraServiceManagementQueuePage"] = "jiraServiceManagement:queuePage";
36
37
  AllModuleTypes["JiraServiceManagementPortalRequestDetail"] = "jiraServiceManagement:portalRequestDetail";
37
38
  AllModuleTypes["JiraServiceManagementPortalRequestDetailPanel"] = "jiraServiceManagement:portalRequestDetailPanel";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "0.0.0-experimental-c3d0263",
3
+ "version": "0.0.0-experimental-490cfcf",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {
@@ -23,7 +23,7 @@
23
23
  "author": "Atlassian",
24
24
  "license": "UNLICENSED",
25
25
  "dependencies": {
26
- "@forge/util": "0.0.0-experimental-c3d0263",
26
+ "@forge/util": "1.2.0",
27
27
  "ajv": "^6.12.5",
28
28
  "cheerio": "^0.22.0",
29
29
  "js-yaml": "^3.13.1",