Renamed hooks on frontend and started working on shop registration

This commit is contained in:
Thastertyn committed 2025-03-13 15:41:44 +01:00
1 parent 3b42ea6914
commit 9c2b88b103
35 files changed
+180 -37

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
from sqlmodel import Field, SQLModel
class ShopCreate(SQLModel):
name: str = Field(max_length=100, nullable=False, unique=True)
description: str = Field(max_length=500, nullable=False)
currency: str = Field(max_length=3, nullable=False)