feat: creating chats for cards and clients, sending and deleting text messages

This commit is contained in:
2025-03-27 15:15:06 +04:00
parent 3bbdacdd68
commit f6c55012bd
37 changed files with 967 additions and 21 deletions

View File

@@ -4,6 +4,7 @@ import {
IconCubeSend,
IconUsersGroup,
IconUserCog,
IconMessage,
} from "@tabler/icons-react";
import ModulesType from "./types.tsx";
import connectModules from "./connectModules.tsx";
@@ -14,6 +15,7 @@ export enum ModuleNames {
SHIPMENT = "shipment",
EMPLOYEES = "employees",
MANAGERS = "managers",
CHAT = "chat",
}
const modules: ModulesType = {
@@ -52,6 +54,13 @@ const modules: ModulesType = {
icon: <IconUserCog />,
}
},
[ModuleNames.CHAT]: {
info: {
label: "Чат",
key: "chat",
icon: <IconMessage />,
}
},
};
export const MODULES = connectModules(modules);