feat(cli): add alchemy and improve cli tooling and structure (#520)

This commit is contained in:
Aman Varshney
2025-08-20 23:43:58 +05:30
committed by GitHub
parent c5430ae4fd
commit 5788876c47
152 changed files with 5804 additions and 2264 deletions

View File

@@ -0,0 +1,20 @@
import { v } from "convex/values";
import { query } from "./_generated/server";
export const getShowcaseProjects = query({
args: {},
returns: v.array(
v.object({
_id: v.id("showcase"),
_creationTime: v.number(),
title: v.string(),
description: v.string(),
imageUrl: v.string(),
liveUrl: v.string(),
tags: v.array(v.string()),
}),
),
handler: async (ctx) => {
return await ctx.db.query("showcase").collect();
},
});