Skip to content

craft-hub / IntegrationProviderContext

Interface: IntegrationProviderContext ​

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

Properties ​

callbackUrl? ​

optional callbackUrl?: string

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

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


confirmed? ​

optional confirmed?: boolean

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

Whether the host reviewed and confirmed the current action invocation.


hostEnvironment? ​

optional hostEnvironment?: "local" | "hosted"

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

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


integrationId? ​

optional integrationId?: string

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

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:148


projectId? ​

optional projectId?: string

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


projectPath? ​

optional projectPath?: string

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


projects? ​

optional projects?: object[]

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

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.