signalk-backup 0.1.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/LICENSE +201 -0
- package/README.md +71 -0
- package/assets/icon.png +0 -0
- package/assets/icon.svg +46 -0
- package/package.json +91 -0
- package/plugin/backup-client.d.ts +60 -0
- package/plugin/backup-client.d.ts.map +1 -0
- package/plugin/backup-client.js +87 -0
- package/plugin/backup-client.js.map +1 -0
- package/plugin/config/schema.d.ts +32 -0
- package/plugin/config/schema.d.ts.map +1 -0
- package/plugin/config/schema.js +83 -0
- package/plugin/config/schema.js.map +1 -0
- package/plugin/database-export/index.d.ts +33 -0
- package/plugin/database-export/index.d.ts.map +1 -0
- package/plugin/database-export/index.js +55 -0
- package/plugin/database-export/index.js.map +1 -0
- package/plugin/database-export/questdb.d.ts +41 -0
- package/plugin/database-export/questdb.d.ts.map +1 -0
- package/plugin/database-export/questdb.js +143 -0
- package/plugin/database-export/questdb.js.map +1 -0
- package/plugin/database-export/types.d.ts +30 -0
- package/plugin/database-export/types.d.ts.map +1 -0
- package/plugin/database-export/types.js +10 -0
- package/plugin/database-export/types.js.map +1 -0
- package/plugin/index.d.ts +4 -0
- package/plugin/index.d.ts.map +1 -0
- package/plugin/index.js +477 -0
- package/plugin/index.js.map +1 -0
- package/plugin/proxy.d.ts +13 -0
- package/plugin/proxy.d.ts.map +1 -0
- package/plugin/proxy.js +100 -0
- package/plugin/proxy.js.map +1 -0
- package/plugin/types.d.ts +121 -0
- package/plugin/types.d.ts.map +1 -0
- package/plugin/types.js +2 -0
- package/plugin/types.js.map +1 -0
- package/public/assets/index-B7P78qlq.js +2 -0
- package/public/assets/index-B7P78qlq.js.map +1 -0
- package/public/assets/main-DQRPJ7oa.js +11 -0
- package/public/assets/main-DQRPJ7oa.js.map +1 -0
- package/public/icon.svg +46 -0
- package/public/index.html +27 -0
package/public/icon.svg
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256">
|
|
3
|
+
<!--
|
|
4
|
+
signalk-backup icon
|
|
5
|
+
A shield (backup, protection) over a SignalK-blue wave field with a
|
|
6
|
+
checkmark at center (snapshot completed). Two-tone, scales cleanly to
|
|
7
|
+
16px favicon size — kept simple geometry, no fine detail.
|
|
8
|
+
-->
|
|
9
|
+
<defs>
|
|
10
|
+
<linearGradient id="seaGrad" x1="0" x2="0" y1="0" y2="1">
|
|
11
|
+
<stop offset="0%" stop-color="#1a73c4"/>
|
|
12
|
+
<stop offset="100%" stop-color="#0d4d8a"/>
|
|
13
|
+
</linearGradient>
|
|
14
|
+
<linearGradient id="shieldGrad" x1="0" x2="0" y1="0" y2="1">
|
|
15
|
+
<stop offset="0%" stop-color="#fafbfc"/>
|
|
16
|
+
<stop offset="100%" stop-color="#e6ebf0"/>
|
|
17
|
+
</linearGradient>
|
|
18
|
+
</defs>
|
|
19
|
+
|
|
20
|
+
<!-- background disc -->
|
|
21
|
+
<circle cx="128" cy="128" r="120" fill="url(#seaGrad)"/>
|
|
22
|
+
|
|
23
|
+
<!-- waves -->
|
|
24
|
+
<path d="M 28 168 Q 64 152, 100 168 T 172 168 T 228 168 V 200 H 28 Z"
|
|
25
|
+
fill="#ffffff" fill-opacity="0.18"/>
|
|
26
|
+
<path d="M 28 188 Q 64 174, 100 188 T 172 188 T 228 188 V 220 H 28 Z"
|
|
27
|
+
fill="#ffffff" fill-opacity="0.12"/>
|
|
28
|
+
|
|
29
|
+
<!-- shield body -->
|
|
30
|
+
<path d="M 128 40
|
|
31
|
+
L 196 64
|
|
32
|
+
L 196 124
|
|
33
|
+
Q 196 168, 128 200
|
|
34
|
+
Q 60 168, 60 124
|
|
35
|
+
L 60 64 Z"
|
|
36
|
+
fill="url(#shieldGrad)"
|
|
37
|
+
stroke="#0d4d8a" stroke-width="6" stroke-linejoin="round"/>
|
|
38
|
+
|
|
39
|
+
<!-- checkmark -->
|
|
40
|
+
<path d="M 90 128 L 118 156 L 170 96"
|
|
41
|
+
fill="none"
|
|
42
|
+
stroke="#10b981"
|
|
43
|
+
stroke-width="16"
|
|
44
|
+
stroke-linecap="round"
|
|
45
|
+
stroke-linejoin="round"/>
|
|
46
|
+
</svg>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<link rel="icon" type="image/svg+xml" href="/signalk-backup/icon.svg" />
|
|
7
|
+
<title>SignalK Backup</title>
|
|
8
|
+
|
|
9
|
+
<!--
|
|
10
|
+
Inherit the SignalK Admin UI's stylesheet so the page is themed
|
|
11
|
+
consistently with the admin. The admin is built with Vite and emits
|
|
12
|
+
content-hashed CSS filenames, so we read its manifest at load time
|
|
13
|
+
and inject the discovered <link> tags into our <head>. By awaiting
|
|
14
|
+
every link's load event before kicking off the React entry, we
|
|
15
|
+
guarantee the first paint is themed (no flash of unstyled content).
|
|
16
|
+
|
|
17
|
+
Falls back gracefully: if the manifest fetch fails (older SignalK
|
|
18
|
+
without the endpoint, admin not built), we still bootstrap the app
|
|
19
|
+
— it just renders unstyled until reactstrap/bootstrap defaults kick
|
|
20
|
+
in via component classnames.
|
|
21
|
+
-->
|
|
22
|
+
<script type="module" crossorigin src="/signalk-backup/assets/index-B7P78qlq.js"></script>
|
|
23
|
+
</head>
|
|
24
|
+
<body>
|
|
25
|
+
<div id="root"></div>
|
|
26
|
+
</body>
|
|
27
|
+
</html>
|