UNPKG

@rr0/cms

Version:

RR0 Content Management System (CMS)

17 lines (16 loc) 909 B
import { CaseMapper } from "../CaseMapper.js"; import { UfoSearchCase } from "./UfoSearchCase.js"; import { HtmlRR0Context } from "../../../RR0Context.js"; import { RR0CaseSummary } from "../rr0/index.js"; import { CityService } from "../../../org/index.js"; import { OrganizationPlace } from "../../../place/OrganizationPlace.js"; export declare class UfoSearchCaseRR0Mapper implements CaseMapper<HtmlRR0Context, UfoSearchCase, RR0CaseSummary> { protected cityService: CityService; readonly baseUrl: string; readonly copyright: string; readonly authors: string[]; constructor(cityService: CityService, baseUrl: string, copyright: string, authors: string[]); getDescription(c: UfoSearchCase): string; map(context: HtmlRR0Context, sourceCase: UfoSearchCase, sourceTime: Date): RR0CaseSummary; protected getPlace(context: HtmlRR0Context, placeName: string): OrganizationPlace; }