@xpert-ai/chatkit-types 0.3.8 → 0.3.9
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 +9 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1748,7 +1748,15 @@ export declare type TMessageComponentWidgetData = {
|
|
|
1748
1748
|
|
|
1749
1749
|
export declare type TMessageComponentWidgetItem = {
|
|
1750
1750
|
name: string;
|
|
1751
|
-
|
|
1751
|
+
/**
|
|
1752
|
+
* Standard A2UI server-to-client messages. New widget messages should use
|
|
1753
|
+
* this flat protocol shape so the UI can build and isolate surfaces at render time.
|
|
1754
|
+
*/
|
|
1755
|
+
messages?: Types.ServerToClientMessage[];
|
|
1756
|
+
/**
|
|
1757
|
+
* @deprecated Legacy pre-resolved surface fallback. Prefer `messages`.
|
|
1758
|
+
*/
|
|
1759
|
+
config?: Types.Surface;
|
|
1752
1760
|
values?: Record<string, unknown>;
|
|
1753
1761
|
};
|
|
1754
1762
|
|