ExperienceContext
ExperienceContext<
S,F,K> = { [O in K]: { brand: ExperienceBrand | null; client: ReturnType<typeof createClient> | null; display: ExperienceDisplay; feature: F; meters?: Record<string, { allowance: number; count: number }> | null; outcome: O; value: S[“features”][F][O][“value”]; close: any; track: any } }[K]
The second argument a module’s mount receives. Narrow on outcome and
value takes that outcome’s shape from your generated decision types.
The page’s --* custom properties and rem reach the module’s root; no
selector does.
Type Parameters
Section titled “Type Parameters”S extends SiteSchema = SiteSchema
F extends FeatureNameOf<S> = FeatureNameOf<S>
K extends OutcomeIdOf<S, F> = OutcomeIdOf<S, F>