phase 4
This commit is contained in:
@@ -30,19 +30,18 @@ from .timeline import Timeline
|
||||
from .checkpoint import Checkpoint
|
||||
from .brand import BrandSource, Brand
|
||||
from .media import AssetStatus, MediaAsset
|
||||
from .presets import BUILTIN_PRESETS, TranscodePreset
|
||||
from .detect import DETECT_VIEWS # noqa: F401 — discovered by modelgen generic loader
|
||||
from .inference import INFERENCE_VIEWS # noqa: F401 — GPU inference server API types
|
||||
from .ui_state import UI_STATE_VIEWS # noqa: F401 — UI store state types
|
||||
from .stages import StageConfigField, StageIO, StageDefinition, STAGE_VIEWS # noqa: F401
|
||||
from .pipeline_config import StageRef, Edge, PipelineConfig, PIPELINE_CONFIG_VIEWS # noqa: F401
|
||||
from .detect_api import RunRequest, RunResponse, DETECT_API_VIEWS # noqa: F401
|
||||
from .views import ChunkEvent, ChunkOutputFile, PipelineStats, WorkerEvent
|
||||
from .sources import ChunkInfo, SourceJob, SourceType
|
||||
from .profile import Profile
|
||||
from .preset import BUILTIN_PRESETS, TranscodePreset
|
||||
from .event import DETECT_VIEWS # noqa: F401
|
||||
from .inference import INFERENCE_VIEWS # noqa: F401
|
||||
from .ui_state import UI_STATE_VIEWS # noqa: F401
|
||||
from .stage import STAGE_VIEWS # noqa: F401
|
||||
from .view import ChunkEvent, ChunkOutputFile, PipelineStats, WorkerEvent
|
||||
from .source import ChunkInfo, SourceJob, SourceType
|
||||
|
||||
# Core domain models - generates SQLModel, TypeScript
|
||||
DATACLASSES = [MediaAsset, TranscodePreset,
|
||||
Job, Timeline, Checkpoint, Brand]
|
||||
Job, Timeline, Checkpoint, Brand, Profile]
|
||||
|
||||
# API request/response models
|
||||
API_MODELS = [
|
||||
@@ -75,55 +74,3 @@ GRPC_MESSAGES = [
|
||||
ChunkStreamRequest,
|
||||
ChunkPipelineEvent,
|
||||
]
|
||||
|
||||
__all__ = [
|
||||
# Models
|
||||
"MediaAsset",
|
||||
"TranscodePreset",
|
||||
"Job",
|
||||
"Timeline",
|
||||
"Checkpoint",
|
||||
# Enums
|
||||
"AssetStatus",
|
||||
"JobStatus",
|
||||
"RunType",
|
||||
"BrandSource",
|
||||
"SourceType",
|
||||
# Stages
|
||||
"StageConfigField",
|
||||
"StageIO",
|
||||
"StageDefinition",
|
||||
# API
|
||||
"CreateJobRequest",
|
||||
"UpdateAssetRequest",
|
||||
"DeleteResult",
|
||||
"ScanResult",
|
||||
"SystemStatus",
|
||||
# gRPC
|
||||
"GRPC_SERVICE",
|
||||
"JobRequest",
|
||||
"JobResponse",
|
||||
"ProgressRequest",
|
||||
"ProgressUpdate",
|
||||
"CancelRequest",
|
||||
"CancelResponse",
|
||||
"WorkerStatus",
|
||||
"Empty",
|
||||
"ChunkStreamRequest",
|
||||
"ChunkPipelineEvent",
|
||||
# Views
|
||||
"ChunkEvent",
|
||||
"WorkerEvent",
|
||||
"PipelineStats",
|
||||
"ChunkOutputFile",
|
||||
# Sources
|
||||
"SourceJob",
|
||||
"ChunkInfo",
|
||||
# For generator
|
||||
"DATACLASSES",
|
||||
"API_MODELS",
|
||||
"ENUMS",
|
||||
"VIEWS",
|
||||
"GRPC_MESSAGES",
|
||||
"BUILTIN_PRESETS",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user