@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Type Alias NavigationTarget

    type NavigationTarget = {
        label: string;
        path: string;
        position?: Position.Position;
        type: string;
    }
    Index

    Properties

    label: string

    Human-readable label.

    path: string

    Navigation path usable with the Open operation.

    position?: Position.Position

    Sort order among the targets resolved for one query. A resolver that only produces a generic path — the database subtree, which guarantees every ECHO object a path but is not where the tree shows it — declares Position.last, so a resolver that knows the object's canonical home (its collection, a type section) is preferred. Only the resolver knows how specific its answer is, hence a declared position rather than path sniffing by the caller.

    type: string

    Object type.