ExtractCouponProductsResult - itsManeka/amazing-scraper GitHub Wiki
amazing-scraper / ExtractCouponProductsResult
ExtractCouponProductsResult = {
found:false; } | {found:true;result:CouponResult; }
Defined in: src/domain/entities/CouponResult.ts:20
Discriminated union returned by the use case.
-
found: false— the promotion has no active coupon. -
found: true— coupon found;resultcontains all products.