import type { ExplainGuideStop } from './museum' export interface ExplainDetailTarget { targetType: 'STOP' targetId: string } export const normalizeExplainDetailTargetFromGuideStop = ( guideStop: Pick ): ExplainDetailTarget => ({ targetType: 'STOP', targetId: String(guideStop.id) })