init test

This commit is contained in:
2026-01-24 00:43:25 +08:00
parent 51aed643a0
commit 5657bffd39
22 changed files with 1182 additions and 18 deletions

View File

@@ -1,12 +1,14 @@
import { query, mutation, action } from "./_generated/server";
import { Kevisual } from '@kevisual/ai/browser'
import { v } from "convex/values";
import { } from "convex/server";
export const get = query({
args: {},
handler: async (ctx) => {
const auth = await ctx.auth.getUserIdentity();
console.log("Query abcv.get called", auth);
console.log("Query abcv.get called, auth:", auth);
if (auth) {
console.log("Authenticated user ID:", auth.subject);
}
return await ctx.db.query("abcv").collect();
},
});