- 가짜 setTimeout 애니메이션 제거 — 상품별 POST lowest-price(큐 접수, duplicated 는 결과 대기 합류) 후 GET 5초 폴링(서버가 조회 시 lps_db 증분 동기화를 겸하므로 폴링이 곧 수집) - 요청 시각 이후 crawl_end_time 이력만 이번 결과로 인정, 완료/미발견 로그 구분(emerald/amber), 5분 대기초과분은 주기 동기화 자동반영 안내 - 종료 시 /v1/item/list invalidate → 테이블 인터넷 최저가 컬럼 갱신 - 닫기 = 폴링만 중단(서버 검색은 계속됨을 UI 에 명시) - orval 재생성: lowest-price 응답 타입화(LowestPriceEntry·lowest_price) 검증: tsc 통과, vite build 통과 (API 흐름 자체는 ③ e2e 로 검증됨) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
21 lines
652 B
TypeScript
21 lines
652 B
TypeScript
/**
|
|
* Generated by orval v7.21.0 🍺
|
|
* Do not edit manually.
|
|
* Negodata Api Server
|
|
* OpenAPI spec version: 0.1.0
|
|
*/
|
|
import type { LowestPriceEntryLpPrice } from './lowestPriceEntryLpPrice';
|
|
import type { LowestPriceEntryFailReason } from './lowestPriceEntryFailReason';
|
|
import type { LowestPriceEntryCrawlEndTime } from './lowestPriceEntryCrawlEndTime';
|
|
|
|
/**
|
|
* 최저가 수집 이력 1건(partner.item_internet_lowest_prices).
|
|
*/
|
|
export interface LowestPriceEntry {
|
|
lp_price?: LowestPriceEntryLpPrice;
|
|
website?: number;
|
|
success_yn?: boolean;
|
|
fail_reason?: LowestPriceEntryFailReason;
|
|
crawl_end_time?: LowestPriceEntryCrawlEndTime;
|
|
}
|