dyna-record
    Preparing search index...

    Type Alias Searchable<T>

    Searchable: Brand<T, "Searchable">

    A branded string type marking an attribute as the entity's searchable text for vector search. Apply the @Searchable() decorator over a string attribute decorator to a property of this type.

    The brand never leaks into consumer ergonomics: Searchable is assignable to string on read, and create/update inputs accept plain strings (the brand is stripped by the input mapped types).

    Type Parameters

    • T extends string = string

      The underlying string type. Defaults to string.