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,6 +1,7 @@
import { query, mutation } from "./_generated/server";
import { paginationOptsValidator } from "convex/server";
import { v } from "convex/values";
import { getPublicStorageUrl } from "./storageUrl";
export const list = query({
args: {
@@ -22,7 +23,7 @@ export const list = query({
let avatarUrl: string | null = null;
if (sender?.avatarStorageId) {
avatarUrl = await ctx.storage.getUrl(sender.avatarStorageId);
avatarUrl = await getPublicStorageUrl(ctx, sender.avatarStorageId);
}
const reactionDocs = await ctx.db
@@ -51,7 +52,7 @@ export const list = query({
replyToContent = repliedMsg.ciphertext;
replyToNonce = repliedMsg.nonce;
if (repliedSender?.avatarStorageId) {
replyToAvatarUrl = await ctx.storage.getUrl(repliedSender.avatarStorageId);
replyToAvatarUrl = await getPublicStorageUrl(ctx, repliedSender.avatarStorageId);
}
}
}