Skip to main content

Interface: PropellerScope

Defined in: context/PropellerContext.ts:17

Tier 2 — per-scope state. Bound by <PropellerProvider> and replaceable by nesting a second provider deeper in the tree (for impersonation, multi-cart, multi-language widgets, …). Distinct from the Tier 1 deps installed by the propellerVue plugin.

Extended by​

Properties​

companyId​

companyId: number | undefined

Defined in: context/PropellerContext.ts:27


includeTax​

includeTax: boolean

Defined in: context/PropellerContext.ts:29


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.


language​

language: string

Defined in: context/PropellerContext.ts:28


portalMode​

portalMode: string

Defined in: context/PropellerContext.ts:30


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.


user​

user: Contact | Customer | null

Defined in: context/PropellerContext.ts:18