feat: warehouse places accounting

This commit is contained in:
2025-05-07 09:53:17 +04:00
parent 36ddf7d6a7
commit 42ce73dd6a
20 changed files with 889 additions and 1 deletions

View File

@@ -4,12 +4,14 @@ from fastapi import Depends
from sqlalchemy.ext.asyncio import AsyncSession
from backend.session import get_session
from backend.wms_session import get_wms_session
from models import User
from schemas.base import PaginationSchema
from services.auth import get_current_user, authorized_user, guest_user
from utils.dependecies import pagination_parameters
SessionDependency = Annotated[AsyncSession, Depends(get_session)]
WmsSessionDependency = Annotated[AsyncSession, Depends(get_wms_session)]
PaginationDependency = Annotated[PaginationSchema, Depends(pagination_parameters)]
CurrentUserDependency = Annotated[User, Depends(get_current_user)]
AuthorizedUserDependency = Annotated[User, Depends(authorized_user)]