@vertigis/viewer-spec 47.6.0 → 47.6.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.
Files changed (65) hide show
  1. package/app-config/AppConfig.d.ts +3 -6
  2. package/app-config/common/BrandingThemeProperties.d.ts +2 -4
  3. package/app-config/common/HighlightModelProperties.d.ts +2 -4
  4. package/app-config/common/LayerPresetsModelProperties.d.ts +1 -2
  5. package/app-config/common/LayoutProperties.d.ts +3 -3
  6. package/app-config/common/RegionModelProperties.d.ts +1 -2
  7. package/app-config/common/SearchModelProperties.d.ts +2 -2
  8. package/app-config/common/WorkflowModelProperties.d.ts +2 -4
  9. package/app-config/mobile/FeatureDetailsModelProperties.d.ts +2 -1
  10. package/app-config/mobile/SearchModelProperties.d.ts +3 -1
  11. package/app-config/mobile/VertigisMobileModelProperties.d.ts +1 -2
  12. package/app-config/schema/common-app-config.schema.json +1 -1
  13. package/app-config/schema/mobile-app-config.schema.json +1 -1
  14. package/app-config/schema/web-app-config.schema.json +1 -1
  15. package/app-config/web/DrawModelProperties.d.ts +1 -2
  16. package/app-config/web/FeatureDetailsModelProperties.d.ts +2 -2
  17. package/app-config/web/HasVisibilityFilters.d.ts +4 -4
  18. package/app-config/web/KpiCardModelProperties.d.ts +10 -10
  19. package/app-config/web/MapCoordinatesModelProperties.d.ts +1 -2
  20. package/app-config/web/MapModelProperties.d.ts +2 -4
  21. package/app-config/web/MeasurementModelProperties.d.ts +1 -2
  22. package/app-config/web/ResultsModelProperties.d.ts +2 -2
  23. package/app-config/web/SearchModelProperties.d.ts +1 -2
  24. package/app-config/web/VertigisWebModelProperties.d.ts +4 -6
  25. package/layout/schema/layout-common.xsd +843 -830
  26. package/layout/schema/layout-mobile.xsd +241 -234
  27. package/layout/schema/layout-web.xsd +281 -277
  28. package/layout/schema/schema-reference-example.xml +11 -10
  29. package/messaging/Command.d.ts +1 -2
  30. package/messaging/Event.d.ts +2 -4
  31. package/messaging/MessageBus.d.ts +2 -2
  32. package/messaging/Operation.d.ts +1 -2
  33. package/messaging/common.d.ts +9 -14
  34. package/messaging/registry/app.d.ts +6 -10
  35. package/messaging/registry/arcade.d.ts +3 -7
  36. package/messaging/registry/auth.d.ts +6 -10
  37. package/messaging/registry/basemap.d.ts +8 -8
  38. package/messaging/registry/charts.d.ts +2 -2
  39. package/messaging/registry/debugConsole.d.ts +3 -4
  40. package/messaging/registry/drawing.d.ts +3 -6
  41. package/messaging/registry/edit.d.ts +9 -14
  42. package/messaging/registry/geolocation.d.ts +13 -20
  43. package/messaging/registry/geometry.d.ts +26 -31
  44. package/messaging/registry/kpi.d.ts +2 -4
  45. package/messaging/registry/layer-comparison.d.ts +2 -2
  46. package/messaging/registry/layout.d.ts +1 -2
  47. package/messaging/registry/location-marker.d.ts +5 -10
  48. package/messaging/registry/map.d.ts +21 -22
  49. package/messaging/registry/measurement.d.ts +6 -8
  50. package/messaging/registry/messaging.d.ts +3 -3
  51. package/messaging/registry/offline.d.ts +19 -24
  52. package/messaging/registry/panel.d.ts +1 -2
  53. package/messaging/registry/portal.d.ts +1 -2
  54. package/messaging/registry/printing.d.ts +3 -4
  55. package/messaging/registry/results.d.ts +8 -16
  56. package/messaging/registry/sketching.d.ts +27 -40
  57. package/messaging/registry/system.d.ts +6 -6
  58. package/messaging/registry/tasks.d.ts +4 -6
  59. package/messaging/registry/ui.d.ts +12 -18
  60. package/messaging/registry/viewer.d.ts +1 -2
  61. package/messaging/registry/workflow.d.ts +2 -4
  62. package/messaging/schema/web-action.schema.json +1 -1
  63. package/package.json +17 -17
  64. package/version.d.ts +1 -1
  65. package/version.js +1 -1
