コード例 #1
0
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_tipjar")

tipjar_ext: Blueprint = Blueprint("tipjar",
                                  __name__,
                                  static_folder="static",
                                  template_folder="templates")

from .views_api import *  # noqa
from .views import *  # noqa
コード例 #2
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_hivemind")

hivemind_ext: Blueprint = Blueprint(
    "hivemind", __name__, static_folder="static", template_folder="templates"
)


from .views import *  # noqa
コード例 #3
0
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_satspay")

satspay_ext: Blueprint = Blueprint("satspay",
                                   __name__,
                                   static_folder="static",
                                   template_folder="templates")

from .views_api import *  # noqa
from .views import *  # noqa
コード例 #4
0
ファイル: __init__.py プロジェクト: zenitsudeck/lnbits
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_withdraw")


withdraw_ext: Blueprint = Blueprint("withdraw", __name__, static_folder="static", template_folder="templates")


from .views_api import *  # noqa
from .views import *  # noqa
from .lnurl import *  # noqa
コード例 #5
0
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_amilk")

amilk_ext: Blueprint = Blueprint("amilk",
                                 __name__,
                                 static_folder="static",
                                 template_folder="templates")

from .views_api import *  # noqa
from .views import *  # noqa
コード例 #6
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_lnurlpos")

lnurlpos_ext: Blueprint = Blueprint(
    "lnurlpos", __name__, static_folder="static", template_folder="templates"
)

from .views_api import *  # noqa
from .views import *  # noqa
from .lnurl import *  # noqa

from lnbits.tasks import record_async
コード例 #7
0
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))
コード例 #8
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_ngrok")

ngrok_ext: Blueprint = Blueprint("ngrok", __name__, template_folder="templates")

from .views import *  # noqa
コード例 #9
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
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))
コード例 #10
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_usermanager")

usermanager_ext: Blueprint = Blueprint("usermanager",
                                       __name__,
                                       static_folder="static",
                                       template_folder="templates")

from .views_api import *  # noqa
from .views import *  # noqa
コード例 #11
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
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))
コード例 #12
0
ファイル: __init__.py プロジェクト: zenitsudeck/lnbits
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_events")

events_ext: Blueprint = Blueprint("events",
                                  __name__,
                                  static_folder="static",
                                  template_folder="templates")

from .views_api import *  # noqa
from .views import *  # noqa
コード例 #13
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
from quart import Blueprint

from lnbits.db import Database

db = Database("ext_offlineshop")

offlineshop_ext: Blueprint = Blueprint("offlineshop",
                                       __name__,
                                       static_folder="static",
                                       template_folder="templates")

from .views_api import *  # noqa
from .views import *  # noqa
from .lnurl import *  # noqa
コード例 #14
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
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))
コード例 #15
0
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_example")

example_ext: Blueprint = Blueprint("example",
                                   __name__,
                                   static_folder="static",
                                   template_folder="templates")

from .views_api import *  # noqa
from .views import *  # noqa
コード例 #16
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_lndhub")

lndhub_ext: Blueprint = Blueprint("lndhub",
                                  __name__,
                                  static_folder="static",
                                  template_folder="templates")

from .views_api import *  # noqa
from .views import *  # noqa
コード例 #17
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
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))
コード例 #18
0
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_paywall")

paywall_ext: Blueprint = Blueprint("paywall", __name__, static_folder="static", template_folder="templates")


from .views_api import *  # noqa
from .views import *  # noqa
コード例 #19
0
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_lnurlp")

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))
コード例 #20
0
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))
コード例 #21
0
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_tpos")

tpos_ext: Blueprint = Blueprint(
    "tpos", __name__, static_folder="static", template_folder="templates"
)


from .views_api import *  # noqa
from .views import *  # noqa
コード例 #22
0
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
コード例 #23
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_satsdice")


satsdice_ext: Blueprint = Blueprint(
    "satsdice", __name__, static_folder="static", template_folder="templates"
)


from .views_api import *  # noqa
from .views import *  # noqa
from .lnurl import *  # noqa
コード例 #24
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_watchonly")

watchonly_ext: Blueprint = Blueprint("watchonly",
                                     __name__,
                                     static_folder="static",
                                     template_folder="templates")

from .views_api import *  # noqa
from .views import *  # noqa
コード例 #25
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_bleskomat")

bleskomat_ext: Blueprint = Blueprint("bleskomat",
                                     __name__,
                                     static_folder="static",
                                     template_folder="templates")

from .lnurl_api import *  # noqa
from .views_api import *  # noqa
from .views import *  # noqa
コード例 #26
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_captcha")

captcha_ext: Blueprint = Blueprint("captcha",
                                   __name__,
                                   static_folder="static",
                                   template_folder="templates")

from .views_api import *  # noqa
from .views import *  # noqa
コード例 #27
0
ファイル: __init__.py プロジェクト: tomichec/lnbits
from quart import Blueprint
from lnbits.db import Database

db = Database("ext_streamalerts")

streamalerts_ext: Blueprint = Blueprint("streamalerts",
                                        __name__,
                                        static_folder="static",
                                        template_folder="templates")

from .views_api import *  # noqa
from .views import *  # noqa