@wix/himalaya-cli 0.1618.0 → 0.1619.0

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.
@@ -26,7 +26,20 @@ export interface FrogTelemetryConfig {
26
26
  commonParams?: "himi" | "oneapp";
27
27
  mobileAppId?: string;
28
28
  lv?: string;
29
+ /** oneapp: the platform screen map (#4976), Himi screen id → RN 67:267 screen. */
30
+ screenMap?: Record<string, ServedScreenMapEntry>;
29
31
  }
32
+ export interface ServedScreenMapEntry {
33
+ screenName: string;
34
+ module: string;
35
+ view?: {
36
+ src: number;
37
+ evid: number;
38
+ endpoint?: string;
39
+ fields: Record<string, string | number>;
40
+ };
41
+ }
42
+ export declare function servedScreenMap(app: string): Record<string, ServedScreenMapEntry> | undefined;
30
43
  export interface TelemetryConfig {
31
44
  enabled: boolean;
32
45
  samplingRate: number;
@@ -1566,7 +1566,9 @@ export interface ChipsInputProps {
1566
1566
  disabled?: boolean;
1567
1567
  }
1568
1568
  export interface SectionProps {
1569
+ /** Section caption — binding-aware ("$service:") on web, iOS and Android. */
1569
1570
  header?: string;
1571
+ /** Section caption — binding-aware ("$service:") on web, iOS and Android. */
1570
1572
  footer?: string;
1571
1573
  children?: Component[];
1572
1574
  inset?: boolean;
@@ -82,8 +82,9 @@ export declare function stripWorkerReservedFields<T extends Record<string, unkno
82
82
  };
83
83
  /**
84
84
  * Build one oneapp frog event, or `null` for an event oneapp mode does not send.
85
- * Only explicit `bi` events are sent here; `screen_view` / `action_dispatched` are mapped
86
- * by the platform screen and action maps (later epic issues), never as generic 501/522.
85
+ * Only explicit `bi` events are sent here: a screen view becomes the `bi` payloads
86
+ * `screenViewBiPayloads` (./screen-map.ts, #4976) gives it, and `action_dispatched` is left to
87
+ * the platform action map (#4979) — never a generic 501/522.
87
88
  */
88
89
  export declare function buildOneAppFrogEvent(event: OneAppFrogEventInput, config: OneAppFrogConfig, ctx: OneAppFrogContext): OneAppFrogEvent | null;
89
90
  /** The RN `sendEventsV2` POST body for events that share one endpoint URL. */