Skip to content

craft-hub / IntegrationProviderContext

Interface: IntegrationProviderContext ​

Defined in: packages/craft-hub/src/integrations.ts:142

Properties ​

callbackUrl? ​

optional callbackUrl?: string

Defined in: packages/craft-hub/src/integrations.ts:152

Host-derived OAuth callback URL, never accepted from action input.


confirmed? ​

optional confirmed?: boolean

Defined in: packages/craft-hub/src/integrations.ts:150

Whether the host reviewed and confirmed the current action invocation.


hostEnvironment? ​

optional hostEnvironment?: "local" | "hosted"

Defined in: packages/craft-hub/src/integrations.ts:146

Host location, supplied by the runtime rather than plugin input.


integrationId? ​

optional integrationId?: string

Defined in: packages/craft-hub/src/integrations.ts:144

Actual integration instance selected by the host; never accepted from caller-supplied context.


locale? ​

optional locale?: "en" | "zh-CN"

Defined in: packages/craft-hub/src/integrations.ts:153


projectId? ​

optional projectId?: string

Defined in: packages/craft-hub/src/integrations.ts:154


projectPath? ​

optional projectPath?: string

Defined in: packages/craft-hub/src/integrations.ts:155


projects? ​

optional projects?: object[]

Defined in: packages/craft-hub/src/integrations.ts:148

Host-derived project catalog for cross-project reads and execution scope checks.

id ​

id: string

name ​

name: string

path ​

path: string

trust ​

trust: "trusted" | "untrusted"

Released under the MIT License.