mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 01:06:23 +02:00
- Expanded installation options in README to include SurfSense Cloud as a new method. - Updated UserRead schema to include pages_limit and pages_used fields. - Added AnnouncementBanner component to the dashboard layout for improved user notifications. - Refactored DashboardPage to utilize useUser hook for user state management. - Integrated page usage display in AppSidebar to show user-specific page limits and usage. - Removed deprecated apiClient code and replaced it with hooks for better API interaction.
16 lines
241 B
Python
16 lines
241 B
Python
import uuid
|
|
|
|
from fastapi_users import schemas
|
|
|
|
|
|
class UserRead(schemas.BaseUser[uuid.UUID]):
|
|
pages_limit: int
|
|
pages_used: int
|
|
|
|
|
|
class UserCreate(schemas.BaseUserCreate):
|
|
pass
|
|
|
|
|
|
class UserUpdate(schemas.BaseUserUpdate):
|
|
pass
|