todo.sr.ht/todosrht/types/__init__.py

25 lines
1016 B
Python
Raw Normal View History

2018-12-30 21:52:29 +01:00
from srht.database import Base
from srht.oauth import ExternalUserMixin
from srht.oauth import ExternalOAuthTokenMixin
import sqlalchemy as sa
2018-12-30 21:52:29 +01:00
class User(Base, ExternalUserMixin):
notify_self = sa.Column(sa.Boolean, nullable=False, server_default="FALSE")
2018-12-30 21:52:29 +01:00
class OAuthToken(Base, ExternalOAuthTokenMixin):
pass
2018-12-30 21:52:29 +01:00
from todosrht.types.ticketaccess import TicketAccess
from todosrht.types.ticketstatus import TicketStatus, TicketResolution
2020-01-09 18:19:44 +01:00
from todosrht.types.ticketstatus import TicketAuthenticity
2019-08-21 08:35:44 +02:00
2018-12-30 21:52:29 +01:00
from todosrht.types.event import Event, EventType, EventNotification
from todosrht.types.label import Label, TicketLabel
2019-08-21 08:35:44 +02:00
from todosrht.types.participant import Participant, ParticipantType
from todosrht.types.ticket import Ticket
from todosrht.types.ticketassignee import TicketAssignee
from todosrht.types.ticketcomment import TicketComment
from todosrht.types.ticketsubscription import TicketSubscription
from todosrht.types.tracker import Tracker, Visibility
2019-07-04 13:15:59 +02:00
from todosrht.types.useraccess import UserAccess