UNPKG

@rr0/cms

Version:

RR0 Content Management System (CMS)

25 lines (24 loc) 1.19 kB
import { CaseMapper } from "../CaseMapper.js"; import { NuforcCaseSummary } from "./NuforcCaseSummary.js"; import { HtmlRR0Context } from "../../../RR0Context.js"; import { NuforcCountry } from "./NuforcCountry.js"; import { RR0CaseSummary } from "../rr0/RR0CaseSummary.js"; import { NuforcShape } from "./NuforcShape.js"; import { CityService } from "../../../org/country/index.js"; import { CountryService } from "../../../org/country/CountryService.js"; export declare class NuforcRR0Mapper implements CaseMapper<HtmlRR0Context, NuforcCaseSummary, RR0CaseSummary> { protected cityService: CityService; protected countryService: CountryService; readonly baseUrl: string; readonly copyright: string; readonly authors: string[]; static readonly countryMap: { [key in NuforcCountry]: string; }; readonly translations: { [key in NuforcShape]: string; }; constructor(cityService: CityService, countryService: CountryService, baseUrl: string, copyright: string, authors: string[]); getDescription(c: NuforcCaseSummary): string; map(context: HtmlRR0Context, sourceCase: NuforcCaseSummary, sourceTime: Date): RR0CaseSummary; }