"""Register default routes."""

from aiohttp import web

from ..messaging.actionmenu.routes import register as register_actionmenu
from ..messaging.connections.routes import register as register_connections
from ..messaging.credentials.routes import register as register_credentials
from ..messaging.introduction.routes import register as register_introduction
from ..messaging.issue_credential.v1_0.routes import (
    register as register_v10_issue_credential
)
from ..messaging.present_proof.v1_0.routes import (
    register as register_v10_present_proof
)
from ..messaging.presentations.routes import register as register_presentations
from ..messaging.schemas.routes import register as register_schemas
from ..messaging.credential_definitions.routes import (
    register as register_credential_definitions,
)
from ..messaging.basicmessage.routes import register as register_basicmessages
from ..messaging.discovery.routes import register as register_discovery
from ..messaging.trustping.routes import register as register_trustping
from ..wallet.routes import register as register_wallet


async def register_module_routes(app: web.Application):
    """
    Register default routes with the webserver.

    Eventually this should use dynamic registration based on the
    currently-selected message families.
    """
    await register_actionmenu(app)
    await register_connections(app)
    await register_credentials(app)
    await register_introduction(app)
    await register_presentations(app)
    await register_schemas(app)
    await register_credential_definitions(app)
    await register_basicmessages(app)
    await register_discovery(app)
    await register_trustping(app)
    await register_v10_issue_credential(app)
    await register_v10_present_proof(app)
    await register_wallet(app)

"""Register default routes."""

from aiohttp import web

from ..messaging.actionmenu.routes import register as register_actionmenu
from ..messaging.connections.routes import register as register_connections
from ..messaging.credentials.routes import register as register_credentials
from ..messaging.introduction.routes import register as register_introduction
from ..messaging.issue_credential.v1_0.routes import (
    register as register_v10_issue_credential
)
from ..messaging.present_proof.v1_0.routes import (
    register as register_v10_present_proof
)
from ..messaging.presentations.routes import register as register_presentations
from ..messaging.schemas.routes import register as register_schemas
from ..messaging.credential_definitions.routes import (
    register as register_credential_definitions,
)
from ..messaging.basicmessage.routes import register as register_basicmessages
from ..messaging.discovery.routes import register as register_discovery
from ..messaging.trustping.routes import register as register_trustping
from ..wallet.routes import register as register_wallet


async def register_module_routes(app: web.Application):
    """
    Register default routes with the webserver.

    Eventually this should use dynamic registration based on the
    currently-selected message families.
    """
    await register_actionmenu(app)
    await register_connections(app)
    await register_credentials(app)
    await register_introduction(app)
    await register_presentations(app)
    await register_schemas(app)
    await register_credential_definitions(app)
    await register_basicmessages(app)
    await register_discovery(app)
    await register_trustping(app)
    await register_v10_issue_credential(app)
    await register_v10_present_proof(app)
    await register_wallet(app)

Register default routes. Register default routes with the webserver.      Eventually this should use dynamic registration based on the     currently-selected message families.