@@ -1,291 +1,295 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <schema xmlns="http://www.w3.org/2001/XMLSchema"
3
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
- xmlns:base="https://geocortex.com/layout/v1"
5
- xmlns:tns="https://geocortex.com/layout/web/v1" targetNamespace="https://geocortex.com/layout/web/v1" elementFormDefault="qualified" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema https://www.w3.org/2009/XMLSchema/XMLSchema.xsd">
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <schema
3
+ xmlns="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xmlns:base="https://geocortex.com/layout/v1"
6
+ xmlns:tns="https://geocortex.com/layout/web/v1"
7
+ targetNamespace="https://geocortex.com/layout/web/v1"
8
+ elementFormDefault="qualified"
9
+ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema https://www.w3.org/2009/XMLSchema/XMLSchema.xsd"
10
+ >
11
+ <import namespace="https://geocortex.com/layout/v1" schemaLocation="./layout-common.xsd" />
6
12
 
7
- <import namespace="https://geocortex.com/layout/v1" schemaLocation="./layout-common.xsd" />
13
+ <!-- GIS Components -->
8
14
 
9
- <!-- GIS Components -->
15
+ <element name="address" substitutionGroup="base:component">
16
+ <annotation>
17
+ <documentation xml:lang="en">
18
+ Provides reverse geocode information given a point geometry.
19
+ </documentation>
20
+ </annotation>
21
+ <complexType>
22
+ <complexContent>
23
+ <extension base="base:Component" />
24
+ </complexContent>
25
+ </complexType>
26
+ </element>
10
27
 
11
- <element name="address" substitutionGroup="base:component">
12
- <annotation>
13
- <documentation xml:lang="en">
14
- Provides reverse geocode information given a point geometry.
15
- </documentation>
16
- </annotation>
17
- <complexType>
18
- <complexContent>
19
- <extension base="base:Component" />
20
- </complexContent>
21
- </complexType>
22
- </element>
28
+ <element name="chart" substitutionGroup="base:component">
29
+ <annotation>
30
+ <documentation xml:lang="en">A component that shows a chart.</documentation>
31
+ </annotation>
32
+ <complexType>
33
+ <complexContent>
34
+ <extension base="base:Component" />
35
+ </complexContent>
36
+ </complexType>
37
+ </element>
23
38
 
24
- <element name="chart" substitutionGroup="base:component">
25
- <annotation>
26
- <documentation xml:lang="en">
27
- A component that shows a chart.
28
- </documentation>
29
- </annotation>
30
- <complexType>
31
- <complexContent>
32
- <extension base="base:Component" />
33
- </complexContent>
34
- </complexType>
35
- </element>
39
+ <element name="feature-summary" substitutionGroup="base:component">
40
+ <annotation>
41
+ <documentation xml:lang="en">
42
+ A component that allows the user to view a feature summary.
43
+ </documentation>
44
+ </annotation>
45
+ <complexType>
46
+ <complexContent>
47
+ <extension base="base:Component" />
48
+ </complexContent>
49
+ </complexType>
50
+ </element>
36
51
 
37
- <element name="feature-summary" substitutionGroup="base:component">
38
- <annotation>
39
- <documentation xml:lang="en">
40
- A component that allows the user to view a feature summary.
41
- </documentation>
42
- </annotation>
43
- <complexType>
44
- <complexContent>
45
- <extension base="base:Component"/>
46
- </complexContent>
47
- </complexType>
48
- </element>
52
+ <element name="geometry-toolbar" substitutionGroup="base:component">
53
+ <annotation>
54
+ <documentation xml:lang="en">
55
+ A geometry toolbar consisting of a collection of widgets and a
56
+ configurable toolbar that is displayed while geometry edits are
57
+ being performed.
58
+ </documentation>
59
+ </annotation>
60
+ <complexType>
61
+ <complexContent>
62
+ <extension base="base:Component">
63
+ <attribute name="orientation">
64
+ <annotation>
65
+ <documentation xml:lang="en">
66
+ Determines the orientation of the widgets and toolbar menu items.
67
+ </documentation>
68
+ </annotation>
69
+ <simpleType>
70
+ <restriction base="string">
71
+ <enumeration value="vertical" />
72
+ <enumeration value="horizontal" />
73
+ </restriction>
74
+ </simpleType>
75
+ </attribute>
76
+ <attribute name="size">
77
+ <annotation>
78
+ <documentation xml:lang="en">
79
+ The size of the geometry toolbar.
80
+ </documentation>
81
+ </annotation>
82
+ <simpleType>
83
+ <restriction base="string">
84
+ <enumeration value="small" />
85
+ <enumeration value="medium" />
86
+ <enumeration value="large" />
87
+ </restriction>
88
+ </simpleType>
89
+ </attribute>
90
+ </extension>
91
+ </complexContent>
92
+ </complexType>
93
+ </element>
49
94
 
