fix build errors

This commit is contained in:
Fran Jurmanović
2025-09-18 22:12:40 +02:00
parent fe4d299eae
commit 1ca98233f8
3 changed files with 7 additions and 12 deletions

View File

@@ -4,10 +4,14 @@ import { revalidatePath } from 'next/cache';
import { requireAuth } from '@/lib/auth/server';
import { createServer, deleteServer } from '@/lib/api/server/servers';
export type ServerActionData = {
id: string;
};
export type ServerActionResult = {
success: boolean;
message: string;
data?: any;
data?: ServerActionData;
};
export async function createServerAction(