feat: introduce post resource with full CRUD operations and generation linking.

This commit is contained in:
xds
2026-02-17 15:54:01 +03:00
parent c93e577bcf
commit d820d9145b
10 changed files with 327 additions and 1 deletions

View File

@@ -57,4 +57,9 @@ async def get_project_id(x_project_id: Optional[str] = Header(None, alias="X-Pro
return x_project_id
async def get_album_service(dao: DAO = Depends(get_dao)) -> AlbumService:
return AlbumService(dao)
return AlbumService(dao)
from api.service.post_service import PostService
def get_post_service(dao: DAO = Depends(get_dao)) -> PostService:
return PostService(dao)