2021-08-22 20:07:24 +02:00
|
|
|
from fastapi.routing import APIRouter
|
|
|
|
|
2022-12-22 15:30:37 +01:00
|
|
|
from lnbits.core.models import CoreAppExtra
|
2020-11-21 22:04:39 +01:00
|
|
|
from lnbits.db import Database
|
2020-01-31 21:07:05 +01:00
|
|
|
|
2020-11-21 22:04:39 +01:00
|
|
|
db = Database("database")
|
2020-01-31 21:07:05 +01:00
|
|
|
|
2021-08-22 20:07:24 +02:00
|
|
|
core_app: APIRouter = APIRouter()
|
2020-01-31 21:07:05 +01:00
|
|
|
|
2022-12-22 15:30:37 +01:00
|
|
|
core_app_extra: CoreAppExtra = CoreAppExtra()
|
|
|
|
|
2022-12-08 14:41:52 +01:00
|
|
|
from .views.admin_api import * # noqa
|
2020-03-08 23:00:41 +01:00
|
|
|
from .views.api import * # noqa
|
|
|
|
from .views.generic import * # noqa
|
2021-06-02 22:04:56 +02:00
|
|
|
from .views.public_api import * # noqa
|