← Public packages
@kentcdodds/sentry
Inspect Sentry organizations, projects, issues, and event summaries.
src/list-issues.ts
20 lines · 857 B · TypeScript/**
* Alias of `./search-issues` — list/search Sentry issues.
*
* Prefer this name when you want a “list issues” mental model; both paths share
* the same implementation and params.
*
* @param params.orgSlug - Organization slug (required).
* @param params.query - Sentry search query; default unresolved issues.
* @param params.paginated - When true, return `{ issues, nextCursor, previousCursor }`.
* @param params.includeLatestSummaries - When true, attach `latestEventSummary` per issue.
* @returns Issue array, paginated page, or issues with summaries depending on flags.
* @example
* import listIssues from 'kody:@kentcdodds/sentry/list-issues'
* const issues = await listIssues({
* orgSlug: 'kent-c-dodds-tech-llc',
* query: 'is:unresolved lastSeen:-2h',
* limit: 10,
* })
*/
export { default } from './search-issues.ts'