{
    "id": "timer@beatlink",
    "name": "Timer",
    "description": "A countdown timer in its own right-pane panel, shown on every note. Pick hours, minutes and seconds from three dropdowns, then start, pause and reset; the remaining time flashes in the accent colour while it runs and in red once it expires. An editable label above the controls names what is being timed. Optional select/start/end sounds ship with the addon as customResourceProvider files and are toggled by the addon's single setting. Split out of agenda-myday@beatlink, which used to embed it in the My Day panel: it shares no code or config with the agenda addons and works on its own.",
    "author": "BeatLink",
    "homepage": "https://github.com/BeatLink/trilium-scripts/tree/main/addons/timer@beatlink",
    "license": "GPL-3.0-or-later",
    "latestVersion": "1.2.1",
    "type": "widget",
    "readme": "README.md",
    "manifestSourceUrl": "https://beatlink.github.io/trilium-scripts/timer@beatlink/_tam_manifest_.json",
    "manifest": {
        "settingsNote": "timer-settings-page",
        "notes": [
            {
                "id": "timer",
                "title": "Timer.jsx",
                "type": "code",
                "mime": "text/jsx",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/timer@beatlink/ui/Timer.jsx",
                "sha": "13dce72defbf677426eff12f74d9e344409e20954f5fd222c1d47b8e9e3653be",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/timer@beatlink/ui/Timer.jsx"
            },
            {
                "id": "timer-css",
                "title": "style.css",
                "type": "code",
                "mime": "text/css",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/timer@beatlink/ui/style.css",
                "sha": "0a7d10e6008b79b09c2696566c53c48e60dd3f83b470ab92e4b4ac6354a8ac5d",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/timer@beatlink/ui/style.css"
            },
            {
                "id": "timer-settings-page",
                "title": "Timer Settings",
                "type": "render",
                "mime": "text/html",
                "sourceUrl": null
            },
            {
                "id": "timer-settings",
                "title": "Settings.jsx",
                "type": "code",
                "mime": "text/jsx",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/timer@beatlink/ui/Settings.jsx",
                "sha": "d97500d32d8cbb666407556cbdc23395442ad84e12d9374fa4f965f7d39462ed",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/timer@beatlink/ui/Settings.jsx"
            },
            {
                "id": "timer-schema",
                "title": "schema.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/timer@beatlink/config/schema.json",
                "sha": "2a8e066381bcd969a09ad370c3ff48df9df6dfb93b995c3fba92419c8bcbd503",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/timer@beatlink/config/schema.json"
            },
            {
                "id": "timer-defaults",
                "title": "defaults.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/timer@beatlink/config/defaults.json",
                "sha": "9f311c76851ce02602594208a8a5ccae8fe153141f99351c0078e6ec72f4ea17",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/timer@beatlink/config/defaults.json"
            },
            {
                "id": "timer-config",
                "title": "config.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": null
            },
            {
                "id": "wav-select",
                "title": "select.wav",
                "type": "file",
                "mime": "audio/wav",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/timer@beatlink/static/select.wav",
                "binary": true,
                "sha": "b4c070fe0dc15fa60b1ad1bec943a78c4df632b49e3d3dcf77c4c8b5f3db227b",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/timer@beatlink/static/select.wav"
            },
            {
                "id": "wav-start",
                "title": "start.wav",
                "type": "file",
                "mime": "audio/wav",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/timer@beatlink/static/start.wav",
                "binary": true,
                "sha": "3ca047108b882415dae6146790e5fab646a544907ffe6213d18345d62c61f55e",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/timer@beatlink/static/start.wav"
            },
            {
                "id": "wav-end",
                "title": "end.wav",
                "type": "file",
                "mime": "audio/wav",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/timer@beatlink/static/end.wav",
                "binary": true,
                "sha": "662bf1cac15ac9e56aeb54a2c74fb527869013d365c53ecd3145991645ffa890",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/timer@beatlink/static/end.wav"
            },
            {
                "id": "readme",
                "title": "README.md",
                "type": "code",
                "mime": "text/markdown",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/timer@beatlink/README.md",
                "renderAsHTML": true,
                "sha": "c4b461f3d7069ed243e0ceade346a518803bc2e9aa8d137185f5f9088f555637",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/timer@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": "timer"
            },
            {
                "parent": "root",
                "child": "timer-css"
            },
            {
                "parent": "root",
                "child": "timer-settings-page"
            },
            {
                "parent": "root",
                "child": "readme"
            },
            {
                "parent": "persistence",
                "child": "timer-config"
            },
            {
                "parent": "timer",
                "child": "timer"
            },
            {
                "parent": "timer",
                "child": "wav-select"
            },
            {
                "parent": "timer",
                "child": "wav-start"
            },
            {
                "parent": "timer",
                "child": "wav-end"
            },
            {
                "parent": "timer-settings-page",
                "child": "timer-settings"
            },
            {
                "parent": "timer-settings-page",
                "child": "timer-schema"
            },
            {
                "parent": "timer-settings-page",
                "child": "timer-defaults"
            },
            {
                "parent": "timer-settings",
                "child": "libsettings-ui"
            },
            {
                "parent": "libsettings-ui",
                "child": "libsettings-core"
            },
            {
                "parent": "libsettings-ui",
                "child": "libsettings-style"
            },
            {
                "parent": "timer",
                "child": "timer-settings"
            }
        ],
        "relations": [
            {
                "from": "timer-settings-page",
                "type": "renderNote",
                "to": "timer-settings"
            },
            {
                "from": "timer-settings-page",
                "type": "configNote",
                "to": "timer-config"
            },
            {
                "from": "timer-settings-page",
                "type": "schemaNote",
                "to": "timer-schema"
            },
            {
                "from": "timer-config",
                "type": "sourceConfig",
                "to": "timer-defaults"
            }
        ],
        "labels": [
            {
                "note": "timer-settings-page",
                "name": "timerConfig",
                "value": ""
            },
            {
                "note": "timer",
                "name": "widget",
                "value": ""
            },
            {
                "note": "timer-css",
                "name": "appCss",
                "value": ""
            },
            {
                "note": "libsettings-style",
                "name": "appCss",
                "value": ""
            },
            {
                "note": "wav-select",
                "name": "customResourceProvider",
                "value": "libtimerSelect.wav"
            },
            {
                "note": "wav-start",
                "name": "customResourceProvider",
                "value": "libtimerStart.wav"
            },
            {
                "note": "wav-end",
                "name": "customResourceProvider",
                "value": "libtimerEnd.wav"
            },
            {
                "note": "timer",
                "name": "iconClass",
                "value": "bx bx-timer"
            },
            {
                "note": "timer-css",
                "name": "iconClass",
                "value": "bx bx-timer"
            },
            {
                "note": "timer-settings-page",
                "name": "iconClass",
                "value": "bx bx-timer"
            },
            {
                "note": "timer-settings",
                "name": "iconClass",
                "value": "bx bx-timer"
            },
            {
                "note": "timer-schema",
                "name": "iconClass",
                "value": "bx bx-timer"
            },
            {
                "note": "timer-config",
                "name": "iconClass",
                "value": "bx bx-timer"
            },
            {
                "note": "wav-select",
                "name": "iconClass",
                "value": "bx bx-timer"
            },
            {
                "note": "wav-start",
                "name": "iconClass",
                "value": "bx bx-timer"
            },
            {
                "note": "wav-end",
                "name": "iconClass",
                "value": "bx bx-timer"
            },
            {
                "note": "readme",
                "name": "iconClass",
                "value": "bx bx-timer"
            }
        ],
        "readmeNote": "readme",
        "settings": {
            "schema": "timer-schema",
            "defaults": "timer-defaults",
            "config": "timer-config"
        }
    },
    "contentHash": "882973aa45210c83eb0c3294cd8aba7d17741ffef2c7a6896f9f9a9dc19d9550"
}
