├── LICENSE ├── README.md ├── docs ├── domain.md ├── implementation.md └── implementation_log.md ├── pyproject.toml ├── src └── deseos17 │ ├── __init__.py │ ├── adapters │ ├── __init__.py │ ├── auth │ │ ├── __init__.py │ │ ├── raw.py │ │ ├── telegram_auth.py │ │ └── token.py │ └── database │ │ ├── __init__.py │ │ ├── fake_transaction_manager.py │ │ ├── fake_user_db.py │ │ └── fake_wish_db.py │ ├── application │ ├── __init__.py │ ├── authenticate.py │ ├── common │ │ ├── __init__.py │ │ ├── dto.py │ │ ├── exceptions.py │ │ ├── id_provider.py │ │ ├── interactor.py │ │ ├── transaction.py │ │ ├── user_gateway.py │ │ └── wish_gateway.py │ ├── create_wish.py │ ├── create_wishlist.py │ ├── delete_wish │ │ └── __init__.py │ ├── delete_wishlist │ │ └── __init__.py │ ├── get_own_wishlists.py │ ├── share_wishlist │ │ └── __init__.py │ ├── update_wish.py │ └── view_wishlist.py │ ├── domain │ ├── __init__.py │ ├── exceptions │ │ ├── __init__.py │ │ ├── access.py │ │ └── base.py │ ├── models │ │ ├── __init__.py │ │ ├── sharing.py │ │ ├── user.py │ │ ├── user_id.py │ │ └── wish.py │ └── services │ │ ├── __init__.py │ │ ├── access.py │ │ ├── wish.py │ │ └── wishlist.py │ ├── main │ ├── __init__.py │ ├── bot.py │ ├── config.py │ ├── ioc.py │ └── web.py │ └── presentation │ ├── __init__.py │ ├── interactor_factory.py │ ├── telegram │ ├── __init__.py │ ├── create_wish.py │ ├── create_wishlist.py │ ├── get_own_wishlists.py │ ├── middlewares │ │ ├── __init__.py │ │ └── id_provider.py │ ├── start.py │ ├── states.py │ └── view_wishlist.py │ └── web_api │ ├── __init__.py │ ├── create_wish.py │ ├── dependencies │ ├── __init__.py │ ├── config.py │ ├── depends_stub.py │ └── id_provider.py │ ├── get_own_wishlists.py │ └── login │ ├── __init__.py │ ├── router.py │ └── templates │ ├── __init__.py │ └── login.html └── tests ├── __init__.py ├── application ├── __init__.py └── test_create_wish.py └── domain ├── __init__.py └── test_wish.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/README.md -------------------------------------------------------------------------------- /docs/domain.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/docs/domain.md -------------------------------------------------------------------------------- /docs/implementation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/docs/implementation.md -------------------------------------------------------------------------------- /docs/implementation_log.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/docs/implementation_log.md -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/deseos17/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/adapters/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/adapters/auth/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/adapters/auth/raw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/adapters/auth/raw.py -------------------------------------------------------------------------------- /src/deseos17/adapters/auth/telegram_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/adapters/auth/telegram_auth.py -------------------------------------------------------------------------------- /src/deseos17/adapters/auth/token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/adapters/auth/token.py -------------------------------------------------------------------------------- /src/deseos17/adapters/database/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/adapters/database/fake_transaction_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/adapters/database/fake_transaction_manager.py -------------------------------------------------------------------------------- /src/deseos17/adapters/database/fake_user_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/adapters/database/fake_user_db.py -------------------------------------------------------------------------------- /src/deseos17/adapters/database/fake_wish_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/adapters/database/fake_wish_db.py -------------------------------------------------------------------------------- /src/deseos17/application/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/application/authenticate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/application/authenticate.py -------------------------------------------------------------------------------- /src/deseos17/application/common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/application/common/dto.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/application/common/dto.py -------------------------------------------------------------------------------- /src/deseos17/application/common/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/application/common/exceptions.py -------------------------------------------------------------------------------- /src/deseos17/application/common/id_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/application/common/id_provider.py -------------------------------------------------------------------------------- /src/deseos17/application/common/interactor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/application/common/interactor.py -------------------------------------------------------------------------------- /src/deseos17/application/common/transaction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/application/common/transaction.py -------------------------------------------------------------------------------- /src/deseos17/application/common/user_gateway.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/application/common/user_gateway.py -------------------------------------------------------------------------------- /src/deseos17/application/common/wish_gateway.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/application/common/wish_gateway.py -------------------------------------------------------------------------------- /src/deseos17/application/create_wish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/application/create_wish.py -------------------------------------------------------------------------------- /src/deseos17/application/create_wishlist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/application/create_wishlist.py -------------------------------------------------------------------------------- /src/deseos17/application/delete_wish/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/application/delete_wishlist/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/application/get_own_wishlists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/application/get_own_wishlists.py -------------------------------------------------------------------------------- /src/deseos17/application/share_wishlist/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/application/update_wish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/application/update_wish.py -------------------------------------------------------------------------------- /src/deseos17/application/view_wishlist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/application/view_wishlist.py -------------------------------------------------------------------------------- /src/deseos17/domain/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/domain/exceptions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/domain/exceptions/__init__.py -------------------------------------------------------------------------------- /src/deseos17/domain/exceptions/access.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/domain/exceptions/access.py -------------------------------------------------------------------------------- /src/deseos17/domain/exceptions/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/domain/exceptions/base.py -------------------------------------------------------------------------------- /src/deseos17/domain/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/domain/models/sharing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/domain/models/sharing.py -------------------------------------------------------------------------------- /src/deseos17/domain/models/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/domain/models/user.py -------------------------------------------------------------------------------- /src/deseos17/domain/models/user_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/domain/models/user_id.py -------------------------------------------------------------------------------- /src/deseos17/domain/models/wish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/domain/models/wish.py -------------------------------------------------------------------------------- /src/deseos17/domain/services/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/domain/services/access.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/domain/services/access.py -------------------------------------------------------------------------------- /src/deseos17/domain/services/wish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/domain/services/wish.py -------------------------------------------------------------------------------- /src/deseos17/domain/services/wishlist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/domain/services/wishlist.py -------------------------------------------------------------------------------- /src/deseos17/main/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/main/bot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/main/bot.py -------------------------------------------------------------------------------- /src/deseos17/main/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/main/config.py -------------------------------------------------------------------------------- /src/deseos17/main/ioc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/main/ioc.py -------------------------------------------------------------------------------- /src/deseos17/main/web.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/main/web.py -------------------------------------------------------------------------------- /src/deseos17/presentation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/presentation/interactor_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/interactor_factory.py -------------------------------------------------------------------------------- /src/deseos17/presentation/telegram/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/presentation/telegram/create_wish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/telegram/create_wish.py -------------------------------------------------------------------------------- /src/deseos17/presentation/telegram/create_wishlist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/telegram/create_wishlist.py -------------------------------------------------------------------------------- /src/deseos17/presentation/telegram/get_own_wishlists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/telegram/get_own_wishlists.py -------------------------------------------------------------------------------- /src/deseos17/presentation/telegram/middlewares/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/presentation/telegram/middlewares/id_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/telegram/middlewares/id_provider.py -------------------------------------------------------------------------------- /src/deseos17/presentation/telegram/start.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/telegram/start.py -------------------------------------------------------------------------------- /src/deseos17/presentation/telegram/states.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/telegram/states.py -------------------------------------------------------------------------------- /src/deseos17/presentation/telegram/view_wishlist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/telegram/view_wishlist.py -------------------------------------------------------------------------------- /src/deseos17/presentation/web_api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/presentation/web_api/create_wish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/web_api/create_wish.py -------------------------------------------------------------------------------- /src/deseos17/presentation/web_api/dependencies/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/presentation/web_api/dependencies/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/web_api/dependencies/config.py -------------------------------------------------------------------------------- /src/deseos17/presentation/web_api/dependencies/depends_stub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/web_api/dependencies/depends_stub.py -------------------------------------------------------------------------------- /src/deseos17/presentation/web_api/dependencies/id_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/web_api/dependencies/id_provider.py -------------------------------------------------------------------------------- /src/deseos17/presentation/web_api/get_own_wishlists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/web_api/get_own_wishlists.py -------------------------------------------------------------------------------- /src/deseos17/presentation/web_api/login/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/presentation/web_api/login/router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/web_api/login/router.py -------------------------------------------------------------------------------- /src/deseos17/presentation/web_api/login/templates/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deseos17/presentation/web_api/login/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/src/deseos17/presentation/web_api/login/templates/login.html -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/application/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/application/test_create_wish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/tests/application/test_create_wish.py -------------------------------------------------------------------------------- /tests/domain/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/domain/test_wish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tishka17/deseos17/HEAD/tests/domain/test_wish.py --------------------------------------------------------------------------------