Skip to main content

Previewable

A preview is a list of integers representing the number of lines and the respective lengths of multi-line content, for example messages, merges, and ratings. It can be used to build a visual approximation of the content of the change while the full change is being fetched.

An object implements previewable if preview lines can be derived from its content.

interface Previewable {
preview: [Int!]
}

Fields

Previewable.preview ● [Int!] list scalar common

The preview lines and their respective lengths.

Implemented by

Event object