import type { AppContext } from "../api" ; import { link } from "./link" ; param ctx param sha param body export const commitLink = ( ctx , sha , body ) => [ link , { ... ctx . ui . link , href : `${ ctx . repo . url }/commit/${ sha }` } , body , ] ;