@revturbine/sdk 0.11.11 → 0.11.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -21129,6 +21129,25 @@ interface RevTurbineUserContext extends Omit<UserContextInput, 'custom' | 'entit
21129
21129
  * `string | number` when serialized.
21130
21130
  */
21131
21131
  personalization?: SdkTraits;
21132
+ /**
21133
+ * Server-evaluated built-in segment dimensions (plan 279 PD-3), one leaf
21134
+ * per resolved dimension keyed by its dimension key (e.g.
21135
+ * `subscription_state`, `region`) — see the built-in segment resolution
21136
+ * contract in `targeting-studio-ui.md` §4.1 for the full vocabulary.
21137
+ *
21138
+ * `fetchClientContext` delivers this from `GET /api/sdk/client-context`
21139
+ * and merges it the way it merges `plan_handle`: **server values overlay
21140
+ * app-set values**, per leaf. A dimension the server did not evaluate on a
21141
+ * given fetch leaves whatever the app (or a prior fetch) had set for that
21142
+ * leaf untouched; a dimension is simply absent when neither side has ever
21143
+ * set it (unknown is trait absence — plan 255).
21144
+ *
21145
+ * Feeds the reserved `rt_<dimension>` segment traits that built-in
21146
+ * Playbook segments match on — never read or write those trait keys
21147
+ * directly. Set this yourself only to seed `local_only` mode or a
21148
+ * server-side port, which has no client-context fetch of its own.
21149
+ */
21150
+ builtin_dimensions?: UserContextInput['builtin_dimensions'];
21132
21151
  }
21133
21152
  /** Page-level context automatically inferred or manually set. */
21134
21153
  interface RevTurbinePageContext {