feat: implement initial Electron chat application with core UI components and Convex backend integration.
All checks were successful
Build and Release / build-and-release (push) Successful in 11m1s

This commit is contained in:
Bryan1029384756
2026-02-13 07:18:19 -06:00
parent 2201c56cb2
commit 56a9523e38
15 changed files with 436 additions and 178 deletions

View File

@@ -42,7 +42,8 @@ export default defineSchema({
replyTo: v.optional(v.id("messages")),
editedAt: v.optional(v.number()),
pinned: v.optional(v.boolean()),
}).index("by_channel", ["channelId"]),
}).index("by_channel", ["channelId"])
.index("by_channel_pinned", ["channelId", "pinned"]),
messageReactions: defineTable({
messageId: v.id("messages"),
@@ -110,6 +111,7 @@ export default defineSchema({
isDeafened: v.boolean(),
isScreenSharing: v.boolean(),
isServerMuted: v.boolean(),
watchingStream: v.optional(v.id("userProfiles")),
})
.index("by_channel", ["channelId"])
.index("by_user", ["userId"]),