@camstack/server 1.2.880 → 1.2.882
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/CHANGELOG.md +12 -0
- package/package.json +8 -7
- package/system/dist/addon-utils.mjs +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +4 -4
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +5 -5
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +3 -3
- package/system/dist/builtins/autotrack/index.js +1 -1
- package/system/dist/builtins/autotrack/index.mjs +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +5 -5
- package/system/dist/builtins/calendars/calendars.addon.js +1 -1
- package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/system/dist/builtins/camera-grid/index.js +1 -1
- package/system/dist/builtins/camera-grid/index.mjs +1 -1
- package/system/dist/builtins/composer/composer.addon.js +4 -4
- package/system/dist/builtins/composer/composer.addon.mjs +4 -4
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +3 -3
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +3 -3
- package/system/dist/builtins/device-history/device-history.addon.js +2 -2
- package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.js +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +4 -4
- package/system/dist/builtins/keychain/index.mjs +4 -4
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +5 -5
- package/system/dist/builtins/local-network/local-network.addon.js +3 -3
- package/system/dist/builtins/local-network/local-network.addon.mjs +3 -3
- package/system/dist/builtins/loki-logging/index.js +1 -1
- package/system/dist/builtins/loki-logging/index.mjs +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +10 -10
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +10 -10
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +1 -1
- package/system/dist/builtins/snapshot/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +20 -20
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +3 -3
- package/system/dist/builtins/system-config/system-config.addon.mjs +115 -115
- package/system/dist/builtins/winston-logging/index.js +1 -1
- package/system/dist/builtins/winston-logging/index.mjs +1 -1
- package/system/dist/{capture-engine-CxD6UV_F.js → capture-engine-D1cSfGu_.js} +1 -1
- package/system/dist/{capture-engine-Btw78o_3.mjs → capture-engine-hBdaHSa5.mjs} +1 -1
- package/system/dist/{composition-sources-DcEvVNT0.js → composition-sources-CfKDTis7.js} +1 -1
- package/system/dist/{composition-sources-BeSuy_o2.mjs → composition-sources-Cpu22JMr.mjs} +1 -1
- package/system/dist/{constants-DfXUZ9B1.js → constants-CRKNMR3M.js} +1 -1
- package/system/dist/{constants-CFj_1tVH.mjs → constants-CTYmEHlW.mjs} +1 -1
- package/system/dist/{coral-accelerators-BW3OcrLD.mjs → coral-accelerators-DBlgWB8k.mjs} +6 -6
- package/system/dist/{custom-action-registry-N7flBDwT.mjs → custom-action-registry-B9zFBNVa.mjs} +37 -37
- package/system/dist/{device-ca-CJUo1gng.mjs → device-ca-Dj6nzcoq.mjs} +1 -1
- package/system/dist/{device-ca-DxQ_lJD2.js → device-ca-wlsnsg3M.js} +1 -1
- package/system/dist/{dist-BTJfwhbC.mjs → dist-BbuJa6G4.mjs} +102 -11
- package/system/dist/{dist-lI1nsGZD.js → dist-DFeAUBa8.js} +102 -11
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-_lkdpfBw.mjs → hub-identity-CcEQJ8el.mjs} +10 -10
- package/system/dist/{hub-identity-DAo-4o-I.js → hub-identity-DPKmKOuk.js} +1 -1
- package/system/dist/{hub-mdns-ciao-D71EkR2r.js → hub-mdns-ciao-DP0ReXx8.js} +2 -2
- package/system/dist/{hub-mdns-ciao-rG5KvyjB.mjs → hub-mdns-ciao-p1Hky4He.mjs} +2 -2
- package/system/dist/index.js +8 -8
- package/system/dist/index.mjs +217 -217
- package/system/dist/{legacy-integration-rows-door-BWDa94xe.js → legacy-integration-rows-door-BxlPhgrH.js} +1 -1
- package/system/dist/{legacy-integration-rows-door-BTaWniqP.mjs → legacy-integration-rows-door-DJaNTUpH.mjs} +1 -1
- package/system/dist/{rename-composition-block-DFW6qzZI.js → rename-composition-block-BAiTDZoT.js} +1 -1
- package/system/dist/{rename-composition-block--_zxKuUp.mjs → rename-composition-block-DjyPUZPW.mjs} +1 -1
- package/system/dist/{restore-archive-05pKHcoC.mjs → restore-archive-BLJ9rXBX.mjs} +94 -94
- package/system/dist/{restore-archive-BDsgP18H.js → restore-archive-n-OmTBbN.js} +1 -1
- package/system/dist/{wal-maintenance-D7t11nIk.js → wal-maintenance-CrMVN_qH.js} +0 -0
- package/system/dist/{wal-maintenance-B0JAeEix.mjs → wal-maintenance-DKNovLM_.mjs} +0 -0
- package/system/package.json +1 -1
|
@@ -21910,19 +21910,43 @@ var DEVICE_TEMPLATE_CATALOGUE_CATEGORIES = [
|
|
|
21910
21910
|
"loop",
|
|
21911
21911
|
"variable"
|
|
21912
21912
|
];
|
|
21913
|
+
var DEVICE_TEMPLATE_PARAM_TYPES = [
|
|
21914
|
+
"string",
|
|
21915
|
+
"number",
|
|
21916
|
+
"boolean"
|
|
21917
|
+
];
|
|
21918
|
+
/**
|
|
21919
|
+
* Where the values a parameter takes come from, when a fixed set makes sense.
|
|
21920
|
+
* `units-of-field` is the units in the dimension of the piped field's unit;
|
|
21921
|
+
* `choices` is a named list (a time pattern); `range` is the numbers
|
|
21922
|
+
* `min…max` by `step`. An absent source means free input.
|
|
21923
|
+
*/
|
|
21924
|
+
var deviceTemplateParamValuesSchemaValue = zod.z.discriminatedUnion("kind", [
|
|
21925
|
+
zod.z.object({ kind: zod.z.literal("units-of-field") }),
|
|
21926
|
+
zod.z.object({
|
|
21927
|
+
kind: zod.z.literal("choices"),
|
|
21928
|
+
options: zod.z.array(zod.z.object({
|
|
21929
|
+
value: zod.z.string(),
|
|
21930
|
+
labelKey: zod.z.string().min(1)
|
|
21931
|
+
})).min(1)
|
|
21932
|
+
}),
|
|
21933
|
+
zod.z.object({
|
|
21934
|
+
kind: zod.z.literal("range"),
|
|
21935
|
+
min: zod.z.number(),
|
|
21936
|
+
max: zod.z.number(),
|
|
21937
|
+
step: zod.z.number().positive()
|
|
21938
|
+
})
|
|
21939
|
+
]);
|
|
21913
21940
|
var deviceTemplateParamSchema = zod.z.object({
|
|
21914
21941
|
name: zod.z.string().min(1),
|
|
21915
|
-
type: zod.z.enum(
|
|
21916
|
-
"string",
|
|
21917
|
-
"number",
|
|
21918
|
-
"boolean"
|
|
21919
|
-
]),
|
|
21942
|
+
type: zod.z.enum(DEVICE_TEMPLATE_PARAM_TYPES),
|
|
21920
21943
|
optional: zod.z.boolean(),
|
|
21921
21944
|
default: zod.z.union([
|
|
21922
21945
|
zod.z.string(),
|
|
21923
21946
|
zod.z.number(),
|
|
21924
21947
|
zod.z.boolean()
|
|
21925
|
-
]).optional()
|
|
21948
|
+
]).optional(),
|
|
21949
|
+
values: deviceTemplateParamValuesSchemaValue.optional()
|
|
21926
21950
|
});
|
|
21927
21951
|
zod.z.object({
|
|
21928
21952
|
name: zod.z.string().min(1),
|
|
@@ -21932,8 +21956,8 @@ zod.z.object({
|
|
|
21932
21956
|
descriptionKey: zod.z.string().min(1),
|
|
21933
21957
|
exampleKey: zod.z.string().min(1)
|
|
21934
21958
|
});
|
|
21935
|
-
function param(name, type, optional, fallback) {
|
|
21936
|
-
|
|
21959
|
+
function param(name, type, optional, fallback, values) {
|
|
21960
|
+
const base = fallback === void 0 ? {
|
|
21937
21961
|
name,
|
|
21938
21962
|
type,
|
|
21939
21963
|
optional
|
|
@@ -21943,6 +21967,10 @@ function param(name, type, optional, fallback) {
|
|
|
21943
21967
|
optional,
|
|
21944
21968
|
default: fallback
|
|
21945
21969
|
};
|
|
21970
|
+
return values === void 0 ? base : {
|
|
21971
|
+
...base,
|
|
21972
|
+
values
|
|
21973
|
+
};
|
|
21946
21974
|
}
|
|
21947
21975
|
function entry(name, kind, category, params) {
|
|
21948
21976
|
return {
|
|
@@ -21954,12 +21982,71 @@ function entry(name, kind, category, params) {
|
|
|
21954
21982
|
exampleKey: `uiLibrary.deviceTemplateCatalogue.${name}.example`
|
|
21955
21983
|
};
|
|
21956
21984
|
}
|
|
21957
|
-
var DIGITS = param("digits", "number", true, 0
|
|
21985
|
+
var DIGITS = param("digits", "number", true, 0, {
|
|
21986
|
+
kind: "range",
|
|
21987
|
+
min: 0,
|
|
21988
|
+
max: 4,
|
|
21989
|
+
step: 1
|
|
21990
|
+
});
|
|
21991
|
+
var UNITS_OF_FIELD = { kind: "units-of-field" };
|
|
21992
|
+
/** Named time patterns: the engine's tokens are `YYYY MM DD HH mm ss`. */
|
|
21993
|
+
var TIME_PATTERNS = [
|
|
21994
|
+
[
|
|
21995
|
+
"hm",
|
|
21996
|
+
"HH:mm",
|
|
21997
|
+
"Hours and minutes (14:05)",
|
|
21998
|
+
"Ore e minuti (14:05)"
|
|
21999
|
+
],
|
|
22000
|
+
[
|
|
22001
|
+
"hms",
|
|
22002
|
+
"HH:mm:ss",
|
|
22003
|
+
"Hours, minutes, seconds (14:05:09)",
|
|
22004
|
+
"Ore, minuti, secondi (14:05:09)"
|
|
22005
|
+
],
|
|
22006
|
+
[
|
|
22007
|
+
"dm",
|
|
22008
|
+
"DD/MM",
|
|
22009
|
+
"Day and month (31/12)",
|
|
22010
|
+
"Giorno e mese (31/12)"
|
|
22011
|
+
],
|
|
22012
|
+
[
|
|
22013
|
+
"dmy",
|
|
22014
|
+
"DD/MM/YYYY",
|
|
22015
|
+
"Day, month, year (31/12/2026)",
|
|
22016
|
+
"Giorno, mese, anno (31/12/2026)"
|
|
22017
|
+
],
|
|
22018
|
+
[
|
|
22019
|
+
"dmyhm",
|
|
22020
|
+
"DD/MM/YYYY HH:mm",
|
|
22021
|
+
"Date and time (31/12/2026 14:05)",
|
|
22022
|
+
"Data e ora (31/12/2026 14:05)"
|
|
22023
|
+
],
|
|
22024
|
+
[
|
|
22025
|
+
"iso",
|
|
22026
|
+
"YYYY-MM-DD",
|
|
22027
|
+
"ISO date (2026-12-31)",
|
|
22028
|
+
"Data ISO (2026-12-31)"
|
|
22029
|
+
],
|
|
22030
|
+
[
|
|
22031
|
+
"isohms",
|
|
22032
|
+
"YYYY-MM-DD HH:mm:ss",
|
|
22033
|
+
"ISO date and time (2026-12-31 14:05:09)",
|
|
22034
|
+
"Data e ora ISO (2026-12-31 14:05:09)"
|
|
22035
|
+
]
|
|
22036
|
+
];
|
|
22037
|
+
var TIME_PATTERN_KEY = (id) => `uiLibrary.deviceTemplateCatalogue.choice.time.${id}`;
|
|
22038
|
+
var TIME_PATTERN_VALUES = {
|
|
22039
|
+
kind: "choices",
|
|
22040
|
+
options: TIME_PATTERNS.map(([id, pattern]) => ({
|
|
22041
|
+
value: pattern,
|
|
22042
|
+
labelKey: TIME_PATTERN_KEY(id)
|
|
22043
|
+
}))
|
|
22044
|
+
};
|
|
21958
22045
|
var FALLBACK_TEXT = param("fallback", "string", false);
|
|
21959
22046
|
var FALSY = param("falsy", "boolean", true, false);
|
|
21960
22047
|
/** Every name the engine allows, in the order operators meet them. */
|
|
21961
22048
|
var DEVICE_TEMPLATE_CATALOGUE = [
|
|
21962
|
-
entry("unit", "filter", "unit", [param("symbol", "string", false), param("from", "string", true)]),
|
|
22049
|
+
entry("unit", "filter", "unit", [param("symbol", "string", false, void 0, UNITS_OF_FIELD), param("from", "string", true, void 0, UNITS_OF_FIELD)]),
|
|
21963
22050
|
entry("round", "filter", "number", [DIGITS]),
|
|
21964
22051
|
entry("trunc", "filter", "number", [DIGITS]),
|
|
21965
22052
|
entry("onoff", "filter", "state", []),
|
|
@@ -21995,7 +22082,7 @@ var DEVICE_TEMPLATE_CATALOGUE = [
|
|
|
21995
22082
|
param("killwords", "boolean", true, false),
|
|
21996
22083
|
param("end", "string", true, "…")
|
|
21997
22084
|
]),
|
|
21998
|
-
entry("time", "filter", "time", [param("pattern", "string", false)]),
|
|
22085
|
+
entry("time", "filter", "time", [param("pattern", "string", false, void 0, TIME_PATTERN_VALUES)]),
|
|
21999
22086
|
entry("range", "global", "loop", [
|
|
22000
22087
|
param("stop", "number", false),
|
|
22001
22088
|
param("start", "number", true, 0),
|
|
@@ -22163,6 +22250,10 @@ function buildText() {
|
|
|
22163
22250
|
it: row.example[1]
|
|
22164
22251
|
};
|
|
22165
22252
|
}
|
|
22253
|
+
for (const [id, , en, it] of TIME_PATTERNS) out[TIME_PATTERN_KEY(id)] = {
|
|
22254
|
+
en,
|
|
22255
|
+
it
|
|
22256
|
+
};
|
|
22166
22257
|
return out;
|
|
22167
22258
|
}
|
|
22168
22259
|
buildText();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_wal_maintenance = require("./wal-maintenance-
|
|
2
|
+
const require_wal_maintenance = require("./wal-maintenance-CrMVN_qH.js");
|
|
3
3
|
let node_worker_threads = require("node:worker_threads");
|
|
4
4
|
//#region src/builtins/sqlite-storage/file-host-worker.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-
|
|
1
|
+
import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-DKNovLM_.mjs";
|
|
2
2
|
import { parentPort, threadId, workerData } from "node:worker_threads";
|
|
3
3
|
//#region src/builtins/sqlite-storage/file-host-worker.ts
|
|
4
4
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Jc as defineRecordKinds } from "./dist-
|
|
1
|
+
import { Jc as defineRecordKinds } from "./dist-BbuJa6G4.mjs";
|
|
2
2
|
import { C as backdatedNotBefore, S as withUtcTimeEncoding, _ as NameConstraints, a as KeyUsageFlags, c as Pkcs10CertificateRequest, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, g as GeneralSubtrees, h as GeneralSubtree, i as Extension, l as Pkcs10CertificateRequestGenerator, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension, u as SubjectAlternativeNameExtension, v as GeneralName, x as AsnConvert } from "./x509.es-BRiJgOvu.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { X509Certificate, createHash, createPrivateKey, randomBytes, webcrypto } from "node:crypto";
|
|
5
5
|
import { writeOwnerOnlyFileSync } from "@camstack/types/node";
|
|
6
6
|
import { isIP } from "node:net";
|
|
7
|
-
import * as fs from "node:fs";
|
|
7
|
+
import * as fs$1 from "node:fs";
|
|
8
8
|
import { existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
9
9
|
import * as path$1 from "node:path";
|
|
10
10
|
import { join } from "node:path";
|
|
@@ -1067,7 +1067,7 @@ var HUB_IDENTITY_RELATIVE = `tls/${HUB_IDENTITY_FILE}`;
|
|
|
1067
1067
|
function readHubIdFile(file) {
|
|
1068
1068
|
let parsed;
|
|
1069
1069
|
try {
|
|
1070
|
-
parsed = JSON.parse(fs.readFileSync(file, "utf8"));
|
|
1070
|
+
parsed = JSON.parse(fs$1.readFileSync(file, "utf8"));
|
|
1071
1071
|
} catch (err) {
|
|
1072
1072
|
return {
|
|
1073
1073
|
hubId: null,
|
|
@@ -1094,18 +1094,18 @@ function identityPath(dataDir) {
|
|
|
1094
1094
|
function writeHubIdFile(file, hubId) {
|
|
1095
1095
|
const tmp = `${file}.${process.pid}.tmp`;
|
|
1096
1096
|
try {
|
|
1097
|
-
fs.mkdirSync(path$1.dirname(file), { recursive: true });
|
|
1098
|
-
fs.writeFileSync(tmp, `${JSON.stringify({ hubId }, null, 2)}\n`);
|
|
1099
|
-
fs.linkSync(tmp, file);
|
|
1097
|
+
fs$1.mkdirSync(path$1.dirname(file), { recursive: true });
|
|
1098
|
+
fs$1.writeFileSync(tmp, `${JSON.stringify({ hubId }, null, 2)}\n`);
|
|
1099
|
+
fs$1.linkSync(tmp, file);
|
|
1100
1100
|
} catch (err) {
|
|
1101
|
-
if (fs.existsSync(file)) return readHubIdFile(file);
|
|
1101
|
+
if (fs$1.existsSync(file)) return readHubIdFile(file);
|
|
1102
1102
|
return {
|
|
1103
1103
|
hubId: null,
|
|
1104
1104
|
created: false,
|
|
1105
1105
|
problem: `could not write ${file}: ${err instanceof Error ? err.message : String(err)}`
|
|
1106
1106
|
};
|
|
1107
1107
|
} finally {
|
|
1108
|
-
fs.rmSync(tmp, { force: true });
|
|
1108
|
+
fs$1.rmSync(tmp, { force: true });
|
|
1109
1109
|
}
|
|
1110
1110
|
return {
|
|
1111
1111
|
hubId,
|
|
@@ -1119,9 +1119,9 @@ function writeHubIdFile(file, hubId) {
|
|
|
1119
1119
|
*/
|
|
1120
1120
|
function loadOrCreateHubId(dataDir) {
|
|
1121
1121
|
const file = identityPath(dataDir);
|
|
1122
|
-
if (fs.existsSync(file)) return readHubIdFile(file);
|
|
1122
|
+
if (fs$1.existsSync(file)) return readHubIdFile(file);
|
|
1123
1123
|
const legacy = path$1.join(dataDir, HUB_IDENTITY_FILE);
|
|
1124
|
-
if (fs.existsSync(legacy)) {
|
|
1124
|
+
if (fs$1.existsSync(legacy)) {
|
|
1125
1125
|
const read = readHubIdFile(legacy);
|
|
1126
1126
|
if (read.hubId === null) return read;
|
|
1127
1127
|
if (writeHubIdFile(file, read.hubId).hubId === null) return read;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-DFeAUBa8.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-DFeAUBa8.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
|
-
const require_hub_identity = require("./hub-identity-
|
|
4
|
+
const require_hub_identity = require("./hub-identity-DPKmKOuk.js");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
6
6
|
let _camstack_types_node = require("@camstack/types/node");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as __toESM } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { Rl as userError } from "./dist-
|
|
2
|
+
import { Rl as userError } from "./dist-BbuJa6G4.mjs";
|
|
3
3
|
import { f as X509Certificate$1 } from "./x509.es-BRiJgOvu.mjs";
|
|
4
|
-
import { A as evaluateExistingCert, C as localCaCommonName, F as isConstrainedCa, L as permitsIdentity, S as loadCa, b as generateCa, j as reasonRequiresNewCa, w as collectCertIdentity, x as issueLeaf, z as readNameConstraints } from "./hub-identity-
|
|
4
|
+
import { A as evaluateExistingCert, C as localCaCommonName, F as isConstrainedCa, L as permitsIdentity, S as loadCa, b as generateCa, j as reasonRequiresNewCa, w as collectCertIdentity, x as issueLeaf, z as readNameConstraints } from "./hub-identity-CcEQJ8el.mjs";
|
|
5
5
|
import { X509Certificate, createPrivateKey } from "node:crypto";
|
|
6
6
|
import { writeOwnerOnlyFileSync } from "@camstack/types/node";
|
|
7
7
|
import { copyFileSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
package/system/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
3
|
-
const require_dist = require("./dist-
|
|
4
|
-
const require_device_ca = require("./device-ca-
|
|
3
|
+
const require_dist = require("./dist-DFeAUBa8.js");
|
|
4
|
+
const require_device_ca = require("./device-ca-wlsnsg3M.js");
|
|
5
5
|
const require_read_all_rows$1 = require("./read-all-rows-CVoO1ONM.js");
|
|
6
6
|
const require_log_redactor = require("./log-redactor-BhIEMaG9.js");
|
|
7
7
|
const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
|
|
@@ -28,22 +28,22 @@ const require_builtins_loki_logging_index = require("./builtins/loki-logging/ind
|
|
|
28
28
|
const require_builtins_native_metrics_native_metrics_addon = require("./builtins/native-metrics/native-metrics.addon.js");
|
|
29
29
|
const require_builtins_device_history_device_history_addon = require("./builtins/device-history/device-history.addon.js");
|
|
30
30
|
const require_builtins_sqlite_storage_filesystem_storage_addon = require("./builtins/sqlite-storage/filesystem-storage.addon.js");
|
|
31
|
-
const require_wal_maintenance = require("./wal-maintenance-
|
|
32
|
-
const require_legacy_integration_rows_door = require("./legacy-integration-rows-door-
|
|
31
|
+
const require_wal_maintenance = require("./wal-maintenance-CrMVN_qH.js");
|
|
32
|
+
const require_legacy_integration_rows_door = require("./legacy-integration-rows-door-BxlPhgrH.js");
|
|
33
33
|
const require_builtins_sqlite_storage_sqlite_settings_addon = require("./builtins/sqlite-storage/sqlite-settings.addon.js");
|
|
34
34
|
const require_builtins_sqlite_storage_index = require("./builtins/sqlite-storage/index.js");
|
|
35
35
|
const require_builtins_storage_orchestrator_storage_orchestrator_addon = require("./builtins/storage-orchestrator/storage-orchestrator.addon.js");
|
|
36
36
|
require("./builtins/storage-orchestrator/index.js");
|
|
37
|
-
const require_hub_identity = require("./hub-identity-
|
|
38
|
-
const require_constants = require("./constants-
|
|
37
|
+
const require_hub_identity = require("./hub-identity-DPKmKOuk.js");
|
|
38
|
+
const require_constants = require("./constants-CRKNMR3M.js");
|
|
39
39
|
const require_builtins_system_config_system_config_addon = require("./builtins/system-config/system-config.addon.js");
|
|
40
40
|
require("./builtins/system-config/index.js");
|
|
41
41
|
const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
|
|
42
42
|
const require_custom_action_registry = require("./custom-action-registry-CmWpSeMS.js");
|
|
43
|
-
const require_hub_mdns_ciao = require("./hub-mdns-ciao-
|
|
43
|
+
const require_hub_mdns_ciao = require("./hub-mdns-ciao-DP0ReXx8.js");
|
|
44
44
|
const require_platform_key_source = require("./platform-key-source-Di7HrlGR.js");
|
|
45
45
|
const require_resource_monitor = require("./resource-monitor-mio9dSCT.js");
|
|
46
|
-
const require_restore_archive = require("./restore-archive-
|
|
46
|
+
const require_restore_archive = require("./restore-archive-n-OmTBbN.js");
|
|
47
47
|
const require_coral_accelerators = require("./coral-accelerators-BSVsBVzt.js");
|
|
48
48
|
let zod = require("zod");
|
|
49
49
|
let node_crypto = require("node:crypto");
|