---
title: Restored
description: >-
  What `Restorer.restore` did: committed, or why not. `unchanged` when the
  branch already held the content, `changed` when its file isn't the one the
  caller read, `protected` when a rule for the branch refuses the commit, `busy`
  when the branch moved on meanwhile. Only `commit` moved the branch.
updated_at: '2026-11-19T14:58:02+01:00'
created_at: '2026-11-19T13:39:54+01:00'
symbol:
  kind: type
  name: Restored
  signatures:
    - >-
      type Restored = { readonly kind: "commit"; readonly sha: string; readonly
      url: string } | { readonly kind: "unchanged" | "changed" | "protected" |
      "busy" }
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugin-submissions/src/restore.ts#L67
---

# Restored
