Move API objects to v1 directory
This commit is contained in:
parent
45f7c672ac
commit
4be01df4da
@ -5,7 +5,7 @@ import sqlalchemy
|
||||
from sqlmodel import select
|
||||
from slixmpp.jid import JID
|
||||
|
||||
from xmpp_api.api.types.bot import (
|
||||
from xmpp_api.api.types.v1.bot import (
|
||||
AddJidRequest,
|
||||
AddJidResponse,
|
||||
AllowedJidInformation,
|
||||
|
@ -1,6 +1,6 @@
|
||||
from fastapi import APIRouter, Response
|
||||
|
||||
from xmpp_api.api.types.health import HealthResponse, ReadinessResponse
|
||||
from xmpp_api.api.types.v1.health import HealthResponse, ReadinessResponse
|
||||
from xmpp_api.xmpp.component import XmppApiComponentDep
|
||||
|
||||
|
||||
|
@ -3,7 +3,7 @@ from sqlmodel import select
|
||||
|
||||
from xmpp_api.db import UserDep, SessionDep
|
||||
from xmpp_api.db.bot import Bot
|
||||
from xmpp_api.api.types.bot import BotInformation
|
||||
from xmpp_api.api.types.v1.bot import BotInformation
|
||||
from xmpp_api.util.constraints import bot_constraint_from_db
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import xmpp_api.api.types.bot as bot_api
|
||||
import xmpp_api.api.types.v1.bot as bot_api
|
||||
import xmpp_api.db.bot as bot_db
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user