/** * Delete a report, for test data or a bad post. With `removeCards: true` it * also deletes cards the report created that nobody has worked on yet (still * New or Needs you, no run, no PR). Cards that moved on are always kept. * * @param input - `reportId`; optional `removeCards`, `dryRun` * @returns `{ ok, reportId, removedCards, keptCards }` * * @example * import removeReport from 'kody:@kody/kody-factory/reports/remove' * await removeReport({ reportId: 'rp_0123456789abcdef', removeCards: true, dryRun: true }) */ import { removeReport, type RemoveReportInput } from '../../reports/post.ts' export default async function remove(input: RemoveReportInput) { return removeReport(input) }