signalk-backup 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/package.json +3 -3
- package/plugin/config/image-tag.d.ts +3 -0
- package/plugin/config/image-tag.d.ts.map +1 -0
- package/plugin/config/image-tag.js +16 -0
- package/plugin/config/image-tag.js.map +1 -0
- package/plugin/config/schema.d.ts +2 -0
- package/plugin/config/schema.d.ts.map +1 -1
- package/plugin/config/schema.js +16 -4
- package/plugin/config/schema.js.map +1 -1
- package/plugin/database-export/grafana.d.ts +25 -0
- package/plugin/database-export/grafana.d.ts.map +1 -0
- package/plugin/database-export/grafana.js +262 -0
- package/plugin/database-export/grafana.js.map +1 -0
- package/plugin/database-export/index.d.ts +9 -2
- package/plugin/database-export/index.d.ts.map +1 -1
- package/plugin/database-export/index.js +24 -6
- package/plugin/database-export/index.js.map +1 -1
- package/plugin/database-export/signalk-database.d.ts +21 -0
- package/plugin/database-export/signalk-database.d.ts.map +1 -0
- package/plugin/database-export/signalk-database.js +148 -0
- package/plugin/database-export/signalk-database.js.map +1 -0
- package/plugin/index.d.ts.map +1 -1
- package/plugin/index.js +115 -42
- package/plugin/index.js.map +1 -1
- package/public/assets/{index-C97Ruecu.js → index-BbZnGesz.js} +2 -2
- package/public/assets/index-BbZnGesz.js.map +1 -0
- package/public/assets/{main-DtkejeIo.js → main-Bb6YhYnz.js} +2 -2
- package/public/assets/{main-DtkejeIo.js.map → main-Bb6YhYnz.js.map} +1 -1
- package/public/index.html +1 -1
- package/public/assets/index-C97Ruecu.js.map +0 -1
package/public/index.html
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
— it just renders unstyled until reactstrap/bootstrap defaults kick
|
|
20
20
|
in via component classnames.
|
|
21
21
|
-->
|
|
22
|
-
<script type="module" crossorigin src="/signalk-backup/assets/index-
|
|
22
|
+
<script type="module" crossorigin src="/signalk-backup/assets/index-BbZnGesz.js"></script>
|
|
23
23
|
</head>
|
|
24
24
|
<body>
|
|
25
25
|
<div id="root"></div>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"m2DACM,eAAe,GAAiB,CAC9B,IAAM,EAAM,MAAM,MAAM,6BAA6B,CACrD,GAAI,CAAC,EAAI,GAAI,OACb,IAAM,EAAW,MAAM,EAAI,MAAM,CAC3B,EAAW,IAAI,IAMrB,IAAK,IAAM,KAAS,OAAO,OAAO,EAAS,CACpC,KACL,KAAK,IAAM,KAAO,EAAM,KAAO,EAAE,CAAE,EAAS,IAAI,EAAI,CAChD,OAAO,EAAM,MAAS,UAAY,EAAM,KAAK,SAAS,OAAO,EAC/D,EAAS,IAAI,EAAM,KAAK,CAG5B,MAAM,QAAQ,IACZ,CAAC,GAAG,EAAS,CAAC,IACX,GACC,IAAI,QAAS,GAAY,CACvB,IAAM,EAAO,SAAS,cAAc,OAAO,CAC3C,EAAK,IAAM,aACX,EAAK,KAAO,UAAY,EACxB,EAAK,OAAS,EACd,EAAK,QAAU,EACf,SAAS,KAAK,YAAY,EAAK,EAC/B,CACL,CACF,CAGH,GAAI,CACF,MAAM,GAAgB,OACf,EAAK,CACZ,QAAQ,KAAK,0CAA2C,EAAI,QACpD,CACR,YAAM,OAAO","names":[],"ignoreList":[],"sources":["../../webapp/index.html?html-proxy&index=0.js"],"sourcesContent":["\n async function injectAdminCss() {\n const res = await fetch('/admin/.vite/manifest.json')\n if (!res.ok) return\n const manifest = await res.json()\n const cssFiles = new Set()\n // Two shapes are common: an entry whose `css` array lists its\n // stylesheet imports, OR a top-level entry whose `file` itself\n // ends in `.css` (when Vite extracts a global stylesheet). The\n // current SignalK admin uses the second shape; older builds and\n // the docs example use the first. Cover both.\n for (const entry of Object.values(manifest)) {\n if (!entry) continue\n for (const css of entry.css ?? []) cssFiles.add(css)\n if (typeof entry.file === 'string' && entry.file.endsWith('.css')) {\n cssFiles.add(entry.file)\n }\n }\n await Promise.all(\n [...cssFiles].map(\n (css) =>\n new Promise((resolve) => {\n const link = document.createElement('link')\n link.rel = 'stylesheet'\n link.href = '/admin/' + css\n link.onload = resolve\n link.onerror = resolve\n document.head.appendChild(link)\n })\n )\n )\n }\n\n try {\n await injectAdminCss()\n } catch (err) {\n console.warn('signalk-backup: admin CSS not available', err)\n } finally {\n await import('./src/main.tsx')\n }\n "],"file":"index-C97Ruecu.js"}
|