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 {
59
59
data : UpdateEventData ;
60
60
}
61
61
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
+ */
67
69
export type EventPayload =
68
70
| ActionLaunchEventPayload
69
71
| ActionDiscoverEventPayload
70
- | UpdateEventPayload
71
- | UnknownEventPayload ;
72
+ | UpdateEventPayload ;
72
73
73
74
export interface EventSource {
74
75
clientToken : string ;
You can’t perform that action at this time.
0 commit comments