-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
105 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { CareerEntity } from '@/app/domain/entities/career.entity' | ||
import { CareerRepository } from '@/app/domain/repositories/career.repo' | ||
|
||
export class CareerRepositoryImpl implements CareerRepository { | ||
private readonly mockData: CareerEntity[] = [ | ||
{ | ||
companyName: '(주)홈초이스', | ||
logoUrl: 'https://github.com/jaemin-s/jaemin-s/raw/refs/heads/main/image/logo/homechoice.svg', | ||
employmentPeriod: '2024.01 ~ 재직중', | ||
companyDescription: 'VOD, 배급, 광고, 채널 등의 다양한 사업을 영위하는 종합미디어 그룹', | ||
achievementItems: [ | ||
{ | ||
achievementTitle: 'UI/UX 개편', | ||
projectPeriod: '2024년 상반기', | ||
achievementDescription: 'Smart TV앱의 전반적인 UI/UX 개선 작업', | ||
}, | ||
{ | ||
achievementTitle: 'Smart TV App 심사 등록 관리', | ||
projectPeriod: '2024년 상반기', | ||
achievementDescription: 'Samsung, LG 스토어 심사 담당', | ||
}, | ||
{ | ||
achievementTitle: 'UI/UX 개편', | ||
projectPeriod: '2024년 상반기', | ||
achievementDescription: 'Smart TV앱의 전반적인 UI/UX 개선 작업', | ||
}, | ||
{ | ||
achievementTitle: 'Smart TV App 심사 등록 관리', | ||
projectPeriod: '2024년 상반기', | ||
achievementDescription: 'Samsung, LG 스토어 심사 담당', | ||
}, | ||
], | ||
}, | ||
] | ||
|
||
async getCareerList(): Promise<CareerEntity[]> { | ||
await new Promise((resolve) => setTimeout(resolve, 200)) | ||
return this.mockData | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import { CareerRepositoryImpl } from './careerRepositoryImpl' | ||
import { SkillRepositoryImpl } from './SkillRepositoryImpl' | ||
|
||
export const skillRepository = new SkillRepositoryImpl() | ||
export const CareerRepository = new CareerRepositoryImpl() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export interface CareerEntity { | ||
companyName: string | ||
logoUrl: string | ||
employmentPeriod: string | ||
companyDescription: string | ||
achievementItems: AchievementItem[] | ||
} | ||
|
||
export interface AchievementItem { | ||
achievementTitle: string | ||
projectPeriod: string | ||
achievementDescription: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { CareerEntity } from '../entities/career.entity' | ||
|
||
export interface CareerRepository { | ||
getCareerList(): Promise<CareerEntity[]> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters