The dashboard (Raspberry Pi 3.5" screen + web pages), the end-to-end encrypted sync mailbox (PHP + SQLite) and the Android companion app (Flutter), with docs, clean-install checks and screenshots made from demo data. Built mostly with an AI coding assistant; not yet reviewed line by line by a human (see README and SECURITY.md). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
56 lines
2.7 KiB
Dart
56 lines
2.7 KiB
Dart
// GENERATED from the dashboard's plugins/food/sugar_kinds.json by `python3 plugins/food/sugar.py --dart <this file>`
|
|
// — don't edit; change the table and run it again. USDA category (lower case) → (kind, names going by their name).
|
|
const sugarKinds = <String, (String, String?)>{
|
|
r'apple juice': (r'added', null),
|
|
r'baby food: snacks and sweets': (r'added', null),
|
|
r'baby juice': (r'added', null),
|
|
r'baked products': (r'added', null),
|
|
r'biscuits, muffins, quick breads': (r'added', null),
|
|
r'breakfast cereals': (r'added', r'\bplain\b|grits|farina|regular and quick|unsweetened'),
|
|
r'cakes and pies': (r'added', null),
|
|
r'candy containing chocolate': (r'added', null),
|
|
r'candy not containing chocolate': (r'added', null),
|
|
r'cereal bars': (r'added', null),
|
|
r'cheese': (r'dairy', null),
|
|
r'cheese sandwiches': (r'dairy', null),
|
|
r'citrus juice': (r'added', null),
|
|
r'cookies and brownies': (r'added', null),
|
|
r'cottage/ricotta cheese': (r'dairy', null),
|
|
r'cream and cream substitutes': (r'dairy', null),
|
|
r'cream cheese, sour cream, whipped cream': (r'dairy', null),
|
|
r'dairy and egg products': (r'dairy', null),
|
|
r'doughnuts, sweet rolls, pastries': (r'added', null),
|
|
r'flavored milk, lowfat': (r'added', null),
|
|
r'flavored milk, nonfat': (r'added', null),
|
|
r'flavored milk, reduced fat': (r'added', null),
|
|
r'flavored milk, whole': (r'added', null),
|
|
r'fruit drinks': (r'added', null),
|
|
r'gelatins, ices, sorbets': (r'added', null),
|
|
r'ice cream and frozen dairy desserts': (r'added', null),
|
|
r'jams, syrups, toppings': (r'added', null),
|
|
r'liquor and cocktails': (r'added', null),
|
|
r'milk shakes and other dairy drinks': (r'added', null),
|
|
r'milk, lowfat': (r'dairy', null),
|
|
r'milk, nonfat': (r'dairy', null),
|
|
r'milk, reduced fat': (r'dairy', null),
|
|
r'milk, whole': (r'dairy', null),
|
|
r'nutrition bars': (r'added', null),
|
|
r'nutritional beverages': (r'added', null),
|
|
r'other fruit juice': (r'added', null),
|
|
r'pancakes, waffles, french toast': (r'added', null),
|
|
r'plant-based milk': (r'dairy', null),
|
|
r'plant-based yogurt': (r'dairy', null),
|
|
r'pudding': (r'added', null),
|
|
r'ready-to-eat cereal, higher sugar (>21.2g/100g)': (r'added', null),
|
|
r'ready-to-eat cereal, lower sugar (=<21.2g/100g)': (r'added', null),
|
|
r'smoothies and grain drinks': (r'added', null),
|
|
r'soft drinks': (r'added', null),
|
|
r'sport and energy drinks': (r'added', null),
|
|
r'sugars and honey': (r'added', null),
|
|
r'sweets': (r'added', null),
|
|
r'tomato-based condiments': (r'added', null),
|
|
r'turnovers and other grain-based items': (r'added', null),
|
|
r'vegetable juice': (r'added', null),
|
|
r'yogurt, greek': (r'dairy', null),
|
|
r'yogurt, regular': (r'dairy', null),
|
|
};
|