Skip to main content

Interface: PropellerInfra

Defined in: context/PropellerContext.ts:43

Composite read of Tier 1 deps + Tier 2 scope. Mirrors the previous PropellerInfra shape so existing consumers (cards, useResolvedProps, useInfraProps) keep working unchanged.

Composables that only need services should call useServices() / usePropellerDeps() instead — they don't depend on a scope provider.

Extends

Properties

companyId

companyId: number | undefined

Defined in: context/PropellerContext.ts:19

Inherited from

PropellerScope.companyId


configuration

configuration: unknown

Defined in: plugin.ts:34

Free-form configuration bag forwarded to components — kept as unknown so consumers can stuff extra config in without changing this interface.

Inherited from

PropellerDeps.configuration


currency

currency: string

Defined in: plugin.ts:29

Currency symbol used by display components when formatting prices. Default: '€'.

Inherited from

PropellerDeps.currency


graphqlClient

graphqlClient: GraphQLClient

Defined in: plugin.ts:19

The GraphQL client the consumer constructed. Exposed for code that needs to pass it back into SDK helpers (rare — most code should use services).

Inherited from

PropellerDeps.graphqlClient


includeTax

includeTax: boolean

Defined in: context/PropellerContext.ts:21

Inherited from

PropellerScope.includeTax


language

language: string

Defined in: context/PropellerContext.ts:20

Inherited from

PropellerScope.language


portalMode

portalMode: string

Defined in: context/PropellerContext.ts:22

Inherited from

PropellerScope.portalMode


services

services: Services

Defined in: plugin.ts:24

The Services bundle ({ product, cart, user, ... }) wired to graphqlClient. Build it via createServices(graphqlClient).

Inherited from

PropellerDeps.services


shopMode?

optional shopMode?: ShopMode

Defined in: context/PropellerContext.ts:28

Shop mode declared in propeller.json. Combined with user to derive userMode on the composite context. Defaults to 'hybrid' when omitted so existing call sites keep their current branching semantics.

Inherited from

PropellerScope.shopMode


user

user: Contact | Customer | null

Defined in: context/PropellerContext.ts:18

Inherited from

PropellerScope.user


userMode

userMode: UserMode

Defined in: context/PropellerContext.ts:44