@dxos/client
    Preparing search index...

    Variable typeConst

    type: (
        schema: Schema.Schema.All | string,
        predicates?: Props<unknown>,
    ) => Query.Any

    Query for objects of a given schema.

    Type declaration

      • (schema: Schema.Schema.All | string, predicates?: Props<unknown>): Query.Any
      • Parameters

        • schema: Schema.Schema.All | string

          Schema of the objects.

        • Optionalpredicates: Props<unknown>

          Predicates to filter the objects.

        Returns Query.Any

        Query for the objects.

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