# GuideDiscard

What discard_guide_changes threw away, and the save state after it.

Group: Objects.

## Fields

- `ok` (boolean, required): Always true: the write went through. Always `true`.
- `changed` (number, required): Rows deleted, brought back or changed back.
- `removed` (array of strings, required): Ids of the rows added since the save, which are gone now.
- `productId` (string, required): The guide's id.
- `saved` (object or null, required): The guide's save: the content as last kept with Save changes in the studio or save_guide_changes, which Preview and draft testers read and discard_guide_changes goes back to. null before the first save.
  - `savedAt` (number, required): When the save was made (Unix time in milliseconds).
- `hasUnsavedChanges` (boolean, required): true when the draft holds changes the save does not (false before the first save).
- `savePendingSince` (number or null, required): When a save started building; null when none is running.

## Used by

- [discard_guide_changes](https://developers.sceniq.earth/reference/discard_guide_changes.md)
