feat: Implement core chat page with channel navigation, direct messages, and voice chat integration.
All checks were successful
Build and Release / build-and-release (push) Successful in 9m12s

This commit is contained in:
Bryan1029384756
2026-02-11 17:44:50 -06:00
parent b0acf93059
commit b0f889cb68
17 changed files with 1075 additions and 142 deletions

View File

@@ -18,13 +18,19 @@ export default defineSchema({
customStatus: v.optional(v.string()),
}).index("by_username", ["username"]),
categories: defineTable({
name: v.string(),
position: v.number(),
}).index("by_position", ["position"]),
channels: defineTable({
name: v.string(),
type: v.string(), // 'text' | 'voice' | 'dm'
category: v.optional(v.string()),
categoryId: v.optional(v.id("categories")),
topic: v.optional(v.string()),
position: v.optional(v.number()),
}).index("by_name", ["name"]),
}).index("by_name", ["name"])
.index("by_category", ["categoryId"]),
messages: defineTable({
channelId: v.id("channels"),