@buerokratt-ria/common-gui-components 0.0.54 → 0.0.55

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/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All changes to this project will be documented in this file.
4
4
 
5
5
  ## Template [MajorVersion.MediterraneanVersion.MinorVersion] - DD-MM-YYYY
6
6
 
7
+ ## [0.0.55] - 12.05.2026
8
+
9
+ - Fixed chat history download response typing
10
+
7
11
  ## [0.0.54] - 07.05.2026
8
12
 
9
13
  - Remove authenticated person fields for filtering
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buerokratt-ria/common-gui-components",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "description": "Common GUI components and pre defined templates.",
5
5
  "main": "index.ts",
6
6
  "author": "ExiRai",
@@ -1048,7 +1048,13 @@ const ChatHistory: FC<PropsWithChildren<HistoryProps>> = ({
1048
1048
  : endedChatsColumns.filter((col) => col.id && col.id !== 'detail');
1049
1049
  const columnIds = activeColumns.map((col) => col.id!);
1050
1050
 
1051
- const response = await apiDevEnded.post('chats/ended/download', {
1051
+ const response = await apiDevEnded.post<{
1052
+ readonly response: {
1053
+ readonly data: {
1054
+ readonly url: string;
1055
+ };
1056
+ };
1057
+ }>('chats/ended/download', {
1052
1058
  headers,
1053
1059
  columnIds,
1054
1060
  language: i18n.language,
@@ -1058,8 +1064,7 @@ const ChatHistory: FC<PropsWithChildren<HistoryProps>> = ({
1058
1064
  sorting: sortBy,
1059
1065
  search,
1060
1066
  });
1061
-
1062
- const downloadData = response.data.data ?? response.data;
1067
+ const downloadData = response.data.response.data;
1063
1068
 
1064
1069
  await saveFile(
1065
1070
  downloadData.url,