Interface: PropellerScope
Defined in: context/PropellerContext.tsx:48
Tier 2 — per-scope state. Bound by <PropellerProvider> and replaceable
by nesting a second provider deeper in the tree.
Extended by
Properties
companyId
companyId:
number|undefined
Defined in: context/PropellerContext.tsx:60
Active company ID for the current session; undefined for non-company users.
includeTax
includeTax:
boolean
Defined in: context/PropellerContext.tsx:64
When true, display components show tax-inclusive prices.
isAuthenticated?
optionalisAuthenticated?:boolean
Defined in: context/PropellerContext.tsx:58
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.
language
language:
string
Defined in: context/PropellerContext.tsx:62
Active language code (e.g. 'NL').
portalMode
portalMode:
string
Defined in: context/PropellerContext.tsx:66
Portal access mode (e.g. 'open', 'semi-closed').
shopMode?
optionalshopMode?:ShopMode
Defined in: context/PropellerContext.tsx:73
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).
user
user:
Contact|Customer|null
Defined in: context/PropellerContext.tsx:50
The authenticated user, or null when browsing anonymously.