@noverachat/sdk-web 0.2.0 → 0.3.0
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/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/index.ts +25 -0
- package/src/types.ts +2 -0
package/dist/index.d.cts
CHANGED
|
@@ -1191,4 +1191,4 @@ declare class NoveraChatError extends Error {
|
|
|
1191
1191
|
static fromResponse(status: number, body: unknown): NoveraChatError;
|
|
1192
1192
|
}
|
|
1193
1193
|
|
|
1194
|
-
export { type InviteAcceptResponse as AcceptInviteResult, type AnnouncementOut as Announcement, type AppPolicy, type BlockOut as Block, type ClientOptions, type DeleteScope, ErrorCode, type ErrorCodeValue, type InviteTokenOut as InviteToken, type JoinRequestCreateResponse, type JoinRequestListResponse, type JoinRequestOut, type MessageOut, type MessageType, NoveraChat, NoveraChatError, type ReactionEntry, Room, type RoomEvents, type RoomMemberOut, type RoomUnread, type SendParams, type SenderMini, type UnreadRoomItem, type UnreadSummary, type WsAnnouncementEvent, type WsInbound, type WsOutbound };
|
|
1194
|
+
export { type InviteAcceptResponse as AcceptInviteResult, type AnnouncementOut as Announcement, type AppPolicy, type BlockOut as Block, type ClientEvents, type ClientOptions, type DeleteScope, ErrorCode, type ErrorCodeValue, type FileInline, type FileKind, type FileMeta, type FileThumbnailStatus, type InviteTokenOut as InviteToken, type JoinRequestCreateResponse, type JoinRequestListResponse, type JoinRequestOut, type MemberPreview, type MemberRole, type MessageIdStr, type MessageOut, type MessageType, NoveraChat, NoveraChatError, type PushTrigger, type ReactionEntry, Room, type RoomEvents, type RoomMemberOut, type RoomUnread, type SendFileOptions, type SendParams, type SenderMini, type UnreadRoomItem, type UnreadSummary, type WsAnnouncementEvent, type WsChatReceive, type WsInbound, type WsMessageDeleted, type WsMessageUpdated, type WsMessagesCleared, type WsOutbound, type WsPresence, type WsReactionAdded, type WsReactionRemoved, type WsRoomEvent, type WsSyncTick, type WsTypingBroadcast };
|
package/dist/index.d.ts
CHANGED
|
@@ -1191,4 +1191,4 @@ declare class NoveraChatError extends Error {
|
|
|
1191
1191
|
static fromResponse(status: number, body: unknown): NoveraChatError;
|
|
1192
1192
|
}
|
|
1193
1193
|
|
|
1194
|
-
export { type InviteAcceptResponse as AcceptInviteResult, type AnnouncementOut as Announcement, type AppPolicy, type BlockOut as Block, type ClientOptions, type DeleteScope, ErrorCode, type ErrorCodeValue, type InviteTokenOut as InviteToken, type JoinRequestCreateResponse, type JoinRequestListResponse, type JoinRequestOut, type MessageOut, type MessageType, NoveraChat, NoveraChatError, type ReactionEntry, Room, type RoomEvents, type RoomMemberOut, type RoomUnread, type SendParams, type SenderMini, type UnreadRoomItem, type UnreadSummary, type WsAnnouncementEvent, type WsInbound, type WsOutbound };
|
|
1194
|
+
export { type InviteAcceptResponse as AcceptInviteResult, type AnnouncementOut as Announcement, type AppPolicy, type BlockOut as Block, type ClientEvents, type ClientOptions, type DeleteScope, ErrorCode, type ErrorCodeValue, type FileInline, type FileKind, type FileMeta, type FileThumbnailStatus, type InviteTokenOut as InviteToken, type JoinRequestCreateResponse, type JoinRequestListResponse, type JoinRequestOut, type MemberPreview, type MemberRole, type MessageIdStr, type MessageOut, type MessageType, NoveraChat, NoveraChatError, type PushTrigger, type ReactionEntry, Room, type RoomEvents, type RoomMemberOut, type RoomUnread, type SendFileOptions, type SendParams, type SenderMini, type UnreadRoomItem, type UnreadSummary, type WsAnnouncementEvent, type WsChatReceive, type WsInbound, type WsMessageDeleted, type WsMessageUpdated, type WsMessagesCleared, type WsOutbound, type WsPresence, type WsReactionAdded, type WsReactionRemoved, type WsRoomEvent, type WsSyncTick, type WsTypingBroadcast };
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -29,3 +29,28 @@ export type {
|
|
|
29
29
|
WsInbound,
|
|
30
30
|
WsOutbound,
|
|
31
31
|
} from "./types.js";
|
|
32
|
+
|
|
33
|
+
// WS 이벤트 프레임 + 파일 메타 타입 — sdk-react 같은 상위 바인딩이 이벤트
|
|
34
|
+
// 페이로드를 직접 타이핑할 수 있도록 공개 (타입 전용, 런타임 영향 없음).
|
|
35
|
+
export type { ClientEvents } from "./client.js";
|
|
36
|
+
export type {
|
|
37
|
+
FileInline,
|
|
38
|
+
FileKind,
|
|
39
|
+
FileMeta,
|
|
40
|
+
FileThumbnailStatus,
|
|
41
|
+
MemberPreview,
|
|
42
|
+
MemberRole,
|
|
43
|
+
MessageIdStr,
|
|
44
|
+
PushTrigger,
|
|
45
|
+
SendFileOptions,
|
|
46
|
+
WsChatReceive,
|
|
47
|
+
WsMessageDeleted,
|
|
48
|
+
WsMessagesCleared,
|
|
49
|
+
WsMessageUpdated,
|
|
50
|
+
WsPresence,
|
|
51
|
+
WsReactionAdded,
|
|
52
|
+
WsReactionRemoved,
|
|
53
|
+
WsRoomEvent,
|
|
54
|
+
WsSyncTick,
|
|
55
|
+
WsTypingBroadcast,
|
|
56
|
+
} from "./types.js";
|