@unisphere/genie-types 1.24.0 → 1.24.1
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/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UnisphereService } from '@unisphere/runtime';
|
|
2
|
-
import { TinyPubSub } from '@unisphere/core';
|
|
2
|
+
import { TinyDataStoreConsumer, TinyPubSub } from '@unisphere/core';
|
|
3
3
|
import { AnswerModel, AnswerType } from '../types';
|
|
4
4
|
import { GlobalChatSettings } from '../chat-runtime';
|
|
5
5
|
/**
|
|
@@ -61,18 +61,14 @@ export interface GenieChatServiceType extends UnisphereService {
|
|
|
61
61
|
}>;
|
|
62
62
|
/** Observable for stopping active answer generation */
|
|
63
63
|
stopAnswer: TinyPubSub<void>;
|
|
64
|
-
/**
|
|
65
|
-
|
|
64
|
+
/** Answer time store */
|
|
65
|
+
answerType: TinyDataStoreConsumer<AnswerType>;
|
|
66
66
|
/** Set the preferred answer type */
|
|
67
67
|
setAnswerType(type: AnswerType): void;
|
|
68
|
-
/**
|
|
69
|
-
|
|
70
|
-
/** Observable that fires when answer model changes */
|
|
71
|
-
answerModelChanged: TinyPubSub<AnswerModel | undefined>;
|
|
68
|
+
/** Answer model store */
|
|
69
|
+
answerModel: TinyDataStoreConsumer<AnswerModel | undefined>;
|
|
72
70
|
/** Set the preferred answer model */
|
|
73
71
|
setAnswerModel(model: AnswerModel | undefined): void;
|
|
74
|
-
/** Get the current answer model */
|
|
75
|
-
getAnswerModel(): AnswerModel | undefined;
|
|
76
72
|
/** Get UI configuration ID */
|
|
77
73
|
getUiconfId(): string | null;
|
|
78
74
|
/** Get Kaltura player initialization parameters */
|
|
@@ -92,5 +88,13 @@ export interface GenieChatServiceType extends UnisphereService {
|
|
|
92
88
|
getContainerRef(): HTMLDivElement | null;
|
|
93
89
|
/** Global chat configuration settings */
|
|
94
90
|
get globalChatSettings(): GlobalChatSettings;
|
|
91
|
+
/** @deprecated use answerType */
|
|
92
|
+
answerTypeChanged: TinyPubSub<AnswerType>;
|
|
93
|
+
/** @deprecated use answerType */
|
|
94
|
+
getAnswerType(): AnswerType;
|
|
95
|
+
/** @deprecated use answerModel */
|
|
96
|
+
answerModelChanged: TinyPubSub<AnswerModel | undefined>;
|
|
97
|
+
/** @deprecated use answerModel */
|
|
98
|
+
getAnswerModel(): AnswerModel | undefined;
|
|
95
99
|
}
|
|
96
100
|
export {};
|