import { action } from "./_generated/server";
import { v } from "convex/values";
export const testSimpleAction = action({
args: {
jarPath: v.optional(v.string()),
onOutput: v.optional(v.string())
},
handler: async (ctx, args) => {
return { success: true, message: "Hello from Node.js action!" };
},
});
import { action } from "./_generated/server";
import { v } from "convex/values";
export const testSimpleAction = action({
args: {
jarPath: v.optional(v.string()),
onOutput: v.optional(v.string())
},
handler: async (ctx, args) => {
return { success: true, message: "Hello from Node.js action!" };
},
});