← API reference
CANONICAL TYPE REFERENCE

ReviseEstimatePayload

Result of reviseEstimate: the new revision, its lines, and the superseded original.

The new draft revision, numbered <originalNumber>-R<revision>, with revisionNumber incremented and parentEstimateId set to the original. Null when errors is non-empty.

Lines copied verbatim from the original estimate onto the new revision, in the original's sort order. Null on failure.

The original estimate after being superseded — status revised. Null on failure.

Field-level validation errors. Empty on success; when non-empty nothing was written and every other field is null.

View exact SDL
"""
Result of `reviseEstimate`: the new revision, its lines, and the superseded original.
"""
type ReviseEstimatePayload {
  """
  The new draft revision, numbered `<originalNumber>-R<revision>`, with `revisionNumber` incremented and `parentEstimateId` set to the original. Null when `errors` is non-empty.
  """
  newEstimate: EstimateState
  """
  Lines copied verbatim from the original estimate onto the new revision, in the original's sort order. Null on failure.
  """
  newEstimateLines: [EstimateLineState!]
  """
  The original estimate after being superseded — status `revised`. Null on failure.
  """
  originalEstimate: EstimateState
  """
  Field-level validation errors. Empty on success; when non-empty nothing was written and every other field is null.
  """
  errors: [FieldError!]!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.