@xoxno/types 1.0.106 → 1.0.108

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.
@@ -0,0 +1,7 @@
1
+ import { ChatDataType } from '../../../enums/chat-data-type.enum';
2
+ export declare class ChatReadDto {
3
+ dataType: ChatDataType.READ;
4
+ chatId: string;
5
+ lastRead: number;
6
+ reader: string;
7
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChatReadDto = void 0;
4
+ class ChatReadDto {
5
+ }
6
+ exports.ChatReadDto = ChatReadDto;
@@ -2,5 +2,6 @@ export declare enum ChatDataType {
2
2
  MESSAGE = "message",
3
3
  CONVERSATION = "conversation",
4
4
  BLOCKED_USER = "blockedUser",
5
- GROUP_CHAT_PROFILE = "groupChatProfile"
5
+ GROUP_CHAT_PROFILE = "groupChatProfile",
6
+ READ = "read"
6
7
  }
@@ -7,4 +7,5 @@ var ChatDataType;
7
7
  ChatDataType["CONVERSATION"] = "conversation";
8
8
  ChatDataType["BLOCKED_USER"] = "blockedUser";
9
9
  ChatDataType["GROUP_CHAT_PROFILE"] = "groupChatProfile";
10
+ ChatDataType["READ"] = "read";
10
11
  })(ChatDataType || (exports.ChatDataType = ChatDataType = {}));
package/dist/index.d.ts CHANGED
@@ -18,6 +18,7 @@ export * from './cosmos-db/documents/chat/chat-message-content.dto';
18
18
  export * from './cosmos-db/documents/chat/chat-message-reply.dto';
19
19
  export * from './cosmos-db/documents/chat/chat-message.doc';
20
20
  export * from './cosmos-db/documents/chat/chat-message.dto';
21
+ export * from './cosmos-db/documents/chat/chat-read.dto';
21
22
  export * from './cosmos-db/documents/chat/global-conversation-summary.dto';
22
23
  export * from './cosmos-db/documents/chat/group-chat-profile.doc';
23
24
  export * from './cosmos-db/documents/chat/user-block.doc';
package/dist/index.js CHANGED
@@ -34,6 +34,7 @@ __exportStar(require("./cosmos-db/documents/chat/chat-message-content.dto"), exp
34
34
  __exportStar(require("./cosmos-db/documents/chat/chat-message-reply.dto"), exports);
35
35
  __exportStar(require("./cosmos-db/documents/chat/chat-message.doc"), exports);
36
36
  __exportStar(require("./cosmos-db/documents/chat/chat-message.dto"), exports);
37
+ __exportStar(require("./cosmos-db/documents/chat/chat-read.dto"), exports);
37
38
  __exportStar(require("./cosmos-db/documents/chat/global-conversation-summary.dto"), exports);
38
39
  __exportStar(require("./cosmos-db/documents/chat/group-chat-profile.doc"), exports);
39
40
  __exportStar(require("./cosmos-db/documents/chat/user-block.doc"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.106",
3
+ "version": "1.0.108",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",