chore(scripts): add admin task to list every webhook

Direct SQLite read with no DID filter — complements the API-backed
`webhooks list`, which is scoped per DID.
This commit is contained in:
Julien Calixte
2026-05-05 14:00:10 +02:00
parent 911d062423
commit c00f3d631c
2 changed files with 31 additions and 1 deletions

View File

@@ -5,7 +5,8 @@
"server": "deno run --watch --allow-net --allow-read --allow-write --allow-env --allow-ffi --unstable-ffi server.ts",
"server:prod": "deno run --allow-net --allow-read --allow-write --allow-env --allow-ffi --unstable-ffi server.ts",
"migrate": "deno run --allow-net --allow-read --allow-write --allow-env --allow-ffi --unstable-ffi src/migrations/init.ts",
"webhooks": "deno run --allow-net --allow-env scripts/manage-webhooks.ts"
"webhooks": "deno run --allow-net --allow-env scripts/manage-webhooks.ts",
"webhooks:all": "deno run --allow-read --allow-write --allow-env --allow-ffi --unstable-ffi scripts/list-all-webhooks.ts"
},
"imports": {
"@db/sqlite": "jsr:@db/sqlite@^0.13.0",