Skip to main content

Interface: PropellerInfra

Defined in: context/PropellerContext.ts:51

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

Inherited from​

PropellerScope.companyId


configuration​

configuration: unknown

Defined in: plugin.ts:35

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

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

Inherited from​

PropellerDeps.currency


graphqlClient​

graphqlClient: GraphQLClient

Defined in: plugin.ts:20

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


imgComponent?​

optional imgComponent?: Component<ImgComponentProps>

Defined in: plugin.ts:37

Replaces the <img> every component renders. Excludes PSP logos.

Inherited from​

PropellerDeps.imgComponent


includeTax​

includeTax: boolean

Defined in: context/PropellerContext.ts:29

Inherited from​

PropellerScope.includeTax


isAuthenticated?​

optional isAuthenticated?: boolean

Defined in: context/PropellerContext.ts:26

Whether a session exists, independent of whether user has loaded yet. Hosts paint from a cached hint before the profile arrives, so user is null for an authenticated visitor for the first frames; without this, semi-closed surfaces flash their logged-out state. Optional — omitting it keeps the previous behaviour.

Inherited from​

PropellerScope.isAuthenticated


language​

language: string

Defined in: context/PropellerContext.ts:28

Inherited from​

PropellerScope.language


portalMode​

portalMode: string

Defined in: context/PropellerContext.ts:30

Inherited from​

PropellerScope.portalMode


services​

services: Services

Defined in: plugin.ts:25

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

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