adds privacy settings

This commit is contained in:
Christian Beutel
2024-12-17 00:53:27 +01:00
parent 43b6be8fb2
commit 92f0b033fa
25 changed files with 2025 additions and 28 deletions

View File

@@ -9,6 +9,7 @@ class Settings {
tilesets?: {name: string, url: string}[]
terrain?: { terrain: string, hillshading: string};
user?: string;
privacy?: {account: "public" | "private", trails: "public" | "private", lists: "public" | "private"}
constructor(
unit: "metric" | "imperial",

View File

@@ -17,4 +17,5 @@ export type UserAnonymous = {
avatar?: string;
bio?: string;
created?: string;
private: boolean;
}