@forge/manifest 4.3.0-next.4 → 4.3.1-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 4.3.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - d6ec15d: Update manifest definitions
8
+
9
+ ## 4.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 0871a3b: Added validation for Confluence keyboard shortcuts to disallow multiple non-modifier keys and enforce that modifier keys precede the main key being modified.
14
+
15
+ ### Patch Changes
16
+
17
+ - 1c51c99: Add scope mappings for Confluence page and blogpost events
18
+ - f8d567a: Update manifest definitions
19
+ - 47a47a4: Update manifest definitions
20
+ - aa3a70e: Update manifest definitions
21
+
3
22
  ## 4.3.0-next.4
4
23
 
5
24
  ### Patch Changes
@@ -12619,26 +12619,402 @@
12619
12619
  }
12620
12620
  },
12621
12621
  "DisplayConditions": {
12622
- "additionalProperties": false,
12623
- "properties": {
12624
- "componentTypes": {
12625
- "items": {
12626
- "enum": [
12627
- "APPLICATION",
12628
- "LIBRARY",
12629
- "OTHER",
12630
- "SERVICE"
12631
- ],
12632
- "type": "string"
12622
+ "anyOf": [
12623
+ {
12624
+ "additionalProperties": false,
12625
+ "properties": {
12626
+ "customFieldName": {
12627
+ "title": "customFieldName",
12628
+ "type": "string"
12629
+ },
12630
+ "customFieldValue": {
12631
+ "title": "customFieldValue",
12632
+ "type": "string"
12633
+ }
12633
12634
  },
12634
- "title": "componentTypes",
12635
- "type": "array"
12635
+ "required": [
12636
+ "customFieldName",
12637
+ "customFieldValue"
12638
+ ],
12639
+ "type": "object"
12640
+ },
12641
+ {
12642
+ "additionalProperties": false,
12643
+ "properties": {
12644
+ "componentTypes": {
12645
+ "anyOf": [
12646
+ {
12647
+ "items": {
12648
+ "enum": [
12649
+ "APPLICATION",
12650
+ "LIBRARY",
12651
+ "OTHER",
12652
+ "SERVICE"
12653
+ ],
12654
+ "type": "string"
12655
+ },
12656
+ "type": "array"
12657
+ },
12658
+ {
12659
+ "enum": [
12660
+ "APPLICATION",
12661
+ "LIBRARY",
12662
+ "OTHER",
12663
+ "SERVICE"
12664
+ ],
12665
+ "type": "string"
12666
+ }
12667
+ ],
12668
+ "title": "componentTypes"
12669
+ }
12670
+ },
12671
+ "required": [
12672
+ "componentTypes"
12673
+ ],
12674
+ "type": "object"
12675
+ },
12676
+ {
12677
+ "additionalProperties": false,
12678
+ "properties": {
12679
+ "not": {
12680
+ "anyOf": [
12681
+ {
12682
+ "additionalProperties": false,
12683
+ "properties": {
12684
+ "customFieldName": {
12685
+ "title": "customFieldName",
12686
+ "type": "string"
12687
+ },
12688
+ "customFieldValue": {
12689
+ "title": "customFieldValue",
12690
+ "type": "string"
12691
+ }
12692
+ },
12693
+ "required": [
12694
+ "customFieldName",
12695
+ "customFieldValue"
12696
+ ],
12697
+ "type": "object"
12698
+ },
12699
+ {
12700
+ "additionalProperties": false,
12701
+ "properties": {
12702
+ "componentTypes": {
12703
+ "anyOf": [
12704
+ {
12705
+ "items": {
12706
+ "enum": [
12707
+ "APPLICATION",
12708
+ "LIBRARY",
12709
+ "OTHER",
12710
+ "SERVICE"
12711
+ ],
12712
+ "type": "string"
12713
+ },
12714
+ "type": "array"
12715
+ },
12716
+ {
12717
+ "enum": [
12718
+ "APPLICATION",
12719
+ "LIBRARY",
12720
+ "OTHER",
12721
+ "SERVICE"
12722
+ ],
12723
+ "type": "string"
12724
+ }
12725
+ ],
12726
+ "title": "componentTypes"
12727
+ }
12728
+ },
12729
+ "required": [
12730
+ "componentTypes"
12731
+ ],
12732
+ "type": "object"
12733
+ }
12734
+ ],
12735
+ "title": "not"
12736
+ }
12737
+ },
12738
+ "required": [
12739
+ "not"
12740
+ ],
12741
+ "type": "object"
12742
+ },
12743
+ {
12744
+ "additionalProperties": false,
12745
+ "properties": {
12746
+ "or": {
12747
+ "items": {
12748
+ "anyOf": [
12749
+ {
12750
+ "additionalProperties": false,
12751
+ "properties": {
12752
+ "customFieldName": {
12753
+ "title": "customFieldName",
12754
+ "type": "string"
12755
+ },
12756
+ "customFieldValue": {
12757
+ "title": "customFieldValue",
12758
+ "type": "string"
12759
+ }
12760
+ },
12761
+ "required": [
12762
+ "customFieldName",
12763
+ "customFieldValue"
12764
+ ],
12765
+ "type": "object"
12766
+ },
12767
+ {
12768
+ "additionalProperties": false,
12769
+ "properties": {
12770
+ "componentTypes": {
12771
+ "anyOf": [
12772
+ {
12773
+ "items": {
12774
+ "enum": [
12775
+ "APPLICATION",
12776
+ "LIBRARY",
12777
+ "OTHER",
12778
+ "SERVICE"
12779
+ ],
12780
+ "type": "string"
12781
+ },
12782
+ "type": "array"
12783
+ },
12784
+ {
12785
+ "enum": [
12786
+ "APPLICATION",
12787
+ "LIBRARY",
12788
+ "OTHER",
12789
+ "SERVICE"
12790
+ ],
12791
+ "type": "string"
12792
+ }
12793
+ ],
12794
+ "title": "componentTypes"
12795
+ }
12796
+ },
12797
+ "required": [
12798
+ "componentTypes"
12799
+ ],
12800
+ "type": "object"
12801
+ },
12802
+ {
12803
+ "additionalProperties": false,
12804
+ "properties": {
12805
+ "not": {
12806
+ "anyOf": [
12807
+ {
12808
+ "additionalProperties": false,
12809
+ "properties": {
12810
+ "customFieldName": {
12811
+ "title": "customFieldName",
12812
+ "type": "string"
12813
+ },
12814
+ "customFieldValue": {
12815
+ "title": "customFieldValue",
12816
+ "type": "string"
12817
+ }
12818
+ },
12819
+ "required": [
12820
+ "customFieldName",
12821
+ "customFieldValue"
12822
+ ],
12823
+ "type": "object"
12824
+ },
12825
+ {
12826
+ "additionalProperties": false,
12827
+ "properties": {
12828
+ "componentTypes": {
12829
+ "anyOf": [
12830
+ {
12831
+ "items": {
12832
+ "enum": [
12833
+ "APPLICATION",
12834
+ "LIBRARY",
12835
+ "OTHER",
12836
+ "SERVICE"
12837
+ ],
12838
+ "type": "string"
12839
+ },
12840
+ "type": "array"
12841
+ },
12842
+ {
12843
+ "enum": [
12844
+ "APPLICATION",
12845
+ "LIBRARY",
12846
+ "OTHER",
12847
+ "SERVICE"
12848
+ ],
12849
+ "type": "string"
12850
+ }
12851
+ ],
12852
+ "title": "componentTypes"
12853
+ }
12854
+ },
12855
+ "required": [
12856
+ "componentTypes"
12857
+ ],
12858
+ "type": "object"
12859
+ }
12860
+ ],
12861
+ "title": "not"
12862
+ }
12863
+ },
12864
+ "required": [
12865
+ "not"
12866
+ ],
12867
+ "type": "object"
12868
+ }
12869
+ ]
12870
+ },
12871
+ "title": "or",
12872
+ "type": "array"
12873
+ }
12874
+ },
12875
+ "required": [
12876
+ "or"
12877
+ ],
12878
+ "type": "object"
12879
+ },
12880
+ {
12881
+ "additionalProperties": false,
12882
+ "properties": {
12883
+ "and": {
12884
+ "items": {
12885
+ "anyOf": [
12886
+ {
12887
+ "additionalProperties": false,
12888
+ "properties": {
12889
+ "customFieldName": {
12890
+ "title": "customFieldName",
12891
+ "type": "string"
12892
+ },
12893
+ "customFieldValue": {
12894
+ "title": "customFieldValue",
12895
+ "type": "string"
12896
+ }
12897
+ },
12898
+ "required": [
12899
+ "customFieldName",
12900
+ "customFieldValue"
12901
+ ],
12902
+ "type": "object"
12903
+ },
12904
+ {
12905
+ "additionalProperties": false,
12906
+ "properties": {
12907
+ "componentTypes": {
12908
+ "anyOf": [
12909
+ {
12910
+ "items": {
12911
+ "enum": [
12912
+ "APPLICATION",
12913
+ "LIBRARY",
12914
+ "OTHER",
12915
+ "SERVICE"
12916
+ ],
12917
+ "type": "string"
12918
+ },
12919
+ "type": "array"
12920
+ },
12921
+ {
12922
+ "enum": [
12923
+ "APPLICATION",
12924
+ "LIBRARY",
12925
+ "OTHER",
12926
+ "SERVICE"
12927
+ ],
12928
+ "type": "string"
12929
+ }
12930
+ ],
12931
+ "title": "componentTypes"
12932
+ }
12933
+ },
12934
+ "required": [
12935
+ "componentTypes"
12936
+ ],
12937
+ "type": "object"
12938
+ },
12939
+ {
12940
+ "additionalProperties": false,
12941
+ "properties": {
12942
+ "not": {
12943
+ "anyOf": [
12944
+ {
12945
+ "additionalProperties": false,
12946
+ "properties": {
12947
+ "customFieldName": {
12948
+ "title": "customFieldName",
12949
+ "type": "string"
12950
+ },
12951
+ "customFieldValue": {
12952
+ "title": "customFieldValue",
12953
+ "type": "string"
12954
+ }
12955
+ },
12956
+ "required": [
12957
+ "customFieldName",
12958
+ "customFieldValue"
12959
+ ],
12960
+ "type": "object"
12961
+ },
12962
+ {
12963
+ "additionalProperties": false,
12964
+ "properties": {
12965
+ "componentTypes": {
12966
+ "anyOf": [
12967
+ {
12968
+ "items": {
12969
+ "enum": [
12970
+ "APPLICATION",
12971
+ "LIBRARY",
12972
+ "OTHER",
12973
+ "SERVICE"
12974
+ ],
12975
+ "type": "string"
12976
+ },
12977
+ "type": "array"
12978
+ },
12979
+ {
12980
+ "enum": [
12981
+ "APPLICATION",
12982
+ "LIBRARY",
12983
+ "OTHER",
12984
+ "SERVICE"
12985
+ ],
12986
+ "type": "string"
12987
+ }
12988
+ ],
12989
+ "title": "componentTypes"
12990
+ }
12991
+ },
12992
+ "required": [
12993
+ "componentTypes"
12994
+ ],
12995
+ "type": "object"
12996
+ }
12997
+ ],
12998
+ "title": "not"
12999
+ }
13000
+ },
13001
+ "required": [
13002
+ "not"
13003
+ ],
13004
+ "type": "object"
13005
+ }
13006
+ ]
13007
+ },
13008
+ "title": "and",
13009
+ "type": "array"
13010
+ }
13011
+ },
13012
+ "required": [
13013
+ "and"
13014
+ ],
13015
+ "type": "object"
12636
13016
  }
12637
- },
12638
- "required": [
12639
- "componentTypes"
12640
- ],
12641
- "type": "object"
13017
+ ]
12642
13018
  },
12643
13019
  "i18nProperty": {
12644
13020
  "properties": {
@@ -70,7 +70,101 @@ export type Handler = string;
70
70
  * Whether this function is used for GDPR cleanup (default false). If set to true, this function has a higher rate limit for ESS list queries.
71
71
  */
72
72
  export type Cleanup = boolean;
73
- export type ComponentTypes = ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE')[];
73
+ export type DisplayConditions =
74
+ | {
75
+ customFieldName: CustomFieldName;
76
+ customFieldValue: CustomFieldValue;
77
+ }
78
+ | {
79
+ componentTypes: ComponentTypes;
80
+ }
81
+ | {
82
+ not: Not;
83
+ }
84
+ | {
85
+ or: Or;
86
+ }
87
+ | {
88
+ and: And;
89
+ };
90
+ export type CustomFieldName = string;
91
+ export type CustomFieldValue = string;
92
+ export type ComponentTypes =
93
+ | ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE')[]
94
+ | ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE');
95
+ export type Not =
96
+ | {
97
+ customFieldName: CustomFieldName1;
98
+ customFieldValue: CustomFieldValue1;
99
+ }
100
+ | {
101
+ componentTypes: ComponentTypes1;
102
+ };
103
+ export type CustomFieldName1 = string;
104
+ export type CustomFieldValue1 = string;
105
+ export type ComponentTypes1 =
106
+ | ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE')[]
107
+ | ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE');
108
+ export type CustomFieldName2 = string;
109
+ export type CustomFieldValue2 = string;
110
+ export type ComponentTypes2 =
111
+ | ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE')[]
112
+ | ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE');
113
+ export type Not1 =
114
+ | {
115
+ customFieldName: CustomFieldName3;
116
+ customFieldValue: CustomFieldValue3;
117
+ }
118
+ | {
119
+ componentTypes: ComponentTypes3;
120
+ };
121
+ export type CustomFieldName3 = string;
122
+ export type CustomFieldValue3 = string;
123
+ export type ComponentTypes3 =
124
+ | ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE')[]
125
+ | ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE');
126
+ export type Or = (
127
+ | {
128
+ customFieldName: CustomFieldName2;
129
+ customFieldValue: CustomFieldValue2;
130
+ }
131
+ | {
132
+ componentTypes: ComponentTypes2;
133
+ }
134
+ | {
135
+ not: Not1;
136
+ }
137
+ )[];
138
+ export type CustomFieldName4 = string;
139
+ export type CustomFieldValue4 = string;
140
+ export type ComponentTypes4 =
141
+ | ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE')[]
142
+ | ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE');
143
+ export type Not2 =
144
+ | {
145
+ customFieldName: CustomFieldName5;
146
+ customFieldValue: CustomFieldValue5;
147
+ }
148
+ | {
149
+ componentTypes: ComponentTypes5;
150
+ };
151
+ export type CustomFieldName5 = string;
152
+ export type CustomFieldValue5 = string;
153
+ export type ComponentTypes5 =
154
+ | ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE')[]
155
+ | ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE');
156
+ export type And = (
157
+ | {
158
+ customFieldName: CustomFieldName4;
159
+ customFieldValue: CustomFieldValue4;
160
+ }
161
+ | {
162
+ componentTypes: ComponentTypes4;
163
+ }
164
+ | {
165
+ not: Not2;
166
+ }
167
+ )[];
74
168
  export type LinkTypes = [
75
169
  'chat-channel' | 'document' | 'repository' | 'dashboard' | 'on-call' | 'project' | 'other-link',
76
170
  ...('chat-channel' | 'document' | 'repository' | 'dashboard' | 'on-call' | 'project' | 'other-link')[]
@@ -5222,9 +5316,6 @@ export interface Filter {
5222
5316
  ignoreSelf: IgnoreSelf;
5223
5317
  [k: string]: unknown;
5224
5318
  }
5225
- export interface DisplayConditions {
5226
- componentTypes: ComponentTypes;
5227
- }
5228
5319
  /**
5229
5320
  *
5230
5321
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "4.3.0-next.4",
3
+ "version": "4.3.1-next.0",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {