import { fromNullable } from "@tsus/runtime/boundary";import { type Option, type Result } from "@tsus/runtime";import { getRow } from "./store.ts";import { validateRow, type Row, type RowError } from "./validate.tsus";export const loadRow = (id: number): Option<Result<Row, RowError>> => fromNullable(getRow(id)).map(validateRow);