mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-23 10:07:35 +00:00
14 lines
269 B
TypeScript
14 lines
269 B
TypeScript
import { ReviewRow } from "../../../types";
|
|
|
|
export default class ReviewResolver {
|
|
_model: ReviewRow;
|
|
constructor(model: ReviewRow) {
|
|
this._model = model;
|
|
}
|
|
reviewer() {
|
|
return this._model.reviewer;
|
|
}
|
|
rating() {
|
|
return this._model.review;
|
|
}
|
|
}
|