50
- <element name="geometry-toolbar" substitutionGroup="base:component">
51
- <annotation>
52
- <documentation xml:lang="en">
53
- A geometry toolbar consisting of a collection of widgets and a
54
- configurable toolbar that is displayed while geometry edits are being
55
- performed.
56
- </documentation>
57
- </annotation>
58
- <complexType>
59
- <complexContent>
60
- <extension base="base:Component">
61
- <attribute name="orientation">
62
- <annotation>
63
- <documentation xml:lang="en">
64
- Determines the orientation of the widgets and toolbar menu items.
65
- </documentation>
66
- </annotation>
67
- <simpleType>
68
- <restriction base="string">
69
- <enumeration value="vertical"/>
70
- <enumeration value="horizontal"/>
71
- </restriction>
72
- </simpleType>
73
- </attribute>
74
- <attribute name="size">
75
- <annotation>
76
- <documentation xml:lang="en">
77
- The size of the geometry toolbar.
78
- </documentation>
79
- </annotation>
80
- <simpleType>
81
- <restriction base="string">
82
- <enumeration value="small"/>
83
- <enumeration value="medium"/>
84
- <enumeration value="large"/>
85
- </restriction>
86
- </simpleType>
87
- </attribute>
88
- </extension>
89
- </complexContent>
90
- </complexType>
91
- </element>
95
+ <element name="inline" substitutionGroup="base:component">
96
+ <annotation>
97
+ <documentation xml:lang="en">
98
+ A component that allows the integration of Geocortex Inline.
99
+ </documentation>
100
+ </annotation>
101
+ <complexType>
102
+ <complexContent>
103
+ <extension base="base:Component" />
104
+ </complexContent>
105
+ </complexType>
106
+ </element>
92
107
 
93
- <element name="inline" substitutionGroup="base:component">
94
- <annotation>
95
- <documentation xml:lang="en">
96
- A component that allows the integration of Geocortex Inline.
97
- </documentation>
98
- </annotation>
99
- <complexType>
100
- <complexContent>
101
- <extension base="base:Component"/>
102
- </complexContent>
103
- </complexType>
104
- </element>
108
+ <element name="kpi-card" substitutionGroup="base:component">
109
+ <annotation>
110
+ <documentation xml:lang="en">
111
+ A component that shows a key performance indicator.
112
+ </documentation>
113
+ </annotation>
114
+ <complexType>
115
+ <complexContent>
116
+ <extension base="base:Component" />
117
+ </complexContent>
118
+ </complexType>
119
+ </element>
105
120
 
106
- <element name="kpi-card" substitutionGroup="base:component">
107
- <annotation>
108
- <documentation xml:lang="en">
109
- A component that shows a key performance indicator.
110
- </documentation>
111
- </annotation>
112
- <complexType>
113
- <complexContent>
114
- <extension base="base:Component" />
115
- </complexContent>
116
- </complexType>
117
- </element>
121
+ <element name="map-3d-toggle" substitutionGroup="base:component">
122
+ <annotation>
123
+ <documentation xml:lang="en">
124
+ A button that allows the end user to switch between the webmap
125
+ and the webscene for a given map component. Requires an
126
+ associated map component (see the "models" attribute) with both
127
+ a webmap and webscene configured.
128
+ </documentation>
129
+ </annotation>
130
+ <complexType>
131
+ <complexContent mixed="true">
132
+ <extension base="base:Component">
133
+ <attribute name="style">
134
+ <annotation>
135
+ <documentation xml:lang="en">
136
+ The desired visual style for the button.
137
+ </documentation>
138
+ </annotation>
139
+ <simpleType>
140
+ <restriction base="string">
141
+ <enumeration value="round" />
142
+ <enumeration value="square" />
143
+ </restriction>
144
+ </simpleType>
145
+ </attribute>
146
+ </extension>
147
+ </complexContent>
148
+ </complexType>
149
+ </element>
118
150
 
