3019 timebox add typing and checks in workspacemessagingservices (#3112)

* throw error

* fetchWorkspaceMessages fetches messages and threads

* renaming

* improve typing

* improve typing and error handling

* improve typing and error handling

* improve typing and error handling

* improve fetch-batch

* fix bug

* replace return types

* imporving typing and error handling

* improve typing and error handling

* improve typing and error handling

* improve typing and error handling

* improve typing and error handling

* remove console log
This commit is contained in:
bosiraphael
2023-12-26 18:07:40 +01:00
committed by GitHub
parent 58a62e8d17
commit 526a3d7d9a
6 changed files with 178 additions and 90 deletions

View File

@ -28,10 +28,6 @@ export class FetchWorkspaceMessagesCommand extends CommandRunner {
options.workspaceId,
);
await this.fetchWorkspaceMessagesService.fetchWorkspaceThreads(
options.workspaceId,
);
await this.fetchWorkspaceMessagesService.fetchWorkspaceMessages(
options.workspaceId,
);