31 lines
680 B
TypeScript
31 lines
680 B
TypeScript
export interface ScheduleInfoSearchParams {
|
|
statsYr: string;
|
|
}
|
|
|
|
export interface ScheduleInfoApiResponse<T> {
|
|
status: string;
|
|
message: string;
|
|
data: T;
|
|
code: string;
|
|
httpStatus: number;
|
|
}
|
|
|
|
export interface ScheduleInfoResponse {
|
|
statsYr: string;
|
|
inptSeCd: number;
|
|
inptBgngYmd: string;
|
|
inptEndYmd: string;
|
|
vrfcSeCd: number;
|
|
vrfcBgngYmd: string;
|
|
vrfcEndYmd: string;
|
|
currentSe: string;
|
|
dday: string;
|
|
ddayLabel: string;
|
|
}
|
|
|
|
export interface ScheduleInfoService {
|
|
getScheduleInfo(
|
|
params: ScheduleInfoSearchParams,
|
|
): Promise<ScheduleInfoApiResponse<ScheduleInfoResponse>>;
|
|
}
|