Skip to content

Commit

Permalink
chore: path alias 수정으로 인한 타입 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
GHooN99 committed Oct 11, 2024
1 parent 19a30c5 commit 1d15fe6
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import tseslint from 'typescript-eslint';
import js from '@eslint/js';

export default tseslint.config(
{ ignores: ['dist'] },
{ ignores: ['dist', 'storybook-static'] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
Expand Down
2 changes: 1 addition & 1 deletion src/configs/http-client/httpErrors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type ValueOf } from '@/utils/types/utilTypes';
import { ValueOf } from '@semo-utils/types/utilTypes';

export type CommonHttpErrorScheme = {
field?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/configs/react/providers/QueryProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
import {
SpecificHttpException,
UnauthorizedException,
} from '@/configs/http-client/httpErrors';
} from '@semo-client/configs/http-client/httpErrors';

export const QueryProvider = ({ children }: { children: ReactNode }) => {
const queryClient = useRef(
Expand Down
2 changes: 1 addition & 1 deletion src/features/users/services/remotes/checkLoginRequest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { httpClient } from '@/configs/http-client';
import { httpClient } from '@semo-client/configs/http-client';
import { User } from '../../models/user';

export const API_CHECK_LOGIN = 'v1/auth/check-login';
Expand Down
2 changes: 1 addition & 1 deletion src/features/users/services/remotes/sendLoginRequest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { httpClient } from '@/configs/http-client';
import { httpClient } from '@semo-client/configs/http-client';
import { User } from '../../models/user';
import { UserLoginDto } from '../../models/userLoginDto';

Expand Down
2 changes: 1 addition & 1 deletion src/features/users/services/remotes/sendLogoutRequest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { httpClient } from '@/configs/http-client';
import { httpClient } from '@semo-client/configs/http-client';

export const API_LOGOUT = 'v1/auth/logout';

Expand Down
2 changes: 1 addition & 1 deletion src/features/users/ui/hooks/useLoginFormState.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState } from 'react';
import { useInputState } from '@/utils/react/hooks/useInputState';
import { useInputState } from '@semo-client/utils/react/hooks/useInputState';
import { validatePasswordInput } from '../../services/validatePasswordInput';
import { validateUserIdInput } from '../../services/validateUserIdInput';

Expand Down
1 change: 1 addition & 0 deletions tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"noFallthroughCasesInSwitch": true,
"baseUrl": "./",
"paths": {
"@semo-client/*": ["src/*"],
"@semo-ui/*": ["src/ui/components/*"],
"@semo-utils/*": ["src/utils/*"]
},
Expand Down

0 comments on commit 1d15fe6

Please sign in to comment.