feat: add user endpoints

This commit is contained in:
2026-06-11 18:46:21 +03:00
parent e0f044b455
commit 4aae631c73
21 changed files with 503 additions and 15 deletions

View File

@@ -0,0 +1,14 @@
from abc import ABC, abstractmethod
from src.application.domain.entities.user import WalletEntity
class IWalletRepository(ABC):
@abstractmethod
async def list_by_user(self, user_id: str) -> list[WalletEntity]:
raise NotImplementedError
@abstractmethod
async def exists_for_user(self, user_id: str) -> bool:
raise NotImplementedError