from quart import Blueprint from lnbits.db import Database db = Database("database") core_app: Blueprint = Blueprint( "core", __name__, template_folder="templates", static_folder="static", static_url_path="/core/static", ) from .views.api import * # noqa from .views.generic import * # noqa from .views.public_api import * # noqa from .tasks import register_listeners from lnbits.tasks import record_async core_app.record(record_async(register_listeners))
from quart import Blueprint from lnbits.db import Database db = Database("ext_jukebox") jukebox_ext: Blueprint = Blueprint( "jukebox", __name__, static_folder="static", template_folder="templates" ) from .views_api import * # noqa from .views import * # noqa from .tasks import register_listeners from lnbits.tasks import record_async jukebox_ext.record(record_async(register_listeners))
from quart import Blueprint lnurlp_ext: Blueprint = Blueprint("lnurlp", __name__, static_folder="static", template_folder="templates") from .views_api import * # noqa from .views import * # noqa from .lnurl import * # noqa from .tasks import register_listeners from lnbits.tasks import record_async lnurlp_ext.record(record_async(register_listeners))
from quart import Blueprint from lnbits.db import Database db = Database("ext_copilot") copilot_ext: Blueprint = Blueprint("copilot", __name__, static_folder="static", template_folder="templates") from .views_api import * # noqa from .views import * # noqa from .lnurl import * # noqa from .tasks import register_listeners from lnbits.tasks import record_async copilot_ext.record(record_async(register_listeners))
from quart import Blueprint from lnbits.db import Database db = Database("ext_subdomains") subdomains_ext: Blueprint = Blueprint("subdomains", __name__, static_folder="static", template_folder="templates") from .views_api import * # noqa from .views import * # noqa from .tasks import register_listeners from lnbits.tasks import record_async subdomains_ext.record(record_async(register_listeners))
from quart import Blueprint from lnbits.db import Database db = Database("ext_splitpayments") splitpayments_ext: Blueprint = Blueprint("splitpayments", __name__, static_folder="static", template_folder="templates") from .views_api import * # noqa from .views import * # noqa from .tasks import register_listeners from lnbits.tasks import record_async splitpayments_ext.record(record_async(register_listeners))
from quart import Blueprint from lnbits.db import Database db = Database("ext_livestream") livestream_ext: Blueprint = Blueprint( "livestream", __name__, static_folder="static", template_folder="templates" ) from .views_api import * # noqa from .views import * # noqa from .lnurl import * # noqa from .tasks import register_listeners from lnbits.tasks import record_async livestream_ext.record(record_async(register_listeners))
from quart import Blueprint from lnbits.db import Database db = Database("ext_lnticket") lnticket_ext: Blueprint = Blueprint("lnticket", __name__, static_folder="static", template_folder="templates") from .views_api import * # noqa from .views import * # noqa from .tasks import register_listeners from lnbits.tasks import record_async lnticket_ext.record(record_async(register_listeners))