feat: Implement initial Electron frontend with core UI, user and server settings, chat, and voice features, along with Convex backend schemas and functions.
Some checks failed
Build and Release / build-and-release (push) Has been cancelled
Some checks failed
Build and Release / build-and-release (push) Has been cancelled
This commit is contained in:
@@ -16,6 +16,7 @@ export default defineSchema({
|
||||
avatarStorageId: v.optional(v.id("_storage")),
|
||||
aboutMe: v.optional(v.string()),
|
||||
customStatus: v.optional(v.string()),
|
||||
joinSoundStorageId: v.optional(v.id("_storage")),
|
||||
}).index("by_username", ["username"]),
|
||||
|
||||
categories: defineTable({
|
||||
@@ -126,7 +127,9 @@ export default defineSchema({
|
||||
.index("by_user_and_channel", ["userId", "channelId"]),
|
||||
|
||||
serverSettings: defineTable({
|
||||
serverName: v.optional(v.string()),
|
||||
afkChannelId: v.optional(v.id("channels")),
|
||||
afkTimeout: v.number(), // seconds (default 300 = 5 min)
|
||||
iconStorageId: v.optional(v.id("_storage")),
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user