- ProductOption and ProductPreferenceChoice gain sub_choices (JSON Text column)
for nested inline choices shown when the parent is selected
- ProductPreferenceSet gains default_choice_id and shared_subset (set-level
sub-choice group shown for all choices that don't disable it)
- Product gains sort_order column; list endpoint orders by sort_order
- New PUT /products/reorder endpoint for drag-and-drop ordering
- DELETE /products/{id} now accepts ?hard=true for permanent deletion (blocked
if product appears in any past order)
- Schemas updated with model_validators to parse stored JSON back to typed objects
- Add python-multipart to requirements (needed for file upload form parsing)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
11 lines
176 B
Plaintext
11 lines
176 B
Plaintext
fastapi==0.115.0
|
|
uvicorn==0.30.6
|
|
sqlalchemy==2.0.36
|
|
pydantic-settings==2.6.1
|
|
python-escpos==3.1
|
|
Pillow==10.4.0
|
|
bcrypt==4.2.0
|
|
pyjwt==2.9.0
|
|
httpx==0.27.2
|
|
python-multipart==0.0.9
|