@camstack/server 1.2.897 → 1.2.899
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/cap-router-runtime.js +1 -0
- package/dist/api/trpc/generated-cap-mounts.js +2 -1
- package/dist/api/trpc/generated-cap-routers.js +1894 -1870
- package/dist/core/addon/hub-addon-api.js +1 -0
- package/dist/core/moleculer/moleculer.service.js +1 -0
- package/package.json +11 -10
- package/system/dist/addon-runner.js +207 -13
- package/system/dist/addon-runner.mjs +207 -13
- 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 +1 -1
- 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 +1 -1
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
- 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 +2 -2
- 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 +14 -11
- package/system/dist/builtins/composer/composer.addon.mjs +11 -8
- 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 +170 -14
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +169 -13
- package/system/dist/builtins/core-blocks/migrations/automation-confirmed-view.d.ts +23 -0
- package/system/dist/builtins/core-blocks/migrations/index.d.ts +1 -0
- package/system/dist/builtins/core-blocks/migrations/pump-cycle-split.d.ts +1 -0
- package/system/dist/builtins/device-history/device-history.addon.js +10 -9
- package/system/dist/builtins/device-history/device-history.addon.mjs +10 -9
- package/system/dist/builtins/device-manager/command-holds-wiring.d.ts +22 -0
- package/system/dist/builtins/device-manager/command-holds.d.ts +77 -0
- package/system/dist/builtins/device-manager/device-manager.addon.d.ts +3 -0
- package/system/dist/builtins/device-manager/device-manager.addon.js +1078 -41
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +1062 -42
- package/system/dist/builtins/device-manager/device-state-mirror.d.ts +42 -9
- package/system/dist/builtins/device-manager/state-refresh-scheduler.d.ts +92 -0
- package/system/dist/builtins/device-manager/state-refresh-wiring.d.ts +23 -0
- 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 +2 -2
- 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 +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- 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/shared/device-state-changed.d.ts +8 -0
- 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 +1 -1
- 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 +284 -284
- 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-Bjgs__i9.mjs → capture-engine-BcD6iCZM.mjs} +37 -2
- package/system/dist/{capture-engine-D1rjl2dW.js → capture-engine-LHKTf-nM.js} +48 -1
- package/system/dist/{composition-sources-B727nlA0.mjs → composition-sources-C3ARJk2g.mjs} +2 -21
- package/system/dist/{composition-sources-CF2-u58e.js → composition-sources-DNUDbuXy.js} +1 -32
- package/system/dist/{constants-DaR1SUh7.js → constants-dL8fl9aI.js} +1 -1
- package/system/dist/{constants-BF309c_I.mjs → constants-er38mZOb.mjs} +1 -1
- package/system/dist/{device-ca-DT1hYtdW.mjs → device-ca-Ccz5olgH.mjs} +1 -1
- package/system/dist/{device-ca-BqcX5_f2.js → device-ca-KWa6uJRU.js} +1 -1
- package/system/dist/{dist-DorY_sjS.mjs → dist-DBanWvHF.mjs} +819 -54
- package/system/dist/{dist-BoEy9sm9.js → dist-DEAjZE_-.js} +848 -53
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-CZ0nE3GK.mjs → hub-identity-CVv79TVO.mjs} +1 -1
- package/system/dist/{hub-identity-DH1rxUMD.js → hub-identity-Dy8ZSUuq.js} +1 -1
- package/system/dist/{hub-mdns-ciao-N0nL34fx.js → hub-mdns-ciao-C_XjO7YI.js} +2 -2
- package/system/dist/{hub-mdns-ciao-7HK57Vtx.mjs → hub-mdns-ciao-DtmIyWDL.mjs} +2 -2
- package/system/dist/index.js +96 -17
- package/system/dist/index.mjs +92 -19
- package/system/dist/kernel/cap-router-builder.d.ts +7 -0
- package/system/dist/kernel/command-follow-up.d.ts +33 -0
- package/system/dist/kernel/command-hold-overrides.d.ts +42 -0
- package/system/dist/kernel/command-observation.d.ts +3 -0
- package/system/dist/kernel/index.d.ts +3 -0
- package/system/dist/kernel/moleculer/child-cap-descriptors.d.ts +5 -0
- package/system/dist/kernel/moleculer/device-cap-proxy.d.ts +3 -1
- package/system/dist/kernel/state-refresh-policies.d.ts +53 -0
- package/system/dist/kernel/transport/child-cap-protocol.d.ts +11 -1
- package/system/dist/kernel/transport/local-child-registry.d.ts +14 -0
- package/system/dist/{legacy-integration-rows-door-CdAQlIvv.mjs → legacy-integration-rows-door-BL8T4lya.mjs} +1 -1
- package/system/dist/{legacy-integration-rows-door-BTfeULYt.js → legacy-integration-rows-door-DPInWtE6.js} +1 -1
- package/system/dist/{rename-composition-block-B1x-yK5U.js → rename-composition-block-BxzETYOf.js} +1 -1
- package/system/dist/{rename-composition-block-CIQjxBUa.mjs → rename-composition-block-Dgo-9-Ts.mjs} +1 -1
- package/system/dist/{restore-archive-Bj_gYmE9.mjs → restore-archive-BUtuNTe1.mjs} +82 -82
- package/system/dist/{restore-archive-B086o8pL.js → restore-archive-Zvx9sHZP.js} +1 -1
- package/system/dist/{wal-maintenance-MVIyxmu7.js → wal-maintenance-DS2IKwtK.js} +0 -0
- package/system/dist/{wal-maintenance-Dgfmi-Ao.mjs → wal-maintenance-cASt_sYy.mjs} +0 -0
- package/system/package.json +1 -1
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-DEAjZE_-.js");
|
|
7
7
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
8
8
|
const require_log_redactor = require("../../log-redactor-BhIEMaG9.js");
|
|
9
9
|
let node_fs = require("node:fs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bn as alertEpisodePayload, D as CORE_BLOCK_ADDON_PREFIX, Fi as isAlertEpisodeSeverity, Pi as isAlertEpisodeOpen, Vn as alertsCapability, bl as defineRecordKinds, bu as EventCategory, hl as createEvent, p as AlertSchema, vc as BaseAddon, vu as errMsg, zn as alertEpisodeId } from "../../dist-DBanWvHF.mjs";
|
|
2
2
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
3
3
|
import { a as redactLogText } from "../../log-redactor-XLDrPzOi.mjs";
|
|
4
4
|
import * as fs$1 from "node:fs";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-DEAjZE_-.js");
|
|
7
7
|
let zod = require("zod");
|
|
8
8
|
//#region src/builtins/autotrack/autotrack-config.ts
|
|
9
9
|
var DEFAULT_AUTOTRACK_LOOP_CONFIG = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Nl as isEvent, Qa as ptzAutotrackCapability, bu as EventCategory, ht as FIRST_LEVEL_MACRO_CLASSES, qn as bareAddonId, vc as BaseAddon, vu as errMsg } from "../../dist-DBanWvHF.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/builtins/autotrack/autotrack-config.ts
|
|
4
4
|
var DEFAULT_AUTOTRACK_LOOP_CONFIG = {
|
|
@@ -3,9 +3,9 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-DEAjZE_-.js");
|
|
7
7
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
8
|
-
const require_restore_archive = require("../../restore-archive-
|
|
8
|
+
const require_restore_archive = require("../../restore-archive-Zvx9sHZP.js");
|
|
9
9
|
let node_crypto = require("node:crypto");
|
|
10
10
|
let node_fs = require("node:fs");
|
|
11
11
|
node_fs = require_chunk.__toESM(node_fs);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gl as nodePin, Kn as backupCapability, bu as EventCategory, pa as mayWriteToLocation, su as toNodeId, ts as storageOccupancyCapability, vc as BaseAddon } from "../../dist-DBanWvHF.mjs";
|
|
2
2
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
3
|
-
import { _ as backupRecordStoresOf, a as BackupSnapshotRefusedError, d as ENCRYPTED_BACKUP_SUFFIX, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, i as BackupCancelledError, l as BackupKeyFormatError, m as parseBackupSecretKey, n as precheckRestoreKey, o as DEFAULT_BACKUP_DATABASES, p as parseBackupPublicKey, r as prepareRestoreArchive, s as SystemBackupService } from "../../restore-archive-
|
|
3
|
+
import { _ as backupRecordStoresOf, a as BackupSnapshotRefusedError, d as ENCRYPTED_BACKUP_SUFFIX, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, i as BackupCancelledError, l as BackupKeyFormatError, m as parseBackupSecretKey, n as precheckRestoreKey, o as DEFAULT_BACKUP_DATABASES, p as parseBackupPublicKey, r as prepareRestoreArchive, s as SystemBackupService } from "../../restore-archive-BUtuNTe1.mjs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
import * as fs$1 from "node:fs";
|
|
6
6
|
import * as path$1 from "node:path";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-DEAjZE_-.js");
|
|
7
7
|
const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
|
|
8
8
|
let zod = require("zod");
|
|
9
9
|
//#region src/builtins/calendars/calendar-color.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bl as defineRecordKinds, k as CalendarPreferencesSchema, nr as calendarsCapability, vc as BaseAddon } from "../../dist-DBanWvHF.mjs";
|
|
2
2
|
import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/builtins/calendars/calendar-color.ts
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-DEAjZE_-.js");
|
|
7
7
|
let zod = require("zod");
|
|
8
8
|
let _camstack_types_node = require("@camstack/types/node");
|
|
9
9
|
let node_fs = require("node:fs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bo as selectEngineHostedBlocks, Ca as motionCapability, Di as hostEngineDevice, Et as HostedWithdrawalGate, Hs as buildFfmpegArgs, Nr as declarationOwnerNodeId, Ns as COMPOSER_ADDON_ID, Rt as MOTION_CLOSE_AFTER_MS, V as DERIVED_CAMERA_SILENCED_CAP_NAMES, Yo as snapshotCapability, bu as EventCategory, ga as memoizePinnedFfmpeg, gr as compileHelper, hl as createEvent, hu as DeviceFeature, kl as hydrateSchema, os as sweepLegacyEngineRows, qn as bareAddonId, rr as cameraGridLayoutCapability, rs as streamCatalogCapability, ta as legacySweepDone, v as BaseDevice, vc as BaseAddon, vu as errMsg } from "../../dist-DBanWvHF.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { FfmpegProcess } from "@camstack/types/node";
|
|
4
4
|
import { promises } from "node:fs";
|
|
@@ -3,11 +3,11 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
7
|
-
const
|
|
8
|
-
const
|
|
6
|
+
const require_dist = require("../../dist-DEAjZE_-.js");
|
|
7
|
+
const require_capture_engine = require("../../capture-engine-LHKTf-nM.js");
|
|
8
|
+
const require_composition_sources = require("../../composition-sources-DNUDbuXy.js");
|
|
9
9
|
const require_retention = require("../../retention-BcOSL6b9.js");
|
|
10
|
-
const require_rename_composition_block = require("../../rename-composition-block-
|
|
10
|
+
const require_rename_composition_block = require("../../rename-composition-block-BxzETYOf.js");
|
|
11
11
|
let zod = require("zod");
|
|
12
12
|
//#region src/builtins/composer/actuator-invoke.ts
|
|
13
13
|
/**
|
|
@@ -5409,7 +5409,7 @@ function entriesOf(request) {
|
|
|
5409
5409
|
}))];
|
|
5410
5410
|
}
|
|
5411
5411
|
function valueAtPath(slice, path) {
|
|
5412
|
-
return path.split(".").reduce((node, segment) =>
|
|
5412
|
+
return path.split(".").reduce((node, segment) => require_capture_engine.isRecord(node) ? node[segment] : void 0, slice);
|
|
5413
5413
|
}
|
|
5414
5414
|
function onlineOf(slice) {
|
|
5415
5415
|
const online = slice["online"];
|
|
@@ -6076,12 +6076,12 @@ var DECLARED_INTEGRATION_NAME_UNUSED = "Blocks";
|
|
|
6076
6076
|
var PULSE_HISTORY_MAX_POINTS = 5e3;
|
|
6077
6077
|
/** The owner-only shadow payload is not in the typed catalog: narrowed at the boundary, like `device.state-changed`. */
|
|
6078
6078
|
function parseNativeShadowChanged(data) {
|
|
6079
|
-
if (!
|
|
6079
|
+
if (!require_capture_engine.isRecord(data)) return null;
|
|
6080
6080
|
const deviceId = data["deviceId"];
|
|
6081
6081
|
const capName = data["capName"];
|
|
6082
6082
|
const native = data["native"];
|
|
6083
6083
|
if (typeof deviceId !== "number" || typeof capName !== "string") return null;
|
|
6084
|
-
if (!
|
|
6084
|
+
if (!require_capture_engine.isRecord(native)) return null;
|
|
6085
6085
|
return {
|
|
6086
6086
|
deviceId,
|
|
6087
6087
|
capName,
|
|
@@ -6143,7 +6143,8 @@ var ComposerAddon = class extends require_dist.BaseAddon {
|
|
|
6143
6143
|
capName
|
|
6144
6144
|
}) : await api.deviceState.getCapSlice.query({
|
|
6145
6145
|
deviceId,
|
|
6146
|
-
capName
|
|
6146
|
+
capName,
|
|
6147
|
+
confirmed: true
|
|
6147
6148
|
});
|
|
6148
6149
|
return slice === null || slice === void 0 ? { kind: "none" } : {
|
|
6149
6150
|
kind: "slice",
|
|
@@ -6182,7 +6183,8 @@ var ComposerAddon = class extends require_dist.BaseAddon {
|
|
|
6182
6183
|
logger: logger.child("graft")
|
|
6183
6184
|
}, lookupCap, async (deviceId, capName) => await api.deviceState.getCapSlice.query({
|
|
6184
6185
|
deviceId,
|
|
6185
|
-
capName
|
|
6186
|
+
capName,
|
|
6187
|
+
confirmed: true
|
|
6186
6188
|
}) ?? null);
|
|
6187
6189
|
this.composer = new Composer({
|
|
6188
6190
|
logger: logger.child("composer"),
|
|
@@ -6220,7 +6222,8 @@ var ComposerAddon = class extends require_dist.BaseAddon {
|
|
|
6220
6222
|
events: this.ctx.eventBus,
|
|
6221
6223
|
readExistingTargetCap: async (deviceId, capName) => await api.deviceState.getCapSlice.query({
|
|
6222
6224
|
deviceId,
|
|
6223
|
-
capName
|
|
6225
|
+
capName,
|
|
6226
|
+
confirmed: true
|
|
6224
6227
|
}) ?? null,
|
|
6225
6228
|
readPulseHistory: async (deviceId, cap, fieldPath, fromMs, toMs) => {
|
|
6226
6229
|
try {
|
|
@@ -6441,7 +6444,7 @@ var ComposerAddon = class extends require_dist.BaseAddon {
|
|
|
6441
6444
|
}, call)
|
|
6442
6445
|
});
|
|
6443
6446
|
this.subscribe({ category: require_dist.EventCategory.DeviceStateChanged }, (event) => {
|
|
6444
|
-
const data =
|
|
6447
|
+
const data = require_capture_engine.parseConfirmedStateChanged(event.data);
|
|
6445
6448
|
if (data !== null) this.composer?.onStateChanged(data).catch((err) => {
|
|
6446
6449
|
this.logEventFailure("device.state-changed", data.deviceId, err);
|
|
6447
6450
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $s as
|
|
2
|
-
import { i as
|
|
3
|
-
import {
|
|
1
|
+
import { $s as createStatefulExpressionMemory, Ba as planComposition, Ca as motionCapability, Ci as groupCommandsCapability, Co as resolveMutate, Cs as valveCapability, Dt as HvacModeSchema, Fa as parseColorInput, Go as sharedColorModes, Il as isReadingQuantity, Is as DEFAULT_HISTORY_RETENTION, Jn as brightnessCapability, Js as composedDeviceStableId, Ks as cloneStatefulExpressionMemory, La as petFountainCapability, Ls as HISTORY_FAST_MS, M as ConsumableItemSchema, Ns as COMPOSER_ADDON_ID, Or as coverCapability, Os as withDefaultRunning, Pr as declaredSeriesKind, Qs as compositionSourceKey, Ra as petFountainWaterItem, Rs as HISTORY_SLOW_MS, Sr as consumablesCapability, Uo as sharedActuatorFeatures, Vs as MINUTE_MS, Wo as sharedActuatorMethods, Xi as kebabToCamel, Xn as buildCapabilityLookup, Xs as compositionItemFieldPath, Xt as PetFountainStatusSchema, Ya as processTimeZoneOr, Ys as compositionFeatureEnabled, Zs as compositionSliceKey, _t as FanDirectionSchema, _u as DeviceType, bu as EventCategory, cc as isForwardInputRef, dc as openReset, di as fanControlCapability, dr as climateControlCapability, ec as disarmRoseMemory, fc as openStatistic, fi as fanOutTargets, gc as toExpressionValue, ha as mediaPlayerFeaturesOfRoles, hc as statisticCadenceMs, hl as createEvent, i as ACTUATOR_TEMPLATE_IDS, ic as historyRetentionFromSettings, ko as runFanOut, lc as isHistoryHelper, ma as mediaPlayerCapability, mc as planStatisticTier, mi as featureForwards, mr as colorCapability, nc as evaluateStatistic, ni as evaluateCompositionField, nt as DeclaredDevices, oa as lockControlCapability, oc as integrateReading, pc as planResetTier, qs as composedDeviceRef, r as ACTUATOR_METHODS, s as ALL_CAPABILITY_DEFINITIONS, sc as isEngineHostedHelper, si as expressionContainsBuiltinCall, ss as switchCapability, tc as evaluateDerivative, uc as nextLocalMidnight, v as BaseDevice, va as methodRefusal, vc as BaseAddon, vr as composerCapability, vu as errMsg, w as COMPOSED_ITEM_FIXED_FIELDS, wi as groupTemplate, xt as GroupCommandResultSchema, yr as compositionFieldKey, yu as featuresOfBoundCaps, zs as HOUR_MS } from "../../dist-DBanWvHF.mjs";
|
|
2
|
+
import { i as capSeriesKey, m as parseConfirmedStateChanged, p as isRecord$4 } from "../../capture-engine-BcD6iCZM.mjs";
|
|
3
|
+
import { n as normalizedNativeOwner } from "../../composition-sources-C3ARJk2g.mjs";
|
|
4
4
|
import { i as DAY_MS, t as DEFAULT_RETENTION } from "../../retention-CUOVI1p7.mjs";
|
|
5
|
-
import { n as renameCompositionBlock } from "../../rename-composition-block-
|
|
5
|
+
import { n as renameCompositionBlock } from "../../rename-composition-block-Dgo-9-Ts.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/builtins/composer/actuator-invoke.ts
|
|
8
8
|
/**
|
|
@@ -6138,7 +6138,8 @@ var ComposerAddon = class extends BaseAddon {
|
|
|
6138
6138
|
capName
|
|
6139
6139
|
}) : await api.deviceState.getCapSlice.query({
|
|
6140
6140
|
deviceId,
|
|
6141
|
-
capName
|
|
6141
|
+
capName,
|
|
6142
|
+
confirmed: true
|
|
6142
6143
|
});
|
|
6143
6144
|
return slice === null || slice === void 0 ? { kind: "none" } : {
|
|
6144
6145
|
kind: "slice",
|
|
@@ -6177,7 +6178,8 @@ var ComposerAddon = class extends BaseAddon {
|
|
|
6177
6178
|
logger: logger.child("graft")
|
|
6178
6179
|
}, lookupCap, async (deviceId, capName) => await api.deviceState.getCapSlice.query({
|
|
6179
6180
|
deviceId,
|
|
6180
|
-
capName
|
|
6181
|
+
capName,
|
|
6182
|
+
confirmed: true
|
|
6181
6183
|
}) ?? null);
|
|
6182
6184
|
this.composer = new Composer({
|
|
6183
6185
|
logger: logger.child("composer"),
|
|
@@ -6215,7 +6217,8 @@ var ComposerAddon = class extends BaseAddon {
|
|
|
6215
6217
|
events: this.ctx.eventBus,
|
|
6216
6218
|
readExistingTargetCap: async (deviceId, capName) => await api.deviceState.getCapSlice.query({
|
|
6217
6219
|
deviceId,
|
|
6218
|
-
capName
|
|
6220
|
+
capName,
|
|
6221
|
+
confirmed: true
|
|
6219
6222
|
}) ?? null,
|
|
6220
6223
|
readPulseHistory: async (deviceId, cap, fieldPath, fromMs, toMs) => {
|
|
6221
6224
|
try {
|
|
@@ -6436,7 +6439,7 @@ var ComposerAddon = class extends BaseAddon {
|
|
|
6436
6439
|
}, call)
|
|
6437
6440
|
});
|
|
6438
6441
|
this.subscribe({ category: EventCategory.DeviceStateChanged }, (event) => {
|
|
6439
|
-
const data =
|
|
6442
|
+
const data = parseConfirmedStateChanged(event.data);
|
|
6440
6443
|
if (data !== null) this.composer?.onStateChanged(data).catch((err) => {
|
|
6441
6444
|
this.logEventFailure("device.state-changed", data.deviceId, err);
|
|
6442
6445
|
});
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-DEAjZE_-.js");
|
|
7
7
|
const require_formatter = require("../../formatter-xbxeV4GD.js");
|
|
8
8
|
//#region src/builtins/console-logging/console-destination.ts
|
|
9
9
|
var LEVEL_RANK = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ca as logDestinationCapability, vc as BaseAddon } from "../../dist-DBanWvHF.mjs";
|
|
2
2
|
import { t as formatLogLine } from "../../formatter-DkYZ4LXp.mjs";
|
|
3
3
|
//#region src/builtins/console-logging/console-destination.ts
|
|
4
4
|
var LEVEL_RANK = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_dist = require("../../dist-
|
|
3
|
+
const require_dist = require("../../dist-DEAjZE_-.js");
|
|
4
4
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
5
|
+
const require_capture_engine = require("../../capture-engine-LHKTf-nM.js");
|
|
6
|
+
const require_composition_sources = require("../../composition-sources-DNUDbuXy.js");
|
|
7
7
|
const require_prefix_range = require("../../prefix-range-D_KueXbQ.js");
|
|
8
8
|
const require_prefix_walk = require("../../prefix-walk-Dv6MLZlM.js");
|
|
9
9
|
const require_cap_call_scope = require("../../cap-call-scope-8eiugfLl.js");
|
|
@@ -1905,6 +1905,137 @@ var CoreBlockStore = class CoreBlockStore {
|
|
|
1905
1905
|
}
|
|
1906
1906
|
};
|
|
1907
1907
|
//#endregion
|
|
1908
|
+
//#region src/builtins/core-blocks/migrations/automation-confirmed-view.ts
|
|
1909
|
+
/**
|
|
1910
|
+
* Stored generated automations move to the CONFIRMED view (D1061).
|
|
1911
|
+
*
|
|
1912
|
+
* An automation generated before D1061 read a device's slice in the effective
|
|
1913
|
+
* view: a command the hub still holds read as already done, so a condition on
|
|
1914
|
+
* it could pass before the device acted. The generator now asks for the
|
|
1915
|
+
* device's word. This regenerates each stored automation from the recipe its
|
|
1916
|
+
* code embeds (`AUTOMATION_RECIPE`), exactly as saving it in the editor would.
|
|
1917
|
+
*
|
|
1918
|
+
* Only code that is still what the generator writes is regenerated: its body
|
|
1919
|
+
* (the recipe literal blanked, as `instanceCodeHash` reads it) must equal what
|
|
1920
|
+
* the generator wrote before D1061 for that same recipe. Code edited by hand,
|
|
1921
|
+
* or written by a generator older than the one before D1061, is left exactly
|
|
1922
|
+
* as it is and logged per automation: regenerating it would lose what it does
|
|
1923
|
+
* differently. A hand-written script (no recipe) is not an automation here.
|
|
1924
|
+
* A rerun finds every regenerated automation already current and edits nothing.
|
|
1925
|
+
*/
|
|
1926
|
+
var AUTOMATION_CONFIRMED_VIEW_ID = "core-blocks/2026-11-17-automation-confirmed-view";
|
|
1927
|
+
/** What D1061 changed in the generated code: [before, after]. */
|
|
1928
|
+
var D1061_EDITS = [["ctx.api.deviceState.getCapSlice.query({ deviceId, capName: cap })", "ctx.api.deviceState.getCapSlice.query({ deviceId, capName: cap, confirmed: true })"], [" mirror.apply(deviceId, capName, data['slice'])\n guardMirror.apply(deviceId, capName, data['slice'])", " // what the device reported: a held command is never a condition (D1061)\n const slice = data['confirmed'] ?? data['slice']\n mirror.apply(deviceId, capName, slice)\n guardMirror.apply(deviceId, capName, slice)"]];
|
|
1929
|
+
/** The code the generator wrote for the same recipe before D1061. */
|
|
1930
|
+
function beforeConfirmedView(current) {
|
|
1931
|
+
return D1061_EDITS.reduce((code, [before, after]) => code.split(after).join(before), current);
|
|
1932
|
+
}
|
|
1933
|
+
function verdictOf(block) {
|
|
1934
|
+
const read = require_dist.readRecipeLiteral(block.code);
|
|
1935
|
+
if (read.status === "none") return { kind: "skip" };
|
|
1936
|
+
if (read.status === "invalid") return {
|
|
1937
|
+
kind: "leave",
|
|
1938
|
+
reason: `its recipe does not read: ${read.detail}`
|
|
1939
|
+
};
|
|
1940
|
+
const fresh = require_dist.generateAutomationBlock({
|
|
1941
|
+
name: block.name,
|
|
1942
|
+
recipe: read.recipe
|
|
1943
|
+
});
|
|
1944
|
+
const stored = require_dist.instanceCodeHash(block.code);
|
|
1945
|
+
if (stored === require_dist.instanceCodeHash(fresh)) return { kind: "skip" };
|
|
1946
|
+
if (stored !== require_dist.instanceCodeHash(beforeConfirmedView(fresh))) return {
|
|
1947
|
+
kind: "leave",
|
|
1948
|
+
reason: "the code is not what its recipe generates (edited by hand, or written by an older version); saving it in the editor moves it"
|
|
1949
|
+
};
|
|
1950
|
+
return {
|
|
1951
|
+
kind: "regenerate",
|
|
1952
|
+
code: fresh
|
|
1953
|
+
};
|
|
1954
|
+
}
|
|
1955
|
+
/** The block with its code (and, multi-file, its entry file) replaced. */
|
|
1956
|
+
function withCode(block, code, updatedAt) {
|
|
1957
|
+
if (block.files === void 0) return {
|
|
1958
|
+
...block,
|
|
1959
|
+
code,
|
|
1960
|
+
updatedAt
|
|
1961
|
+
};
|
|
1962
|
+
const entry = require_dist.resolveCoreBlockEntry(block.entry);
|
|
1963
|
+
return {
|
|
1964
|
+
...block,
|
|
1965
|
+
code,
|
|
1966
|
+
files: {
|
|
1967
|
+
...block.files,
|
|
1968
|
+
[entry]: code
|
|
1969
|
+
},
|
|
1970
|
+
updatedAt
|
|
1971
|
+
};
|
|
1972
|
+
}
|
|
1973
|
+
function rewriteOf$3(row, ports) {
|
|
1974
|
+
const parsed = require_dist.CoreBlockSchema.safeParse(row.data.block);
|
|
1975
|
+
if (!parsed.success) return null;
|
|
1976
|
+
const block = parsed.data;
|
|
1977
|
+
const verdict = verdictOf(block);
|
|
1978
|
+
if (verdict.kind === "skip") return null;
|
|
1979
|
+
if (verdict.kind === "leave") {
|
|
1980
|
+
ports.warn("automation left as it was: not moved to the confirmed view", {
|
|
1981
|
+
blockId: row.id,
|
|
1982
|
+
name: block.name,
|
|
1983
|
+
reason: verdict.reason
|
|
1984
|
+
});
|
|
1985
|
+
return null;
|
|
1986
|
+
}
|
|
1987
|
+
const updatedAt = Math.max(block.updatedAt + 1, ports.now());
|
|
1988
|
+
const next = require_dist.CoreBlockSchema.safeParse(withCode(block, verdict.code, updatedAt));
|
|
1989
|
+
if (!next.success) {
|
|
1990
|
+
ports.warn("automation left as it was: the regenerated block does not validate", {
|
|
1991
|
+
blockId: row.id,
|
|
1992
|
+
name: block.name,
|
|
1993
|
+
reason: next.error.message
|
|
1994
|
+
});
|
|
1995
|
+
return null;
|
|
1996
|
+
}
|
|
1997
|
+
return {
|
|
1998
|
+
row,
|
|
1999
|
+
data: {
|
|
2000
|
+
...row.data,
|
|
2001
|
+
updatedAt,
|
|
2002
|
+
block: next.data
|
|
2003
|
+
}
|
|
2004
|
+
};
|
|
2005
|
+
}
|
|
2006
|
+
async function regenerateAutomationsConfirmedView(ports) {
|
|
2007
|
+
const rewrites = (await ports.listBlockRows()).flatMap((row) => {
|
|
2008
|
+
const rewrite = rewriteOf$3(row, ports);
|
|
2009
|
+
return rewrite === null ? [] : [rewrite];
|
|
2010
|
+
});
|
|
2011
|
+
if (rewrites.length === 0) return {
|
|
2012
|
+
outcome: "already-done",
|
|
2013
|
+
summary: { automations: 0 }
|
|
2014
|
+
};
|
|
2015
|
+
let regenerated = 0;
|
|
2016
|
+
for (const { row, data } of rewrites) {
|
|
2017
|
+
try {
|
|
2018
|
+
await ports.replaceBlockRow(row.id, data, row.rev);
|
|
2019
|
+
} catch (error) {
|
|
2020
|
+
ports.warn("automation left as it was: the regenerated code could not be saved", {
|
|
2021
|
+
blockId: row.id,
|
|
2022
|
+
name: data.name,
|
|
2023
|
+
reason: error instanceof Error ? error.message : String(error)
|
|
2024
|
+
});
|
|
2025
|
+
continue;
|
|
2026
|
+
}
|
|
2027
|
+
regenerated += 1;
|
|
2028
|
+
ports.info("automation regenerated: it reads the confirmed view (D1061)", {
|
|
2029
|
+
blockId: row.id,
|
|
2030
|
+
name: data.name
|
|
2031
|
+
});
|
|
2032
|
+
}
|
|
2033
|
+
return {
|
|
2034
|
+
outcome: "done",
|
|
2035
|
+
summary: { automations: regenerated }
|
|
2036
|
+
};
|
|
2037
|
+
}
|
|
2038
|
+
//#endregion
|
|
1908
2039
|
//#region src/builtins/core-blocks/migrations/fountain-drink-drop.ts
|
|
1909
2040
|
/**
|
|
1910
2041
|
* The drink counters leave the `pet-fountain` feature of a stored composition.
|
|
@@ -2352,6 +2483,9 @@ function coreBlocksMigrationPorts(blocks, logger, now) {
|
|
|
2352
2483
|
}, { ifRev });
|
|
2353
2484
|
},
|
|
2354
2485
|
now,
|
|
2486
|
+
info: (message, meta) => {
|
|
2487
|
+
logger.info(message, { meta });
|
|
2488
|
+
},
|
|
2355
2489
|
warn: (message, meta) => {
|
|
2356
2490
|
logger.warn(message, { meta });
|
|
2357
2491
|
}
|
|
@@ -2835,6 +2969,22 @@ var ADDON_MIGRATIONS = [
|
|
|
2835
2969
|
fixtureMark: "the binding action of each lettered key and the label of each layout button"
|
|
2836
2970
|
},
|
|
2837
2971
|
procedure: renameRemoteColourRoles
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
meta: {
|
|
2975
|
+
id: AUTOMATION_CONFIRMED_VIEW_ID,
|
|
2976
|
+
owner: "core-blocks",
|
|
2977
|
+
level: "addon-state",
|
|
2978
|
+
seq: 6,
|
|
2979
|
+
dependsOn: [],
|
|
2980
|
+
store: "settings",
|
|
2981
|
+
scope: "cluster",
|
|
2982
|
+
onFailure: "tolerate",
|
|
2983
|
+
bodyKind: "procedure",
|
|
2984
|
+
description: "Regenerate each stored generated automation from its embedded recipe so it reads what the device reported, never a command the hub still holds; code edited by hand is left as it is and logged",
|
|
2985
|
+
fixtureMark: "the block createdBy and name, which the migration does not know"
|
|
2986
|
+
},
|
|
2987
|
+
procedure: regenerateAutomationsConfirmedView
|
|
2838
2988
|
}
|
|
2839
2989
|
];
|
|
2840
2990
|
//#endregion
|
|
@@ -2906,7 +3056,8 @@ function conditionDoorOver(api) {
|
|
|
2906
3056
|
return require_dist.evaluateStepCondition(when, {
|
|
2907
3057
|
fetchSlice: (deviceId, cap) => current.deviceState.getCapSlice.query({
|
|
2908
3058
|
deviceId,
|
|
2909
|
-
capName: cap
|
|
3059
|
+
capName: cap,
|
|
3060
|
+
confirmed: true
|
|
2910
3061
|
}),
|
|
2911
3062
|
fetchStableIds: async () => require_dist.stableIdMapOf(await current.deviceManager.listAll.query({}))
|
|
2912
3063
|
}, () => Date.now(), void 0, site);
|
|
@@ -6182,7 +6333,8 @@ function hostOver(api) {
|
|
|
6182
6333
|
readSite: async () => need().system.getSiteLocation.query(),
|
|
6183
6334
|
fetchSlice: (deviceId, cap) => need().deviceState.getCapSlice.query({
|
|
6184
6335
|
deviceId,
|
|
6185
|
-
capName: cap
|
|
6336
|
+
capName: cap,
|
|
6337
|
+
confirmed: true
|
|
6186
6338
|
}),
|
|
6187
6339
|
fetchStableIds: async () => {
|
|
6188
6340
|
return require_dist.stableIdMapOf(await need().deviceManager.listAll.query({ projection: "slim" }));
|
|
@@ -6221,7 +6373,7 @@ function buildSchedulersRuntime(deps) {
|
|
|
6221
6373
|
logger: deps.logger.child("schedulers")
|
|
6222
6374
|
});
|
|
6223
6375
|
const unsubscribers = [...require_dist.ACTION_TARGET_INVALIDATION_EVENTS.map((category) => deps.eventBus.subscribe({ category }, () => engine.invalidateTargets())), deps.eventBus.subscribe({ category: require_dist.EventCategory.DeviceStateChanged }, (event) => {
|
|
6224
|
-
const data =
|
|
6376
|
+
const data = require_capture_engine.parseConfirmedStateChanged(event.data);
|
|
6225
6377
|
if (data !== null) engine.onDeviceState(data.deviceId, data.capName, data.slice);
|
|
6226
6378
|
})];
|
|
6227
6379
|
return {
|
|
@@ -7923,7 +8075,8 @@ function remoteSliceWriterOver(settings, api) {
|
|
|
7923
8075
|
if (current === void 0) throw new Error("no ctx.api on this node");
|
|
7924
8076
|
const kept = require_dist.MediaPlayerStatusSchema.safeParse(await current.deviceState.getCapSlice.query({
|
|
7925
8077
|
deviceId,
|
|
7926
|
-
capName: MEDIA_PLAYER_CAP
|
|
8078
|
+
capName: MEDIA_PLAYER_CAP,
|
|
8079
|
+
confirmed: true
|
|
7927
8080
|
}));
|
|
7928
8081
|
if (kept.success && sameStatus(kept.data, status)) return;
|
|
7929
8082
|
await current.deviceState.setCapSlice.mutate({
|
|
@@ -9955,7 +10108,7 @@ var CoreBlocksAddon = class extends require_dist.BaseAddon {
|
|
|
9955
10108
|
});
|
|
9956
10109
|
this.timedRun = timedRun;
|
|
9957
10110
|
this.subscribe({ category: require_dist.EventCategory.DeviceStateChanged }, (event) => {
|
|
9958
|
-
const data =
|
|
10111
|
+
const data = require_capture_engine.parseConfirmedStateChanged(event.data);
|
|
9959
10112
|
if (data !== null) timedRun.onDeviceState(data);
|
|
9960
10113
|
});
|
|
9961
10114
|
armTimedRuns(timedRun, this.ctx.logger.child("timed-run"), { isDisposed: () => this.disposed });
|
|
@@ -10060,7 +10213,8 @@ var CoreBlocksAddon = class extends require_dist.BaseAddon {
|
|
|
10060
10213
|
caps: async (deviceId) => (await requireApi().deviceManager.getBindings.query({ deviceId })).entries.map((e) => e.capName),
|
|
10061
10214
|
slice: (deviceId, capName) => requireApi().deviceState.getCapSlice.query({
|
|
10062
10215
|
deviceId,
|
|
10063
|
-
capName
|
|
10216
|
+
capName,
|
|
10217
|
+
confirmed: true
|
|
10064
10218
|
}),
|
|
10065
10219
|
remoteCommands: async (deviceId) => (await requireApi().remote.listCommands.query({ deviceId })).commands.length,
|
|
10066
10220
|
switchOptions: (deviceId) => switchOptionsOf(requireApi(), deviceId),
|
|
@@ -10143,7 +10297,7 @@ var CoreBlocksAddon = class extends require_dist.BaseAddon {
|
|
|
10143
10297
|
logger: this.ctx.logger.child("lock-door")
|
|
10144
10298
|
});
|
|
10145
10299
|
this.subscribe({ category: require_dist.EventCategory.DeviceStateChanged }, (event) => {
|
|
10146
|
-
const data =
|
|
10300
|
+
const data = require_capture_engine.parseConfirmedStateChanged(event.data);
|
|
10147
10301
|
if (data !== null) gate.onStateChanged(data);
|
|
10148
10302
|
});
|
|
10149
10303
|
this.seedLockDoorGate = () => this.seedGate(gate);
|
|
@@ -10172,7 +10326,8 @@ var CoreBlocksAddon = class extends require_dist.BaseAddon {
|
|
|
10172
10326
|
readControl: async (deviceId) => {
|
|
10173
10327
|
const slice = await requireApi().deviceState.getCapSlice.query({
|
|
10174
10328
|
deviceId,
|
|
10175
|
-
capName: "control"
|
|
10329
|
+
capName: "control",
|
|
10330
|
+
confirmed: true
|
|
10176
10331
|
});
|
|
10177
10332
|
if (slice === null) return null;
|
|
10178
10333
|
const kind = slice["kind"];
|
|
@@ -10213,11 +10368,11 @@ var CoreBlocksAddon = class extends require_dist.BaseAddon {
|
|
|
10213
10368
|
if (remote === void 0) return;
|
|
10214
10369
|
seedRemoteSlices(remote, this.ctx.logger.child("remote"));
|
|
10215
10370
|
this.subscribe({ category: require_dist.EventCategory.DeviceRegistered }, (event) => {
|
|
10216
|
-
const deviceId =
|
|
10371
|
+
const deviceId = require_capture_engine.isRecord(event.data) ? event.data["deviceId"] : void 0;
|
|
10217
10372
|
if (typeof deviceId === "number") remote.refreshSlice(deviceId);
|
|
10218
10373
|
});
|
|
10219
10374
|
this.subscribe({ category: require_dist.EventCategory.DeviceStateChanged }, (event) => {
|
|
10220
|
-
const data =
|
|
10375
|
+
const data = require_capture_engine.parseConfirmedStateChanged(event.data);
|
|
10221
10376
|
if (data !== null && REMOTE_SLICE_INPUT_CAPS.has(data.capName)) remote.onInputChanged(data.deviceId);
|
|
10222
10377
|
});
|
|
10223
10378
|
}
|
|
@@ -10653,7 +10808,8 @@ var CoreBlocksAddon = class extends require_dist.BaseAddon {
|
|
|
10653
10808
|
readField: async (deviceId, cap, fieldPath) => {
|
|
10654
10809
|
const slice = await requireApi().deviceState.getCapSlice.query({
|
|
10655
10810
|
deviceId,
|
|
10656
|
-
capName: cap
|
|
10811
|
+
capName: cap,
|
|
10812
|
+
confirmed: true
|
|
10657
10813
|
});
|
|
10658
10814
|
return slice === null ? void 0 : slice[fieldPath];
|
|
10659
10815
|
}
|