English
craft-hub / IntegrationProviderContext
Interface: IntegrationProviderContext
Defined in: packages/craft-hub/src/integrations.ts:142
Properties
callbackUrl?
optionalcallbackUrl?:string
Defined in: packages/craft-hub/src/integrations.ts:152
Host-derived OAuth callback URL, never accepted from action input.
confirmed?
optionalconfirmed?:boolean
Defined in: packages/craft-hub/src/integrations.ts:150
Whether the host reviewed and confirmed the current action invocation.
hostEnvironment?
optionalhostEnvironment?:"local"|"hosted"
Defined in: packages/craft-hub/src/integrations.ts:146
Host location, supplied by the runtime rather than plugin input.
integrationId?
optionalintegrationId?:string
Defined in: packages/craft-hub/src/integrations.ts:144
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:153
projectId?
optionalprojectId?:string
Defined in: packages/craft-hub/src/integrations.ts:154
projectPath?
optionalprojectPath?:string
Defined in: packages/craft-hub/src/integrations.ts:155
projects?
optionalprojects?: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"