Ready for 1.1.2-rc.1

This commit is contained in:
charlesgauthereau
2025-09-23 20:35:48 +02:00
parent 461e3ff7c9
commit 385836d5fe
28 changed files with 75 additions and 81 deletions
@@ -1,5 +1,5 @@
"use server";
import {ActionError, userAction} from "@/safe-actions";
import {ActionError, userAction} from "@/lib/safe-actions/actions";
import {AgentSchema} from "@/components/wrappers/dashboard/agent/agent-form/agent-form.schema";
import {z} from "zod";
import {eq, and, ne, count} from "drizzle-orm";
@@ -1,6 +1,5 @@
"use server";
import {userAction} from "@/safe-actions";
import {z} from "zod";
import {v4 as uuidv4} from "uuid";
import {ServerActionResult} from "@/types/action-type";
@@ -8,6 +7,7 @@ import {eq} from "drizzle-orm";
import {db} from "@/db";
import * as drizzleDb from "@/db";
import {Agent} from "@/db/schema/08_agent";
import {userAction} from "@/lib/safe-actions/actions";
export const deleteAgentAction = userAction.schema(z.string()).action(async ({parsedInput}): Promise<ServerActionResult<Agent>> => {
try {