@rr0/cms
Version:
RR0 Content Management System (CMS)
17 lines (16 loc) • 890 B
TypeScript
import { RR0Context } from "../../../RR0Context.js";
import { UfoSearchDatasource } from "./UfoSearchDatasource.js";
import { TimeContext } from "@rr0/time";
import { HttpSource } from "../HttpSource.js";
import { UfoSearchCase } from "./UfoSearchCase.js";
export declare class UfoSearchHttpDatasource extends UfoSearchDatasource {
readonly baseUrl: string;
readonly searchPath: string;
protected readonly http: HttpSource;
constructor(baseUrl: string, searchPath: string);
queryUrl(year: number | undefined, month: number | undefined, day: number | undefined): string;
protected readCases(context: RR0Context): Promise<UfoSearchCase[]>;
protected setDate(time: TimeContext, dateStr: string): void;
protected getFromRow(context: RR0Context, row: Element): Promise<UfoSearchCase>;
protected setTime(dateTime: TimeContext, timeLabel: HTMLElement): void;
}