craft-hub / IntegrationProviderContext
Interface: IntegrationProviderContext
Defined in: packages/craft-hub/src/integrations.ts:137
Properties
callbackUrl?
optionalcallbackUrl?:string
Defined in: packages/craft-hub/src/integrations.ts:147
Host-derived OAuth callback URL, never accepted from action input.
confirmed?
optionalconfirmed?:boolean
Defined in: packages/craft-hub/src/integrations.ts:145
Whether the host reviewed and confirmed the current action invocation.
hostEnvironment?
optionalhostEnvironment?:"local"|"hosted"
Defined in: packages/craft-hub/src/integrations.ts:141
Host location, supplied by the runtime rather than plugin input.
integrationId?
optionalintegrationId?:string
Defined in: packages/craft-hub/src/integrations.ts:139
Actual integration instance selected by the host; never accepted from caller-supplied context.
locale?
optionallocale?:"en"|"zh-CN"
Defined in: packages/craft-hub/src/integrations.ts:148
projectId?
optionalprojectId?:string
Defined in: packages/craft-hub/src/integrations.ts:149
projectPath?
optionalprojectPath?:string
Defined in: packages/craft-hub/src/integrations.ts:150
projects?
optionalprojects?: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"