Interface: HydratedStory<T>
Defined in: hydration/types.ts:145
Story ad enriched with advertisement data and, when found, its product
Type Parameters
T
T
Properties
advertisement
advertisement:
Advertisement
Defined in: hydration/types.ts:164
offer?
optionaloffer:Offer
Defined in: hydration/types.ts:163
The offer of the Story's product, as the fetcher and the matcher got it:
pass it with product to a ProductPriceReader or a
ProductAvailabilityReader. Missing for a link
Story.
product?
optionalproduct:T
Defined in: hydration/types.ts:156
The product the fetcher found for the Story. Missing when the Story has
no product (its destination is a link) or the fetcher didn't find it:
story.product then has what the ad server sent.
story
story:
StoryAdDetail
Defined in: hydration/types.ts:150
The Story as the ad server sent it: the video, cover, destination and call to action exist only here.