@signalk/tracks-plugin 3.0.0-beta.4 → 3.0.0-beta.5
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/dist/index.d.ts +0 -2
- package/dist/index.html +1 -0
- package/dist/index.js +1 -8
- package/dist/index.js.map +1 -1
- package/dist/tracks.js +7 -3
- package/package.json +2 -3
- package/public/app-icon.svg +42 -0
- package/public/index.html +1 -0
- package/public/tracks.js +7 -3
- /package/{app-icon.svg → dist/app-icon.svg} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -114,8 +114,6 @@ interface Plugin {
|
|
|
114
114
|
}
|
|
115
115
|
interface TracksPluginConfig {
|
|
116
116
|
resolution?: number;
|
|
117
|
-
/** Days of the own vessel's track to keep. 0 keeps everything. */
|
|
118
|
-
retentionDays?: number;
|
|
119
117
|
/** Days another vessel is kept after its last fix. 0 keeps every vessel. */
|
|
120
118
|
aisRetentionDays?: number;
|
|
121
119
|
/** Minutes without a fix that start a new track segment. 0 disables. */
|
package/dist/index.html
CHANGED
package/dist/index.js
CHANGED
|
@@ -13410,7 +13410,7 @@ function ThePlugin(app) {
|
|
|
13410
13410
|
tracks = new SqliteTrackStore({
|
|
13411
13411
|
file: join(dataDir, "tracks.db"),
|
|
13412
13412
|
resolution: toNumber(resolution) ?? DEFAULT_RESOLUTION,
|
|
13413
|
-
retention:
|
|
13413
|
+
retention: 0,
|
|
13414
13414
|
segmentGap
|
|
13415
13415
|
}, app.debug);
|
|
13416
13416
|
} catch (err) {
|
|
@@ -13664,13 +13664,6 @@ function ThePlugin(app) {
|
|
|
13664
13664
|
title: "Track resolution (milliseconds)",
|
|
13665
13665
|
default: DEFAULT_RESOLUTION
|
|
13666
13666
|
},
|
|
13667
|
-
retentionDays: {
|
|
13668
|
-
type: "integer",
|
|
13669
|
-
minimum: 0,
|
|
13670
|
-
title: "Days of the own vessel's track to keep",
|
|
13671
|
-
description: "Positions older than this are deleted. 0, the default, keeps everything — a track is worth more the longer it goes back, and a year of one vessel at the default resolution is a few megabytes.",
|
|
13672
|
-
default: 0
|
|
13673
|
-
},
|
|
13674
13667
|
aisRetentionDays: {
|
|
13675
13668
|
type: "integer",
|
|
13676
13669
|
minimum: 0,
|