#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future__ import annotations

from flask import Blueprint

admin_api_bp = Blueprint("admin_api", __name__, url_prefix="/yuyx/api")

# Import side effects: register routes on blueprint
from routes.admin_api import core as _core  # noqa: F401
from routes.admin_api import system_config_api as _system_config_api  # noqa: F401
from routes.admin_api import operations_api as _operations_api  # noqa: F401
from routes.admin_api import announcements_api as _announcements_api  # noqa: F401
from routes.admin_api import users_api as _users_api  # noqa: F401
from routes.admin_api import account_api as _account_api  # noqa: F401
from routes.admin_api import feedback_api as _feedback_api  # noqa: F401
from routes.admin_api import infra_api as _infra_api  # noqa: F401
from routes.admin_api import tasks_api as _tasks_api  # noqa: F401
from routes.admin_api import email_api as _email_api  # noqa: F401

# Export security blueprint for app registration
from routes.admin_api.security import security_bp  # noqa: F401
