Files
mealie/mealie/schema/analytics/analytics.py
Hayden 1a23f867da feat: admin maintenance and analytics stubs (#1107)
* add tail log viewer routes

* add log viewer

* add _mealie to ignore directories

* add detailed breakdown of storage

* generate types

* add dialog to view breakdown

* cleanup mobile UI

* move migrations page

* spelling

* init analytics page

* move route up

* add remove temp files function

* analytics API client

* stub out analytics pages

* generate types

* stub out analytics routes

* update names

* ignore types

* temporary remove analytics from sidebar
2022-03-29 08:25:28 -08:00

20 lines
323 B
Python

from pydantic import UUID4
from .._mealie import MealieModel
class MealieAnalytics(MealieModel):
installation_id: UUID4
version: str
database_type: str
using_email: bool
using_ldap: bool
api_tokens: int
users: int
groups: int
recipes: int
shopping_lists: int
cookbooks: int