forked from MapComplete/MapComplete
merge develop
This commit is contained in:
commit
3e4708b0b9
506 changed files with 7945 additions and 74587 deletions
|
|
@ -38,11 +38,11 @@ export class IdbLocalStorage {
|
|||
return src
|
||||
}
|
||||
|
||||
public static SetDirectly(key: string, value: any): Promise<void> {
|
||||
public static SetDirectly<T>(key: string, value: T): Promise<void> {
|
||||
return idb.set(key, value)
|
||||
}
|
||||
|
||||
static GetDirectly(key: string): Promise<any> {
|
||||
static GetDirectly<T>(key: string): Promise<T> {
|
||||
return idb.get(key)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ export class MangroveIdentity {
|
|||
*/
|
||||
export default class FeatureReviews {
|
||||
/**
|
||||
* See https://gitlab.com/open-reviews/mangrove/-/blob/master/servers/reviewer/src/review.rs#L269 and https://github.com/pietervdvn/MapComplete/issues/1775
|
||||
* See https://gitlab.com/open-reviews/mangrove/-/blob/master/servers/reviewer/src/review.rs#L269 and https://source.mapcomplete.org/MapComplete/MapComplete/issues/1775
|
||||
*/
|
||||
public static readonly REVIEW_OPINION_MAX_LENGTH = 1000
|
||||
private static readonly _featureReviewsCache: Record<string, FeatureReviews> = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue