@inkeep/agents-ui-js 0.15.29 → 0.15.30
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/embed.js +4 -4
- package/dist/types.d.ts +3 -19
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -625,28 +625,19 @@ declare type ExtendPropertiesWithCommon<T> = T extends { properties: infer P }
|
|
|
625
625
|
? T & { properties: P & CommonProperties }
|
|
626
626
|
: T
|
|
627
627
|
|
|
628
|
-
export declare type FeebackReason = { label: string; details: string }
|
|
629
|
-
|
|
630
628
|
export declare interface FeedbackBody {
|
|
631
629
|
type: FeedbackType
|
|
632
630
|
messageId: string
|
|
633
631
|
createdAt: string
|
|
634
|
-
|
|
635
|
-
| {
|
|
636
|
-
label: string
|
|
637
|
-
details: string
|
|
638
|
-
}[]
|
|
639
|
-
| null
|
|
632
|
+
details?: string | null
|
|
640
633
|
userProperties: UserProperties
|
|
641
634
|
properties?: Record<string, unknown>
|
|
642
635
|
}
|
|
643
636
|
|
|
644
|
-
export declare type FeedbackItemType = keyof MessageFeedback
|
|
645
|
-
|
|
646
637
|
declare interface FeedbackProperties {
|
|
647
638
|
conversationId?: string
|
|
648
639
|
// message: Message
|
|
649
|
-
|
|
640
|
+
details?: string | null
|
|
650
641
|
}
|
|
651
642
|
|
|
652
643
|
export declare type FeedbackType = 'positive' | 'negative'
|
|
@@ -1181,7 +1172,7 @@ export declare type InkeepEventWithCommon = ExtendPropertiesWithCommon<InkeepEve
|
|
|
1181
1172
|
export declare interface InkeepFeedback {
|
|
1182
1173
|
type: FeedbackType
|
|
1183
1174
|
messageId: string
|
|
1184
|
-
|
|
1175
|
+
details?: string | null
|
|
1185
1176
|
}
|
|
1186
1177
|
|
|
1187
1178
|
export declare type InkeepJS = Partial<Record<InkeepJSComponent, InkeepComponentInitializer>>
|
|
@@ -1455,13 +1446,6 @@ export declare type MessageAction = 'copy' | 'upvote' | 'downvote'
|
|
|
1455
1446
|
|
|
1456
1447
|
declare type MessageChatAction = ExpandUnion<InvokeMessageCallbackAction | OpenFormAction | OpenUrlAction>
|
|
1457
1448
|
|
|
1458
|
-
export declare interface MessageFeedback {
|
|
1459
|
-
unrelated_response: boolean
|
|
1460
|
-
inaccurate_statement: boolean
|
|
1461
|
-
inaccurate_code_snippet: boolean
|
|
1462
|
-
irrelevant_citations: boolean
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
1449
|
export declare interface ModalClosedEvent {
|
|
1466
1450
|
eventName: 'modal_closed'
|
|
1467
1451
|
properties: {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-ui-js",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.30",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Inkeep, Inc. Customer License (IICL) v1.1",
|
|
6
6
|
"homepage": "",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"vite": "5.4.11",
|
|
56
56
|
"vite-bundle-visualizer": "^1.2.1",
|
|
57
57
|
"vite-plugin-dts": "4.4.0",
|
|
58
|
-
"@inkeep/agents-ui": "0.15.
|
|
58
|
+
"@inkeep/agents-ui": "0.15.30"
|
|
59
59
|
},
|
|
60
60
|
"module": "./dist/embed.js",
|
|
61
61
|
"types": "./dist/types.d.ts",
|