@deepdesk/deepdesk-sdk 14.3.1-beta.11 → 14.3.1-beta.13
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.cjs.js +8 -8
- package/dist/index.d.mts +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.esm.js +8 -8
- package/dist/index.iife.js +16 -16
- package/package.json +1 -1
- package/styles/index.js +1 -1
- package/styles.css +1 -1
- package/widget.css +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -926,6 +926,15 @@ type SendEventV2ArgumentMap = {
|
|
|
926
926
|
question: string;
|
|
927
927
|
sourceViewed: string;
|
|
928
928
|
}>;
|
|
929
|
+
'summary feedback': EventV2<{
|
|
930
|
+
summary: string;
|
|
931
|
+
rating: 'up' | 'down';
|
|
932
|
+
}>;
|
|
933
|
+
'summary copied to clipboard': EventV2<{
|
|
934
|
+
originalText: string;
|
|
935
|
+
finalText: string;
|
|
936
|
+
assistant: string;
|
|
937
|
+
}>;
|
|
929
938
|
};
|
|
930
939
|
/**
|
|
931
940
|
* Request retry options
|
|
@@ -1286,12 +1295,14 @@ type State$d = {
|
|
|
1286
1295
|
|
|
1287
1296
|
type LegacyCue$1 = CamelCaseKeys<Server.LegacyCue> & {
|
|
1288
1297
|
isLoading?: boolean;
|
|
1298
|
+
specialType?: 'summary';
|
|
1289
1299
|
};
|
|
1290
1300
|
|
|
1291
1301
|
type EvaluationOutput<T extends Server.ResponseFormat> = CamelCaseKeys<Server.EvaluationOutput<T>>;
|
|
1292
1302
|
type ArrayItemType<T> = T extends Array<infer I> ? I : never;
|
|
1293
1303
|
type Cue = ArrayItemType<EvaluationOutput<'json-schema:cues'>> & {
|
|
1294
1304
|
isLoading?: boolean;
|
|
1305
|
+
specialType?: 'summary';
|
|
1295
1306
|
};
|
|
1296
1307
|
type AssistantAnswerSource = {
|
|
1297
1308
|
url?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -926,6 +926,15 @@ type SendEventV2ArgumentMap = {
|
|
|
926
926
|
question: string;
|
|
927
927
|
sourceViewed: string;
|
|
928
928
|
}>;
|
|
929
|
+
'summary feedback': EventV2<{
|
|
930
|
+
summary: string;
|
|
931
|
+
rating: 'up' | 'down';
|
|
932
|
+
}>;
|
|
933
|
+
'summary copied to clipboard': EventV2<{
|
|
934
|
+
originalText: string;
|
|
935
|
+
finalText: string;
|
|
936
|
+
assistant: string;
|
|
937
|
+
}>;
|
|
929
938
|
};
|
|
930
939
|
/**
|
|
931
940
|
* Request retry options
|
|
@@ -1286,12 +1295,14 @@ type State$d = {
|
|
|
1286
1295
|
|
|
1287
1296
|
type LegacyCue$1 = CamelCaseKeys<Server.LegacyCue> & {
|
|
1288
1297
|
isLoading?: boolean;
|
|
1298
|
+
specialType?: 'summary';
|
|
1289
1299
|
};
|
|
1290
1300
|
|
|
1291
1301
|
type EvaluationOutput<T extends Server.ResponseFormat> = CamelCaseKeys<Server.EvaluationOutput<T>>;
|
|
1292
1302
|
type ArrayItemType<T> = T extends Array<infer I> ? I : never;
|
|
1293
1303
|
type Cue = ArrayItemType<EvaluationOutput<'json-schema:cues'>> & {
|
|
1294
1304
|
isLoading?: boolean;
|
|
1305
|
+
specialType?: 'summary';
|
|
1295
1306
|
};
|
|
1296
1307
|
type AssistantAnswerSource = {
|
|
1297
1308
|
url?: string;
|