Skip to main content

Interface: PropellerDeps

Defined in: context/PropellerContext.tsx:25

Tier 1 — application-wide infrastructure. Bound by <PropellerDepsProvider> once at the root of the app. These values are app-singletons: the GraphQL client, the SDK Services bundle wired to it, and the cosmetic / branding defaults (currency, configuration). They do not change per subtree — for per-scope state (user, companyId, language) use <PropellerProvider>.

Why split: per-scope state belongs to a routed section (impersonation, multi-cart, language widgets); deps don't. Splitting lets a deeper <PropellerProvider> replace the scope without recreating the GraphQL client or invalidating service references.

Extended by​

Properties​

configuration​

configuration: unknown

Defined in: context/PropellerContext.tsx:39

Free-form configuration bag forwarded to components.


currency​

currency: string

Defined in: context/PropellerContext.tsx:37

Currency symbol used by display components. Default: '€'.


graphqlClient​

graphqlClient: GraphQLClient

Defined in: context/PropellerContext.tsx:30

The GraphQL client the consumer constructed. Exposed for code that needs to pass it back into SDK helpers (rare — most code should use services).


imgComponent?​

optional imgComponent?: ComponentType&lt;ImgComponentProps>

Defined in: context/PropellerContext.tsx:41

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


services​

services: Services

Defined in: context/PropellerContext.tsx:35

The Services bundle ({ product, cart, user, ... }) wired to graphqlClient. Build it via createServices(graphqlClient).