@highstate/library 0.9.22 → 0.9.24

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.
Binary file
package/dist/index.js CHANGED
@@ -1195,7 +1195,7 @@ var existingMariadb = defineUnit({
1195
1195
  },
1196
1196
  source: {
1197
1197
  package: "@highstate/common",
1198
- path: "databases/existing-mariadb"
1198
+ path: "units/databases/existing-mariadb"
1199
1199
  },
1200
1200
  meta: {
1201
1201
  description: `The existing MariaDB database or virtual database behind it.`
@@ -1219,7 +1219,7 @@ var existingMongodb = defineUnit({
1219
1219
  },
1220
1220
  source: {
1221
1221
  package: "@highstate/common",
1222
- path: "databases/existing-mongodb"
1222
+ path: "units/databases/existing-mongodb"
1223
1223
  },
1224
1224
  meta: {
1225
1225
  description: `The existing MongoDB database or virtual database behind it.`
@@ -1243,7 +1243,7 @@ var existingPostgresql = defineUnit({
1243
1243
  },
1244
1244
  source: {
1245
1245
  package: "@highstate/common",
1246
- path: "databases/existing-postgresql"
1246
+ path: "units/databases/existing-postgresql"
1247
1247
  },
1248
1248
  meta: {
1249
1249
  description: `The existing PostgreSQL database or virtual database behind it.`
@@ -3909,7 +3909,15 @@ var peerEntity = defineEntity({
3909
3909
  If both peers have \`presharedKeyPart\` set, their \`presharedKey\` will be calculated as XOR of the two parts.` }),
3910
3910
  excludedIps: z.string().array(),
3911
3911
  dns: z.string().array(),
3912
- listenPort: z.number().optional()
3912
+ listenPort: z.number().optional(),
3913
+ /**
3914
+ * The keepalive interval in seconds that will be used by all nodes connecting to this peer.
3915
+ *
3916
+ * If set to 0, keepalive is disabled.
3917
+ */
3918
+ persistentKeepalive: z.number().int().nonnegative().default(0).meta({ title: camelCaseToHumanReadable("persistentKeepalive"), description: `The keepalive interval in seconds that will be used by all nodes connecting to this peer.
3919
+
3920
+ If set to 0, keepalive is disabled.` })
3913
3921
  }),
3914
3922
  meta: {
3915
3923
  color: "#673AB7"