@dxos/echo
    Preparing search index...

    Variable typeConst

    type: {
        <T extends AnyEntity>(
            type: T,
            predicates?: Props<InstanceType<T>>,
        ): Query.Query<InstanceType<T>>;
        <S extends UnknownTypeSchema<any, any>>(
            schema: S,
            predicates?: Props<Type<S>>,
        ): Query.Query<Type<S>>;
        <S extends Union<readonly Codec<any, any, never, never>[]>>(
            union: S,
            predicates?: Props<Type<S>>,
        ): Query.Query<Type<S>>;
        (uri: URI.URI, predicates?: Props<unknown>): Query.Query<any>;
    } = ...

    Query for objects of a given schema.

    Type declaration

    Schema of the objects.

    Predicates to filter the objects.

    Query for the objects.

    Shorthand for: Query.select(Filter.type(schema, predicates)).

    O(1) plus O(p) for predicates; builds the AST without executing anything.