aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/.server
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-01 22:07:29 +0900
committernsfisis <nsfisis@gmail.com>2024-08-01 22:07:29 +0900
commit00e50b2dcfed209669c46da54dc07905d65887b8 (patch)
treee330b62109b7d0f539ffafee1c9a77203bed002b /frontend/app/.server
parentae750a66feb478b06ae62bf8947782c11606de2d (diff)
downloadphperkaigi-2025-albatross-00e50b2dcfed209669c46da54dc07905d65887b8.tar.gz
phperkaigi-2025-albatross-00e50b2dcfed209669c46da54dc07905d65887b8.tar.zst
phperkaigi-2025-albatross-00e50b2dcfed209669c46da54dc07905d65887b8.zip
chore(frontend): [biome] organize imports
Diffstat (limited to 'frontend/app/.server')
-rw-r--r--frontend/app/.server/api/client.ts2
-rw-r--r--frontend/app/.server/auth.ts6
2 files changed, 4 insertions, 4 deletions
diff --git a/frontend/app/.server/api/client.ts b/frontend/app/.server/api/client.ts
index 8f53b5b..b3c7e9c 100644
--- a/frontend/app/.server/api/client.ts
+++ b/frontend/app/.server/api/client.ts
@@ -1,5 +1,5 @@
import createClient from "openapi-fetch";
-import type { paths, operations } from "./schema";
+import type { operations, paths } from "./schema";
const apiClient = createClient<paths>({
baseUrl:
diff --git a/frontend/app/.server/auth.ts b/frontend/app/.server/auth.ts
index b7e1820..3d9a492 100644
--- a/frontend/app/.server/auth.ts
+++ b/frontend/app/.server/auth.ts
@@ -1,10 +1,10 @@
+import type { Session } from "@remix-run/server-runtime";
+import { jwtDecode } from "jwt-decode";
import { Authenticator } from "remix-auth";
import { FormStrategy } from "remix-auth-form";
-import { jwtDecode } from "jwt-decode";
-import type { Session } from "@remix-run/server-runtime";
-import { sessionStorage } from "./session";
import { apiPostLogin } from "./api/client";
import { components } from "./api/schema";
+import { sessionStorage } from "./session";
export const authenticator = new Authenticator<string>(sessionStorage);