Backend: - Add 2FA authentication with TOTP support - Add API keys management system - Add audit logging for security events - Add file upload/management system - Add notifications system with preferences - Add session management - Add webhooks integration - Add analytics endpoints - Add export functionality - Add password policy enforcement - Add new database migrations for core tables Frontend: - Add module position system (top/bottom sidebar sections) - Add search and notifications module configuration tabs - Add mobile logo replacing hamburger menu - Center page title absolutely when no tabs present - Align sidebar footer toggles with navigation items - Add lighter icon color in dark theme for mobile - Add API keys management page - Add notifications page with context - Add admin analytics and audit logs pages 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
58 lines
1.4 KiB
Python
58 lines
1.4 KiB
Python
"""Schemas package - exports all Pydantic schemas."""
|
|
|
|
from app.schemas.user import User, UserCreate, UserUpdate, UserInDB
|
|
from app.schemas.auth import Token, TokenData, LoginRequest, RegisterRequest, TokenWith2FA, Verify2FARequest
|
|
from app.schemas.settings import Setting, SettingUpdate
|
|
from app.schemas.audit_log import AuditLog as AuditLogSchema, AuditLogCreate, AuditLogList, AuditLogStats
|
|
from app.schemas.webhook import (
|
|
Webhook as WebhookSchema,
|
|
WebhookCreate,
|
|
WebhookUpdate,
|
|
WebhookWithSecret,
|
|
WebhookDelivery as WebhookDeliverySchema,
|
|
WebhookTest,
|
|
WEBHOOK_EVENTS,
|
|
)
|
|
from app.schemas.file import (
|
|
StoredFile as StoredFileSchema,
|
|
FileCreate,
|
|
FileUpdate,
|
|
FileUploadResponse,
|
|
FileListResponse,
|
|
ALLOWED_CONTENT_TYPES,
|
|
MAX_FILE_SIZE,
|
|
)
|
|
|
|
__all__ = [
|
|
"User",
|
|
"UserCreate",
|
|
"UserUpdate",
|
|
"UserInDB",
|
|
"Token",
|
|
"TokenData",
|
|
"LoginRequest",
|
|
"RegisterRequest",
|
|
"TokenWith2FA",
|
|
"Verify2FARequest",
|
|
"Setting",
|
|
"SettingUpdate",
|
|
"AuditLogSchema",
|
|
"AuditLogCreate",
|
|
"AuditLogList",
|
|
"AuditLogStats",
|
|
"WebhookSchema",
|
|
"WebhookCreate",
|
|
"WebhookUpdate",
|
|
"WebhookWithSecret",
|
|
"WebhookDeliverySchema",
|
|
"WebhookTest",
|
|
"WEBHOOK_EVENTS",
|
|
"StoredFileSchema",
|
|
"FileCreate",
|
|
"FileUpdate",
|
|
"FileUploadResponse",
|
|
"FileListResponse",
|
|
"ALLOWED_CONTENT_TYPES",
|
|
"MAX_FILE_SIZE",
|
|
]
|