fead: add chat interfaces
All checks were successful
Publish / Publish Job (push) Successful in 2m23s

This commit is contained in:
Дмитрий
2026-04-18 10:39:51 +03:00
parent 432c983ea8
commit 67083f0ed4
3 changed files with 13 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@lendry-erp/contracts", "name": "@lendry-erp/contracts",
"version": "1.2.28", "version": "1.2.29",
"description": "Protobuf definitions and generated TypeScript types", "description": "Protobuf definitions and generated TypeScript types",
"type": "commonjs", "type": "commonjs",
"main": "./dist/index.js", "main": "./dist/index.js",

View File

@@ -0,0 +1,11 @@
export interface ChatMessageCreateEvent {
chatId: string;
senderId: string;
type: string;
content: string;
replyToId?: string;
}
export interface ChatTypingEvent {
chatId: string;
userId: string;
}

View File

@@ -1,2 +1,3 @@
export * from "./audit-logs.interface"; export * from "./audit-logs.interface";
export * from "./search-users.interface"; export * from "./search-users.interface";
export * from "./chat.interface";