@audiotool/nexus - v0.0.12
    Preparing search index...

    Interface NexusLocation

    A NexusLocation describes a location in the document, either an entity itself, or a specific field of an entity.

    NexusLocations implement the SchemaLocation type, which describes a location in the document schema, and can be used to fetch metadata about fields, such as target types.

    interface NexusLocation {
        entityId: string;
        entityType: undefined | (keyof EntityTypes);
        fieldIndex: readonly number[];
        get "[hashSymbol]"(): string;
        equals(other: NexusLocation): boolean;
        isEmpty(): boolean;
        toString(): string;
    }

    Implements

    Index

    Properties

    entityId: string
    entityType: undefined | (keyof EntityTypes)
    fieldIndex: readonly number[]

    Accessors

    Methods