119
- <element name="map-3d-toggle" substitutionGroup="base:component">
120
- <annotation>
121
- <documentation xml:lang="en">
122
- A button that allows the end user to switch between the webmap and the
123
- webscene for a given map component. Requires an associated map component
124
- (see the "models" attribute) with both a webmap and webscene configured.
125
- </documentation>
126
- </annotation>
127
- <complexType>
128
- <complexContent mixed="true">
129
- <extension base="base:Component">
130
- <attribute name="style">
131
- <annotation>
132
- <documentation xml:lang="en">
133
- The desired visual style for the button.
134
- </documentation>
135
- </annotation>
136
- <simpleType>
137
- <restriction base="string">
138
- <enumeration value="round"/>
139
- <enumeration value="square"/>
140
- </restriction>
141
- </simpleType>
142
- </attribute>
143
- </extension>
144
- </complexContent>
145
- </complexType>
146
- </element>
151
+ <element name="overview-map" substitutionGroup="base:component">
152
+ <annotation>
153
+ <documentation xml:lang="en">
154
+ A noninteractive map that displays the extent of a map component.
155
+ </documentation>
156
+ </annotation>
157
+ <complexType>
158
+ <complexContent>
159
+ <extension base="base:Component" />
160
+ </complexContent>
161
+ </complexType>
162
+ </element>
147
163
 
148
- <element name="overview-map" substitutionGroup="base:component">
149
- <annotation>
150
- <documentation xml:lang="en">
151
- A noninteractive map that displays the extent of a map component.
152
- </documentation>
153
- </annotation>
154
- <complexType>
155
- <complexContent>
156
- <extension base="base:Component" />
157
- </complexContent>
158
- </complexType>
159
- </element>
164
+ <element name="print-form" substitutionGroup="base:component">
165
+ <annotation>
166
+ <documentation xml:lang="en">
167
+ A component that presents configurable options for printing a map.
168
+ </documentation>
169
+ </annotation>
170
+ <complexType>
171
+ <complexContent>
172
+ <extension base="base:Component">
173
+ <attribute name="style">
174
+ <annotation>
175
+ <documentation xml:lang="en">
176
+ The desired visual style for the button.
177
+ </documentation>
178
+ </annotation>
179
+ <simpleType>
180
+ <restriction base="string">
181
+ <enumeration value="round" />
182
+ <enumeration value="square" />
183
+ </restriction>
184
+ </simpleType>
185
+ </attribute>
186
+ </extension>
187
+ </complexContent>
188
+ </complexType>
189
+ </element>
160
190
 
161
- <element name="print-form" substitutionGroup="base:component">
162
- <annotation>
163
- <documentation xml:lang="en">
164
- A component that presents configurable options for printing a map.
165
- </documentation>
166
- </annotation>
167
- <complexType>
168
- <complexContent>
169
- <extension base="base:Component">
170
- <attribute name="style">
171
- <annotation>
172
- <documentation xml:lang="en">
173
- The desired visual style for the button.
174
- </documentation>
175
- </annotation>
176
- <simpleType>
177
- <restriction base="string">
178
- <enumeration value="round"/>
179
- <enumeration value="square"/>
180
- </restriction>
181
- </simpleType>
182
- </attribute>
183
- </extension>
184
- </complexContent>
185
- </complexType>
186
- </element>
191
+ <element name="results-table" substitutionGroup="base:component">
192
+ <annotation>
193
+ <documentation xml:lang="en">
194
+ A component that allows the user to view results from a search,
195
+ identify, query, or any other activity that produces features in
196
+ a table view.
197
+ </documentation>
198
+ </annotation>
199
+ <complexType>
200
+ <complexContent>
201
+ <extension base="base:Component" />
202
+ </complexContent>
203
+ </complexType>
204
+ </element>
187
205
 
