@@ -29,82 +29,82 @@ class DeviceSpecificEventMixin:
29
29
30
30
31
31
class ApplicationDidLaunch (EventBase ):
32
- event : Literal ["applicationDidLaunch" ]
32
+ event : Literal ["applicationDidLaunch" ] # type: ignore[override]
33
33
payload : dict [Literal ["application" ], str ]
34
34
"""Payload containing the name of the application that triggered the event."""
35
35
36
36
37
37
class ApplicationDidTerminate (EventBase ):
38
- event : Literal ["applicationDidTerminate" ]
38
+ event : Literal ["applicationDidTerminate" ] # type: ignore[override]
39
39
payload : dict [Literal ["application" ], str ]
40
40
"""Payload containing the name of the application that triggered the event."""
41
41
42
42
43
43
class DeviceDidConnect (EventBase , DeviceSpecificEventMixin ):
44
- event : Literal ["deviceDidConnect" ]
44
+ event : Literal ["deviceDidConnect" ] # type: ignore[override]
45
45
deviceInfo : dict [str , Any ]
46
46
"""Information about the newly connected device."""
47
47
48
48
49
49
class DeviceDidDisconnect (EventBase , DeviceSpecificEventMixin ):
50
- event : Literal ["deviceDidDisconnect" ]
50
+ event : Literal ["deviceDidDisconnect" ] # type: ignore[override]
51
51
52
52
53
53
class DialDown (EventBase , ContextualEventMixin , DeviceSpecificEventMixin ):
54
- event : Literal ["dialDown" ]
54
+ event : Literal ["dialDown" ] # type: ignore[override]
55
55
payload : dict [str , Any ]
56
56
57
57
58
58
class DialRotate (EventBase , ContextualEventMixin , DeviceSpecificEventMixin ):
59
- event : Literal ["dialRotate" ]
59
+ event : Literal ["dialRotate" ] # type: ignore[override]
60
60
payload : dict [str , Any ]
61
61
62
62
63
63
class DialUp (EventBase , ContextualEventMixin , DeviceSpecificEventMixin ):
64
- event : Literal ["dialUp" ]
64
+ event : Literal ["dialUp" ] # type: ignore[override]
65
65
payload : dict [str , Any ]
66
66
67
67
68
68
class DidReceiveDeepLink (EventBase ):
69
- event : Literal ["didReceiveDeepLink" ]
69
+ event : Literal ["didReceiveDeepLink" ] # type: ignore[override]
70
70
payload : dict [Literal ["url" ], str ]
71
71
72
72
73
73
class DidReceiveGlobalSettings (EventBase ):
74
- event : Literal ["didReceiveGlobalSettings" ]
74
+ event : Literal ["didReceiveGlobalSettings" ] # type: ignore[override]
75
75
payload : dict [Literal ["settings" ], dict [str , Any ]]
76
76
77
77
78
78
class DidReceivePropertyInspectorMessage (EventBase , ContextualEventMixin ):
79
- event : Literal ["sendToPlugin" ]
79
+ event : Literal ["sendToPlugin" ] # type: ignore[override]
80
80
payload : dict [str , Any ]
81
81
82
82
83
83
class DidReceiveSettings (EventBase , ContextualEventMixin , DeviceSpecificEventMixin ):
84
- event : Literal ["didReceiveSettings" ]
84
+ event : Literal ["didReceiveSettings" ] # type: ignore[override]
85
85
payload : dict [str , Any ]
86
86
87
87
88
88
class KeyDown (EventBase , ContextualEventMixin , DeviceSpecificEventMixin ):
89
- event : Literal ["keyDown" ]
89
+ event : Literal ["keyDown" ] # type: ignore[override]
90
90
payload : dict [str , Any ]
91
91
92
92
93
93
class KeyUp (EventBase , ContextualEventMixin , DeviceSpecificEventMixin ):
94
- event : Literal ["keyUp" ]
94
+ event : Literal ["keyUp" ] # type: ignore[override]
95
95
payload : dict [str , Any ]
96
96
97
97
98
98
class PropertyInspectorDidAppear (EventBase , ContextualEventMixin , DeviceSpecificEventMixin ):
99
- event : Literal ["propertyInspectorDidAppear" ]
99
+ event : Literal ["propertyInspectorDidAppear" ] # type: ignore[override]
100
100
101
101
102
102
class PropertyInspectorDidDisappear (EventBase , ContextualEventMixin , DeviceSpecificEventMixin ):
103
- event : Literal ["propertyInspectorDidDisappear" ]
103
+ event : Literal ["propertyInspectorDidDisappear" ] # type: ignore[override]
104
104
105
105
106
106
class SystemDidWakeUp (EventBase ):
107
- event : Literal ["systemDidWakeUp" ]
107
+ event : Literal ["systemDidWakeUp" ] # type: ignore[override]
108
108
109
109
110
110
class TitleParametersDict (TypedDict ):
@@ -127,24 +127,24 @@ class TitleParametersDidChangePayload(TypedDict):
127
127
128
128
129
129
class TitleParametersDidChange (EventBase , DeviceSpecificEventMixin ):
130
- event : Literal ["titleParametersDidChange" ]
130
+ event : Literal ["titleParametersDidChange" ] # type: ignore[override]
131
131
context : str
132
132
"""Identifies the instance of an action that caused the event, i.e. the specific key or dial."""
133
133
payload : TitleParametersDidChangePayload
134
134
135
135
136
136
class TouchTap (EventBase , ContextualEventMixin , DeviceSpecificEventMixin ):
137
- event : Literal ["touchTap" ]
137
+ event : Literal ["touchTap" ] # type: ignore[override]
138
138
payload : dict [str , Any ]
139
139
140
140
141
141
class WillAppear (EventBase , ContextualEventMixin , DeviceSpecificEventMixin ):
142
- event : Literal ["willAppear" ]
142
+ event : Literal ["willAppear" ] # type: ignore[override]
143
143
payload : dict [str , Any ]
144
144
145
145
146
146
class WillDisappear (EventBase , ContextualEventMixin , DeviceSpecificEventMixin ):
147
- event : Literal ["willDisappear" ]
147
+ event : Literal ["willDisappear" ] # type: ignore[override]
148
148
payload : dict [str , Any ]
149
149
150
150
0 commit comments