wip
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user