Skip to main content

StorefrontEditorHeartbeatInput

What one open storefront editor reports about itself: which window it is, whether it has unsaved changes, and the page it shows.

input StorefrontEditorHeartbeatInput {
dirty: Boolean!
pageId: String
sessionId: String!
}

Fields​

StorefrontEditorHeartbeatInput.dirty ● Boolean! non-null scalar​

Whether this editor has changes it has not saved yet.

StorefrontEditorHeartbeatInput.pageId ● String scalar​

The id of the page or template this editor shows, as the draft names it. Shown to the others; null when none is open yet.

StorefrontEditorHeartbeatInput.sessionId ● String! non-null scalar​

This editor window's own id, made by the editor when it opens (8–64 letters, digits, - or _). A second window of the same person has its own.

Member Of​

storefrontEditorHeartbeat mutation