@gengage/assistant-fe 0.5.4 → 0.5.5

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.
@@ -1,9 +1,9 @@
1
1
  import { a as i, c as o, l as p, n as t, o as a, r as n, s as l, t as s, u as e } from "./schemas-CLo8wCjs.js";
2
- var u = a({
2
+ var h = a({
3
3
  role: s(["user", "assistant"]),
4
4
  content: o(),
5
5
  timestamp: i().optional()
6
- }), h = a({
6
+ }), u = a({
7
7
  sku: o(),
8
8
  name: o(),
9
9
  imageUrl: o().url().optional(),
@@ -184,6 +184,9 @@ var u = a({
184
184
  groups: t(a({
185
185
  groupName: o(),
186
186
  image: o().optional(),
187
+ description: o().optional(),
188
+ highlight: o().optional(),
189
+ labels: t(o()).optional(),
187
190
  products: t(l(o(), e())).optional()
188
191
  })).optional(),
189
192
  filterTags: t(a({
@@ -222,11 +225,11 @@ var u = a({
222
225
  skip_label: o().optional()
223
226
  }), D = { components: {
224
227
  MessageBubble: {
225
- schema: u,
228
+ schema: h,
226
229
  description: "A single chat message bubble for user or assistant turns."
227
230
  },
228
231
  ProductCard: {
229
- schema: h,
232
+ schema: u,
230
233
  description: "A product card rendered inline in the chat stream."
231
234
  },
232
235
  ActionButtons: {
@@ -1,4 +1,4 @@
1
- import { c as e, d as t, i as r, l as s, n, o as i, r as l, s as C, t as c, u as d } from "./runtime-BD5Aes4y.js";
1
+ import { c as e, d as t, i as r, l as s, n, o as i, r as l, s as C, t as c, u as d } from "./runtime-BXZxgMq0.js";
2
2
  export {
3
3
  s as CHAT_SCROLL_ELEMENT_ID,
4
4
  r as ChatPresentationState,