AlphaAlphaRetrieves a specific problem by provider and problem id.
The id of the provider that owns the problem.
The id of the problem within that provider.
A promise resolving to the problem if found, undefined otherwise.
AlphaReturns the count of problems from a provider.
More efficient than fetching all problems when only the count is needed.
The provider id to query.
Optionaloptions: ProblemQueryOptionsOptional filtering options.
A promise resolving to the count.
AlphaFetches problems from a provider matching the query options.
The provider id to query.
Optionaloptions: ProblemQueryOptionsOptional filtering and pagination options.
A promise resolving to an array of problems.
AlphaReturns a specific provider by its id.
The unique identifier of the provider.
The provider if found, undefined otherwise.
AlphaReturns all registered providers.
Useful for displaying provider information in the UI, such as provider titles and icons for filtering.
An array of all registered providers.
AlphaRegisters a problem provider with the repository.
The provider's ProblemProvider.id must be unique. Registering a provider with an id that already exists will throw an error.
The provider to register. Must have a unique id.
Repository for accessing problems from registered providers.
The repository is the primary interface for consumers to interact with problems. It provides a unified API for querying, counting, and retrieving problems from registered ProblemProviders.
Packages register their providers with the repository during initialization. Consumers then use the repository's query methods rather than interacting with providers directly.
Example
Registering a provider
Example
Fetching problems from a provider
Example
Getting actions for a problem
See
ProblemProvider for the provider interface