mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 21:11:14 +00:00
Tours: day GPX import, wanderer trails and planning over an import
- GPX files drop onto the map or a day; the import lands on that day - wanderer connection per user in Integrations; the workspace offers the user's own trails only, behind an admin switch under the Tours addon - wanderer difficulty is stored on the SAC scale (T1 to T3), backfilled - a GPX or wanderer import can be planned as an editable tour, either in place (the recorded track is kept and can be restored) or as a new tour that remembers the import it came from - rails, rows and detail dialog follow the plan sidebar's cards and badges - admin addon shelves with more than one row fold, collapsed by default - reverse-geocoded waypoint names are cached on the device
This commit is contained in:
@@ -54,6 +54,12 @@ export const adminFeatureToggleRequestSchema = z.object({
|
||||
});
|
||||
export type AdminFeatureToggleRequest = z.infer<typeof adminFeatureToggleRequestSchema>;
|
||||
|
||||
/** What a feature toggle answers: the flag as it is stored now. */
|
||||
export const adminFeatureToggleResponseSchema = z.object({
|
||||
enabled: z.boolean(),
|
||||
});
|
||||
export type AdminFeatureToggleResponse = z.infer<typeof adminFeatureToggleResponseSchema>;
|
||||
|
||||
/**
|
||||
* PUT /api/admin/google-quota (#1582): the most Google API calls TREK may make
|
||||
* in one UTC day. Null or 0 removes the ceiling.
|
||||
|
||||
Reference in New Issue
Block a user