@syntrologie/adapt-content 2.8.0-canary.595 → 2.8.0-canary.596

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/schema.js CHANGED
@@ -72,6 +72,32 @@ var TELEMETRY_EVENTS = {
72
72
  props: ["kind", "reason"]
73
73
  // kind: LinkOpenKind, reason: ConciergeCloseReason
74
74
  }),
75
+ /**
76
+ * A store's product page opened inside a chat-app card instead of leaving
77
+ * through the host (the card's product view). `product` is the store's
78
+ * handle, never the display name; a rail switch is a new open. Its
79
+ * counterpart when the shopper goes back to the conversation's picks is
80
+ * syntro_product_view_closed.
81
+ *
82
+ * Plan scope, like the card's own syntro_card_lifecycle_seen: an inline
83
+ * card holds an open scope only while the host has it fullscreen, and a
84
+ * view opened from a tile fires before the host answers that request (or
85
+ * after it refused), so an open-scope row here would be dropped. The core
86
+ * still stamps surface and open_id whenever an open is live.
87
+ */
88
+ syntro_product_view_opened: entry({
89
+ subject: "product_view",
90
+ verb: "opened",
91
+ scope: "plan",
92
+ props: ["product", "from"]
93
+ // from: ProductViewOpenSource
94
+ }),
95
+ syntro_product_view_closed: entry({
96
+ subject: "product_view",
97
+ verb: "closed",
98
+ scope: "plan",
99
+ props: ["product"]
100
+ }),
75
101
  syntro_deck_paged: entry({
76
102
  subject: "deck",
77
103
  verb: "paged",