Skip to main content

Interface: PropellerScope

Defined in: context/PropellerContext.tsx:45

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

Active company ID for the current session; undefined for non-company users.


includeTax

includeTax: boolean

Defined in: context/PropellerContext.tsx:53

When true, display components show tax-inclusive prices.


language

language: string

Defined in: context/PropellerContext.tsx:51

Active language code (e.g. 'NL').


portalMode

portalMode: string

Defined in: context/PropellerContext.tsx:55

Portal access mode (e.g. 'open', 'semi-closed').


shopMode?

optional shopMode?: 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).


user

user: Contact | Customer | null

Defined in: context/PropellerContext.tsx:47

The authenticated user, or null when browsing anonymously.