@forge/manifest 4.5.0 → 4.5.1
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 +12 -0
- package/out/schema/manifest-schema.json +257 -267
- package/out/schema/manifest.d.ts +279 -279
- package/package.json +1 -1
package/out/schema/manifest.d.ts
CHANGED
|
@@ -3867,7 +3867,7 @@ export interface Modules {
|
|
|
3867
3867
|
location?: string;
|
|
3868
3868
|
cacheable?: boolean;
|
|
3869
3869
|
supportsNative?: boolean;
|
|
3870
|
-
conditions?: (
|
|
3870
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3871
3871
|
params?: {
|
|
3872
3872
|
[k: string]: unknown;
|
|
3873
3873
|
};
|
|
@@ -3883,7 +3883,7 @@ export interface Modules {
|
|
|
3883
3883
|
location?: string;
|
|
3884
3884
|
cacheable?: boolean;
|
|
3885
3885
|
supportsNative?: boolean;
|
|
3886
|
-
conditions?: (
|
|
3886
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3887
3887
|
params?: {
|
|
3888
3888
|
[k: string]: unknown;
|
|
3889
3889
|
};
|
|
@@ -3921,7 +3921,7 @@ export interface Modules {
|
|
|
3921
3921
|
weight?: number;
|
|
3922
3922
|
cacheable?: boolean;
|
|
3923
3923
|
location?: string;
|
|
3924
|
-
conditions?: (
|
|
3924
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3925
3925
|
params?: {
|
|
3926
3926
|
[k: string]: unknown;
|
|
3927
3927
|
};
|
|
@@ -3935,7 +3935,7 @@ export interface Modules {
|
|
|
3935
3935
|
weight?: number;
|
|
3936
3936
|
cacheable?: boolean;
|
|
3937
3937
|
location?: string;
|
|
3938
|
-
conditions?: (
|
|
3938
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3939
3939
|
params?: {
|
|
3940
3940
|
[k: string]: unknown;
|
|
3941
3941
|
};
|
|
@@ -3950,7 +3950,7 @@ export interface Modules {
|
|
|
3950
3950
|
name?: I18NProperty6;
|
|
3951
3951
|
weight?: number;
|
|
3952
3952
|
location?: string;
|
|
3953
|
-
conditions?: (
|
|
3953
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3954
3954
|
params?: {
|
|
3955
3955
|
[k: string]: unknown;
|
|
3956
3956
|
};
|
|
@@ -3962,7 +3962,7 @@ export interface Modules {
|
|
|
3962
3962
|
name?: I18NProperty6;
|
|
3963
3963
|
weight?: number;
|
|
3964
3964
|
location?: string;
|
|
3965
|
-
conditions?: (
|
|
3965
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3966
3966
|
params?: {
|
|
3967
3967
|
[k: string]: unknown;
|
|
3968
3968
|
};
|
|
@@ -3977,7 +3977,7 @@ export interface Modules {
|
|
|
3977
3977
|
weight?: number;
|
|
3978
3978
|
cacheable?: boolean;
|
|
3979
3979
|
location?: string;
|
|
3980
|
-
conditions?: (
|
|
3980
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3981
3981
|
params?: {
|
|
3982
3982
|
[k: string]: unknown;
|
|
3983
3983
|
};
|
|
@@ -3991,7 +3991,7 @@ export interface Modules {
|
|
|
3991
3991
|
weight?: number;
|
|
3992
3992
|
cacheable?: boolean;
|
|
3993
3993
|
location?: string;
|
|
3994
|
-
conditions?: (
|
|
3994
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3995
3995
|
params?: {
|
|
3996
3996
|
[k: string]: unknown;
|
|
3997
3997
|
};
|
|
@@ -4015,7 +4015,7 @@ export interface Modules {
|
|
|
4015
4015
|
name?: I18NProperty10;
|
|
4016
4016
|
location?: string;
|
|
4017
4017
|
cacheable?: boolean;
|
|
4018
|
-
conditions?: (
|
|
4018
|
+
conditions?: (CompositeCondition1 | SingleCondition1)[];
|
|
4019
4019
|
key: ModuleKeySchema;
|
|
4020
4020
|
[k: string]: unknown;
|
|
4021
4021
|
},
|
|
@@ -4033,7 +4033,7 @@ export interface Modules {
|
|
|
4033
4033
|
name?: I18NProperty10;
|
|
4034
4034
|
location?: string;
|
|
4035
4035
|
cacheable?: boolean;
|
|
4036
|
-
conditions?: (
|
|
4036
|
+
conditions?: (CompositeCondition1 | SingleCondition1)[];
|
|
4037
4037
|
key: ModuleKeySchema;
|
|
4038
4038
|
[k: string]: unknown;
|
|
4039
4039
|
}[]
|
|
@@ -4173,7 +4173,7 @@ export interface Modules {
|
|
|
4173
4173
|
name?: I18NProperty17;
|
|
4174
4174
|
weight?: number;
|
|
4175
4175
|
iconUrl?: string;
|
|
4176
|
-
conditions?: (
|
|
4176
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
4177
4177
|
url?: string;
|
|
4178
4178
|
key: ModuleKeySchema;
|
|
4179
4179
|
[k: string]: unknown;
|
|
@@ -4182,7 +4182,7 @@ export interface Modules {
|
|
|
4182
4182
|
name?: I18NProperty17;
|
|
4183
4183
|
weight?: number;
|
|
4184
4184
|
iconUrl?: string;
|
|
4185
|
-
conditions?: (
|
|
4185
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
4186
4186
|
url?: string;
|
|
4187
4187
|
key: ModuleKeySchema;
|
|
4188
4188
|
[k: string]: unknown;
|
|
@@ -4240,7 +4240,7 @@ export interface Modules {
|
|
|
4240
4240
|
{
|
|
4241
4241
|
name?: I18NProperty22;
|
|
4242
4242
|
weight?: number;
|
|
4243
|
-
conditions?: (
|
|
4243
|
+
conditions?: (SingleCondition2 | CompositeCondition3)[];
|
|
4244
4244
|
params?: {
|
|
4245
4245
|
[k: string]: unknown;
|
|
4246
4246
|
};
|
|
@@ -4251,7 +4251,7 @@ export interface Modules {
|
|
|
4251
4251
|
...{
|
|
4252
4252
|
name?: I18NProperty22;
|
|
4253
4253
|
weight?: number;
|
|
4254
|
-
conditions?: (
|
|
4254
|
+
conditions?: (SingleCondition2 | CompositeCondition3)[];
|
|
4255
4255
|
params?: {
|
|
4256
4256
|
[k: string]: unknown;
|
|
4257
4257
|
};
|
|
@@ -4378,13 +4378,13 @@ export interface Modules {
|
|
|
4378
4378
|
];
|
|
4379
4379
|
'connect-jira:jiraBackgroundScripts'?: [
|
|
4380
4380
|
{
|
|
4381
|
-
location?:
|
|
4381
|
+
location?: IssueBackgroundScriptLocation | DashboardBackgroundScriptLocation;
|
|
4382
4382
|
url?: string;
|
|
4383
4383
|
key: ModuleKeySchema;
|
|
4384
4384
|
[k: string]: unknown;
|
|
4385
4385
|
},
|
|
4386
4386
|
...{
|
|
4387
|
-
location?:
|
|
4387
|
+
location?: IssueBackgroundScriptLocation | DashboardBackgroundScriptLocation;
|
|
4388
4388
|
url?: string;
|
|
4389
4389
|
key: ModuleKeySchema;
|
|
4390
4390
|
[k: string]: unknown;
|
|
@@ -4492,7 +4492,7 @@ export interface Modules {
|
|
|
4492
4492
|
{
|
|
4493
4493
|
name?: I18NProperty33;
|
|
4494
4494
|
description?: I18NProperty34;
|
|
4495
|
-
conditions?: (
|
|
4495
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
4496
4496
|
url?: string;
|
|
4497
4497
|
configurable?: boolean;
|
|
4498
4498
|
thumbnailUrl?: string;
|
|
@@ -4502,7 +4502,7 @@ export interface Modules {
|
|
|
4502
4502
|
...{
|
|
4503
4503
|
name?: I18NProperty33;
|
|
4504
4504
|
description?: I18NProperty34;
|
|
4505
|
-
conditions?: (
|
|
4505
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
4506
4506
|
url?: string;
|
|
4507
4507
|
configurable?: boolean;
|
|
4508
4508
|
thumbnailUrl?: string;
|
|
@@ -4539,7 +4539,7 @@ export interface Modules {
|
|
|
4539
4539
|
name?: I18NProperty38;
|
|
4540
4540
|
conditions?: (SingleCondition | CompositeCondition)[];
|
|
4541
4541
|
target?: IssuePageTargetWebPanel;
|
|
4542
|
-
contentPresentConditions?: (
|
|
4542
|
+
contentPresentConditions?: (SingleCondition | CompositeCondition)[];
|
|
4543
4543
|
jiraNativeAppsEnabled?: boolean;
|
|
4544
4544
|
key: ModuleKeySchema;
|
|
4545
4545
|
[k: string]: unknown;
|
|
@@ -4550,7 +4550,7 @@ export interface Modules {
|
|
|
4550
4550
|
name?: I18NProperty38;
|
|
4551
4551
|
conditions?: (SingleCondition | CompositeCondition)[];
|
|
4552
4552
|
target?: IssuePageTargetWebPanel;
|
|
4553
|
-
contentPresentConditions?: (
|
|
4553
|
+
contentPresentConditions?: (SingleCondition | CompositeCondition)[];
|
|
4554
4554
|
jiraNativeAppsEnabled?: boolean;
|
|
4555
4555
|
key: ModuleKeySchema;
|
|
4556
4556
|
[k: string]: unknown;
|
|
@@ -4582,7 +4582,7 @@ export interface Modules {
|
|
|
4582
4582
|
{
|
|
4583
4583
|
name?: I18NProperty41;
|
|
4584
4584
|
weight?: number;
|
|
4585
|
-
conditions?: (
|
|
4585
|
+
conditions?: (SingleCondition3 | CompositeCondition5)[];
|
|
4586
4586
|
params?: {
|
|
4587
4587
|
[k: string]: unknown;
|
|
4588
4588
|
};
|
|
@@ -4593,7 +4593,7 @@ export interface Modules {
|
|
|
4593
4593
|
...{
|
|
4594
4594
|
name?: I18NProperty41;
|
|
4595
4595
|
weight?: number;
|
|
4596
|
-
conditions?: (
|
|
4596
|
+
conditions?: (SingleCondition3 | CompositeCondition5)[];
|
|
4597
4597
|
params?: {
|
|
4598
4598
|
[k: string]: unknown;
|
|
4599
4599
|
};
|
|
@@ -4795,7 +4795,7 @@ export interface Modules {
|
|
|
4795
4795
|
location?: string;
|
|
4796
4796
|
cacheable?: boolean;
|
|
4797
4797
|
supportsNative?: boolean;
|
|
4798
|
-
conditions?: (
|
|
4798
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
4799
4799
|
params?: {
|
|
4800
4800
|
[k: string]: unknown;
|
|
4801
4801
|
};
|
|
@@ -4811,7 +4811,7 @@ export interface Modules {
|
|
|
4811
4811
|
location?: string;
|
|
4812
4812
|
cacheable?: boolean;
|
|
4813
4813
|
supportsNative?: boolean;
|
|
4814
|
-
conditions?: (
|
|
4814
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
4815
4815
|
params?: {
|
|
4816
4816
|
[k: string]: unknown;
|
|
4817
4817
|
};
|
|
@@ -4849,7 +4849,7 @@ export interface Modules {
|
|
|
4849
4849
|
weight?: number;
|
|
4850
4850
|
cacheable?: boolean;
|
|
4851
4851
|
location?: string;
|
|
4852
|
-
conditions?: (
|
|
4852
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
4853
4853
|
params?: {
|
|
4854
4854
|
[k: string]: unknown;
|
|
4855
4855
|
};
|
|
@@ -4863,7 +4863,7 @@ export interface Modules {
|
|
|
4863
4863
|
weight?: number;
|
|
4864
4864
|
cacheable?: boolean;
|
|
4865
4865
|
location?: string;
|
|
4866
|
-
conditions?: (
|
|
4866
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
4867
4867
|
params?: {
|
|
4868
4868
|
[k: string]: unknown;
|
|
4869
4869
|
};
|
|
@@ -4878,7 +4878,7 @@ export interface Modules {
|
|
|
4878
4878
|
name?: I18NProperty55;
|
|
4879
4879
|
weight?: number;
|
|
4880
4880
|
location?: string;
|
|
4881
|
-
conditions?: (
|
|
4881
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
4882
4882
|
params?: {
|
|
4883
4883
|
[k: string]: unknown;
|
|
4884
4884
|
};
|
|
@@ -4890,7 +4890,7 @@ export interface Modules {
|
|
|
4890
4890
|
name?: I18NProperty55;
|
|
4891
4891
|
weight?: number;
|
|
4892
4892
|
location?: string;
|
|
4893
|
-
conditions?: (
|
|
4893
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
4894
4894
|
params?: {
|
|
4895
4895
|
[k: string]: unknown;
|
|
4896
4896
|
};
|
|
@@ -4905,7 +4905,7 @@ export interface Modules {
|
|
|
4905
4905
|
weight?: number;
|
|
4906
4906
|
cacheable?: boolean;
|
|
4907
4907
|
location?: string;
|
|
4908
|
-
conditions?: (
|
|
4908
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
4909
4909
|
params?: {
|
|
4910
4910
|
[k: string]: unknown;
|
|
4911
4911
|
};
|
|
@@ -4919,7 +4919,7 @@ export interface Modules {
|
|
|
4919
4919
|
weight?: number;
|
|
4920
4920
|
cacheable?: boolean;
|
|
4921
4921
|
location?: string;
|
|
4922
|
-
conditions?: (
|
|
4922
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
4923
4923
|
params?: {
|
|
4924
4924
|
[k: string]: unknown;
|
|
4925
4925
|
};
|
|
@@ -4943,7 +4943,7 @@ export interface Modules {
|
|
|
4943
4943
|
name?: I18NProperty59;
|
|
4944
4944
|
location?: string;
|
|
4945
4945
|
cacheable?: boolean;
|
|
4946
|
-
conditions?: (
|
|
4946
|
+
conditions?: (CompositeCondition7 | SingleCondition4)[];
|
|
4947
4947
|
key: ModuleKeySchema;
|
|
4948
4948
|
[k: string]: unknown;
|
|
4949
4949
|
},
|
|
@@ -4961,7 +4961,7 @@ export interface Modules {
|
|
|
4961
4961
|
name?: I18NProperty59;
|
|
4962
4962
|
location?: string;
|
|
4963
4963
|
cacheable?: boolean;
|
|
4964
|
-
conditions?: (
|
|
4964
|
+
conditions?: (CompositeCondition7 | SingleCondition4)[];
|
|
4965
4965
|
key: ModuleKeySchema;
|
|
4966
4966
|
[k: string]: unknown;
|
|
4967
4967
|
}[]
|
|
@@ -5247,7 +5247,7 @@ export interface Modules {
|
|
|
5247
5247
|
icon?: Icon18;
|
|
5248
5248
|
name?: I18NProperty91;
|
|
5249
5249
|
cacheable?: boolean;
|
|
5250
|
-
conditions?: (
|
|
5250
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
5251
5251
|
params?: {
|
|
5252
5252
|
[k: string]: unknown;
|
|
5253
5253
|
};
|
|
@@ -5263,7 +5263,7 @@ export interface Modules {
|
|
|
5263
5263
|
icon?: Icon18;
|
|
5264
5264
|
name?: I18NProperty91;
|
|
5265
5265
|
cacheable?: boolean;
|
|
5266
|
-
conditions?: (
|
|
5266
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
5267
5267
|
params?: {
|
|
5268
5268
|
[k: string]: unknown;
|
|
5269
5269
|
};
|
|
@@ -6132,37 +6132,6 @@ export interface I18NProperty10 {
|
|
|
6132
6132
|
i18n?: string;
|
|
6133
6133
|
[k: string]: unknown;
|
|
6134
6134
|
}
|
|
6135
|
-
/**
|
|
6136
|
-
*
|
|
6137
|
-
*
|
|
6138
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6139
|
-
* [Conditions](../../conditions/) for more information.
|
|
6140
|
-
*
|
|
6141
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6142
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6143
|
-
*
|
|
6144
|
-
* <h3>Example</h3>
|
|
6145
|
-
*
|
|
6146
|
-
*
|
|
6147
|
-
*
|
|
6148
|
-
*
|
|
6149
|
-
*
|
|
6150
|
-
* {
|
|
6151
|
-
* "condition": "user_is_logged_in",
|
|
6152
|
-
* "invert": false
|
|
6153
|
-
* }
|
|
6154
|
-
*
|
|
6155
|
-
*
|
|
6156
|
-
*
|
|
6157
|
-
*/
|
|
6158
|
-
export interface SingleCondition1 {
|
|
6159
|
-
condition: string;
|
|
6160
|
-
invert?: boolean;
|
|
6161
|
-
params?: {
|
|
6162
|
-
[k: string]: unknown;
|
|
6163
|
-
};
|
|
6164
|
-
[k: string]: unknown;
|
|
6165
|
-
}
|
|
6166
6135
|
/**
|
|
6167
6136
|
*
|
|
6168
6137
|
*
|
|
@@ -6245,6 +6214,37 @@ export interface CompositeCondition2 {
|
|
|
6245
6214
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
6246
6215
|
[k: string]: unknown;
|
|
6247
6216
|
}
|
|
6217
|
+
/**
|
|
6218
|
+
*
|
|
6219
|
+
*
|
|
6220
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6221
|
+
* [Conditions](../../conditions/) for more information.
|
|
6222
|
+
*
|
|
6223
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6224
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6225
|
+
*
|
|
6226
|
+
* <h3>Example</h3>
|
|
6227
|
+
*
|
|
6228
|
+
*
|
|
6229
|
+
*
|
|
6230
|
+
*
|
|
6231
|
+
*
|
|
6232
|
+
* {
|
|
6233
|
+
* "condition": "user_is_logged_in",
|
|
6234
|
+
* "invert": false
|
|
6235
|
+
* }
|
|
6236
|
+
*
|
|
6237
|
+
*
|
|
6238
|
+
*
|
|
6239
|
+
*/
|
|
6240
|
+
export interface SingleCondition1 {
|
|
6241
|
+
condition: string;
|
|
6242
|
+
invert?: boolean;
|
|
6243
|
+
params?: {
|
|
6244
|
+
[k: string]: unknown;
|
|
6245
|
+
};
|
|
6246
|
+
[k: string]: unknown;
|
|
6247
|
+
}
|
|
6248
6248
|
/**
|
|
6249
6249
|
*
|
|
6250
6250
|
*
|
|
@@ -6785,6 +6785,37 @@ export interface I18NProperty22 {
|
|
|
6785
6785
|
i18n?: string;
|
|
6786
6786
|
[k: string]: unknown;
|
|
6787
6787
|
}
|
|
6788
|
+
/**
|
|
6789
|
+
*
|
|
6790
|
+
*
|
|
6791
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6792
|
+
* [Conditions](../../conditions/) for more information.
|
|
6793
|
+
*
|
|
6794
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6795
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6796
|
+
*
|
|
6797
|
+
* <h3>Example</h3>
|
|
6798
|
+
*
|
|
6799
|
+
*
|
|
6800
|
+
*
|
|
6801
|
+
*
|
|
6802
|
+
*
|
|
6803
|
+
* {
|
|
6804
|
+
* "condition": "user_is_logged_in",
|
|
6805
|
+
* "invert": false
|
|
6806
|
+
* }
|
|
6807
|
+
*
|
|
6808
|
+
*
|
|
6809
|
+
*
|
|
6810
|
+
*/
|
|
6811
|
+
export interface SingleCondition2 {
|
|
6812
|
+
condition: string;
|
|
6813
|
+
invert?: boolean;
|
|
6814
|
+
params?: {
|
|
6815
|
+
[k: string]: unknown;
|
|
6816
|
+
};
|
|
6817
|
+
[k: string]: unknown;
|
|
6818
|
+
}
|
|
6788
6819
|
/**
|
|
6789
6820
|
*
|
|
6790
6821
|
*
|
|
@@ -6822,7 +6853,7 @@ export interface I18NProperty22 {
|
|
|
6822
6853
|
*
|
|
6823
6854
|
*/
|
|
6824
6855
|
export interface CompositeCondition3 {
|
|
6825
|
-
conditions?: (
|
|
6856
|
+
conditions?: (CompositeCondition4 | SingleCondition)[];
|
|
6826
6857
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
6827
6858
|
[k: string]: unknown;
|
|
6828
6859
|
}
|
|
@@ -6863,41 +6894,10 @@ export interface CompositeCondition3 {
|
|
|
6863
6894
|
*
|
|
6864
6895
|
*/
|
|
6865
6896
|
export interface CompositeCondition4 {
|
|
6866
|
-
conditions?: (
|
|
6897
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
6867
6898
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
6868
6899
|
[k: string]: unknown;
|
|
6869
6900
|
}
|
|
6870
|
-
/**
|
|
6871
|
-
*
|
|
6872
|
-
*
|
|
6873
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6874
|
-
* [Conditions](../../conditions/) for more information.
|
|
6875
|
-
*
|
|
6876
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6877
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6878
|
-
*
|
|
6879
|
-
* <h3>Example</h3>
|
|
6880
|
-
*
|
|
6881
|
-
*
|
|
6882
|
-
*
|
|
6883
|
-
*
|
|
6884
|
-
*
|
|
6885
|
-
* {
|
|
6886
|
-
* "condition": "user_is_logged_in",
|
|
6887
|
-
* "invert": false
|
|
6888
|
-
* }
|
|
6889
|
-
*
|
|
6890
|
-
*
|
|
6891
|
-
*
|
|
6892
|
-
*/
|
|
6893
|
-
export interface SingleCondition2 {
|
|
6894
|
-
condition: string;
|
|
6895
|
-
invert?: boolean;
|
|
6896
|
-
params?: {
|
|
6897
|
-
[k: string]: unknown;
|
|
6898
|
-
};
|
|
6899
|
-
[k: string]: unknown;
|
|
6900
|
-
}
|
|
6901
6901
|
/**
|
|
6902
6902
|
*
|
|
6903
6903
|
*
|
|
@@ -7135,24 +7135,24 @@ export interface URL5 {
|
|
|
7135
7135
|
/**
|
|
7136
7136
|
*
|
|
7137
7137
|
*
|
|
7138
|
-
* Describes the location of the
|
|
7138
|
+
* Describes the location of the issue background script module.
|
|
7139
7139
|
*
|
|
7140
7140
|
*
|
|
7141
7141
|
*/
|
|
7142
|
-
export interface
|
|
7142
|
+
export interface IssueBackgroundScriptLocation {
|
|
7143
7143
|
type: 'issue_view' | 'ISSUE_VIEW' | 'dashboard' | 'DASHBOARD';
|
|
7144
|
+
shouldReloadOnRefresh?: boolean;
|
|
7144
7145
|
[k: string]: unknown;
|
|
7145
7146
|
}
|
|
7146
7147
|
/**
|
|
7147
7148
|
*
|
|
7148
7149
|
*
|
|
7149
|
-
* Describes the location of the
|
|
7150
|
+
* Describes the location of the dashboard background script module.
|
|
7150
7151
|
*
|
|
7151
7152
|
*
|
|
7152
7153
|
*/
|
|
7153
|
-
export interface
|
|
7154
|
+
export interface DashboardBackgroundScriptLocation {
|
|
7154
7155
|
type: 'issue_view' | 'ISSUE_VIEW' | 'dashboard' | 'DASHBOARD';
|
|
7155
|
-
shouldReloadOnRefresh?: boolean;
|
|
7156
7156
|
[k: string]: unknown;
|
|
7157
7157
|
}
|
|
7158
7158
|
/**
|
|
@@ -7541,6 +7541,37 @@ export interface I18NProperty41 {
|
|
|
7541
7541
|
i18n?: string;
|
|
7542
7542
|
[k: string]: unknown;
|
|
7543
7543
|
}
|
|
7544
|
+
/**
|
|
7545
|
+
*
|
|
7546
|
+
*
|
|
7547
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
7548
|
+
* [Conditions](../../conditions/) for more information.
|
|
7549
|
+
*
|
|
7550
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
7551
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
7552
|
+
*
|
|
7553
|
+
* <h3>Example</h3>
|
|
7554
|
+
*
|
|
7555
|
+
*
|
|
7556
|
+
*
|
|
7557
|
+
*
|
|
7558
|
+
*
|
|
7559
|
+
* {
|
|
7560
|
+
* "condition": "user_is_logged_in",
|
|
7561
|
+
* "invert": false
|
|
7562
|
+
* }
|
|
7563
|
+
*
|
|
7564
|
+
*
|
|
7565
|
+
*
|
|
7566
|
+
*/
|
|
7567
|
+
export interface SingleCondition3 {
|
|
7568
|
+
condition: string;
|
|
7569
|
+
invert?: boolean;
|
|
7570
|
+
params?: {
|
|
7571
|
+
[k: string]: unknown;
|
|
7572
|
+
};
|
|
7573
|
+
[k: string]: unknown;
|
|
7574
|
+
}
|
|
7544
7575
|
/**
|
|
7545
7576
|
*
|
|
7546
7577
|
*
|
|
@@ -7578,7 +7609,7 @@ export interface I18NProperty41 {
|
|
|
7578
7609
|
*
|
|
7579
7610
|
*/
|
|
7580
7611
|
export interface CompositeCondition5 {
|
|
7581
|
-
conditions?: (
|
|
7612
|
+
conditions?: (CompositeCondition6 | SingleCondition)[];
|
|
7582
7613
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
7583
7614
|
[k: string]: unknown;
|
|
7584
7615
|
}
|
|
@@ -7619,41 +7650,10 @@ export interface CompositeCondition5 {
|
|
|
7619
7650
|
*
|
|
7620
7651
|
*/
|
|
7621
7652
|
export interface CompositeCondition6 {
|
|
7622
|
-
conditions?: (
|
|
7653
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
7623
7654
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
7624
7655
|
[k: string]: unknown;
|
|
7625
7656
|
}
|
|
7626
|
-
/**
|
|
7627
|
-
*
|
|
7628
|
-
*
|
|
7629
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
7630
|
-
* [Conditions](../../conditions/) for more information.
|
|
7631
|
-
*
|
|
7632
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
7633
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
7634
|
-
*
|
|
7635
|
-
* <h3>Example</h3>
|
|
7636
|
-
*
|
|
7637
|
-
*
|
|
7638
|
-
*
|
|
7639
|
-
*
|
|
7640
|
-
*
|
|
7641
|
-
* {
|
|
7642
|
-
* "condition": "user_is_logged_in",
|
|
7643
|
-
* "invert": false
|
|
7644
|
-
* }
|
|
7645
|
-
*
|
|
7646
|
-
*
|
|
7647
|
-
*
|
|
7648
|
-
*/
|
|
7649
|
-
export interface SingleCondition3 {
|
|
7650
|
-
condition: string;
|
|
7651
|
-
invert?: boolean;
|
|
7652
|
-
params?: {
|
|
7653
|
-
[k: string]: unknown;
|
|
7654
|
-
};
|
|
7655
|
-
[k: string]: unknown;
|
|
7656
|
-
}
|
|
7657
7657
|
/**
|
|
7658
7658
|
*
|
|
7659
7659
|
*
|
|
@@ -8514,37 +8514,6 @@ export interface I18NProperty59 {
|
|
|
8514
8514
|
i18n?: string;
|
|
8515
8515
|
[k: string]: unknown;
|
|
8516
8516
|
}
|
|
8517
|
-
/**
|
|
8518
|
-
*
|
|
8519
|
-
*
|
|
8520
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
8521
|
-
* [Conditions](../../conditions/) for more information.
|
|
8522
|
-
*
|
|
8523
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
8524
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
8525
|
-
*
|
|
8526
|
-
* <h3>Example</h3>
|
|
8527
|
-
*
|
|
8528
|
-
*
|
|
8529
|
-
*
|
|
8530
|
-
*
|
|
8531
|
-
*
|
|
8532
|
-
* {
|
|
8533
|
-
* "condition": "user_is_logged_in",
|
|
8534
|
-
* "invert": false
|
|
8535
|
-
* }
|
|
8536
|
-
*
|
|
8537
|
-
*
|
|
8538
|
-
*
|
|
8539
|
-
*/
|
|
8540
|
-
export interface SingleCondition4 {
|
|
8541
|
-
condition: string;
|
|
8542
|
-
invert?: boolean;
|
|
8543
|
-
params?: {
|
|
8544
|
-
[k: string]: unknown;
|
|
8545
|
-
};
|
|
8546
|
-
[k: string]: unknown;
|
|
8547
|
-
}
|
|
8548
8517
|
/**
|
|
8549
8518
|
*
|
|
8550
8519
|
*
|
|
@@ -8627,6 +8596,37 @@ export interface CompositeCondition8 {
|
|
|
8627
8596
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
8628
8597
|
[k: string]: unknown;
|
|
8629
8598
|
}
|
|
8599
|
+
/**
|
|
8600
|
+
*
|
|
8601
|
+
*
|
|
8602
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
8603
|
+
* [Conditions](../../conditions/) for more information.
|
|
8604
|
+
*
|
|
8605
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
8606
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
8607
|
+
*
|
|
8608
|
+
* <h3>Example</h3>
|
|
8609
|
+
*
|
|
8610
|
+
*
|
|
8611
|
+
*
|
|
8612
|
+
*
|
|
8613
|
+
*
|
|
8614
|
+
* {
|
|
8615
|
+
* "condition": "user_is_logged_in",
|
|
8616
|
+
* "invert": false
|
|
8617
|
+
* }
|
|
8618
|
+
*
|
|
8619
|
+
*
|
|
8620
|
+
*
|
|
8621
|
+
*/
|
|
8622
|
+
export interface SingleCondition4 {
|
|
8623
|
+
condition: string;
|
|
8624
|
+
invert?: boolean;
|
|
8625
|
+
params?: {
|
|
8626
|
+
[k: string]: unknown;
|
|
8627
|
+
};
|
|
8628
|
+
[k: string]: unknown;
|
|
8629
|
+
}
|
|
8630
8630
|
/**
|
|
8631
8631
|
*
|
|
8632
8632
|
*
|
|
@@ -9401,7 +9401,7 @@ export interface I18NProperty66 {
|
|
|
9401
9401
|
*
|
|
9402
9402
|
*
|
|
9403
9403
|
*
|
|
9404
|
-
* When user clicks the title of the corresponding custom content in the search result.
|
|
9404
|
+
* When a user clicks the title of the corresponding custom content in the search result.
|
|
9405
9405
|
* <code>/my-general-page</code> will be rendered in a iframe with following context parameters being passed.<br>
|
|
9406
9406
|
* <ul>
|
|
9407
9407
|
* <li><code>content.plugin</code>: The content type key of the content. eg: <code>ac:addon-key:module-key</code></li>
|
|
@@ -9884,8 +9884,8 @@ export interface I18NProperty71 {
|
|
|
9884
9884
|
* <h3>Custom content example</h3>
|
|
9885
9885
|
* The following snippet shows the content type we're defining can:
|
|
9886
9886
|
* <ul>
|
|
9887
|
-
* <li>Be contained in a content with type <code>type1</code> or <code>type2</code>, defined in
|
|
9888
|
-
* <li>Have a child of a content with type <code>type1</code> or <code>type2</code>, defined in
|
|
9887
|
+
* <li>Be contained in a content item with type <code>type1</code> or <code>type2</code>, defined in the app with the key <code>my-first-addon</code></li>
|
|
9888
|
+
* <li>Have a child of a content item with type <code>type1</code> or <code>type2</code>, defined in the app with the key <code>my-second-addon</code></li>
|
|
9889
9889
|
* </ul>
|
|
9890
9890
|
*
|
|
9891
9891
|
*
|
|
@@ -31717,7 +31717,7 @@ export interface I18NProperty83 {
|
|
|
31717
31717
|
*
|
|
31718
31718
|
*/
|
|
31719
31719
|
export interface MacroPropertyPanel1 {
|
|
31720
|
-
controls?: (ToggleGroup1 |
|
|
31720
|
+
controls?: (ToggleGroup1 | TextControl1 | ControlGroup1 | ButtonControl3)[];
|
|
31721
31721
|
cacheable?: boolean;
|
|
31722
31722
|
url: string;
|
|
31723
31723
|
[k: string]: unknown;
|
|
@@ -31824,7 +31824,7 @@ export interface I18NProperty84 {
|
|
|
31824
31824
|
/**
|
|
31825
31825
|
*
|
|
31826
31826
|
*
|
|
31827
|
-
* Defines a
|
|
31827
|
+
* Defines a text field which may appear in control extension points such as the property panel
|
|
31828
31828
|
*
|
|
31829
31829
|
* <p><b>Example</b></p>
|
|
31830
31830
|
*
|
|
@@ -31843,40 +31843,57 @@ export interface I18NProperty84 {
|
|
|
31843
31843
|
*
|
|
31844
31844
|
*
|
|
31845
31845
|
*/
|
|
31846
|
-
export interface
|
|
31847
|
-
|
|
31848
|
-
type: '
|
|
31846
|
+
export interface TextControl1 {
|
|
31847
|
+
macroParameter: string;
|
|
31848
|
+
type: 'text' | 'TEXT';
|
|
31849
31849
|
key: string;
|
|
31850
31850
|
[k: string]: unknown;
|
|
31851
31851
|
}
|
|
31852
31852
|
/**
|
|
31853
31853
|
*
|
|
31854
31854
|
*
|
|
31855
|
-
*
|
|
31856
|
-
* and value in multiple places if you like, but identical keys must have identical values.
|
|
31855
|
+
* Defines a ControlGroup which may appear in control extension points such as the property panel
|
|
31857
31856
|
*
|
|
31858
|
-
* <
|
|
31857
|
+
* <p><b>Example</b></p>
|
|
31859
31858
|
*
|
|
31860
31859
|
*
|
|
31861
31860
|
*
|
|
31862
31861
|
*
|
|
31863
31862
|
*
|
|
31864
|
-
*
|
|
31865
|
-
*
|
|
31866
|
-
*
|
|
31863
|
+
* [
|
|
31864
|
+
* {
|
|
31865
|
+
* "type": "group",
|
|
31866
|
+
* "controls": [
|
|
31867
|
+
* {
|
|
31868
|
+
* "type": "button",
|
|
31869
|
+
* "label": {
|
|
31870
|
+
* "value": "My Custom Control 0"
|
|
31871
|
+
* },
|
|
31872
|
+
* "key": "my-custom-control-0"
|
|
31873
|
+
* },
|
|
31874
|
+
* {
|
|
31875
|
+
* "type": "button",
|
|
31876
|
+
* "label": {
|
|
31877
|
+
* "value": "My Custom Control 1"
|
|
31878
|
+
* },
|
|
31879
|
+
* "key": "my-custom-control-1"
|
|
31880
|
+
* }
|
|
31881
|
+
* ]
|
|
31882
|
+
* }
|
|
31883
|
+
* ]
|
|
31867
31884
|
*
|
|
31868
31885
|
*
|
|
31869
31886
|
*
|
|
31870
31887
|
*/
|
|
31871
|
-
export interface
|
|
31872
|
-
|
|
31873
|
-
|
|
31888
|
+
export interface ControlGroup1 {
|
|
31889
|
+
controls: ButtonControl2[];
|
|
31890
|
+
type: 'group' | 'GROUP';
|
|
31874
31891
|
[k: string]: unknown;
|
|
31875
31892
|
}
|
|
31876
31893
|
/**
|
|
31877
31894
|
*
|
|
31878
31895
|
*
|
|
31879
|
-
* Defines a
|
|
31896
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
31880
31897
|
*
|
|
31881
31898
|
* <p><b>Example</b></p>
|
|
31882
31899
|
*
|
|
@@ -31895,51 +31912,34 @@ export interface I18NProperty85 {
|
|
|
31895
31912
|
*
|
|
31896
31913
|
*
|
|
31897
31914
|
*/
|
|
31898
|
-
export interface
|
|
31899
|
-
|
|
31900
|
-
type: '
|
|
31915
|
+
export interface ButtonControl2 {
|
|
31916
|
+
label: I18NProperty85;
|
|
31917
|
+
type: 'button' | 'BUTTON';
|
|
31901
31918
|
key: string;
|
|
31902
31919
|
[k: string]: unknown;
|
|
31903
31920
|
}
|
|
31904
31921
|
/**
|
|
31905
31922
|
*
|
|
31906
31923
|
*
|
|
31907
|
-
*
|
|
31924
|
+
* Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
|
|
31925
|
+
* and value in multiple places if you like, but identical keys must have identical values.
|
|
31908
31926
|
*
|
|
31909
|
-
* <
|
|
31927
|
+
* <h3>Example</h3>
|
|
31910
31928
|
*
|
|
31911
31929
|
*
|
|
31912
31930
|
*
|
|
31913
31931
|
*
|
|
31914
31932
|
*
|
|
31915
|
-
*
|
|
31916
|
-
*
|
|
31917
|
-
*
|
|
31918
|
-
* "controls": [
|
|
31919
|
-
* {
|
|
31920
|
-
* "type": "button",
|
|
31921
|
-
* "label": {
|
|
31922
|
-
* "value": "My Custom Control 0"
|
|
31923
|
-
* },
|
|
31924
|
-
* "key": "my-custom-control-0"
|
|
31925
|
-
* },
|
|
31926
|
-
* {
|
|
31927
|
-
* "type": "button",
|
|
31928
|
-
* "label": {
|
|
31929
|
-
* "value": "My Custom Control 1"
|
|
31930
|
-
* },
|
|
31931
|
-
* "key": "my-custom-control-1"
|
|
31932
|
-
* }
|
|
31933
|
-
* ]
|
|
31934
|
-
* }
|
|
31935
|
-
* ]
|
|
31933
|
+
* {
|
|
31934
|
+
* "value": "My text"
|
|
31935
|
+
* }
|
|
31936
31936
|
*
|
|
31937
31937
|
*
|
|
31938
31938
|
*
|
|
31939
31939
|
*/
|
|
31940
|
-
export interface
|
|
31941
|
-
|
|
31942
|
-
|
|
31940
|
+
export interface I18NProperty85 {
|
|
31941
|
+
value: string;
|
|
31942
|
+
i18n?: string;
|
|
31943
31943
|
[k: string]: unknown;
|
|
31944
31944
|
}
|
|
31945
31945
|
/**
|
|
@@ -52843,74 +52843,10 @@ export interface I18NProperty91 {
|
|
|
52843
52843
|
*
|
|
52844
52844
|
*/
|
|
52845
52845
|
export interface WebItemTarget2 {
|
|
52846
|
-
options?:
|
|
52846
|
+
options?: DialogOptions4 | DialogModuleOptions2 | InlineDialogOptions2;
|
|
52847
52847
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
52848
52848
|
[k: string]: unknown;
|
|
52849
52849
|
}
|
|
52850
|
-
/**
|
|
52851
|
-
*
|
|
52852
|
-
*
|
|
52853
|
-
* Options for an inline dialog target
|
|
52854
|
-
*
|
|
52855
|
-
* <h3>Example</h3>
|
|
52856
|
-
*
|
|
52857
|
-
*
|
|
52858
|
-
*
|
|
52859
|
-
*
|
|
52860
|
-
*
|
|
52861
|
-
* {
|
|
52862
|
-
* "target": {
|
|
52863
|
-
* "type": "inlinedialog",
|
|
52864
|
-
* "options": {
|
|
52865
|
-
* "onHover": true,
|
|
52866
|
-
* "offsetX": "30px",
|
|
52867
|
-
* "offsetY": "20px"
|
|
52868
|
-
* }
|
|
52869
|
-
* }
|
|
52870
|
-
* }
|
|
52871
|
-
*
|
|
52872
|
-
*
|
|
52873
|
-
*
|
|
52874
|
-
*/
|
|
52875
|
-
export interface InlineDialogOptions2 {
|
|
52876
|
-
offsetX?: string;
|
|
52877
|
-
offsetY?: string;
|
|
52878
|
-
width?: string;
|
|
52879
|
-
onTop?: boolean;
|
|
52880
|
-
showDelay?: number;
|
|
52881
|
-
closeOthers?: boolean;
|
|
52882
|
-
persistent?: boolean;
|
|
52883
|
-
onHover?: boolean;
|
|
52884
|
-
isRelativeToMouse?: boolean;
|
|
52885
|
-
[k: string]: unknown;
|
|
52886
|
-
}
|
|
52887
|
-
/**
|
|
52888
|
-
*
|
|
52889
|
-
*
|
|
52890
|
-
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
52891
|
-
*
|
|
52892
|
-
* <h3>Example</h3>
|
|
52893
|
-
*
|
|
52894
|
-
*
|
|
52895
|
-
*
|
|
52896
|
-
*
|
|
52897
|
-
*
|
|
52898
|
-
* {
|
|
52899
|
-
* "target": {
|
|
52900
|
-
* "type": "dialogmodule",
|
|
52901
|
-
* "options": {
|
|
52902
|
-
* "key": "dialog-module-key"
|
|
52903
|
-
* }
|
|
52904
|
-
* }
|
|
52905
|
-
* }
|
|
52906
|
-
*
|
|
52907
|
-
*
|
|
52908
|
-
*
|
|
52909
|
-
*/
|
|
52910
|
-
export interface DialogModuleOptions2 {
|
|
52911
|
-
key: string;
|
|
52912
|
-
[k: string]: unknown;
|
|
52913
|
-
}
|
|
52914
52850
|
/**
|
|
52915
52851
|
*
|
|
52916
52852
|
*
|
|
@@ -53009,6 +52945,70 @@ export interface I18NProperty92 {
|
|
|
53009
52945
|
i18n?: string;
|
|
53010
52946
|
[k: string]: unknown;
|
|
53011
52947
|
}
|
|
52948
|
+
/**
|
|
52949
|
+
*
|
|
52950
|
+
*
|
|
52951
|
+
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
52952
|
+
*
|
|
52953
|
+
* <h3>Example</h3>
|
|
52954
|
+
*
|
|
52955
|
+
*
|
|
52956
|
+
*
|
|
52957
|
+
*
|
|
52958
|
+
*
|
|
52959
|
+
* {
|
|
52960
|
+
* "target": {
|
|
52961
|
+
* "type": "dialogmodule",
|
|
52962
|
+
* "options": {
|
|
52963
|
+
* "key": "dialog-module-key"
|
|
52964
|
+
* }
|
|
52965
|
+
* }
|
|
52966
|
+
* }
|
|
52967
|
+
*
|
|
52968
|
+
*
|
|
52969
|
+
*
|
|
52970
|
+
*/
|
|
52971
|
+
export interface DialogModuleOptions2 {
|
|
52972
|
+
key: string;
|
|
52973
|
+
[k: string]: unknown;
|
|
52974
|
+
}
|
|
52975
|
+
/**
|
|
52976
|
+
*
|
|
52977
|
+
*
|
|
52978
|
+
* Options for an inline dialog target
|
|
52979
|
+
*
|
|
52980
|
+
* <h3>Example</h3>
|
|
52981
|
+
*
|
|
52982
|
+
*
|
|
52983
|
+
*
|
|
52984
|
+
*
|
|
52985
|
+
*
|
|
52986
|
+
* {
|
|
52987
|
+
* "target": {
|
|
52988
|
+
* "type": "inlinedialog",
|
|
52989
|
+
* "options": {
|
|
52990
|
+
* "onHover": true,
|
|
52991
|
+
* "offsetX": "30px",
|
|
52992
|
+
* "offsetY": "20px"
|
|
52993
|
+
* }
|
|
52994
|
+
* }
|
|
52995
|
+
* }
|
|
52996
|
+
*
|
|
52997
|
+
*
|
|
52998
|
+
*
|
|
52999
|
+
*/
|
|
53000
|
+
export interface InlineDialogOptions2 {
|
|
53001
|
+
offsetX?: string;
|
|
53002
|
+
offsetY?: string;
|
|
53003
|
+
width?: string;
|
|
53004
|
+
onTop?: boolean;
|
|
53005
|
+
showDelay?: number;
|
|
53006
|
+
closeOthers?: boolean;
|
|
53007
|
+
persistent?: boolean;
|
|
53008
|
+
onHover?: boolean;
|
|
53009
|
+
isRelativeToMouse?: boolean;
|
|
53010
|
+
[k: string]: unknown;
|
|
53011
|
+
}
|
|
53012
53012
|
/**
|
|
53013
53013
|
*
|
|
53014
53014
|
*
|