feat: add employee management features including filtering, deletion, and improved layout

This commit is contained in:
2025-10-25 01:24:40 -03:00
parent be3522ae74
commit f0d3625045
10 changed files with 735 additions and 132 deletions

View File

@@ -177,3 +177,12 @@ export const update = mutation({
return null;
},
});
export const remove = mutation({
args: { id: v.id("funcionarios") },
returns: v.null(),
handler: async (ctx, args) => {
await ctx.db.delete(args.id);
return null;
},
});