File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -59,16 +59,17 @@ export interface UpdateEventPayload extends BaseEventPayload {
5959 data : UpdateEventData ;
6060}
6161
62- export interface UnknownEventPayload extends BaseEventPayload {
63- topic : unknown ;
64- data : unknown ;
65- }
66-
62+ /**
63+ * A union type of the different payload types with the
64+ * `topic:` property as a type discriminator.
65+ * Supports the topics `ftrack.action.discover`, `ftrack.action.launch`
66+ * and `ftrack.update`. Please add a GitHub issue for any missing core topics.
67+ * @interface EventPayload
68+ */
6769export type EventPayload =
6870 | ActionLaunchEventPayload
6971 | ActionDiscoverEventPayload
70- | UpdateEventPayload
71- | UnknownEventPayload ;
72+ | UpdateEventPayload ;
7273
7374export interface EventSource {
7475 clientToken : string ;
You can’t perform that action at this time.
0 commit comments