UNPKG

@rr0/cms

Version:

RR0 Content Management System (CMS)

17 lines (16 loc) 902 B
import { RR0Context } from "../../../RR0Context.js"; import { UfoSearchDatasource } from "./UfoSearchDatasource.js"; import { HttpSource } from "../HttpSource.js"; import { UfoSearchCase } from "./UfoSearchCase.js"; import { TimeContext } from "../../TimeContext.mjs"; 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; }