@webitel/ui-chats 0.1.44 → 0.1.45
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/types/config/config.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/** Minimal i18n surface ui-chats needs — avoids vue-i18n schema variance issues. */
|
|
2
|
+
export type UiChatsI18n = {
|
|
3
|
+
global: {
|
|
4
|
+
mergeLocaleMessage: (locale: string, message: unknown) => void;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
2
7
|
export type UiChatsConfig = {
|
|
3
|
-
i18n?:
|
|
8
|
+
i18n?: UiChatsI18n;
|
|
4
9
|
};
|
|
5
10
|
export declare const defaultConfig: UiChatsConfig;
|
|
6
11
|
export declare const setConfig: (conf: UiChatsConfig) => void;
|