lint 로직 변경

This commit is contained in:
2026-01-15 14:58:44 +00:00
parent 62279dc587
commit 24fbace987
11 changed files with 33 additions and 20 deletions
@@ -1,4 +1,4 @@
import { GatewayPrisma, type GatewayPrismaClient } from '@sammo-ts/infra';
import type { GatewayPrisma, GatewayPrismaClient } from '@sammo-ts/infra';
import { createSimplePasswordHasher, type PasswordHasher } from './passwordHasher.js';
import type { CreateUserInput, UserOAuthInfo, UserRecord, UserRepository, UserSanctions } from './userRepository.js';
@@ -1,8 +1,9 @@
import { createRequire } from 'node:module';
import type * as Pm2 from 'pm2';
import type { ProcessManager, ManagedProcessInfo, ProcessDefinition } from './processManager.js';
type Pm2Module = typeof import('pm2');
type Pm2Module = typeof Pm2;
const require = createRequire(import.meta.url);
@@ -1,4 +1,4 @@
import { GatewayPrisma, type GatewayPrismaClient } from '@sammo-ts/infra';
import type { GatewayPrisma, GatewayPrismaClient } from '@sammo-ts/infra';
export const GATEWAY_PROFILE_STATUSES = [
'RESERVED',
+1 -1
View File
@@ -12,7 +12,7 @@ onMounted(async () => {
try {
const me = await trpc.me.query();
if (me) {
router.push('/lobby');
await router.push('/lobby');
}
} catch (e) {
// Not logged in or error
+2 -2
View File
@@ -24,7 +24,7 @@ onMounted(async () => {
try {
me.value = await trpc.me.query();
if (!me.value) {
router.push('/');
await router.push('/');
return;
}
@@ -51,7 +51,7 @@ onMounted(async () => {
const handleLogout = async () => {
// TODO: Implement logout mutation in gateway-api
// await trpc.auth.logout.mutation();
router.push('/');
await router.push('/');
};
</script>