refactor: repartition server-side and client-side code

This commit is contained in:
LIlGG
2025-10-11 18:26:07 +08:00
parent 7acc4949fb
commit e9b573a276
309 changed files with 631 additions and 962 deletions

View File

@@ -1,7 +1,7 @@
import { type LoaderFunctionArgs } from '@remix-run/node';
import { requireAuth } from '~/lib/.server/auth';
import { getUserPlatformDeploymentsWithPagination } from '~/lib/.server/deployment';
import { errorResponse, successResponse } from '~/utils/api-response';
import { requireAuth } from '~/.server/service/auth';
import { getUserPlatformDeploymentsWithPagination } from '~/.server/service/deployment';
import { errorResponse, successResponse } from '~/.server/utils/api-response';
export async function loader({ request }: LoaderFunctionArgs) {
try {