@highstate/library 0.10.0 → 0.11.4
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/highstate.library.msgpack +0 -0
- package/dist/index.js +27 -9
- package/dist/index.js.map +1 -1
- package/package.json +11 -9
- package/src/databases/mariadb.ts +7 -0
- package/src/databases/mongodb.ts +7 -0
- package/src/databases/postgresql.ts +7 -0
- package/src/k8s/apps/workload.ts +5 -5
- package/src/wireguard.ts +8 -12
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1226,7 +1226,11 @@ var existingMariadb = defineUnit({
|
|
|
1226
1226
|
path: "units/databases/existing-mariadb"
|
|
1227
1227
|
},
|
|
1228
1228
|
meta: {
|
|
1229
|
-
description: `The existing MariaDB database or virtual database behind it
|
|
1229
|
+
description: `The existing MariaDB database or virtual database behind it.`,
|
|
1230
|
+
title: "Existing MariaDB Database",
|
|
1231
|
+
icon: "simple-icons:mariadb",
|
|
1232
|
+
secondaryIcon: "mdi:database",
|
|
1233
|
+
category: "Databases"
|
|
1230
1234
|
}
|
|
1231
1235
|
});
|
|
1232
1236
|
var mongodbEntity = defineEntity({
|
|
@@ -1250,7 +1254,11 @@ var existingMongodb = defineUnit({
|
|
|
1250
1254
|
path: "units/databases/existing-mongodb"
|
|
1251
1255
|
},
|
|
1252
1256
|
meta: {
|
|
1253
|
-
description: `The existing MongoDB database or virtual database behind it
|
|
1257
|
+
description: `The existing MongoDB database or virtual database behind it.`,
|
|
1258
|
+
title: "Existing MongoDB Database",
|
|
1259
|
+
icon: "simple-icons:mongodb",
|
|
1260
|
+
secondaryIcon: "mdi:database",
|
|
1261
|
+
category: "Databases"
|
|
1254
1262
|
}
|
|
1255
1263
|
});
|
|
1256
1264
|
var postgresqlEntity = defineEntity({
|
|
@@ -1274,7 +1282,11 @@ var existingPostgresql = defineUnit({
|
|
|
1274
1282
|
path: "units/databases/existing-postgresql"
|
|
1275
1283
|
},
|
|
1276
1284
|
meta: {
|
|
1277
|
-
description: `The existing PostgreSQL database or virtual database behind it
|
|
1285
|
+
description: `The existing PostgreSQL database or virtual database behind it.`,
|
|
1286
|
+
title: "Existing PostgreSQL Database",
|
|
1287
|
+
icon: "simple-icons:postgresql",
|
|
1288
|
+
secondaryIcon: "mdi:database",
|
|
1289
|
+
category: "Databases"
|
|
1278
1290
|
}
|
|
1279
1291
|
});
|
|
1280
1292
|
|
|
@@ -2737,13 +2749,13 @@ var workload = defineUnit({
|
|
|
2737
2749
|
|
|
2738
2750
|
If not provided and requested, a random password will be generated.`),
|
|
2739
2751
|
/**
|
|
2740
|
-
* The
|
|
2752
|
+
* The key for the backup.
|
|
2741
2753
|
*
|
|
2742
|
-
* If not provided and requested, a random
|
|
2754
|
+
* If not provided and requested, a random key will be generated.
|
|
2743
2755
|
*/
|
|
2744
|
-
|
|
2756
|
+
backupKey: $addArgumentDescription(z.string().optional(), `The key for the backup.
|
|
2745
2757
|
|
|
2746
|
-
If not provided and requested, a random
|
|
2758
|
+
If not provided and requested, a random key will be generated.`),
|
|
2747
2759
|
/**
|
|
2748
2760
|
* The secret configuration for the workload.
|
|
2749
2761
|
*
|
|
@@ -2769,7 +2781,7 @@ var workload = defineUnit({
|
|
|
2769
2781
|
},
|
|
2770
2782
|
outputs: {
|
|
2771
2783
|
namespace: namespaceEntity,
|
|
2772
|
-
|
|
2784
|
+
workload: exposableWorkloadEntity,
|
|
2773
2785
|
service: serviceEntity
|
|
2774
2786
|
},
|
|
2775
2787
|
meta: {
|
|
@@ -4201,7 +4213,13 @@ var sharedPeerArgs = {
|
|
|
4201
4213
|
/**
|
|
4202
4214
|
* The port to listen on.
|
|
4203
4215
|
*/
|
|
4204
|
-
listenPort: z.number().optional()
|
|
4216
|
+
listenPort: z.number().optional(),
|
|
4217
|
+
/**
|
|
4218
|
+
* The keepalive interval in seconds that will be used by all nodes connecting to this peer.
|
|
4219
|
+
*
|
|
4220
|
+
* If set to 0, keepalive is disabled.
|
|
4221
|
+
*/
|
|
4222
|
+
persistentKeepalive: z.number().int().nonnegative().default(0)
|
|
4205
4223
|
};
|
|
4206
4224
|
var sharedPeerInputs = {
|
|
4207
4225
|
/**
|