From 88b556fe068861915084b80a9d6c101074fa45c1 Mon Sep 17 00:00:00 2001 From: Jeremy LaCivita Date: Wed, 22 May 2024 16:42:41 -0400 Subject: [PATCH] fix: Required fields on Interest --- requirements/specifications/discovery/user-interest.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/requirements/specifications/discovery/user-interest.md b/requirements/specifications/discovery/user-interest.md index d86814b32..192ea35bc 100644 --- a/requirements/specifications/discovery/user-interest.md +++ b/requirements/specifications/discovery/user-interest.md @@ -117,6 +117,8 @@ The `Content.onUserInterest` event has a result type of `Interest`: | property | type | description | |---------|------|-------------| | appId | string | The id of the app that pushed the user interest. | +| type | `InterestType` | the type of interest. | +| reason | `InterestReason` | the reason for the interest | | entity | `EntityDetails` | The entity the user expressed interest in. | An Aggregated Experience can register for the `Content.onUserInterest` @@ -286,9 +288,10 @@ type InterestType = "interest" | "disinterest" type InterestReason = "playlist" | "reaction" | "recording" | "share" type Interest { - type: InterestType - reason: InterestReason + appId: string entity: EntityDetails + type?: InterestType + reason?: InterestReason } ```