mapcomplete/Logic/Web/Review.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
290 B
TypeScript
Raw Normal View History

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
*/
made_by_user: Store<boolean>
2020-12-08 23:44:34 +01:00
}