Skip to content

Commit

Permalink
feat:ICommonContents를 common.type으로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
suhwan2004 committed Nov 17, 2024
1 parent 6669f21 commit 52ca7f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/features/searchFeed/model/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { IFeed } from '@/entities/feed';
import { ICommonSearchData } from '@/shared/types';
import { ICommonContents } from '@/shared/types';
//피드 검색
export interface ISearchFeedResDTO {
feed: ICommonSearchData<IFeed[]>;
feed: ICommonContents<IFeed[]>;
}
4 changes: 2 additions & 2 deletions src/features/searchUser/model/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { IUser } from '@/entities/user';
import { ICommonSearchData } from '@/shared/types';
import { ICommonContents } from '@/shared/types';

//유저 검색
export interface ISearchUserResDTO {
user: ICommonSearchData<IUser[]>;
user: ICommonContents<IUser[]>;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export interface ICommonSearchData<T> {
export interface ICommonContents<T> {
contents: T;
currentPageNumber: number;
pageSize: number;
Expand Down

0 comments on commit 52ca7f3

Please sign in to comment.