@camstack/server 1.2.932 → 1.2.933
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/dist/api/trpc/generated-cap-routers.js +20 -0
- package/package.json +7 -7
- package/system/dist/addon-utils.mjs +1 -1
- package/system/dist/{base-device-IuM1AwXZ.mjs → base-device-Bwiblqmn.mjs} +1 -1
- package/system/dist/{base-device-2sL1DMm1.js → base-device-C1z4zYGR.js} +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +3 -3
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +4 -4
- package/system/dist/builtins/alerts/alerts.addon.js +2 -2
- package/system/dist/builtins/alerts/alerts.addon.mjs +4 -4
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +4 -4
- package/system/dist/builtins/camera-grid/index.js +2 -2
- package/system/dist/builtins/camera-grid/index.mjs +2 -2
- package/system/dist/builtins/composer/composer.addon.js +5 -5
- package/system/dist/builtins/composer/composer.addon.mjs +5 -5
- package/system/dist/builtins/core-blocks/cap-links.d.ts +34 -0
- package/system/dist/builtins/core-blocks/core-blocks.addon.d.ts +4 -0
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +282 -8
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +282 -8
- package/system/dist/builtins/device-manager/device-manager.addon.js +18 -4
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +18 -4
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +3 -3
- package/system/dist/builtins/local-network/local-network.addon.mjs +2 -2
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +9 -9
- package/system/dist/builtins/platform-probe/index.mjs +9 -9
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +19 -19
- package/system/dist/builtins/system-config/system-config.addon.mjs +113 -113
- package/system/dist/{composition-sources-BEUWn2s_.mjs → composition-sources-B0QW4g86.mjs} +2 -2
- package/system/dist/{composition-sources-acfR4hDq.js → composition-sources-BtUx1MfU.js} +2 -2
- package/system/dist/{coral-accelerators-zTMTEd-8.mjs → coral-accelerators-BKcXP59c.mjs} +6 -6
- package/system/dist/{core-blocks.cap-BRPsLAij.mjs → core-blocks.cap-CnwBuf7E.mjs} +1524 -1267
- package/system/dist/{core-blocks.cap-BMeMCBrx.js → core-blocks.cap-DlEuHq-S.js} +1555 -1268
- package/system/dist/{custom-action-registry-N7flBDwT.mjs → custom-action-registry-B9zFBNVa.mjs} +37 -37
- package/system/dist/{error.cap-CSM_SRfR.mjs → error.cap-5zNPAgU2.mjs} +19 -2
- package/system/dist/{error.cap-DBhgPeWK.js → error.cap-BCqzFlo2.js} +24 -1
- package/system/dist/{hub-identity-_IOgPJ00.mjs → hub-identity-DjMN9Ac2.mjs} +9 -9
- package/system/dist/{hub-mdns-ciao-Dk7ts_Uk.mjs → hub-mdns-ciao-DBrtHOcc.mjs} +1 -1
- package/system/dist/index.js +2 -2
- package/system/dist/index.mjs +214 -214
- package/system/dist/{prefix-walk-ifwg_ukx.mjs → prefix-walk-CRnbYJcC.mjs} +2 -2
- package/system/dist/{prefix-walk-BkMxoXpL.js → prefix-walk-DD1BM923.js} +2 -2
- package/system/dist/{rename-composition-block-BJsL58Ih.js → rename-composition-block-BRgyBO25.js} +20 -2
- package/system/dist/{rename-composition-block-OAtErZgq.mjs → rename-composition-block-BYRBlx-V.mjs} +20 -2
- package/system/dist/{restore-archive-kSFNjkWY.mjs → restore-archive-CjAyKpgX.mjs} +93 -93
- package/system/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Bt as describeHoldMs, Ft as eventLeafIdAt, Gt as anySubjectMatches, Ht as describeWantedFaults, It as forEachLeaf, Jt as isQuantityValue, Rt as isEventLeaf, Ut as faultMatches, Wt as readFault, an as weekdayOfLocalDate, en as isKnownTimeZone, rn as occurrenceOn, tn as localDateOf, zt as compareValues } from "./core-blocks.cap-CnwBuf7E.mjs";
|
|
2
|
+
import { ct as evaluateExpressionSource, ut as toExpressionValue } from "./error.cap-5zNPAgU2.mjs";
|
|
3
3
|
import { t as prefixRange } from "./prefix-range-Dl0znowN.mjs";
|
|
4
4
|
//#region ../types/dist/esm/time/time-window.mjs
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_core_blocks_cap = require("./core-blocks.cap-
|
|
2
|
-
const require_error_cap = require("./error.cap-
|
|
1
|
+
const require_core_blocks_cap = require("./core-blocks.cap-DlEuHq-S.js");
|
|
2
|
+
const require_error_cap = require("./error.cap-BCqzFlo2.js");
|
|
3
3
|
const require_prefix_range = require("./prefix-range-D_KueXbQ.js");
|
|
4
4
|
//#region ../types/dist/esm/time/time-window.mjs
|
|
5
5
|
/**
|
package/system/dist/{rename-composition-block-BJsL58Ih.js → rename-composition-block-BRgyBO25.js}
RENAMED
|
@@ -19,9 +19,9 @@ const require_platform_probe_cap = require("./platform-probe.cap-1WrMhWHx.js");
|
|
|
19
19
|
const require_user_management_cap = require("./user-management.cap-B9QDu8NE.js");
|
|
20
20
|
const require_device_type = require("./device-type-CbQsnFdC.js");
|
|
21
21
|
const require_device_certificate = require("./device-certificate-CguVACQO.js");
|
|
22
|
-
const require_core_blocks_cap = require("./core-blocks.cap-
|
|
22
|
+
const require_core_blocks_cap = require("./core-blocks.cap-DlEuHq-S.js");
|
|
23
23
|
const require_addon_settings_cap = require("./addon-settings.cap-DAiE0Nb0.js");
|
|
24
|
-
const require_error_cap = require("./error.cap-
|
|
24
|
+
const require_error_cap = require("./error.cap-BCqzFlo2.js");
|
|
25
25
|
const require_source_info = require("./source-info-DtWf4k2j.js");
|
|
26
26
|
const require_l10n = require("./l10n-CGMvp7NF.js");
|
|
27
27
|
const require_addon_pages_cap = require("./addon-pages.cap-Df9FQwN1.js");
|
|
@@ -10069,6 +10069,17 @@ var energySystemCapability = {
|
|
|
10069
10069
|
}
|
|
10070
10070
|
},
|
|
10071
10071
|
volatileStateFields: ["lastFetchedAt"],
|
|
10072
|
+
customize: {
|
|
10073
|
+
version: 1,
|
|
10074
|
+
targets: [],
|
|
10075
|
+
links: [{
|
|
10076
|
+
id: "heat-pump",
|
|
10077
|
+
sourceCap: "heat-pump-status",
|
|
10078
|
+
mode: "reference",
|
|
10079
|
+
slot: "heatPump",
|
|
10080
|
+
apply: "add"
|
|
10081
|
+
}]
|
|
10082
|
+
},
|
|
10072
10083
|
vocabulary: {
|
|
10073
10084
|
noun: /* @__PURE__ */ require_l10n.t("Energy system", "Sistema energetico"),
|
|
10074
10085
|
order: 4020
|
|
@@ -22096,6 +22107,13 @@ var powerMeterCapability = {
|
|
|
22096
22107
|
"voltage",
|
|
22097
22108
|
"current"
|
|
22098
22109
|
]
|
|
22110
|
+
}],
|
|
22111
|
+
links: [{
|
|
22112
|
+
id: "meter-device",
|
|
22113
|
+
sourceCap: "power-meter",
|
|
22114
|
+
mode: "project",
|
|
22115
|
+
apply: "add",
|
|
22116
|
+
deviceTypes: POWER_METER_CUSTOMIZE_DEVICE_TYPES
|
|
22099
22117
|
}]
|
|
22100
22118
|
},
|
|
22101
22119
|
vocabulary: {
|
package/system/dist/{rename-composition-block-OAtErZgq.mjs → rename-composition-block-BYRBlx-V.mjs}
RENAMED
|
@@ -19,9 +19,9 @@ import { r as MODEL_FORMATS, t as platformProbeCapability } from "./platform-pro
|
|
|
19
19
|
import { a as authProviderCapability, c as TokenScopeSchema, i as deviceCredentialsCapability, r as ssoBridgeCapability, t as userManagementCapability } from "./user-management.cap-DBIi77sB.mjs";
|
|
20
20
|
import { n as DeviceRole, r as DeviceType } from "./device-type-DgEvK3ch.mjs";
|
|
21
21
|
import { d as AppLoginPathSchema } from "./device-certificate-Cddm4Idn.mjs";
|
|
22
|
-
import { $ as
|
|
22
|
+
import { $t as unwrapSchema, A as MediaPlayerStatusSchema, At as TemplateEntriesValueSchema, B as isRemoteCustomKey, F as irSourceProblem, G as IrNativeFormatSchema, H as isRemoteWidgetRole, I as remoteSourceSteps, Jt as isQuantityValue, K as IrTimingsSchema, Kt as QuantityUnitError, M as REMOTE_STEP_DELAY_MAX_MS, Mt as TemplateTimeWindowValueSchema, N as RemoteSourceSchema, Nt as AutomationWhenSchema, Pt as EVENT_LEAF_ID_RE, Qt as enumerateSchemaFields, R as RemoteRoleSchema, St as AutomationRecipeSchema, V as isRemoteRole, W as IrNativeCodeSchema, Xt as paramMetaOf, Yt as paramMeta, Zt as enumerateItemArrayFields, _n as vocabCall, _t as SchedulerSchema, at as AutomationRunOutcomeSchema, bt as ActionStepSchema, c as coreBlocksCapability, et as CompositionBlockStateSchema, ft as LOCAL_DATE_PATTERN, gt as SchedulerPreviewSchema, hn as findVocabAction, ht as SchedulerInputSchema, it as alertsCapability, j as mediaPlayerCapability, jt as TemplateEventValueSchema, kt as TemplateActionValueSchema, ot as AutomationRunTraceSchema, pt as SchedulerConflictSchema, q as TransmitSettingsSchema, qt as convertQuantityInput, sn as EventVocabularyEntrySchema, tt as CompositionRunStatusSchema, vt as SchedulerStatusSchema, w as powerSourceCapability, xt as AutomationBranchStepSchema, z as customKeyOfRole } from "./core-blocks.cap-CnwBuf7E.mjs";
|
|
23
23
|
import { i as addonSettingsCapability, o as unitDimension, s as unitsForDimension } from "./addon-settings.cap-3-TIIMq_.mjs";
|
|
24
|
-
import { R as COMPOSED_DEVICE_STABLE_ID_PREFIX, T as CompositionSchema, r as errorCapability, x as COMPOSER_ADDON_ID } from "./error.cap-
|
|
24
|
+
import { R as COMPOSED_DEVICE_STABLE_ID_PREFIX, T as CompositionSchema, r as errorCapability, x as COMPOSER_ADDON_ID } from "./error.cap-5zNPAgU2.mjs";
|
|
25
25
|
import { a as normalizeUnit } from "./source-info-DGB7SdB_.mjs";
|
|
26
26
|
import { t } from "./l10n-Bu6aUvSY.mjs";
|
|
27
27
|
import { t as addonPagesCapability } from "./addon-pages.cap-DksUlE8j.mjs";
|
|
@@ -10066,6 +10066,17 @@ var energySystemCapability = {
|
|
|
10066
10066
|
}
|
|
10067
10067
|
},
|
|
10068
10068
|
volatileStateFields: ["lastFetchedAt"],
|
|
10069
|
+
customize: {
|
|
10070
|
+
version: 1,
|
|
10071
|
+
targets: [],
|
|
10072
|
+
links: [{
|
|
10073
|
+
id: "heat-pump",
|
|
10074
|
+
sourceCap: "heat-pump-status",
|
|
10075
|
+
mode: "reference",
|
|
10076
|
+
slot: "heatPump",
|
|
10077
|
+
apply: "add"
|
|
10078
|
+
}]
|
|
10079
|
+
},
|
|
10069
10080
|
vocabulary: {
|
|
10070
10081
|
noun: /* @__PURE__ */ t("Energy system", "Sistema energetico"),
|
|
10071
10082
|
order: 4020
|
|
@@ -22026,6 +22037,13 @@ var powerMeterCapability = {
|
|
|
22026
22037
|
"voltage",
|
|
22027
22038
|
"current"
|
|
22028
22039
|
]
|
|
22040
|
+
}],
|
|
22041
|
+
links: [{
|
|
22042
|
+
id: "meter-device",
|
|
22043
|
+
sourceCap: "power-meter",
|
|
22044
|
+
mode: "project",
|
|
22045
|
+
apply: "add",
|
|
22046
|
+
deviceTypes: POWER_METER_CUSTOMIZE_DEVICE_TYPES
|
|
22029
22047
|
}]
|
|
22030
22048
|
},
|
|
22031
22049
|
vocabulary: {
|