42 lines
1.0 KiB
TypeScript
42 lines
1.0 KiB
TypeScript
import type { PageableParams, PageResponse } from "@/shared/model";
|
|
|
|
/** 백엔드 NotiAsUserResponseDto */
|
|
export interface NotiAsUserResponseDto {
|
|
notiId: number;
|
|
recvUnqId: string;
|
|
senderUnqId: string;
|
|
notiType: string;
|
|
notiTtl: string;
|
|
notiCn?: string;
|
|
notReadYn?: string;
|
|
regDt?: string;
|
|
notiUrl?: string;
|
|
notiLnkgUnqNo?: string;
|
|
docSeComCd?: string;
|
|
docSeComNm?: string;
|
|
notiIdntyDt?: string;
|
|
notiIdntyYn?: string;
|
|
notiPrcsCmptnYn?: string;
|
|
notiPrcsCmptnDt?: string;
|
|
}
|
|
|
|
/** 백엔드 NotiSearchDto + Pageable */
|
|
export interface NotiSearchDto extends PageableParams {
|
|
recvUnqId?: string;
|
|
senderUnqId?: string;
|
|
notiType?: string;
|
|
notiTtlKeyword?: string;
|
|
notiCnKeyword?: string;
|
|
notReadYn?: string;
|
|
delYn?: string;
|
|
startDt?: string;
|
|
endDt?: string;
|
|
docSeComCd?: string;
|
|
}
|
|
|
|
/** Controller public 메서드명·시그니처와 동일 */
|
|
export interface NotiService {
|
|
findMyAsNotiList(params: NotiSearchDto): Promise<PageResponse<NotiAsUserResponseDto>>;
|
|
readNoti(notiId: number): Promise<number>;
|
|
}
|