feat: Add initial Electron frontend package.json with dependencies, scripts, and build configuration.

This commit is contained in:
Bryan1029384756
2026-02-12 02:38:06 -06:00
parent 1952a1fedf
commit e790db7029
14 changed files with 95 additions and 29 deletions

View File

@@ -1,5 +1,6 @@
import { query, mutation } from "./_generated/server";
import { v } from "convex/values";
import { getPublicStorageUrl } from "./storageUrl";
async function removeUserVoiceStates(ctx: any, userId: any) {
const existing = await ctx.db
@@ -92,7 +93,7 @@ export const getAll = query({
const user = await ctx.db.get(s.userId);
let avatarUrl: string | null = null;
if (user?.avatarStorageId) {
avatarUrl = await ctx.storage.getUrl(user.avatarStorageId);
avatarUrl = await getPublicStorageUrl(ctx, user.avatarStorageId);
}
(grouped[s.channelId] ??= []).push({