feat: Integrate Data Connect and Implement Staff List View Directory

This commit is contained in:
dhinesh-m24
2026-01-31 16:54:59 +05:30
parent 48bb1c457c
commit cb25b33d04
255 changed files with 21425 additions and 109 deletions

View File

@@ -0,0 +1,29 @@
enum ConversationStatus {
ACTIVE
}
enum ConversationType {
CLIENT_VENDOR
GROUP_STAFF
STAFF_CLIENT
STAFF_ADMIN
VENDOR_ADMIN
CLIENT_ADMIN
GROUP_ORDER_STAFF
}
type Conversation @table(name: "conversations") {
id: UUID! @default(expr: "uuidV4()")
subject: String
status: ConversationStatus
conversationType: ConversationType
isGroup: Boolean
groupName: String
lastMessage: String
lastMessageAt: Timestamp #lastTime
createdAt: Timestamp @default(expr: "request.time")
updatedAt: Timestamp @default(expr: "request.time")
createdBy: String
}