weaviate-client
    Preparing search index...

    Type Alias ReferenceConfigBaseCreate<T>

    The base class for creating a reference configuration.

    type ReferenceConfigBaseCreate<T> = {
        description?: string;
        name: T extends undefined ? string : RefKeys<T>;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    description?: string

    The description of the reference.

    name: T extends undefined ? string : RefKeys<T>

    The name of the reference. If no generic passed, the type is string. If a generic is passed, the type is a union of the keys labelled as CrossReference.