init
This commit is contained in:
20
node_modules/matrix-js-sdk/lib/models/search-result.d.ts
generated
vendored
Normal file
20
node_modules/matrix-js-sdk/lib/models/search-result.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import { EventContext } from "./event-context.ts";
|
||||
import { type EventMapper } from "../event-mapper.ts";
|
||||
import { type ISearchResult } from "../@types/search.ts";
|
||||
export declare class SearchResult {
|
||||
readonly rank: number;
|
||||
readonly context: EventContext;
|
||||
/**
|
||||
* Create a SearchResponse from the response to /search
|
||||
*/
|
||||
static fromJson(jsonObj: ISearchResult, eventMapper: EventMapper): SearchResult;
|
||||
/**
|
||||
* Construct a new SearchResult
|
||||
*
|
||||
* @param rank - where this SearchResult ranks in the results
|
||||
* @param context - the matching event and its
|
||||
* context
|
||||
*/
|
||||
constructor(rank: number, context: EventContext);
|
||||
}
|
||||
//# sourceMappingURL=search-result.d.ts.map
|
||||
Reference in New Issue
Block a user