PluginContext
Defined in: plugins/holocron-plugin-sentry/src/index.ts:26
What the plugin’s capabilities share: the options and two lazily built clients.
Properties
Section titled “Properties”client
Section titled “client”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.
Returns
Section titled “Returns”object
auth:
object
auth.getOrg
Section titled “auth.getOrg”getOrg: (
org) =>Promise<SentryOrganization>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SentryOrganization>
auth.organizations
Section titled “auth.organizations”organizations: () =>
Promise<SentryOrganization[]>
Returns
Section titled “Returns”Promise<SentryOrganization[]>
projects
Section titled “projects”projects:
object
projects.create
Section titled “projects.create”create: (
org,team,input) =>Promise<SentryProject>
Parameters
Section titled “Parameters”string
string
CreateSentryProjectInput
Returns
Section titled “Returns”Promise<SentryProject>
projects.get
Section titled “projects.get”get: (
org,slug) =>Promise<SentryProject>
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”Promise<SentryProject>
projects.keys
Section titled “projects.keys”keys: (
org,slug) =>Promise<SentryKey[]>
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”Promise<SentryKey[]>
projects.list
Section titled “projects.list”list: (
org) =>Promise<SentryProject[]>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SentryProject[]>
sentryApps
Section titled “sentryApps”sentryApps:
object
sentryApps.create
Section titled “sentryApps.create”create: (
org,input) =>Promise<SentryApp>
Parameters
Section titled “Parameters”string
SentryAppInput
Returns
Section titled “Returns”Promise<SentryApp>
sentryApps.get
Section titled “sentryApps.get”get: (
slug) =>Promise<SentryApp>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SentryApp>
sentryApps.installations
Section titled “sentryApps.installations”installations: (
org) =>Promise<SentryAppInstallation[]>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SentryAppInstallation[]>
sentryApps.list
Section titled “sentryApps.list”list: (
org) =>Promise<SentryApp[]>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SentryApp[]>
sentryApps.update
Section titled “sentryApps.update”update: (
slug,input) =>Promise<SentryApp>
Parameters
Section titled “Parameters”string
SentryAppInput
Returns
Section titled “Returns”Promise<SentryApp>
workflows
Section titled “workflows”workflows:
object
workflows.create
Section titled “workflows.create”create: (
org,input) =>Promise<SentryWorkflow>
Parameters
Section titled “Parameters”string
SentryWorkflowInput
Returns
Section titled “Returns”Promise<SentryWorkflow>
workflows.delete
Section titled “workflows.delete”delete: (
org,id) =>Promise<void>
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”Promise<void>
workflows.detectors
Section titled “workflows.detectors”detectors: (
org) =>Promise<SentryDetector[]>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SentryDetector[]>
workflows.get
Section titled “workflows.get”get: (
org,id) =>Promise<SentryWorkflow>
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”Promise<SentryWorkflow>
workflows.list
Section titled “workflows.list”list: (
org) =>Promise<SentryWorkflow[]>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SentryWorkflow[]>
workflows.update
Section titled “workflows.update”update: (
org,id,input) =>Promise<SentryWorkflow>
Parameters
Section titled “Parameters”string
string
SentryWorkflowInput
Returns
Section titled “Returns”Promise<SentryWorkflow>
options
Section titled “options”options:
SentryPluginOptions
Defined in: plugins/holocron-plugin-sentry/src/index.ts:28
The options the plugin was created with.
relayClient
Section titled “relayClient”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.
Returns
Section titled “Returns”object
auth:
object
auth.getOrg
Section titled “auth.getOrg”getOrg: (
org) =>Promise<SentryOrganization>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SentryOrganization>
auth.organizations
Section titled “auth.organizations”organizations: () =>
Promise<SentryOrganization[]>
Returns
Section titled “Returns”Promise<SentryOrganization[]>
projects
Section titled “projects”projects:
object
projects.create
Section titled “projects.create”create: (
org,team,input) =>Promise<SentryProject>
Parameters
Section titled “Parameters”string
string
CreateSentryProjectInput
Returns
Section titled “Returns”Promise<SentryProject>
projects.get
Section titled “projects.get”get: (
org,slug) =>Promise<SentryProject>
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”Promise<SentryProject>
projects.keys
Section titled “projects.keys”keys: (
org,slug) =>Promise<SentryKey[]>
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”Promise<SentryKey[]>
projects.list
Section titled “projects.list”list: (
org) =>Promise<SentryProject[]>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SentryProject[]>
sentryApps
Section titled “sentryApps”sentryApps:
object
sentryApps.create
Section titled “sentryApps.create”create: (
org,input) =>Promise<SentryApp>
Parameters
Section titled “Parameters”string
SentryAppInput
Returns
Section titled “Returns”Promise<SentryApp>
sentryApps.get
Section titled “sentryApps.get”get: (
slug) =>Promise<SentryApp>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SentryApp>
sentryApps.installations
Section titled “sentryApps.installations”installations: (
org) =>Promise<SentryAppInstallation[]>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SentryAppInstallation[]>
sentryApps.list
Section titled “sentryApps.list”list: (
org) =>Promise<SentryApp[]>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SentryApp[]>
sentryApps.update
Section titled “sentryApps.update”update: (
slug,input) =>Promise<SentryApp>
Parameters
Section titled “Parameters”string
SentryAppInput
Returns
Section titled “Returns”Promise<SentryApp>
workflows
Section titled “workflows”workflows:
object
workflows.create
Section titled “workflows.create”create: (
org,input) =>Promise<SentryWorkflow>
Parameters
Section titled “Parameters”string
SentryWorkflowInput
Returns
Section titled “Returns”Promise<SentryWorkflow>
workflows.delete
Section titled “workflows.delete”delete: (
org,id) =>Promise<void>
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”Promise<void>
workflows.detectors
Section titled “workflows.detectors”detectors: (
org) =>Promise<SentryDetector[]>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SentryDetector[]>
workflows.get
Section titled “workflows.get”get: (
org,id) =>Promise<SentryWorkflow>
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”Promise<SentryWorkflow>
workflows.list
Section titled “workflows.list”list: (
org) =>Promise<SentryWorkflow[]>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<SentryWorkflow[]>
workflows.update
Section titled “workflows.update”update: (
org,id,input) =>Promise<SentryWorkflow>
Parameters
Section titled “Parameters”string
string
SentryWorkflowInput
Returns
Section titled “Returns”Promise<SentryWorkflow>