22 lines
420 B
TypeScript
22 lines
420 B
TypeScript
export interface Sido {
|
|
adstDstrCd: string;
|
|
sido: string;
|
|
bsnmCd: string;
|
|
}
|
|
|
|
export interface Sgg {
|
|
adstDstrCd: string;
|
|
gugun: string;
|
|
bsnmCd: string;
|
|
}
|
|
|
|
export interface ApiResponse<T> {
|
|
status: string;
|
|
data: T;
|
|
message?: string;
|
|
}
|
|
|
|
export interface StatisticsService {
|
|
getSidoList(): Promise<ApiResponse<Sido[]>>;
|
|
getSggList(sidoName: string): Promise<ApiResponse<Sgg[]>>;
|
|
} |