@fabriktor/client 0.0.52 → 0.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/src/chat/chat.d.ts +3 -3
- package/package.json +1 -1
package/dist/src/chat/chat.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Chat, type ChatRoom, type ChatRoomMember, type
|
|
1
|
+
import { type Chat, type ChatRoom, type ChatRoomMember, type InChat, type InChatRoomMember, type OperationResult, type PLChatEnsure, type PLChatReact } from "@fabriktor/schema";
|
|
2
2
|
import type { TokenProvider } from "../core/auth.js";
|
|
3
3
|
import type { DeleteOneOptionsCRUD, FindOneOptionsCRUD, InsertOneOptionsCRUD, OperationResultOf, QueryOptionsCRUD, ReplaceOneOptionsCRUD, SearchManyOptionsCRUD, SearchResultOf } from "../core/crud.js";
|
|
4
4
|
import type { HTTPDoer } from "../core/http.js";
|
|
@@ -43,7 +43,7 @@ export interface ChatOperator {
|
|
|
43
43
|
searchManyChats(opts?: SearchManyOptionsCRUD): Promise<OperationResultOf<SearchResultOf<Chat>>>;
|
|
44
44
|
searchManyChatRoomMembers(opts?: SearchManyOptionsCRUD): Promise<OperationResultOf<SearchResultOf<ChatRoomMember>>>;
|
|
45
45
|
reactChat(opts: ReactChatOptions): Promise<void>;
|
|
46
|
-
ensureChatRoom(opts: EnsureChatRoomOptions): Promise<
|
|
46
|
+
ensureChatRoom(opts: EnsureChatRoomOptions): Promise<OperationResult>;
|
|
47
47
|
wsChats(opts: WSChatsOptions): Promise<WSConnection>;
|
|
48
48
|
wsChatRoom(opts: WSChatRoomOptions): Promise<WSConnection>;
|
|
49
49
|
wsMineChatRooms(opts: WSMineChatRoomsOptions): Promise<WSConnection>;
|
|
@@ -67,7 +67,7 @@ export declare class ChatClient implements ChatOperator {
|
|
|
67
67
|
searchManyChats(opts?: SearchManyOptionsCRUD): Promise<OperationResultOf<SearchResultOf<Chat>>>;
|
|
68
68
|
searchManyChatRoomMembers(opts?: SearchManyOptionsCRUD): Promise<OperationResultOf<SearchResultOf<ChatRoomMember>>>;
|
|
69
69
|
reactChat(opts: ReactChatOptions): Promise<void>;
|
|
70
|
-
ensureChatRoom(opts: EnsureChatRoomOptions): Promise<
|
|
70
|
+
ensureChatRoom(opts: EnsureChatRoomOptions): Promise<OperationResult>;
|
|
71
71
|
wsChats(opts: WSChatsOptions): Promise<WSConnection>;
|
|
72
72
|
wsChatRoom(opts: WSChatRoomOptions): Promise<WSConnection>;
|
|
73
73
|
wsMineChatRooms(opts: WSMineChatRoomsOptions): Promise<WSConnection>;
|