UNPKG

@vanakaru/ekilex-api-client

Version:

A node api client for the Ekilex API

21 lines (20 loc) 547 B
import { HttpClient } from '../http/http-client'; export declare type SourceProperty = { sourceId: number | null; id: number; type: string; valueText: string; valueDate: string | null; }; export declare type SourceSearchResponse = { id: number; type: string; sourceNames: string[]; sourceProperties: SourceProperty[]; }; export declare class Sources { private httpClient; constructor(httpClient: HttpClient); private getSearchPath; search(searchTerm: string): Promise<SourceSearchResponse[]>; }