UNPKG

@rr0/cms

Version:

RR0 Content Management System (CMS)

17 lines (16 loc) 889 B
import { CaseMapper } from "../CaseMapper.js"; import { UrecatCase } from "./UrecatCase.js"; import { HtmlRR0Context } from "../../../RR0Context.js"; import { RR0CaseSummary } from "../rr0/RR0CaseSummary.js"; import { CityService } from "../../../org/country/index.js"; import { CountryService } from "../../../org/country/CountryService.js"; export declare class UrecatRR0Mapper implements CaseMapper<HtmlRR0Context, UrecatCase, RR0CaseSummary> { protected cityService: CityService; protected countryService: CountryService; readonly baseUrl: URL; readonly copyright: string; readonly authors: string[]; constructor(cityService: CityService, countryService: CountryService, baseUrl: URL, copyright: string, authors: string[]); getDescription(c: UrecatCase): string; map(context: HtmlRR0Context, sourceCase: UrecatCase, sourceTime: Date): RR0CaseSummary; }