Backend (Phase 1-6): - Pydantic schemas for request/response validation - Service layer (SSH Key, Server, Repo, Sync) - API routes with authentication - FastAPI main application with lifespan management - ORM models (SshKey, Server, Repo, SyncLog) Frontend (Phase 7): - Vue 3 + Element Plus + Pinia + Vue Router - API client with Axios and interceptors - State management stores - All page components (Dashboard, Servers, Repos, SyncLogs, SshKeys, Settings) Deployment (Phase 8): - README with quick start guide - Startup script (start.sh) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
39 lines
821 B
Python
39 lines
821 B
Python
"""
|
|
Pydantic schemas for API request/response validation.
|
|
|
|
This module exports all schemas used throughout the application.
|
|
"""
|
|
|
|
# Common schemas
|
|
from app.schemas.common import SuccessResponse, ErrorResponse
|
|
|
|
# SSH Key schemas
|
|
from app.schemas.ssh_key import SshKeyCreate, SshKeyResponse
|
|
|
|
# Server schemas
|
|
from app.schemas.server import ServerCreate, ServerUpdate, ServerResponse
|
|
|
|
# Repository schemas
|
|
from app.schemas.repo import RepoResponse, CommitInfo
|
|
|
|
# Sync Log schemas
|
|
from app.schemas.sync_log import SyncLogResponse
|
|
|
|
__all__ = [
|
|
# Common
|
|
"SuccessResponse",
|
|
"ErrorResponse",
|
|
# SSH Key
|
|
"SshKeyCreate",
|
|
"SshKeyResponse",
|
|
# Server
|
|
"ServerCreate",
|
|
"ServerUpdate",
|
|
"ServerResponse",
|
|
# Repository
|
|
"RepoResponse",
|
|
"CommitInfo",
|
|
# Sync Log
|
|
"SyncLogResponse",
|
|
]
|