UNPKG

@rr0/cms

Version:

RR0 Content Management System (CMS)

20 lines (19 loc) 1.07 kB
import { CaseMapper } from "../CaseMapper.js"; import { BaseOvniFranceCaseSummary } from "./BaseOvniFranceCaseSummary.js"; import { HtmlRR0Context } from "../../../RR0Context.js"; import { RR0CaseSummary } from "../rr0/RR0CaseSummary.js"; import { DepartmentService } from "../../../org/country/region/department/DepartmentService.js"; import { CityService } from "../../../org/country/index.js"; /** * Maps a Base OVNI France case to a RR0 case. */ export declare class BaseOvniFranceCaseSummaryRR0Mapper implements CaseMapper<HtmlRR0Context, BaseOvniFranceCaseSummary, RR0CaseSummary> { protected depService: DepartmentService; protected cityService: CityService; readonly baseUrl: URL; readonly copyright: string; readonly authors: string[]; constructor(depService: DepartmentService, cityService: CityService, baseUrl: URL, copyright: string, authors: string[]); map(context: HtmlRR0Context, sourceCase: BaseOvniFranceCaseSummary, sourceTime: Date): RR0CaseSummary; protected getDescription(c: BaseOvniFranceCaseSummary): string; }