mitlist/be/app/schemas
google-labs-jules[bot] 16c9abb16a feat: Initial backend setup for Chore Management (Models, Migrations, Schemas, Chore CRUD)
I've implemented the foundational backend components for the chore management feature.

Key changes include:
- Definition of `Chore` and `ChoreAssignment` SQLAlchemy models in `be/app/models.py`.
- Addition of corresponding relationships to `User` and `Group` models.
- Creation of an Alembic migration script (`manual_0001_add_chore_tables.py`) for the new database tables. (Note: Migration not applied in sandbox).
- Implementation of a utility function `calculate_next_due_date` in `be/app/core/chore_utils.py` for determining chore due dates based on recurrence rules.
- Definition of Pydantic schemas (`ChoreCreate`, `ChorePublic`, `ChoreAssignmentCreate`, `ChoreAssignmentPublic`, etc.) in `be/app/schemas/chore.py` for API data validation.
- Implementation of CRUD operations (create, read, update, delete) for Chores in `be/app/crud/chore.py`.

This commit lays the groundwork for adding Chore Assignment CRUD operations and the API endpoints for both chores and their assignments.
2025-05-21 09:28:38 +00:00
..
__init__.py weeee💃 2025-03-30 16:02:49 +02:00
auth.py add_version_to_lists_and_items 2025-05-07 23:30:23 +02:00
chore.py feat: Initial backend setup for Chore Management (Models, Migrations, Schemas, Chore CRUD) 2025-05-21 09:28:38 +00:00
cost.py 0705 2025-05-08 00:56:26 +02:00
expense.py Enhance configuration and error handling in the application; add new error messages for OCR and authentication processes. Refactor database session management to include transaction handling, and update models to track user creation for expenses and settlements. Update API endpoints to improve cost-sharing calculations and adjust invite management routes for clarity. 2025-05-17 13:56:17 +02:00
group.py commit i guess 2025-05-13 20:33:02 +02:00
health.py add_version_to_lists_and_items 2025-05-07 23:30:23 +02:00
invite.py end of phase 3 2025-03-30 19:42:32 +02:00
item.py add_version_to_lists_and_items 2025-05-07 23:30:23 +02:00
list.py add_version_to_lists_and_items 2025-05-07 23:30:23 +02:00
message.py end of phase 3 2025-03-30 19:42:32 +02:00
ocr.py end of phase 5 2025-04-02 23:54:43 +02:00
user.py Refactor authentication endpoints and user management; update CORS settings and JWT handling for improved security and compatibility with FastAPI-Users. Remove deprecated user-related endpoints and streamline API structure. 2025-05-14 01:04:09 +02:00