@iblai/web-utils 1.2.13 → 1.3.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/dist/index.d.ts +12 -2
- package/dist/index.esm.js +28 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/web-utils/src/features/chat/slice.d.ts +10 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
|
@@ -53,6 +53,10 @@ export type ChatSliceState = {
|
|
|
53
53
|
artifactsEnabled: boolean;
|
|
54
54
|
streamingArtifactContentBuffer: string;
|
|
55
55
|
lastArtifactContentFlushTime: number;
|
|
56
|
+
metadata: {
|
|
57
|
+
edxCourseId: string;
|
|
58
|
+
edxUsageId: string;
|
|
59
|
+
};
|
|
56
60
|
};
|
|
57
61
|
export declare const chatActions: import("@reduxjs/toolkit").CaseReducerActions<import("@reduxjs/toolkit").SliceCaseReducers<ChatSliceState>, string>;
|
|
58
62
|
export declare const chatSliceReducerShared: Reducer<ChatSliceState>;
|
|
@@ -99,6 +103,12 @@ export declare const selectIframeContext: (state: {
|
|
|
99
103
|
pageContent: string;
|
|
100
104
|
metadata: Record<string, string> | null;
|
|
101
105
|
};
|
|
106
|
+
export declare const selectMetadata: (state: {
|
|
107
|
+
chatSliceShared: ChatSliceState;
|
|
108
|
+
}) => {
|
|
109
|
+
edxCourseId: string;
|
|
110
|
+
edxUsageId: string;
|
|
111
|
+
};
|
|
102
112
|
export declare const selectDocumentFilter: (state: {
|
|
103
113
|
chatSliceShared: ChatSliceState;
|
|
104
114
|
}) => Record<string, unknown> | null;
|