2022-08-29 10:28:51 +03:00
|
|
|
from typing import List, NamedTuple
|
|
|
|
from mastoposter.filters.base import FilterInstance
|
|
|
|
|
|
|
|
from mastoposter.integrations.base import BaseIntegration
|
2022-08-27 14:27:42 +03:00
|
|
|
from .telegram import TelegramIntegration # NOQA
|
|
|
|
from .discord import DiscordIntegration # NOQA
|
2022-08-29 10:28:51 +03:00
|
|
|
|
|
|
|
|
|
|
|
class FilteredIntegration(NamedTuple):
|
|
|
|
sink: BaseIntegration
|
|
|
|
filters: List[FilterInstance]
|