188
- <element name="results-table" substitutionGroup="base:component">
189
- <annotation>
190
- <documentation xml:lang="en">
191
- A component that allows the user to view results from a search,
192
- identify, query, or any other activity that produces features in a table
193
- view.
194
- </documentation>
195
- </annotation>
196
- <complexType>
197
- <complexContent>
198
- <extension base="base:Component" />
199
- </complexContent>
200
- </complexType>
201
- </element>
206
+ <element name="scale-input" substitutionGroup="base:component">
207
+ <annotation>
208
+ <documentation xml:lang="en">
209
+ A component that allows the user to change the scale of the map.
210
+ </documentation>
211
+ </annotation>
212
+ <complexType>
213
+ <complexContent>
214
+ <extension base="base:Component" />
215
+ </complexContent>
216
+ </complexType>
217
+ </element>
202
218
 
203
- <element name="scale-input" substitutionGroup="base:component">
204
- <annotation>
205
- <documentation xml:lang="en">
206
- A component that allows the user to change the scale of the map.
207
- </documentation>
208
- </annotation>
209
- <complexType>
210
- <complexContent>
211
- <extension base="base:Component" />
212
- </complexContent>
213
- </complexType>
214
- </element>
219
+ <element name="tabs" substitutionGroup="base:component">
220
+ <annotation>
221
+ <documentation xml:lang="en">
222
+ Organizes child components into separate tabs, so that only one
223
+ is active at a time. The tab names will correspond to the child
224
+ components' titles.
225
+ </documentation>
226
+ </annotation>
227
+ <complexType>
228
+ <complexContent mixed="true">
229
+ <extension base="base:Component">
230
+ <choice>
231
+ <element ref="base:component" minOccurs="0" maxOccurs="unbounded" />
232
+ </choice>
233
+ <attribute name="orientation">
234
+ <annotation>
235
+ <documentation xml:lang="en">
236
+ The orientation of the tabs within the
237
+ component. Valid values include "horizontal",
238
+ and "vertical". The default value is
239
+ "horizontal".
240
+ </documentation>
241
+ </annotation>
242
+ <simpleType>
243
+ <restriction base="string">
244
+ <enumeration value="horizontal" />
245
+ <enumeration value="vertical" />
246
+ </restriction>
247
+ </simpleType>
248
+ </attribute>
249
+ <attribute name="position">
250
+ <annotation>
251
+ <documentation xml:lang="en">
252
+ The position of the tabs within the component.
253
+ Valid values include "start", and "end". The
254
+ default value is "start".
255
+ </documentation>
256
+ </annotation>
257
+ <simpleType>
258
+ <restriction base="string">
259
+ <enumeration value="start" />
260
+ <enumeration value="end" />
261
+ </restriction>
262
+ </simpleType>
263
+ </attribute>
264
+ </extension>
265
+ </complexContent>
266
+ </complexType>
267
+ </element>
215
268
 
