Skip to content

Commit

Permalink
refactor(UserType): UserType 병합
Browse files Browse the repository at this point in the history
  • Loading branch information
ro-el-c committed Aug 19, 2024
1 parent d1902c6 commit bc2aa9d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 19 deletions.
6 changes: 3 additions & 3 deletions src/types/follow/FollowingType.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { UserType } from "./UserType"
import { UserType } from "../UserType";

export interface FollowingType {
userId: number;
users : UserType[];
}
users: UserType[];
}
5 changes: 0 additions & 5 deletions src/types/follow/UserType.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/types/map/MapBasicInfo.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { UserType } from '../mapData/UserType';
import { UserType } from '../UserType';

export interface MapBasicInfo {
mapId: number;
Expand Down
9 changes: 4 additions & 5 deletions src/types/mapData/APIExploreMapType .ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { UserType } from "./UserType";
import { KeywordType } from "../keywords/KeywordType";
import { UserType } from '../UserType';

export interface APIExploreMapType {
mapId: number;
imageUrl: string;
title: string;
region : string;
region: string;
description: string;
user : UserType;
keyword:string[];
user: UserType;
keyword: string[];
}
8 changes: 4 additions & 4 deletions src/types/mapData/ExploreMapType.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { UserType } from "./UserType";
import { KeywordType } from "../keywords/KeywordType";
import { KeywordType } from '../keywords/KeywordType';
import { UserType } from '../UserType';

export interface ExploreMapType {
mapId: number;
imageUrl: string;
title: string;
region : string;
region: string;
description: string;
user : UserType;
user: UserType;
keyword: KeywordType[];
}
2 changes: 1 addition & 1 deletion src/types/mapData/FollowingMapType.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { MapsType } from '../MapsType';
import { MapsType } from './MapsType';

export interface FollowingMapType {
nickname: string;
Expand Down

0 comments on commit bc2aa9d

Please sign in to comment.