Skip to content

PluginContext

Defined in: plugins/holocron-plugin-sentry/src/index.ts:26

What the plugin’s capabilities share: the options and two lazily built clients.

client: () => object

Defined in: plugins/holocron-plugin-sentry/src/index.ts:30

Builds the Sentry client on first call and reuses it; the token is resolved then, not at plugin load.

object

auth: object

getOrg: (org) => Promise<SentryOrganization>

string

Promise<SentryOrganization>

organizations: () => Promise<SentryOrganization[]>

Promise<SentryOrganization[]>

projects: object

create: (org, team, input) => Promise<SentryProject>

string

string

CreateSentryProjectInput

Promise<SentryProject>

get: (org, slug) => Promise<SentryProject>

string

string

Promise<SentryProject>

keys: (org, slug) => Promise<SentryKey[]>

string

string

Promise<SentryKey[]>

list: (org) => Promise<SentryProject[]>

string

Promise<SentryProject[]>

sentryApps: object

create: (org, input) => Promise<SentryApp>

string

SentryAppInput

Promise<SentryApp>

get: (slug) => Promise<SentryApp>

string

Promise<SentryApp>

installations: (org) => Promise<SentryAppInstallation[]>

string

Promise<SentryAppInstallation[]>

list: (org) => Promise<SentryApp[]>

string

Promise<SentryApp[]>

update: (slug, input) => Promise<SentryApp>

string

SentryAppInput

Promise<SentryApp>

workflows: object

create: (org, input) => Promise<SentryWorkflow>

string

SentryWorkflowInput

Promise<SentryWorkflow>

delete: (org, id) => Promise<void>

string

string

Promise<void>

detectors: (org) => Promise<SentryDetector[]>

string

Promise<SentryDetector[]>

get: (org, id) => Promise<SentryWorkflow>

string

string

Promise<SentryWorkflow>

list: (org) => Promise<SentryWorkflow[]>

string

Promise<SentryWorkflow[]>

update: (org, id, input) => Promise<SentryWorkflow>

string

string

SentryWorkflowInput

Promise<SentryWorkflow>


options: SentryPluginOptions

Defined in: plugins/holocron-plugin-sentry/src/index.ts:28

The options the plugin was created with.


relayClient: () => object

Defined in: plugins/holocron-plugin-sentry/src/index.ts:32

The client for the Comlink relay: its own token (sentry.comlink), the general one only as a last resort.

object

auth: object

getOrg: (org) => Promise<SentryOrganization>

string

Promise<SentryOrganization>

organizations: () => Promise<SentryOrganization[]>

Promise<SentryOrganization[]>

projects: object

create: (org, team, input) => Promise<SentryProject>

string

string

CreateSentryProjectInput

Promise<SentryProject>

get: (org, slug) => Promise<SentryProject>

string

string

Promise<SentryProject>

keys: (org, slug) => Promise<SentryKey[]>

string

string

Promise<SentryKey[]>

list: (org) => Promise<SentryProject[]>

string

Promise<SentryProject[]>

sentryApps: object

create: (org, input) => Promise<SentryApp>

string

SentryAppInput

Promise<SentryApp>

get: (slug) => Promise<SentryApp>

string

Promise<SentryApp>

installations: (org) => Promise<SentryAppInstallation[]>

string

Promise<SentryAppInstallation[]>

list: (org) => Promise<SentryApp[]>

string

Promise<SentryApp[]>

update: (slug, input) => Promise<SentryApp>

string

SentryAppInput

Promise<SentryApp>

workflows: object

create: (org, input) => Promise<SentryWorkflow>

string

SentryWorkflowInput

Promise<SentryWorkflow>

delete: (org, id) => Promise<void>

string

string

Promise<void>

detectors: (org) => Promise<SentryDetector[]>

string

Promise<SentryDetector[]>

get: (org, id) => Promise<SentryWorkflow>

string

string

Promise<SentryWorkflow>

list: (org) => Promise<SentryWorkflow[]>

string

Promise<SentryWorkflow[]>

update: (org, id, input) => Promise<SentryWorkflow>

string

string

SentryWorkflowInput

Promise<SentryWorkflow>