mapcomplete/Logic/Web/Review.ts

13 lines
309 B
TypeScript
Raw Normal View History

2020-12-11 16:29:51 +01:00
import {UIEventSource} from "../UIEventSource";
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
*/
2020-12-11 16:29:51 +01:00
made_by_user: UIEventSource<boolean>
2020-12-08 23:44:34 +01:00
}