This commit is contained in:
2026-03-11 17:56:17 +03:00
parent 24c935df5f
commit 5a188b80e3
32 changed files with 225 additions and 828 deletions

View File

@@ -1,12 +1,14 @@
import { defineStore } from 'pinia'
import { ref } from 'vue'
import type { User } from '@/stores/users.ts'
import type { Message } from '@/stores/messages.ts'
export interface Chat {
id: string
type_id: number
typeId: number
name: string
users: User[]
message?: Message
}
export const useChatsStore = defineStore('chats', () => {