"""Legacy aliases — prefer ``api.schemas.workplan``."""
from api.schemas.workplan import (
    ConcurrencyMode,
    ExecutionState,
    LaunchMode,
    WorkplanCreate,
    WorkplanRead,
    WorkplanStatus,
    WorkplanStatusMixin,
    WorkplanUpdate,
    WorkplanWithDeps,
    WorkplanWithTaskCounts,
)

WorkstreamStatus = WorkplanStatus
WorkstreamStatusMixin = WorkplanStatusMixin
WorkstreamCreate = WorkplanCreate
WorkstreamUpdate = WorkplanUpdate
WorkstreamRead = WorkplanRead
WorkstreamWithTaskCounts = WorkplanWithTaskCounts
WorkstreamWithDeps = WorkplanWithDeps

__all__ = [
    "WorkstreamStatus",
    "WorkstreamStatusMixin",
    "WorkstreamCreate",
    "WorkstreamUpdate",
    "WorkstreamRead",
    "WorkstreamWithTaskCounts",
    "WorkstreamWithDeps",
    "WorkplanStatus",
    "WorkplanStatusMixin",
    "WorkplanCreate",
    "WorkplanUpdate",
    "WorkplanRead",
    "WorkplanWithTaskCounts",
    "WorkplanWithDeps",
    "ExecutionState",
    "LaunchMode",
    "ConcurrencyMode",
]