@unisphere/genie-types 1.31.0 → 1.31.2
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/index.esm.js
CHANGED
|
@@ -2061,7 +2061,7 @@ addToUnscopables$1('includes');
|
|
|
2061
2061
|
them forever.
|
|
2062
2062
|
new tools will automatically use their relevant widget names
|
|
2063
2063
|
*/
|
|
2064
|
-
const GENIE_RUNTIMES = ['followups-tool', 'sources-tool', 'flashcards-tool', 'content-gallery-tool', 'user-properties-form-tool', 'data-visualization-tool', 'quiz-tool'];
|
|
2064
|
+
const GENIE_RUNTIMES = ['followups-tool', 'sources-tool', 'flashcards-tool', 'content-gallery-tool', 'user-properties-form-tool', 'data-visualization-tool', 'quiz-tool', 'user-interactions-tool'];
|
|
2065
2065
|
const GEN_UI_RUNTIMES = ['gen-ui-composer-tool', 'gen-ui-components-tool'];
|
|
2066
2066
|
/* End of closed list */
|
|
2067
2067
|
const getResolvedWidgetName = params => {
|
package/package.json
CHANGED
|
@@ -94,7 +94,7 @@ export type AgentKalturaContextData = {
|
|
|
94
94
|
* Represents tool content displayed within avatar experiences, with different
|
|
95
95
|
* states for loading, ready, and error conditions.
|
|
96
96
|
*/
|
|
97
|
-
export type AvatarContentData<TSettings = any> = {
|
|
97
|
+
export type AvatarContentData<TSettings = any> = ({
|
|
98
98
|
/** Unique content identifier */
|
|
99
99
|
id: string;
|
|
100
100
|
/** Associated thread ID */
|
|
@@ -119,7 +119,22 @@ export type AvatarContentData<TSettings = any> = {
|
|
|
119
119
|
} | {
|
|
120
120
|
/** Content status: error occurred */
|
|
121
121
|
status: 'error';
|
|
122
|
-
})
|
|
122
|
+
})) | {
|
|
123
|
+
/** Unique content identifier */
|
|
124
|
+
id: string;
|
|
125
|
+
/** Associated thread ID */
|
|
126
|
+
threadId?: string;
|
|
127
|
+
/** Associated message ID */
|
|
128
|
+
messageId?: string;
|
|
129
|
+
/** Optional new title for the content */
|
|
130
|
+
newTitle?: string;
|
|
131
|
+
/** Content type identifier: a general (non tool-specific) error */
|
|
132
|
+
type: 'error';
|
|
133
|
+
/** Optional error message content */
|
|
134
|
+
content?: string;
|
|
135
|
+
/** Whether to display the default error message instead of `content` */
|
|
136
|
+
shouldDisplayDefaultMessage?: boolean;
|
|
137
|
+
};
|
|
123
138
|
/**
|
|
124
139
|
* Current caption display state exposed to consumers.
|
|
125
140
|
*/
|