forked from eatvio/eatvio_app
27 lines
637 B
Dart
27 lines
637 B
Dart
/// Период для вкладок «Вес», «ИМТ» и «Замеры». Значение совпадает с `{period}` в
|
||
/// `/api/profile/measure/weight/{period}`.
|
||
enum BodyPeriod {
|
||
month('1'),
|
||
threeMonths('3'),
|
||
sixMonths('6'),
|
||
year('12'),
|
||
all('all');
|
||
|
||
const BodyPeriod(this.apiValue);
|
||
|
||
final String apiValue;
|
||
}
|
||
|
||
/// Период для вкладки «КБЖУ по дням» (используется со второй итерации).
|
||
enum DailyPeriod {
|
||
week('7'),
|
||
twoWeeks('14'),
|
||
month('30'),
|
||
threeMonths('90'),
|
||
all('all');
|
||
|
||
const DailyPeriod(this.apiValue);
|
||
|
||
final String apiValue;
|
||
}
|