Files
gitea-axi/test/issue-delete.test.ts
alexion 7a41807a8a
All checks were successful
CI / test (pull_request) Successful in 29s
CI / test (push) Successful in 32s
feat: add issue delete, pin, and unpin (task 0006)
Add the remaining simple issue mutations. `issue delete` hard-deletes via
the DELETE endpoint and is deliberately not idempotent — a nonexistent
issue yields ISSUE_NOT_FOUND rather than reporting success. `issue pin`
and `issue unpin` read the current pin state (Gitea's pin_order field) and
short-circuit to an idempotent no-op with an Already pinned/unpinned
message when there is nothing to do.
2026-07-12 19:02:02 -04:00

1.7 KiB