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
+7 -3
View File
@@ -10,9 +10,7 @@ export interface EntityRatingsData {
// (undocumented)
entityTitle?: string;
// (undocumented)
ratings: {
[ratingValue: string]: number;
};
ratings: Ratings;
}
// @public (undocumented)
@@ -38,4 +36,10 @@ export interface Rating {
// (undocumented)
userRef: string;
}
// @public (undocumented)
export interface Ratings {
// (undocumented)
[ratingValue: string]: number;
}
```
+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;
}