UpsertProductionPlanPayload
Result of a production-plan write: either the persisted plan with its children, or the validation errors that rejected it.
Fields
The written plan, or null when the write was rejected — in which case errors is non-empty and nothing was persisted.
The plan's newly written production steps, with their server-issued ids. Null when the write was rejected, and on updateProductionPlan when the update left the existing steps untouched.
The plan's newly written dependency edges, with the index-based references resolved to planned-operation TypeIDs. Null when the write was rejected, and on updateProductionPlan when the update left the existing edges untouched.
Field-level validation errors (paths such as plannedOperations[0].name or edges), including DAG violations. Empty on success; when non-empty the whole write was rejected and no changes were persisted.
Referenced by (3)
Exact type SDL
"""
Result of a production-plan write: either the persisted plan with its children, or the validation errors that rejected it.
"""
type UpsertProductionPlanPayload {
"""
The written plan, or null when the write was rejected — in which case `errors` is non-empty and nothing was persisted.
"""
productionPlan: ProductionPlanState
"""
The plan's newly written production steps, with their server-issued ids. Null when the write was rejected, and on updateProductionPlan when the update left the existing steps untouched.
"""
plannedOperations: [PlannedOperationState!]
"""
The plan's newly written dependency edges, with the index-based references resolved to planned-operation TypeIDs. Null when the write was rejected, and on updateProductionPlan when the update left the existing edges untouched.
"""
edges: [PlannedEdgeState!]
"""
Field-level validation errors (paths such as `plannedOperations[0].name` or `edges`), including DAG violations. Empty on success; when non-empty the whole write was rejected and no changes were persisted.
"""
errors: [FieldError!]!
}