signalk-backup 0.2.0 → 0.4.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/package.json +5 -4
- package/plugin/config/schema.d.ts +7 -6
- package/plugin/config/schema.d.ts.map +1 -1
- package/plugin/config/schema.js +12 -39
- package/plugin/config/schema.js.map +1 -1
- package/plugin/database-export/iso-week.d.ts +11 -0
- package/plugin/database-export/iso-week.d.ts.map +1 -0
- package/plugin/database-export/iso-week.js +48 -0
- package/plugin/database-export/iso-week.js.map +1 -0
- package/plugin/database-export/manifest.d.ts +19 -0
- package/plugin/database-export/manifest.d.ts.map +1 -0
- package/plugin/database-export/manifest.js +62 -0
- package/plugin/database-export/manifest.js.map +1 -0
- package/plugin/database-export/questdb.d.ts +25 -13
- package/plugin/database-export/questdb.d.ts.map +1 -1
- package/plugin/database-export/questdb.js +143 -38
- package/plugin/database-export/questdb.js.map +1 -1
- package/plugin/database-export/types.d.ts +13 -6
- package/plugin/database-export/types.d.ts.map +1 -1
- package/plugin/database-export/types.js +6 -3
- package/plugin/database-export/types.js.map +1 -1
- package/plugin/index.d.ts.map +1 -1
- package/plugin/index.js +143 -6
- package/plugin/index.js.map +1 -1
- package/plugin/proxy.d.ts.map +1 -1
- package/plugin/proxy.js +17 -2
- package/plugin/proxy.js.map +1 -1
- package/plugin/smb-discovery.d.ts +9 -0
- package/plugin/smb-discovery.d.ts.map +1 -0
- package/plugin/smb-discovery.js +42 -0
- package/plugin/smb-discovery.js.map +1 -0
- package/plugin/types.d.ts +43 -2
- package/plugin/types.d.ts.map +1 -1
- package/public/assets/{index-B7P78qlq.js → index-DMT6pdi_.js} +2 -2
- package/public/assets/index-DMT6pdi_.js.map +1 -0
- package/public/assets/main-BZ1xX0IR.js +11 -0
- package/public/assets/main-BZ1xX0IR.js.map +1 -0
- package/public/icon.svg +12 -7
- package/public/index.html +1 -1
- package/public/assets/index-B7P78qlq.js.map +0 -1
- package/public/assets/main-DQRPJ7oa.js +0 -11
- package/public/assets/main-DQRPJ7oa.js.map +0 -1
package/public/icon.svg
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256">
|
|
3
3
|
<!--
|
|
4
4
|
signalk-backup icon
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
Rounded square (SignalK admin tile aesthetic) with a SignalK-blue
|
|
6
|
+
gradient, a white shield (backup, protection), and a green
|
|
7
|
+
checkmark (snapshot completed). Fills the whole viewBox so no
|
|
8
|
+
underlying tile background shows through.
|
|
8
9
|
-->
|
|
9
10
|
<defs>
|
|
10
11
|
<linearGradient id="seaGrad" x1="0" x2="0" y1="0" y2="1">
|
|
@@ -17,13 +18,17 @@
|
|
|
17
18
|
</linearGradient>
|
|
18
19
|
</defs>
|
|
19
20
|
|
|
20
|
-
<!--
|
|
21
|
-
|
|
21
|
+
<!-- The SignalK admin tile renders this with `bg-primary` (Bootstrap
|
|
22
|
+
blue) underneath. Without a backdrop the rounded-rect corners
|
|
23
|
+
show that blue. Paint a white square first, then the rounded
|
|
24
|
+
blue tile on top, so the corner cutouts read as white. -->
|
|
25
|
+
<rect x="0" y="0" width="256" height="256" fill="#ffffff"/>
|
|
26
|
+
<rect x="0" y="0" width="256" height="256" rx="36" ry="36" fill="url(#seaGrad)"/>
|
|
22
27
|
|
|
23
28
|
<!-- waves -->
|
|
24
|
-
<path d="M
|
|
29
|
+
<path d="M 0 168 Q 40 152, 80 168 T 160 168 T 256 168 V 256 H 0 Z"
|
|
25
30
|
fill="#ffffff" fill-opacity="0.18"/>
|
|
26
|
-
<path d="M
|
|
31
|
+
<path d="M 0 192 Q 40 178, 80 192 T 160 192 T 256 192 V 256 H 0 Z"
|
|
27
32
|
fill="#ffffff" fill-opacity="0.12"/>
|
|
28
33
|
|
|
29
34
|
<!-- shield body -->
|
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-DMT6pdi_.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-B7P78qlq.js"}
|