@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 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
@@ -4,6 +4,7 @@
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <title>Tracks</title>
7
+ <link rel="icon" href="./app-icon.svg" type="image/svg+xml" />
7
8
  <link rel="stylesheet" href="./style.css" />
8
9
  </head>
9
10
  <body>
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: (toNumber(config.retentionDays) ?? 0) * 24 * 60 * 60 * 1e3,
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,