mapcomplete/Logic/Web/Review.ts
2020-12-11 16:29:51 +01:00

13 lines
No EOL
309 B
TypeScript

import {UIEventSource} from "../UIEventSource";
export interface Review {
comment?: string,
author: string,
date: Date,
rating: number,
affiliated: boolean,
/**
* True if the current logged in user is the creator of this comment
*/
made_by_user: UIEventSource<boolean>
}