2022-06-05 02:24:14 +02:00
|
|
|
import {Store} from "../UIEventSource";
|
2020-12-11 16:29:51 +01:00
|
|
|
|
2020-12-08 23:44:34 +01:00
|
|
|
export interface Review {
|
|
|
|
comment?: string,
|
|
|
|
author: string,
|
|
|
|
date: Date,
|
|
|
|
rating: number,
|
2020-12-11 15:27:52 +01:00
|
|
|
affiliated: boolean,
|
|
|
|
/**
|
|
|
|
* True if the current logged in user is the creator of this comment
|
|
|
|
*/
|
2022-06-05 02:24:14 +02:00
|
|
|
made_by_user: Store<boolean>
|
2020-12-08 23:44:34 +01:00
|
|
|
}
|