35 lines
722 B
Python
35 lines
722 B
Python
"""
|
|
MPR Schema Definitions - Source of Truth
|
|
|
|
This package defines the core data models as Python dataclasses.
|
|
These definitions are used to generate:
|
|
- SQLModel models (core/db/models.py)
|
|
- Pydantic schemas (detect/sse_contract.py, gpu/models/inference_contract.py)
|
|
- TypeScript types (ui/)
|
|
- Protobuf definitions (core/rpc/protos/worker.proto)
|
|
"""
|
|
|
|
from .models import (
|
|
BUILTIN_PRESETS,
|
|
DATACLASSES,
|
|
ENUMS,
|
|
GRPC_MESSAGES,
|
|
GRPC_SERVICE,
|
|
AssetStatus,
|
|
CancelRequest,
|
|
CancelResponse,
|
|
Empty,
|
|
JobRequest,
|
|
JobResponse,
|
|
JobStatus,
|
|
MediaAsset,
|
|
ProgressRequest,
|
|
ProgressUpdate,
|
|
TranscodePreset,
|
|
WorkerStatus,
|
|
Job,
|
|
Timeline,
|
|
Checkpoint,
|
|
Brand,
|
|
)
|