Add aggregate results by entityRef

Signed-off-by: Roohn <tol.ronald@gmail.com>
This commit is contained in:
Roohn
2023-03-13 16:10:52 +01:00
parent a0804a0371
commit 7eba760e6f
9 changed files with 100 additions and 7 deletions
+8 -3
View File
@@ -40,13 +40,18 @@ export interface FeedbackResponse {
userRef: string;
}
/**
* @public
*/
export interface Ratings {
[ratingValue: string]: number;
}
/**
* @public
*/
export interface EntityRatingsData {
entityRef: string;
entityTitle?: string;
ratings: {
[ratingValue: string]: number;
};
ratings: Ratings;
}