@triply/triplydb
    Preparing search index...

    Interface StoryElementQuery

    interface StoryElementQuery {
        caption?: string;
        height?: StoryElementHeight;
        id: string;
        query?: Query;
        type: "query";
        width?: StoryElementWidth;
    }

    Hierarchy

    • Omit<StoryElementQueryPayload, "query" | "queryVersion">
      • StoryElementQuery
    Index
    caption?: string

    Text shown beneath the query's results.

    height?: StoryElementHeight

    How tall the element is rendered.

    id: string

    Identifier for this element, used to address it when updating the story.

    query?: Query

    The query this element shows, resolved to an object you can run.

    Absent when the reader may not see the query, even though they may see the story.

    type: "query"

    Narrows a story element to this kind.

    width?: StoryElementWidth

    How much of the story's width the element takes.