{
    "id": "diet-manager@beatlink",
    "name": "Diet Manager",
    "description": "A food and recipe database with a daily nutrition diary, built to replace Cronometer. Track foods with per-serving nutrition facts (manually entered or looked up via USDA FoodData Central and Open Food Facts), build recipes out of those foods with nutrition computed automatically per serving, and log servings eaten each day against configurable daily nutrient targets. Foods can be measured in several units at once (100 g or 1 tortilla), foods and recipes sort, filter and group by nestable categories, and a manually maintained grocery list tracks what to buy. All data is a single persisted JSON note.",
    "author": "BeatLink",
    "homepage": "https://github.com/BeatLink/trilium-scripts/tree/main/addons/diet-manager@beatlink",
    "license": "GPL-3.0-or-later",
    "latestVersion": "2.14.0",
    "type": "widget",
    "readme": "README.md",
    "manifestSourceUrl": "https://beatlink.github.io/trilium-scripts/diet-manager@beatlink/_tam_manifest_.json",
    "manifest": {
        "settingsNote": "settings-page",
        "notes": [
            {
                "id": "launcher",
                "title": "diet-manager@beatlink",
                "type": "render",
                "mime": "text/html",
                "sourceUrl": null
            },
            {
                "id": "widget",
                "title": "dietManagerWidget.jsx",
                "type": "code",
                "mime": "text/jsx",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/diet-manager@beatlink/dietManagerWidget.jsx",
                "sha": "ffed00f93c6c5b292d0d9fcae144cfcae8b3edb0bb012387e8c7130430bad3bd",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/diet-manager@beatlink/dietManagerWidget.jsx"
            },
            {
                "id": "lib",
                "title": "libDietManager.js",
                "type": "code",
                "mime": "application/javascript;env=frontend",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/diet-manager@beatlink/libDietManager.js",
                "sha": "5b3807e9400b3c6a2bfaec64644b40d1277df9faee956e01a5a4bfa39002798a",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/diet-manager@beatlink/libDietManager.js"
            },
            {
                "id": "usda-lib",
                "title": "libUsda.js",
                "type": "code",
                "mime": "application/javascript;env=frontend",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/diet-manager@beatlink/libUsda.js",
                "sha": "cdbe2589a3315a230a14109281debdec90d62ba6e5a1d49f60fa405fccf425a1",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/diet-manager@beatlink/libUsda.js"
            },
            {
                "id": "off-lib",
                "title": "libOpenFoodFacts.js",
                "type": "code",
                "mime": "application/javascript;env=frontend",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/diet-manager@beatlink/libOpenFoodFacts.js",
                "sha": "fb29c44ad30c00d9c6a387e79b67ca3dbb37786ba38afc462c8cac4534281dc4",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/diet-manager@beatlink/libOpenFoodFacts.js"
            },
            {
                "id": "style",
                "title": "dietManager.css",
                "type": "code",
                "mime": "text/css",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/diet-manager@beatlink/dietManager.css",
                "sha": "da5f8ea9eed1f2ac56baaaed0d1666b0a8e51ca8e13887d160d6e0f885e88bd4",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/diet-manager@beatlink/dietManager.css"
            },
            {
                "id": "schema",
                "title": "schema.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/diet-manager@beatlink/schema.json",
                "sha": "4f24e6508602ecb512e9d2b20f0e5f4bd8bf38ea04387439db3520ebaf8d80d5",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/diet-manager@beatlink/schema.json"
            },
            {
                "id": "defaults",
                "title": "defaults.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/diet-manager@beatlink/defaults.json",
                "sha": "c8e85f601308f0ad3b631812dd4d4bdafa4d926c5fefd1ca4b44efa322f65c40",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/diet-manager@beatlink/defaults.json"
            },
            {
                "id": "config",
                "title": "config.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": null
            },
            {
                "id": "database",
                "title": "database.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/diet-manager@beatlink/database.json",
                "sha": "3ea3ea80cc344145b1bb9d54fc0395e9f6af5d2d222e23218361c85f66093e82",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/diet-manager@beatlink/database.json"
            },
            {
                "id": "settings-page",
                "title": "Settings",
                "type": "render",
                "mime": "text/html",
                "sourceUrl": null
            },
            {
                "id": "settings",
                "title": "settings.jsx",
                "type": "code",
                "mime": "text/jsx",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/diet-manager@beatlink/settings.jsx",
                "sha": "732f0d152e559de99079e352e1779f9e062df077815738169dbe8cc013f187a5",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/diet-manager@beatlink/settings.jsx"
            },
            {
                "id": "readme",
                "title": "README.md",
                "type": "code",
                "mime": "text/markdown",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/diet-manager@beatlink/README.md",
                "renderAsHTML": true,
                "sha": "34eb01b0234324e43abef249121f4a32c5aab3399f1bf8a6cbe1a486b44557fb",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/diet-manager@beatlink/README.md"
            },
            {
                "id": "libsettings-core",
                "title": "libSettingsCore.js",
                "type": "code",
                "mime": "application/javascript;env=frontend",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/libs/libsettings/libsettings-core.js",
                "sha": "6fb4ffee0a776ef38a6646ccbc21dc276614f9ea02d61f1f4f9f877e94b0c586",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/libs/libsettings/libsettings-core.js"
            },
            {
                "id": "libsettings-ui",
                "title": "libSettingsUI.jsx",
                "type": "code",
                "mime": "text/jsx",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/libs/libsettings/libsettings-ui.jsx",
                "sha": "66d4adead5e0447deba7f5cfa2a1573680ece1af619c53eb7241036122fce1a6",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/libs/libsettings/libsettings-ui.jsx"
            },
            {
                "id": "libsettings-style",
                "title": "libSettingsUI.css",
                "type": "code",
                "mime": "text/css",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/libs/libsettings/libsettings-ui.css",
                "sha": "43a6d3eba0af6f5e197064c7d0054a2ad725cd553c112f3b7427cd4830f2a75f",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/libs/libsettings/libsettings-ui.css"
            }
        ],
        "children": [
            {
                "parent": "root",
                "child": "launcher"
            },
            {
                "parent": "launcher",
                "child": "widget"
            },
            {
                "parent": "launcher",
                "child": "style"
            },
            {
                "parent": "launcher",
                "child": "schema"
            },
            {
                "parent": "launcher",
                "child": "defaults"
            },
            {
                "parent": "persistence",
                "child": "config"
            },
            {
                "parent": "persistence",
                "child": "database"
            },
            {
                "parent": "launcher",
                "child": "settings-page"
            },
            {
                "parent": "settings-page",
                "child": "settings"
            },
            {
                "parent": "launcher",
                "child": "readme"
            },
            {
                "parent": "widget",
                "child": "lib"
            },
            {
                "parent": "widget",
                "child": "usda-lib"
            },
            {
                "parent": "widget",
                "child": "off-lib"
            },
            {
                "parent": "libsettings-ui",
                "child": "libsettings-core"
            },
            {
                "parent": "libsettings-ui",
                "child": "libsettings-style"
            },
            {
                "parent": "widget",
                "child": "libsettings-ui"
            },
            {
                "parent": "settings",
                "child": "lib"
            },
            {
                "parent": "settings",
                "child": "libsettings-ui"
            }
        ],
        "relations": [
            {
                "from": "settings",
                "type": "configNote",
                "to": "config"
            },
            {
                "from": "settings",
                "type": "schemaNote",
                "to": "schema"
            },
            {
                "from": "widget",
                "type": "schemaNote",
                "to": "schema"
            },
            {
                "from": "widget",
                "type": "settingsNote",
                "to": "settings"
            },
            {
                "from": "widget",
                "type": "database",
                "to": "database"
            },
            {
                "from": "launcher",
                "type": "renderNote",
                "to": "widget"
            },
            {
                "from": "config",
                "type": "sourceConfig",
                "to": "defaults"
            },
            {
                "from": "settings-page",
                "type": "renderNote",
                "to": "settings"
            }
        ],
        "labels": [
            {
                "note": "style",
                "name": "appCss",
                "value": ""
            },
            {
                "note": "widget",
                "name": "dietManagerRender",
                "value": ""
            },
            {
                "note": "launcher",
                "name": "iconClass",
                "value": "bx bx-restaurant"
            },
            {
                "note": "libsettings-style",
                "name": "appCss",
                "value": ""
            },
            {
                "note": "settings-page",
                "name": "iconClass",
                "value": "bx bx-cog"
            }
        ],
        "readmeNote": "readme",
        "settings": {
            "schema": "schema",
            "defaults": "defaults",
            "config": "config"
        }
    },
    "contentHash": "6e39ee81fe9387c5526284303f4969fcd4195fff2855e93a68200d12f09bb87b"
}
