dyna-record
    Preparing search index...

    Type Alias OptionsWithoutIndex<T, SK>

    OptionsWithoutIndex: Omit<QueryOptions, "indexName" | "filter" | "skCondition"> & {
        filter?: SKScopedFilterParams<T, SK>;
    }

    Options for querying without an index.

    Omits indexName, filter, and skCondition from QueryOptions. The filter property is re-declared using TypedFilterParams for compile-time key validation. The skCondition property is omitted here and re-added at the query overload level with a const SK generic parameter for literal type inference and return type narrowing.

    The query overload also re-declares filter with a const F generic parameter to enable literal type inference for return type narrowing. Both declarations are required: this one provides excess property checking on object literals, while the generic provides literal type capture for return type inference. The generic is inferred from FilterInferenceSite and checked against CheckedFilterParams, which keeps it from making an undeclared key in an object operand known to the intersection.

    Type Parameters

    • T extends default = default

      The entity type being queried. Defaults to DynaRecord for backward compatibility in generic contexts.

    • SK = unknown