216
- <element name="tabs" substitutionGroup="base:component">
217
- <annotation>
218
- <documentation xml:lang="en">
219
- Organizes child components into separate tabs, so that only one
220
- is active at a time. The tab names will correspond to the child
221
- components' titles.
222
- </documentation>
223
- </annotation>
224
- <complexType>
225
- <complexContent mixed="true">
226
- <extension base="base:Component">
227
- <choice>
228
- <element ref="base:component" minOccurs="0" maxOccurs="unbounded"/>
229
- </choice>
230
- <attribute name="orientation">
231
- <annotation>
232
- <documentation xml:lang="en">
233
- The orientation of the tabs within the component. Valid values
234
- include "horizontal", and "vertical". The default value is
235
- "horizontal".
236
- </documentation>
237
- </annotation>
238
- <simpleType>
239
- <restriction base="string">
240
- <enumeration value="horizontal"/>
241
- <enumeration value="vertical"/>
242
- </restriction>
243
- </simpleType>
244
- </attribute>
245
- <attribute name="position">
246
- <annotation>
247
- <documentation xml:lang="en">
248
- The position of the tabs within the component. Valid values
249
- include "start", and "end". The default value is "start".
250
- </documentation>
251
- </annotation>
252
- <simpleType>
253
- <restriction base="string">
254
- <enumeration value="start"/>
255
- <enumeration value="end"/>
256
- </restriction>
257
- </simpleType>
258
- </attribute>
259
- </extension>
260
- </complexContent>
261
- </complexType>
262
- </element>
263
-
264
- <element name="user-preferences" substitutionGroup="base:component">
265
- <annotation>
266
- <documentation xml:lang="en">
267
- A component that allows the user to change user preferences.
268
- </documentation>
269
- </annotation>
270
- <complexType>
271
- <complexContent>
272
- <extension base="base:Component">
273
- <attribute name="style">
274
- <annotation>
275
- <documentation xml:lang="en">
276
- The desired visual style for the button.
277
- </documentation>
278
- </annotation>
279
- <simpleType>
280
- <restriction base="string">
281
- <enumeration value="round"/>
282
- <enumeration value="square"/>
283
- </restriction>
284
- </simpleType>
285
- </attribute>
286
- </extension>
287
- </complexContent>
288
- </complexType>
289
- </element>
290
-
291
- </schema>
269
+ <element name="user-preferences" substitutionGroup="base:component">
270
+ <annotation>
271
+ <documentation xml:lang="en">
272
+ A component that allows the user to change user preferences.
273
+ </documentation>
274
+ </annotation>
275
+ <complexType>
276
+ <complexContent>
277
+ <extension base="base:Component">
278
+ <attribute name="style">
279
+ <annotation>
280
+ <documentation xml:lang="en">
281
+ The desired visual style for the button.
282
+ </documentation>
283
+ </annotation>
284
+ <simpleType>
285
+ <restriction base="string">
286
+ <enumeration value="round" />
287
+ <enumeration value="square" />
288
+ </restriction>
289
+ </simpleType>
290
+ </attribute>
291
+ </extension>
292
+ </complexContent>
293
+ </complexType>
294
+ </element>
295
+ </schema>
@@ -1,14 +1,15 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
2
  <layout
3
3
  xmlns="https://geocortex.com/layout/v1"
4
4
  xmlns:web="https://geocortex.com/layout/web/v1"
5
5
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6
- xsi:schemaLocation="https://geocortex.com/layout/web/v1 layout-web.xsd">
7
- <split>
8
- <web:tabs>
9
- <layer-list/>
10
- <search/>
11
- </web:tabs>
12
- <map></map>
13
- </split>
14
- </layout>
6
+ xsi:schemaLocation="https://geocortex.com/layout/web/v1 layout-web.xsd"
7
+ >
8
+ <split>
9
+ <web:tabs>
10
+ <layer-list />
11
+ <search />
12
+ </web:tabs>
13
+ <map />
14
+ </split>
15
+ </layout>
@@ -60,8 +60,7 @@ export interface CommandContext<T> {
60
60
  * Invokes the next behavior in the chain. If it isn't invoked explicitly,
61
61
  * then the next behavior will run after the current one is finished. Note
62
62
  * that this is not supported for behaviors that are added at runtime via
63
- * registerParallel(), which have no explicit sequence as they are run
64
- * concurrently.
63
+ * registerParallel(), which have no explicit sequence as they are run concurrently.
65
64
  */
66
65
  next: (argument?: T) => Promise<void>;
67
66
  /**
@@ -10,15 +10,13 @@ export interface Event<T = void> extends Message {
10
10
  /**
11
11
  * Publishes the event to all subscribers.
12
12
  *
13
- * @returns A promise that is fulfilled once all subscribers have been
14
- * notified.
13
+ * @returns A promise that is fulfilled once all subscribers have been notified.
15
14
  */
16
15
  publish: (arg: T) => Promise<void>;
17
16
  /**
18
17
  * Subscribes to this event.
19
18
  *
20
- * @param callback A callback that will be invoked whenever the event is
21
- * published.
19
+ * @param callback A callback that will be invoked whenever the event is published.
22
20
  * @returns A handle that can be used to unsubscribe.
23
21
  */
24
22
  subscribe: (callback: EventCallback<T>) => IHandle;
@@ -9,8 +9,8 @@ export interface MessageBus {
9
9
  /**
10
10
  * Retrieves a command.
11
11
  *
12
- * @param action The command specification. Either the name of a
13
- * command, or a list of commands and/or operations to run in sequence.
12
+ * @param action The command specification. Either the name of a command, or
13
+ * a list of commands and/or operations to run in sequence.
14
14
  */
15
15
  command<T = void>(action: Action): Command<T>;
16
16
  /**