Interface: PropellerInfra
Defined in: context/PropellerContext.tsx:73
Composite of Tier 1 deps + Tier 2 scope. Preserved as the public
PropellerInfra shape so existing consumers (useInfraProps,
useResolvedProps, card components) keep working unchanged.
userMode is derived from user + shopMode; B2B-gated UI should
read this rather than re-deriving from isContact(user).
Extends
Properties
companyId
companyId:
number|undefined
Defined in: context/PropellerContext.tsx:49
Active company ID for the current session; undefined for non-company users.
Inherited from
configuration
configuration:
unknown
Defined in: context/PropellerContext.tsx:38
Free-form configuration bag forwarded to components.
Inherited from
currency
currency:
string
Defined in: context/PropellerContext.tsx:36
Currency symbol used by display components. Default: '€'.
Inherited from
graphqlClient
graphqlClient:
GraphQLClient
Defined in: context/PropellerContext.tsx:29
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
includeTax
includeTax:
boolean
Defined in: context/PropellerContext.tsx:53
When true, display components show tax-inclusive prices.
Inherited from
language
language:
string
Defined in: context/PropellerContext.tsx:51
Active language code (e.g. 'NL').
Inherited from
portalMode
portalMode:
string
Defined in: context/PropellerContext.tsx:55
Portal access mode (e.g. 'open', 'semi-closed').
Inherited from
services
services:
Services
Defined in: context/PropellerContext.tsx:34
The Services bundle ({ product, cart, user, ... }) wired to
graphqlClient. Build it via createServices(graphqlClient).
Inherited from
shopMode?
optionalshopMode?:ShopMode
Defined in: context/PropellerContext.tsx:62
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 (any
logged-in Contact → b2b surface).
Inherited from
user
user:
Contact|Customer|null
Defined in: context/PropellerContext.tsx:47
The authenticated user, or null when browsing anonymously.
Inherited from
userMode
userMode:
UserMode
Defined in: context/PropellerContext.tsx:74