@iblai/web-utils 1.11.0 → 1.11.3
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/data-layer/src/features/chat-privacy/api-slice.d.ts +1398 -0
- package/dist/data-layer/src/features/chat-privacy/constants.d.ts +13 -0
- package/dist/data-layer/src/features/sessions/api-slice.d.ts +122 -252
- package/dist/data-layer/src/features/sessions/constants.d.ts +3 -0
- package/dist/data-layer/src/features/sessions/url.d.ts +9 -0
- package/dist/data-layer/src/features/utils.d.ts +7 -0
- package/dist/data-layer/src/index.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.esm.js +308 -198
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +307 -197
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/web-utils/src/hooks/chat/__tests__/chat-history.utils.test.d.ts +1 -0
- package/dist/web-utils/src/hooks/chat/chat-history.utils.d.ts +10 -0
- package/dist/web-utils/src/hooks/chat/use-advanced-chat.d.ts +3 -0
- package/dist/web-utils/src/hooks/chat/use-chat-history.d.ts +17 -0
- package/dist/web-utils/src/index.mobile.d.ts +8 -0
- package/dist/web-utils/src/index.web.d.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chat-privacy modes mirror the backend `ChatPrivacyModeEnum`. Kept as
|
|
3
|
+
* string-literal constants here so the data-layer doesn't depend on the
|
|
4
|
+
* generated `@iblai/iblai-api` types for this feature — swap to the
|
|
5
|
+
* generated enum once the client is regenerated.
|
|
6
|
+
*/
|
|
7
|
+
export type ChatPrivacyMode = 'normal' | 'anonymized' | 'disabled';
|
|
8
|
+
export declare const ChatPrivacyModeEnum: {
|
|
9
|
+
readonly NORMAL: "normal";
|
|
10
|
+
readonly ANONYMIZED: "anonymized";
|
|
11
|
+
readonly DISABLED: "disabled";
|
|
12
|
+
};
|
|
13
|
+
export declare const CHAT_PRIVACY_MODES: ChatPrivacyMode[];
|