@medipha/chat 1.0.52 → 1.0.53
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/dashboard/dashboard.types.d.ts +1 -0
- package/dist/index.cjs +53 -53
- package/dist/index.js +11240 -11186
- package/dist/shared/hooks/use-department-codes.d.ts +1 -0
- package/dist/store/departmentCodesStore.d.ts +10 -0
- package/dist/styles.css +1 -1
- package/dist/utils/chat.d.ts +1 -0
- package/package.json +1 -1
package/dist/utils/chat.d.ts
CHANGED
|
@@ -307,6 +307,7 @@ export declare const readConversations: (response: unknown) => unknown[];
|
|
|
307
307
|
export declare const isSameId: (left: unknown, right: unknown) => boolean;
|
|
308
308
|
export declare const isGroupConversation: (conversation: unknown) => boolean;
|
|
309
309
|
export declare const getConversationKindLabel: (isGroup: boolean) => string;
|
|
310
|
+
export declare const formatUserWorkLine: (user: unknown, codeById: Record<string, string>) => string;
|
|
310
311
|
export declare const getConversationTitle: (conversation: unknown, currentUserId?: string | null) => string;
|
|
311
312
|
/** Avatar photo for a conversation row: the conversation's own photo, or for direct chats
|
|
312
313
|
* the other participant's photo, or null to fall back to initials. */
|