Add XRPC endpoint to list all PRs targeting a repository
Implements sh.tangled.repo.listPulls XRPC method to allow querying
all pull requests targeting a specific repository, regardless of author.
Changes:
- Add ListPulls() handler in appview/pulls/pulls.go
- Register /xrpc/sh.tangled.repo.listPulls endpoint in router
- Create delegation method in appview/state/xrpc.go
- Add lexicon schema for sh.tangled.repo.listPulls
This enables the CLI to list all PRs for a repo with:
tangled pr list --repo <name>
Instead of only showing PRs created by the current user.