Skip to content

Commit 8a62f08

Browse files
committed
type 디렉토리 분리
1 parent 67c89de commit 8a62f08

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

src/app/common/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import Module from "./module";
2-
import PaymentHistory from "./paymentHistory";
2+
import PaymentHistory from "./types/paymentHistory";
33

44
export { Module, PaymentHistory };
File renamed without changes.

src/app/naver/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { PaymentHistory } from "app/common";
2-
import { PaymentHistoryResponse } from "./paymentHistoryResponse";
2+
import { PaymentHistoryResponse } from "./types/paymentHistoryResponse";
33

44
export class NaverParser {
55
parsePaymentHistory(jsonString: string): PaymentHistory[] {

src/app/naver/scraper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CommonResponse } from "app/common/response";
1+
import { CommonResponse } from "app/common/types/response";
22
import axios from "axios";
33

44
export class NaverScraper {

src/app/naver/paymentHistoryResponse.d.ts renamed to src/app/naver/types/paymentHistoryResponse.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ export interface AdditionalData {
8080
}
8181

8282
export interface Status {
83-
name: string;
84-
text: string;
83+
name: StatusGroup;
84+
text: StatusGroupText;
8585
color: string;
8686
}
8787

0 commit comments

Comments
 (0)