fix(ci): align place form pairs and exports

Point the paired-view manifest at the hook that now owns the desktop place form. Keep internals private and lower the unused-types baseline for the types now removed or used.
This commit is contained in:
Maurice
2026-12-02 23:11:25 +01:00
parent 259d23f971
commit 995e9c435f
5 changed files with 6 additions and 9 deletions
@@ -12,7 +12,7 @@ export function planField(preview: AssistantChangePreview, field: AssistantChang
return preview.rows.find((row) => row.labelKey === field)?.after;
}
export function dayNoteBody(preview: AssistantChangePreview) {
function dayNoteBody(preview: AssistantChangePreview) {
return planField(preview, 'content') ?? (preview.verbKey === 'addDayNote' ? planField(preview, 'time') : undefined);
}
@@ -35,8 +35,6 @@ import { SoftPill, tintOf } from './planParts';
import { usePlaceFormModal, type PlaceFormModalProps } from './usePlaceFormModal';
export type { PlaceSubmitData } from './usePlaceFormModal';
/** The mark itself. Quiet on purpose: it answers a question, it does not advertise. */
function SourceBadge({ label }: { label: string | null }) {
if (!label) return null;
@@ -39,7 +39,7 @@ import { usePlaceRefresh } from './usePlaceRefresh';
import { usePlaceSearch } from './usePlaceSearch';
import { usePlaceTags } from './usePlaceTags';
export interface PlaceSubmitData extends PlaceFormPayload {
interface PlaceSubmitData extends PlaceFormPayload {
/**
* Where a road-trip service stop belongs on the drive, worked out from the
* coordinates being saved. Travels the same way `_pendingFiles` does: the planner