summaryrefslogtreecommitdiff
path: root/slixmpp/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/types.py')
-rw-r--r--slixmpp/types.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/slixmpp/types.py b/slixmpp/types.py
index 453d25e3..336ab7d8 100644
--- a/slixmpp/types.py
+++ b/slixmpp/types.py
@@ -16,11 +16,13 @@ try:
from typing import (
Literal,
TypedDict,
+ Protocol,
)
except ImportError:
from typing_extensions import (
Literal,
TypedDict,
+ Protocol,
)
from slixmpp.jid import JID
@@ -78,3 +80,11 @@ JidStr = Union[str, JID]
OptJidStr = Optional[Union[str, JID]]
MAMDefault = Literal['always', 'never', 'roster']
+
+FilterString = Literal['in', 'out', 'out_sync']
+
+__all__ = [
+ 'Protocol', 'TypedDict', 'Literal', 'OptJid', 'JidStr', 'MAMDefault',
+ 'PresenceTypes', 'PresenceShows', 'MessageTypes', 'IqTypes', 'MucRole',
+ 'MucAffiliation', 'FilterString',
+]