@camstack/addon-admin-ui 1.2.634 → 1.2.636
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 +18 -0
- package/dist/assets/Addons-BPHEBwgB.js +5 -0
- package/dist/assets/{AdminPage-CPPoleZA.js → AdminPage-D13CJb8Q.js} +1 -1
- package/dist/assets/{AdminSectionedPage-C_DLslGH.js → AdminSectionedPage-BMFLLxeJ.js} +1 -1
- package/dist/assets/AiProfiles-BS82tvr_.js +3 -0
- package/dist/assets/Authentication-Fcsaeo6T.js +1 -0
- package/dist/assets/{Build-DMEXJqf9.js → Build-L6hr034C.js} +3 -3
- package/dist/assets/Calendars-Sq4Gc6IV.js +1 -0
- package/dist/assets/{CameraGrids-CIJubNTN.js → CameraGrids-SZQaxv-J.js} +1 -1
- package/dist/assets/Cluster-AYu0bC0y.js +1 -0
- package/dist/assets/CompositionBlockEditor-DLKzOT_Z.js +2 -0
- package/dist/assets/CompositionEditorPage-D9X-zVQH.js +1 -0
- package/dist/assets/Data-m24XW_1A.js +2 -0
- package/dist/assets/DeviceDetail-CtBuTHpi.js +2 -0
- package/dist/assets/{Devices-Ddhmovvw.js → Devices-DruLtWCC.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-B9wkgcPc.js → EmbedPlayerPage-BDyIh4lQ.js} +1 -1
- package/dist/assets/History-B7zXtCqx.js +1 -0
- package/dist/assets/Identity-D7h9VlxP.js +1 -0
- package/dist/assets/InstancesTable-DJAoGLT7.js +1 -0
- package/dist/assets/IntegrationDetail-_DjBAUfS.js +1 -0
- package/dist/assets/Integrations-D_D9IsZx.js +2 -0
- package/dist/assets/Integrations-RdXuFBLO.js +1 -0
- package/dist/assets/{Library-COZVDG1J.js → Library-Bo5VMPHU.js} +1 -1
- package/dist/assets/Locations-Bzbx2I8T.js +3 -0
- package/dist/assets/{Logs-_Lymv-hK.js → Logs-DPHzCD-k.js} +1 -1
- package/dist/assets/{MaskShapeCanvas-Dkn9mTx5.js → MaskShapeCanvas-ByGbdZex.js} +1 -1
- package/dist/assets/{MotionZonesSettings-DbJd1q0y.js → MotionZonesSettings-CiobfarF.js} +1 -1
- package/dist/assets/MyAccess-a5m99pH9.js +2 -0
- package/dist/assets/Network-6_mGQvda.js +1 -0
- package/dist/assets/NodeAddonsSettingsPanel-8E1KZ_Zn.js +1 -0
- package/dist/assets/Notifications-CANpi0fl.js +1 -0
- package/dist/assets/{Pipeline-CBIucM6P.js → Pipeline-DXy1uxGI.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-B7mOaiDG.js → PrivacyMaskSettings-CG3fC1u9.js} +1 -1
- package/dist/assets/Recordings-U1FdSuDg.js +1 -0
- package/dist/assets/{ScanSubnetEditor-g4rMYaaa.js → ScanSubnetEditor-Daxor7Ws.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-B99BtkWG.js → SceneMonitorEditor-DoUH3vKa.js} +1 -1
- package/dist/assets/SessionsList-CLG4ubwk.js +2 -0
- package/dist/assets/{Showroom-BlMJHK6P.js → Showroom-BHPAz8BT.js} +1 -1
- package/dist/assets/{StorageLocationsTable-BCc20Y-P.js → StorageLocationsTable-R3JA97a5.js} +1 -1
- package/dist/assets/{System-_om1Qy_Z.js → System-BP4Cs93o.js} +1 -1
- package/dist/assets/{Templates-ClUtf6zo.js → Templates-XTi8n4d2.js} +1 -1
- package/dist/assets/{Terminal-CK-OPJi8.js → Terminal-BCojSdwl.js} +3 -3
- package/dist/assets/{TrainingProviders-CMfEG1p0.js → TrainingProviders-DNZfikzc.js} +1 -1
- package/dist/assets/{Viewer-D8ErfEDa.js → Viewer-B5-4q7UR.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-D5EjGbog.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CsPCUaXy.js} +1 -1
- package/dist/assets/{action-draft-BF1Yv5wJ.js → action-draft-BOfrcBkB.js} +1 -1
- package/dist/assets/{ai-page.helpers-7-YKMWA7.js → ai-page.helpers-C_Yr1xBa.js} +1 -1
- package/dist/assets/{archive-WByIhorf.js → archive-CbCQODIH.js} +1 -1
- package/dist/assets/{assignment-candidates-CerZJluZ.js → assignment-candidates-BVHvGld8.js} +1 -1
- package/dist/assets/{authed-media-vTZUQ8BO.js → authed-media-D1AyMZAW.js} +1 -1
- package/dist/assets/{bell-off-HUbueWAa.js → bell-off-0BRa5Xnw.js} +1 -1
- package/dist/assets/{board-model-BeY6U40R.js → board-model-Dhq6ifuR.js} +1 -1
- package/dist/assets/{boxes-Sn1wqpgK.js → boxes-DwaGiTWo.js} +1 -1
- package/dist/assets/{calendar-clock-TWIEL7Fd.js → calendar-clock-DxXmjbX-.js} +1 -1
- package/dist/assets/{circle-arrow-up-BZb1tft0.js → circle-arrow-up-QFgY2pDM.js} +1 -1
- package/dist/assets/circle-slash-D1PU0Pws.js +1 -0
- package/dist/assets/client-C0lbTORN.js +839 -0
- package/dist/assets/create-composition-rjKVG7Ea.js +2 -0
- package/dist/assets/crop-BE9be46d.js +1 -0
- package/dist/assets/{database-zap-DDQJWo1I.js → database-zap-DM49YcQ2.js} +1 -1
- package/dist/assets/{device-integration-icon-BEojiV6j.js → device-integration-icon-DpDOvLri.js} +1 -1
- package/dist/assets/device-picker-model-CUDIDEin.js +1 -0
- package/dist/assets/dist-CqSJqAHI.js +839 -0
- package/dist/assets/{dist-BAkSt7-o.js → dist-HZnBedB7.js} +1 -1
- package/dist/assets/{eraser-BXfY9g0S.js → eraser-C49V6Xgz.js} +1 -1
- package/dist/assets/{file-up-CGHZOKg0.js → file-up-DJCy37j8.js} +1 -1
- package/dist/assets/{format-C6WZEo_1.js → format-ClefNnBA.js} +1 -1
- package/dist/assets/{framework-packages-DoBKjjer.js → framework-packages-B0ugw-Ay.js} +1 -1
- package/dist/assets/{hard-drive-download-B12jnOmz.js → hard-drive-download-CvIZPfEe.js} +1 -1
- package/dist/assets/{hostInit-DvgZnKz2.js → hostInit-CfH1B74s.js} +1 -1
- package/dist/assets/i18n-xBJb_nV7.js +1 -0
- package/dist/assets/icons-BAw5ExT5.js +1 -0
- package/dist/assets/index-BZIzoUuI.css +2 -0
- package/dist/assets/index-DosV7QmO.js +4 -0
- package/dist/assets/{key-C7vcpiqV.js → key-QeyFcY2r.js} +1 -1
- package/dist/assets/{languages-NIG6fIsC.js → languages-flftEeCc.js} +1 -1
- package/dist/assets/{layers-igKznkhu.js → layers-I2gIsH5w.js} +1 -1
- package/dist/assets/{link-2-off-ViXG09ia.js → link-2-off-CDW3nS2X.js} +1 -1
- package/dist/assets/{linked-devices-model-Coihabk7.js → linked-devices-model-BTKuEEFr.js} +1 -1
- package/dist/assets/{memory-stick-Cb3rfsma.js → memory-stick-3dE96Zxv.js} +1 -1
- package/dist/assets/{message-square-plus-MY_vmmYC.js → message-square-plus-DGwEztIa.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-bf765b1e.js → mf-entry-bootstrap-0-eac89cb1.js} +2 -2
- package/dist/assets/{mic-off-DQbHj0Dp.js → mic-off-BmdlN5My.js} +1 -1
- package/dist/assets/{monitor-off-KvLmRgXm.js → monitor-off-wdJY3-q4.js} +1 -1
- package/dist/assets/{monitor-smartphone-wbkRUoUy.js → monitor-smartphone-Bl6voNmx.js} +1 -1
- package/dist/assets/mount-CUDIDEin.js +1 -0
- package/dist/assets/{notification-rule-status-DSPA2LGi.js → notification-rule-status-CSdUF_tS.js} +1 -1
- package/dist/assets/{player-overlays-D2iM_dnq.js → player-overlays-K3LnyuXU.js} +1 -1
- package/dist/assets/remoteEntry-R0h-c7zx.js +1 -0
- package/dist/assets/{ruler-Cnh0qH1K.js → ruler-2SK6v4x2.js} +1 -1
- package/dist/assets/{scan-eye-B57MjUsN.js → scan-eye-C8_EFUcN.js} +1 -1
- package/dist/assets/{scissors-jk6_pSRI.js → scissors-C6KYQIFW.js} +1 -1
- package/dist/assets/{search-x-KiZ1cgFX.js → search-x-D-Hg9O-Y.js} +1 -1
- package/dist/assets/{send-DAC8bZ9x.js → send-CAIDeIAh.js} +1 -1
- package/dist/assets/{settings-2-B5Wblm0D.js → settings-2-CjaITzm2.js} +1 -1
- package/dist/assets/{shapes-C877FMvu.js → shapes-DtaNsx8G.js} +1 -1
- package/dist/assets/{sigma-48mqbKtS.js → sigma-PjHLdD5t.js} +1 -1
- package/dist/assets/src-BnhYqWbx.js +169 -0
- package/dist/assets/{sso-popup-zJECU9yL.js → sso-popup-C1hR2YBu.js} +1 -1
- package/dist/assets/{step-inspector-model-flcREGWU.js → step-inspector-model-vWbbAD3j.js} +1 -1
- package/dist/assets/{table-2-Dcc8x9NW.js → table-2-C9VskvlI.js} +1 -1
- package/dist/assets/{timer-reset-DPB7Vi_P.js → timer-reset-5MpoA_ms.js} +1 -1
- package/dist/assets/{ungroup-CaRYV5oo.js → ungroup-BA2l_gxU.js} +1 -1
- package/dist/assets/{unlink-B1jawH2n.js → unlink-iGZ9azi9.js} +1 -1
- package/dist/assets/{usb-B566yDR8.js → usb-B7ktYeJc.js} +1 -1
- package/dist/assets/{use-scenes-feed-Cv3Lv9tp.js → use-scenes-feed-Z9dHPg2s.js} +1 -1
- package/dist/assets/{use-stationary-objects-DPdFLI4G.js → use-stationary-objects-xEWFdcbm.js} +1 -1
- package/dist/assets/{useAdminDeviceRemoval-CK79vXvY.js → useAdminDeviceRemoval-BskV-B_E.js} +1 -1
- package/dist/assets/useEventInvalidation-CUDIDEin.js +1 -0
- package/dist/assets/useNodeUrlSelection-PpcSePkt.js +1 -0
- package/dist/assets/useTemplateSave-DlVM9rMd.js +1 -0
- package/dist/assets/user-round-Bo7YdtBg.js +1 -0
- package/dist/assets/{user-x-Dalx5dz-.js → user-x-D3xK9W1_.js} +1 -1
- package/dist/assets/{variable-CxFXQLx9.js → variable-CWUlGlqi.js} +1 -1
- package/dist/assets/{video-DFWp1_fo.js → video-DBmZRVRb.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-Dbfg8wPM.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-BDhTmtK9.js} +2 -2
- package/dist/index.html +10 -10
- package/dist/server/addon.js +329 -19
- package/package.json +2 -2
- package/dist/assets/Addons-Cng9jF6c.js +0 -5
- package/dist/assets/AiProfiles-B6Xt0CM1.js +0 -3
- package/dist/assets/Authentication-CkLg9Az9.js +0 -1
- package/dist/assets/Calendars-BHc1dbvk.js +0 -1
- package/dist/assets/Cluster-CSTB-np5.js +0 -1
- package/dist/assets/CompositionBlockEditor-B4WN_aXq.js +0 -2
- package/dist/assets/CompositionEditorPage-jP0e8vX8.js +0 -1
- package/dist/assets/Data-DJFzG2dC.js +0 -2
- package/dist/assets/DeviceDetail-3P3i5bd9.js +0 -2
- package/dist/assets/History-Cv6TryZt.js +0 -1
- package/dist/assets/Identity-Dmwp8J7o.js +0 -1
- package/dist/assets/InstanceSwitchCell-xSu6VGOy.js +0 -1
- package/dist/assets/InstancesTable-dSeWjA48.js +0 -1
- package/dist/assets/IntegrationDetail-oEpvT757.js +0 -1
- package/dist/assets/IntegrationHub-CIVmSeKd.js +0 -1
- package/dist/assets/Integrations-C5BzsIy2.js +0 -2
- package/dist/assets/Integrations-zlHqQ0X9.js +0 -1
- package/dist/assets/Locations-CpG6tIMC.js +0 -3
- package/dist/assets/MyAccess-3IH5sTuq.js +0 -2
- package/dist/assets/Network-DNJ2W_md.js +0 -1
- package/dist/assets/NodeAddonsSettingsPanel-BleYmajR.js +0 -1
- package/dist/assets/Notifications-C5S8_cBI.js +0 -1
- package/dist/assets/Recordings-Dzfu0JHh.js +0 -1
- package/dist/assets/SessionsList-DB9t5c5h.js +0 -2
- package/dist/assets/circle-slash-Yb1HMMEU.js +0 -1
- package/dist/assets/client-BT1qTuWk.js +0 -839
- package/dist/assets/create-composition-BCz5rteK.js +0 -2
- package/dist/assets/crop-Rp-pMXj8.js +0 -1
- package/dist/assets/device-picker-model-DxRFIJt2.js +0 -1
- package/dist/assets/dist-MZVzWw2Y.js +0 -839
- package/dist/assets/i18n-DO003gOw.js +0 -1
- package/dist/assets/icons-CSB91nWL.js +0 -1
- package/dist/assets/index-BtIAcMod.js +0 -4
- package/dist/assets/index-W6guS92q.css +0 -2
- package/dist/assets/key-square-wAKOa45w.js +0 -1
- package/dist/assets/mount-DxRFIJt2.js +0 -1
- package/dist/assets/remoteEntry-CjzR4ng6.js +0 -1
- package/dist/assets/src-Djs5D3BM.js +0 -169
- package/dist/assets/useEventInvalidation-DxRFIJt2.js +0 -1
- package/dist/assets/useNodeUrlSelection-B4V72DKj.js +0 -1
- package/dist/assets/useTemplateSave-sDhvqUj4.js +0 -1
- package/dist/assets/user-round-gyXn4SEe.js +0 -1
package/dist/server/addon.js
CHANGED
|
@@ -5894,7 +5894,7 @@ var ZodIssueCode = {
|
|
|
5894
5894
|
var ZodFirstPartyTypeKind;
|
|
5895
5895
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5896
5896
|
//#endregion
|
|
5897
|
-
//#region ../types/dist/sleep-
|
|
5897
|
+
//#region ../types/dist/sleep-Cw1uUXvl.mjs
|
|
5898
5898
|
/**
|
|
5899
5899
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5900
5900
|
* window to float samples (D455).
|
|
@@ -14125,6 +14125,7 @@ var SYSTEM_CAP_VOCABULARY = {
|
|
|
14125
14125
|
backup: system("system backups — run and restored from the Backups page"),
|
|
14126
14126
|
broker: system("message-broker connections — configured, not actuated"),
|
|
14127
14127
|
"calendar-source": system(INTERNAL),
|
|
14128
|
+
"cluster-update": system(CLUSTER),
|
|
14128
14129
|
calendars: system("calendars feed schedules and conditions, not device actions"),
|
|
14129
14130
|
composer: system("device composition — an authoring tool, not an action"),
|
|
14130
14131
|
"core-blocks": system(INTERNAL),
|
|
@@ -14410,6 +14411,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
14410
14411
|
"camera-streams",
|
|
14411
14412
|
"carbon-monoxide",
|
|
14412
14413
|
"climate-control",
|
|
14414
|
+
"cluster-update",
|
|
14413
14415
|
"color",
|
|
14414
14416
|
"composer",
|
|
14415
14417
|
"connectivity",
|
|
@@ -47675,6 +47677,140 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
|
|
|
47675
47677
|
auth: "protected"
|
|
47676
47678
|
});
|
|
47677
47679
|
/**
|
|
47680
|
+
* cluster-update — the ONE flow that brings the whole cluster to a release
|
|
47681
|
+
* (planning#493). Hub-provided (`server-provided`), hub-only: the hub runs
|
|
47682
|
+
* the sequence itself, so the admin UI, the MCP and the CLI all start the same
|
|
47683
|
+
* job and read the same report instead of each driving their own loop.
|
|
47684
|
+
*
|
|
47685
|
+
* 1. backup (`backup.trigger`) — skipped only when the caller says so
|
|
47686
|
+
* 2. the hub's server closure (`applyServerUpdate`); the hub restarts and the
|
|
47687
|
+
* job RESUMES on the new boot, verified against the hub's running version
|
|
47688
|
+
* 3. every online agent behind the target, one at a time, verified: runs the
|
|
47689
|
+
* target, settled, online, and its capabilities registered (D848) — an
|
|
47690
|
+
* agent that comes back capless is a FAILED step, never a done one
|
|
47691
|
+
* 4. every stale addon on the hub (`addons.updatePackage`); agents follow by
|
|
47692
|
+
* reconciliation, which is verified, never pushed
|
|
47693
|
+
*
|
|
47694
|
+
* The job stops on the first failed step with a typed reason (D877). Its state
|
|
47695
|
+
* is durable on the hub and read by RPC (`getClusterUpdateJob`) — events are
|
|
47696
|
+
* telemetry and never carry it (D8, D11).
|
|
47697
|
+
*/
|
|
47698
|
+
/** The steps, in the order they run. */
|
|
47699
|
+
var ClusterUpdateStepKindSchema = _enum([
|
|
47700
|
+
"backup",
|
|
47701
|
+
"hub-server",
|
|
47702
|
+
"agent-server",
|
|
47703
|
+
"addons"
|
|
47704
|
+
]);
|
|
47705
|
+
/**
|
|
47706
|
+
* - `pending` — not reached yet.
|
|
47707
|
+
* - `running` — in progress (for `hub-server`: possibly across the restart).
|
|
47708
|
+
* - `ok` — done AND verified.
|
|
47709
|
+
* - `failed` — did not land; `reason` + `detail` say why. Stops the job.
|
|
47710
|
+
* - `skipped` — not run: nothing to do, opted out, the node is offline, or a
|
|
47711
|
+
* step before it failed. `detail` says which.
|
|
47712
|
+
*/
|
|
47713
|
+
var ClusterUpdateStepStatusSchema = _enum([
|
|
47714
|
+
"pending",
|
|
47715
|
+
"running",
|
|
47716
|
+
"ok",
|
|
47717
|
+
"failed",
|
|
47718
|
+
"skipped"
|
|
47719
|
+
]);
|
|
47720
|
+
/**
|
|
47721
|
+
* Why a step (and with it the job) failed. Stable, greppable; `detail` carries
|
|
47722
|
+
* the prose.
|
|
47723
|
+
*/
|
|
47724
|
+
var ClusterUpdateFailureReasonSchema = _enum([
|
|
47725
|
+
"backup-unavailable",
|
|
47726
|
+
"backup-failed",
|
|
47727
|
+
"server-refused",
|
|
47728
|
+
"server-not-on-target",
|
|
47729
|
+
"node-capless",
|
|
47730
|
+
"status-unreadable",
|
|
47731
|
+
"addon-update-failed",
|
|
47732
|
+
"addons-not-converged",
|
|
47733
|
+
"interrupted"
|
|
47734
|
+
]);
|
|
47735
|
+
var ClusterUpdateStepSchema = object({
|
|
47736
|
+
kind: ClusterUpdateStepKindSchema,
|
|
47737
|
+
/** The node the step acts on; absent for `backup` and `addons`. */
|
|
47738
|
+
nodeId: string().optional(),
|
|
47739
|
+
status: ClusterUpdateStepStatusSchema,
|
|
47740
|
+
/** One line for the operator: what happened, or why not. */
|
|
47741
|
+
detail: string(),
|
|
47742
|
+
reason: ClusterUpdateFailureReasonSchema.optional(),
|
|
47743
|
+
/** `hub-server` / `agent-server`: the version the node ran before. */
|
|
47744
|
+
fromVersion: string().nullable().optional(),
|
|
47745
|
+
/** `addons`: the packages this step updates, `name from -> to`. */
|
|
47746
|
+
packages: array(string()).readonly().optional(),
|
|
47747
|
+
startedAt: number$1().optional(),
|
|
47748
|
+
finishedAt: number$1().optional()
|
|
47749
|
+
});
|
|
47750
|
+
var ClusterUpdateJobStateSchema = _enum([
|
|
47751
|
+
"running",
|
|
47752
|
+
"succeeded",
|
|
47753
|
+
"failed"
|
|
47754
|
+
]);
|
|
47755
|
+
var ClusterUpdateJobSchema = object({
|
|
47756
|
+
id: string(),
|
|
47757
|
+
state: ClusterUpdateJobStateSchema,
|
|
47758
|
+
/** The server version every node is brought to. */
|
|
47759
|
+
targetVersion: string(),
|
|
47760
|
+
/** Who started it (the user name, or `system`). */
|
|
47761
|
+
requestedBy: string(),
|
|
47762
|
+
startedAt: number$1(),
|
|
47763
|
+
finishedAt: number$1().optional(),
|
|
47764
|
+
/** Every step, in run order; later steps stay `pending` while it runs. */
|
|
47765
|
+
steps: array(ClusterUpdateStepSchema).readonly(),
|
|
47766
|
+
/** On `failed`: the step that stopped it (`nodeId` or the step kind). */
|
|
47767
|
+
stoppedAt: string().optional(),
|
|
47768
|
+
reason: ClusterUpdateFailureReasonSchema.optional(),
|
|
47769
|
+
/** Agents offline when the plan was read: never touched. */
|
|
47770
|
+
skippedOffline: array(string()).readonly()
|
|
47771
|
+
});
|
|
47772
|
+
var ClusterUpdateOptionsSchema = object({
|
|
47773
|
+
/** Explicit server target; omitted = the hub's latest registry check. */
|
|
47774
|
+
version: string().optional(),
|
|
47775
|
+
/** Update the addons too (default true). */
|
|
47776
|
+
addons: boolean().optional(),
|
|
47777
|
+
/**
|
|
47778
|
+
* Back up before touching anything (default true). `false` is an explicit
|
|
47779
|
+
* operator opt-out; a missing backup provider is otherwise a failure.
|
|
47780
|
+
*/
|
|
47781
|
+
backup: boolean().optional()
|
|
47782
|
+
});
|
|
47783
|
+
/** Why a plan cannot start. */
|
|
47784
|
+
var ClusterUpdateBlockerSchema = _enum([
|
|
47785
|
+
"no-target",
|
|
47786
|
+
"node-busy",
|
|
47787
|
+
"job-running",
|
|
47788
|
+
"nothing-to-do",
|
|
47789
|
+
"status-unreadable"
|
|
47790
|
+
]);
|
|
47791
|
+
var ClusterUpdatePlanSchema = object({
|
|
47792
|
+
/** `null` when no target could be resolved (`blocker: 'no-target'`). */
|
|
47793
|
+
targetVersion: string().nullable(),
|
|
47794
|
+
/** The steps the job WOULD run, all `pending` (or `skipped` with a reason). */
|
|
47795
|
+
steps: array(ClusterUpdateStepSchema).readonly(),
|
|
47796
|
+
skippedOffline: array(string()).readonly(),
|
|
47797
|
+
/** `null` = the plan can start. */
|
|
47798
|
+
blocker: ClusterUpdateBlockerSchema.nullable(),
|
|
47799
|
+
/** Prose for `blocker`. */
|
|
47800
|
+
blockerDetail: string().nullable()
|
|
47801
|
+
});
|
|
47802
|
+
var StartClusterUpdateResultSchema = object({
|
|
47803
|
+
accepted: boolean(),
|
|
47804
|
+
/** The job to follow with `getClusterUpdateJob`; `null` when refused. */
|
|
47805
|
+
jobId: string().nullable(),
|
|
47806
|
+
blocker: ClusterUpdateBlockerSchema.nullable(),
|
|
47807
|
+
message: string()
|
|
47808
|
+
});
|
|
47809
|
+
method(ClusterUpdateOptionsSchema, ClusterUpdatePlanSchema, { auth: "admin" }), method(ClusterUpdateOptionsSchema, StartClusterUpdateResultSchema, {
|
|
47810
|
+
kind: "mutation",
|
|
47811
|
+
auth: "admin"
|
|
47812
|
+
}), method(object({ jobId: string().optional() }), ClusterUpdateJobSchema.nullable(), { auth: "admin" });
|
|
47813
|
+
/**
|
|
47678
47814
|
* Color-light cap. Coexists with `switch` (on/off) and `brightness`
|
|
47679
47815
|
* (level) on the same device — `switch` toggles the bulb, `brightness`
|
|
47680
47816
|
* sets the dim level, this cap sets the chromaticity.
|
|
@@ -50587,6 +50723,90 @@ var SiteZoneSchema = object({
|
|
|
50587
50723
|
* the ones that most want grouping. */
|
|
50588
50724
|
locationKeys: array(string())
|
|
50589
50725
|
});
|
|
50726
|
+
var DeviceSearchRequiresSchema = object({
|
|
50727
|
+
/** Capability names the field wants a value of. */
|
|
50728
|
+
caps: array(string()).readonly(),
|
|
50729
|
+
/** `any` (default): a device with one of them is compatible. `all`: it must hold every one. */
|
|
50730
|
+
mode: _enum(["any", "all"]).optional()
|
|
50731
|
+
});
|
|
50732
|
+
var DeviceSearchFiltersSchema = object({
|
|
50733
|
+
locations: array(string()).readonly().optional(),
|
|
50734
|
+
integrationIds: array(string()).readonly().optional(),
|
|
50735
|
+
types: array(string()).readonly().optional()
|
|
50736
|
+
});
|
|
50737
|
+
var DeviceSearchInputSchema = object({
|
|
50738
|
+
/** Matches name, location, type, integration (id and label) and id. Case-insensitive. */
|
|
50739
|
+
text: string().optional(),
|
|
50740
|
+
requires: DeviceSearchRequiresSchema.optional(),
|
|
50741
|
+
filters: DeviceSearchFiltersSchema.optional(),
|
|
50742
|
+
/** List the devices that do not provide the required cap too (greyed, not pickable). */
|
|
50743
|
+
includeIncompatible: boolean().optional(),
|
|
50744
|
+
/** The device the field belongs to: its location drives `suggested`. */
|
|
50745
|
+
contextDeviceId: number$1().optional(),
|
|
50746
|
+
/**
|
|
50747
|
+
* Resolve exactly these devices, regardless of every filter, so a picked
|
|
50748
|
+
* value can be rendered. When given, `items` is these devices in the order
|
|
50749
|
+
* asked (no paging, `nextCursor` null) and the ones that do not exist are
|
|
50750
|
+
* listed in `missingIds`.
|
|
50751
|
+
*/
|
|
50752
|
+
ids: array(number$1()).readonly().optional(),
|
|
50753
|
+
cursor: string().nullable().optional(),
|
|
50754
|
+
limit: number$1().int().min(1).max(200).optional()
|
|
50755
|
+
});
|
|
50756
|
+
var DeviceValueOptionSchema = object({
|
|
50757
|
+
cap: string(),
|
|
50758
|
+
/** Status-schema field path inside the cap (same paths as `getWireableFields`). */
|
|
50759
|
+
path: string(),
|
|
50760
|
+
label: string(),
|
|
50761
|
+
/** The current value as text; `null` when it is unknown or the read FAILED — never `0`. */
|
|
50762
|
+
reading: string().nullable(),
|
|
50763
|
+
unit: string().nullable().optional(),
|
|
50764
|
+
/** The field's measured quantity, when the cap declares one, so a client can format the reading. */
|
|
50765
|
+
quantity: ReadingQuantitySchema.optional()
|
|
50766
|
+
});
|
|
50767
|
+
var DeviceSearchItemSchema = object({
|
|
50768
|
+
id: number$1(),
|
|
50769
|
+
name: string(),
|
|
50770
|
+
type: _enum(DeviceType),
|
|
50771
|
+
location: string().nullable(),
|
|
50772
|
+
integrationId: string().nullable(),
|
|
50773
|
+
integrationLabel: string().nullable(),
|
|
50774
|
+
online: boolean().nullable(),
|
|
50775
|
+
disabled: boolean(),
|
|
50776
|
+
compatible: boolean(),
|
|
50777
|
+
/** Only the required caps' fields; empty when nothing was required or the device is incompatible. */
|
|
50778
|
+
values: array(DeviceValueOptionSchema).readonly()
|
|
50779
|
+
});
|
|
50780
|
+
var DeviceSearchFacetValueSchema = object({
|
|
50781
|
+
value: string(),
|
|
50782
|
+
count: number$1()
|
|
50783
|
+
});
|
|
50784
|
+
var DeviceSearchFacetIntegrationSchema = object({
|
|
50785
|
+
id: string(),
|
|
50786
|
+
label: string(),
|
|
50787
|
+
count: number$1()
|
|
50788
|
+
});
|
|
50789
|
+
var DeviceSearchFacetsSchema = object({
|
|
50790
|
+
locations: array(DeviceSearchFacetValueSchema).readonly(),
|
|
50791
|
+
integrations: array(DeviceSearchFacetIntegrationSchema).readonly(),
|
|
50792
|
+
types: array(DeviceSearchFacetValueSchema).readonly()
|
|
50793
|
+
});
|
|
50794
|
+
var DeviceSearchResultSchema = object({
|
|
50795
|
+
items: array(DeviceSearchItemSchema).readonly(),
|
|
50796
|
+
nextCursor: string().nullable(),
|
|
50797
|
+
/** Devices listed by this query across all pages (filters + text applied; incompatible counted only when `includeIncompatible`). */
|
|
50798
|
+
total: number$1(),
|
|
50799
|
+
/** Compatible devices after filters + text. */
|
|
50800
|
+
compatibleTotal: number$1(),
|
|
50801
|
+
/** Every device the caller's fleet holds, before anything is applied. */
|
|
50802
|
+
fleetTotal: number$1(),
|
|
50803
|
+
/** Incompatible devices after filters + text — the K of "show the K that don't". */
|
|
50804
|
+
hiddenIncompatible: number$1(),
|
|
50805
|
+
facets: DeviceSearchFacetsSchema,
|
|
50806
|
+
/** Same location as `contextDeviceId`; first page only. */
|
|
50807
|
+
suggested: array(DeviceSearchItemSchema).readonly(),
|
|
50808
|
+
missingIds: array(number$1()).readonly()
|
|
50809
|
+
});
|
|
50590
50810
|
var ProviderStatusSchema = object({
|
|
50591
50811
|
connected: boolean(),
|
|
50592
50812
|
deviceCount: number$1(),
|
|
@@ -50979,6 +51199,9 @@ var DeviceInfoSchema = object({
|
|
|
50979
51199
|
* named accordion sections (with optional intra-section order). See
|
|
50980
51200
|
* `DeviceMeta.childLayout`. Absent ⇒ no layout declared. */
|
|
50981
51201
|
childLayout: array(ChildLayoutEntrySchema).readonly().optional(),
|
|
51202
|
+
/** The children a container stands for, most preferred first, by accessory
|
|
51203
|
+
* `childKey`. Provider-declared. See `DeviceMeta.primaryChildPreference`. */
|
|
51204
|
+
primaryChildPreference: array(string()).readonly().optional(),
|
|
50982
51205
|
/** Operator-authored per-device display override. See `DeviceMeta.display`. */
|
|
50983
51206
|
display: DeviceDisplayOverrideSchema.optional()
|
|
50984
51207
|
});
|
|
@@ -51127,6 +51350,9 @@ var DeviceMetaSchema = object({
|
|
|
51127
51350
|
* accordion sections (with optional intra-section order). See
|
|
51128
51351
|
* `DeviceMeta.childLayout`. Absent ⇒ no layout declared. */
|
|
51129
51352
|
childLayout: array(ChildLayoutEntrySchema).readonly().optional(),
|
|
51353
|
+
/** The children a container stands for, most preferred first, by accessory
|
|
51354
|
+
* `childKey`. Provider-declared. See `DeviceMeta.primaryChildPreference`. */
|
|
51355
|
+
primaryChildPreference: array(string()).readonly().optional(),
|
|
51130
51356
|
/** Semantic role string (`DeviceRole`) — propagated from the spawn pre-seed.
|
|
51131
51357
|
* Optional: only present for accessory children that carry a known role. */
|
|
51132
51358
|
role: string().nullable().optional(),
|
|
@@ -51342,6 +51568,12 @@ method(object({
|
|
|
51342
51568
|
}), _void(), {
|
|
51343
51569
|
kind: "mutation",
|
|
51344
51570
|
auth: "admin"
|
|
51571
|
+
}), method(object({
|
|
51572
|
+
deviceId: number$1(),
|
|
51573
|
+
primaryChildPreference: array(string()).readonly()
|
|
51574
|
+
}), _void(), {
|
|
51575
|
+
kind: "mutation",
|
|
51576
|
+
auth: "admin"
|
|
51345
51577
|
}), method(object({
|
|
51346
51578
|
deviceId: number$1(),
|
|
51347
51579
|
display: DeviceDisplayOverrideSchema.nullable()
|
|
@@ -51479,7 +51711,7 @@ method(object({
|
|
|
51479
51711
|
* it answers today and the caller filters as it already does.
|
|
51480
51712
|
*/
|
|
51481
51713
|
deviceIds: array(number$1()).optional()
|
|
51482
|
-
}), array(DeviceInfoSchema), { role: "viewer" }), method(object({ deviceId: number$1() }), DeviceInfoSchema.nullable()), method(object({ parentDeviceId: number$1() }), array(DeviceInfoSchema), { role: "viewer" }), method(object({ parentDeviceIds: array(number$1()).max(256) }), record(string(), array(DeviceInfoSchema))), method(object({ deviceId: number$1() }), object({
|
|
51714
|
+
}), array(DeviceInfoSchema), { role: "viewer" }), method(DeviceSearchInputSchema, DeviceSearchResultSchema, { role: "viewer" }), method(object({ deviceId: number$1() }), DeviceInfoSchema.nullable()), method(object({ parentDeviceId: number$1() }), array(DeviceInfoSchema), { role: "viewer" }), method(object({ parentDeviceIds: array(number$1()).max(256) }), record(string(), array(DeviceInfoSchema))), method(object({ deviceId: number$1() }), object({
|
|
51483
51715
|
mode: LinkedDevicesModeSchema,
|
|
51484
51716
|
devices: array(LinkedDeviceSchema)
|
|
51485
51717
|
}), { role: "viewer" }), method(object({ deviceIds: array(number$1()) }), array(LinkedDevicesForDeviceSchema), { role: "viewer" }), method(object({ deviceId: number$1() }), array(StreamSourceEntrySchema$1)), method(object({ deviceId: number$1() }), array(ConfigEntrySchema)), method(object({ deviceId: number$1() }), ConfigUISchemaOutput), method(object({
|
|
@@ -54507,13 +54739,11 @@ var HeroConfirmSchema = _enum([
|
|
|
54507
54739
|
"press"
|
|
54508
54740
|
]);
|
|
54509
54741
|
var HeroActionSchema = object({
|
|
54510
|
-
/** Unique within the model; the `gated` list and the specs name it. */
|
|
54511
54742
|
id: string(),
|
|
54512
54743
|
label: HeroTextSchema,
|
|
54513
54744
|
icon: IconKeySchema,
|
|
54514
54745
|
call: HeroCallSchema,
|
|
54515
54746
|
emphasis: _enum(["primary", "normal"]),
|
|
54516
|
-
/** Ask before running it. */
|
|
54517
54747
|
confirm: HeroConfirmSchema.nullable()
|
|
54518
54748
|
});
|
|
54519
54749
|
var HeroControlSchema = discriminatedUnion("kind", [
|
|
@@ -54564,6 +54794,8 @@ var HeroPillSchema = object({
|
|
|
54564
54794
|
});
|
|
54565
54795
|
var HeroRowSchema = object({
|
|
54566
54796
|
id: HeroRowIdSchema,
|
|
54797
|
+
/** `scene`: the row's action and slider controls are drawn on the scene. Absent: an ordinary row. */
|
|
54798
|
+
placement: _enum(["row", "scene"]).optional(),
|
|
54567
54799
|
/** The row's own name when the kind's label would not tell rows of one kind apart (a circuit's label). */
|
|
54568
54800
|
label: HeroTextSchema.optional(),
|
|
54569
54801
|
/** A group header drawn above the row when it differs from the previous row's ("System"). */
|
|
@@ -54594,9 +54826,16 @@ var HeroBadgeSchema = object({
|
|
|
54594
54826
|
value: number$1().nullable(),
|
|
54595
54827
|
label: HeroTextSchema
|
|
54596
54828
|
});
|
|
54597
|
-
var HeroRemoteSlotSchema = object({
|
|
54598
|
-
/** Saved commands; `null` = not known yet (the button still shows). */
|
|
54599
|
-
commands: number$1().int().nullable()
|
|
54829
|
+
var HeroRemoteSlotSchema = object({
|
|
54830
|
+
/** Saved commands; `null` = not known yet (the button still shows). */
|
|
54831
|
+
commands: number$1().int().nullable(),
|
|
54832
|
+
/**
|
|
54833
|
+
* The control a list row draws as the "open the remote" icon. Recognised by its id
|
|
54834
|
+
* ({@link REMOTE_OPEN_ACTION_ID}); it changes no state, so a client opens the remote
|
|
54835
|
+
* instead of running `call`. Absent on a model from an older server.
|
|
54836
|
+
*/
|
|
54837
|
+
open: HeroActionSchema.optional()
|
|
54838
|
+
});
|
|
54600
54839
|
var HeroConsumablesSlotSchema = object({
|
|
54601
54840
|
items: array(object({
|
|
54602
54841
|
key: string(),
|
|
@@ -54764,6 +55003,8 @@ var HeroModelSchema = object({
|
|
|
54764
55003
|
* the FIRST row that has any (a later row's control is never promoted). When
|
|
54765
55004
|
* the model lists that part in `gated`, the row has no inline control: the
|
|
54766
55005
|
* projection never falls through to another control the caller could use.
|
|
55006
|
+
* - a climate or thermostat row's primary is its `climate.mode` control (no power
|
|
55007
|
+
* toggle: "off" is a mode); when the model gates it the rule above applies as before;
|
|
54767
55008
|
* - a timed run, when the model carries the slot, sits beside that primary:
|
|
54768
55009
|
* Run while idle, Stop while armed. Gating the slot hides the control.
|
|
54769
55010
|
* - the status line is the head (what plays, else the state) plus at most
|
|
@@ -54771,6 +55012,13 @@ var HeroModelSchema = object({
|
|
|
54771
55012
|
* time left on an armed timed run;
|
|
54772
55013
|
* - the trailing fact is the first of power, battery, consumables.
|
|
54773
55014
|
*
|
|
55015
|
+
* - `extras` are the further inline controls of the types that carry more than one
|
|
55016
|
+
* ({@link ROW_EXTRAS_BY_TYPE}): climate setpoint, a robot's return to base,
|
|
55017
|
+
* a player's volume and remote. Each is a control the model already has, named by id,
|
|
55018
|
+
* in that order and at most {@link ROW_EXTRAS_MAX}; one the model lacks, or lists in
|
|
55019
|
+
* `gated`, is absent, and the one `primary` already is never repeats. Empty = the
|
|
55020
|
+
* row of an older server: `primary` alone.
|
|
55021
|
+
*
|
|
54774
55022
|
* `projectDeviceRow` is pure and computes nothing: it selects from a
|
|
54775
55023
|
* {@link HeroModel}. A row that needed a value the hero lacks would mean the
|
|
54776
55024
|
* model is missing it, so the fix goes in the model.
|
|
@@ -54802,8 +55050,16 @@ var HeroRowModelSchema = object({
|
|
|
54802
55050
|
* while armed. `null` when there is no slot, or the caller may not act.
|
|
54803
55051
|
*/
|
|
54804
55052
|
timedRun: HeroRowTimedRunSchema.nullable(),
|
|
55053
|
+
/**
|
|
55054
|
+
* The further inline controls after `primary`, in order (see the header). The remote
|
|
55055
|
+
* is an `action` with id `remote.open`: the client opens the remote, it does not run
|
|
55056
|
+
* the call. Absent or empty = `primary` alone.
|
|
55057
|
+
*/
|
|
55058
|
+
extras: array(HeroControlSchema).max(2).optional(),
|
|
54805
55059
|
trailing: HeroFactSchema.nullable()
|
|
54806
55060
|
});
|
|
55061
|
+
DeviceType.Climate, DeviceType.Thermostat;
|
|
55062
|
+
DeviceType.Climate, DeviceType.Thermostat, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer;
|
|
54807
55063
|
/**
|
|
54808
55064
|
* hero-layout — what a device's hero says (D1023). Read-only: the FIXED
|
|
54809
55065
|
* layouts live in `@camstack/types` and nothing here stores or edits one.
|
|
@@ -65504,13 +65760,23 @@ var NcRuleTargetSchema = object({
|
|
|
65504
65760
|
*/
|
|
65505
65761
|
params: record(string(), unknown()).optional()
|
|
65506
65762
|
});
|
|
65763
|
+
/** Which picture kind one target receives (#487). */
|
|
65764
|
+
var NcTargetAttachmentSchema = _enum([
|
|
65765
|
+
"none",
|
|
65766
|
+
"image",
|
|
65767
|
+
"clip",
|
|
65768
|
+
"gif"
|
|
65769
|
+
]);
|
|
65507
65770
|
var NcTargetOverrideSchema = object({
|
|
65508
65771
|
template: object({
|
|
65509
65772
|
title: string().max(500).optional(),
|
|
65510
65773
|
body: string().max(2e3).optional()
|
|
65511
65774
|
}).optional(),
|
|
65512
65775
|
schedule: NcScheduleSchema.optional(),
|
|
65513
|
-
priority: number$1().int().min(1).max(5).optional()
|
|
65776
|
+
priority: number$1().int().min(1).max(5).optional(),
|
|
65777
|
+
attachment: NcTargetAttachmentSchema.optional(),
|
|
65778
|
+
/** `false` = no buttons for this target; `true` is the same as absent. */
|
|
65779
|
+
actions: boolean().optional()
|
|
65514
65780
|
});
|
|
65515
65781
|
/** Per-target settings keyed by target id (#487). */
|
|
65516
65782
|
var NcTargetOverridesSchema = record(string(), NcTargetOverrideSchema);
|
|
@@ -69189,15 +69455,15 @@ object({
|
|
|
69189
69455
|
});
|
|
69190
69456
|
DeviceType.Gateway, DeviceType.Hub, DeviceType.Camera, DeviceType.Sensor, DeviceType.MediaPlayer, DeviceType.Vacuum, DeviceType.Generic, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.PetFountain, DeviceType.Fan, DeviceType.Humidifier, DeviceType.Climate, DeviceType.WaterHeater;
|
|
69191
69457
|
var deviceInput$1 = object({ deviceId: number$1().int().nonnegative() });
|
|
69192
|
-
systemMethod(deviceInput$1, PowerSourceInfoSchema, { auth: "
|
|
69458
|
+
systemMethod(deviceInput$1, PowerSourceInfoSchema, { auth: "protected" }), systemMethod(deviceInput$1, PowerSourceActionResultSchema, {
|
|
69193
69459
|
kind: "mutation",
|
|
69194
|
-
auth: "
|
|
69460
|
+
auth: "protected"
|
|
69195
69461
|
}), systemMethod(deviceInput$1, PowerSourceActionResultSchema, {
|
|
69196
69462
|
kind: "mutation",
|
|
69197
|
-
auth: "
|
|
69463
|
+
auth: "protected"
|
|
69198
69464
|
}), systemMethod(deviceInput$1, PowerSourceActionResultSchema, {
|
|
69199
69465
|
kind: "mutation",
|
|
69200
|
-
auth: "
|
|
69466
|
+
auth: "protected"
|
|
69201
69467
|
});
|
|
69202
69468
|
/**
|
|
69203
69469
|
* Presence cap. Models HA `person.*` and `device_tracker.*` entities
|
|
@@ -81081,6 +81347,27 @@ Object.freeze({
|
|
|
81081
81347
|
access: "create",
|
|
81082
81348
|
role: "viewer"
|
|
81083
81349
|
},
|
|
81350
|
+
"clusterUpdate.getClusterUpdateJob": {
|
|
81351
|
+
capName: "cluster-update",
|
|
81352
|
+
capScope: "system",
|
|
81353
|
+
addonId: null,
|
|
81354
|
+
access: "view",
|
|
81355
|
+
role: "admin"
|
|
81356
|
+
},
|
|
81357
|
+
"clusterUpdate.previewClusterUpdate": {
|
|
81358
|
+
capName: "cluster-update",
|
|
81359
|
+
capScope: "system",
|
|
81360
|
+
addonId: null,
|
|
81361
|
+
access: "view",
|
|
81362
|
+
role: "admin"
|
|
81363
|
+
},
|
|
81364
|
+
"clusterUpdate.startClusterUpdate": {
|
|
81365
|
+
capName: "cluster-update",
|
|
81366
|
+
capScope: "system",
|
|
81367
|
+
addonId: null,
|
|
81368
|
+
access: "create",
|
|
81369
|
+
role: "admin"
|
|
81370
|
+
},
|
|
81084
81371
|
"color.getStatus": {
|
|
81085
81372
|
capName: "color",
|
|
81086
81373
|
capScope: "device",
|
|
@@ -82453,6 +82740,13 @@ Object.freeze({
|
|
|
82453
82740
|
access: "create",
|
|
82454
82741
|
role: "admin"
|
|
82455
82742
|
},
|
|
82743
|
+
"deviceManager.search": {
|
|
82744
|
+
capName: "device-manager",
|
|
82745
|
+
capScope: "system",
|
|
82746
|
+
addonId: null,
|
|
82747
|
+
access: "view",
|
|
82748
|
+
role: "viewer"
|
|
82749
|
+
},
|
|
82456
82750
|
"deviceManager.setAlias": {
|
|
82457
82751
|
capName: "device-manager",
|
|
82458
82752
|
capScope: "system",
|
|
@@ -82544,6 +82838,13 @@ Object.freeze({
|
|
|
82544
82838
|
access: "create",
|
|
82545
82839
|
role: "admin"
|
|
82546
82840
|
},
|
|
82841
|
+
"deviceManager.setPrimaryChildPreference": {
|
|
82842
|
+
capName: "device-manager",
|
|
82843
|
+
capScope: "system",
|
|
82844
|
+
addonId: null,
|
|
82845
|
+
access: "create",
|
|
82846
|
+
role: "admin"
|
|
82847
|
+
},
|
|
82547
82848
|
"deviceManager.setRole": {
|
|
82548
82849
|
capName: "device-manager",
|
|
82549
82850
|
capScope: "system",
|
|
@@ -87183,28 +87484,28 @@ Object.freeze({
|
|
|
87183
87484
|
capScope: "device",
|
|
87184
87485
|
addonId: null,
|
|
87185
87486
|
access: "create",
|
|
87186
|
-
role: "
|
|
87487
|
+
role: "viewer"
|
|
87187
87488
|
},
|
|
87188
87489
|
"powerSource.getStatus": {
|
|
87189
87490
|
capName: "power-source",
|
|
87190
87491
|
capScope: "device",
|
|
87191
87492
|
addonId: null,
|
|
87192
87493
|
access: "view",
|
|
87193
|
-
role: "
|
|
87494
|
+
role: "viewer"
|
|
87194
87495
|
},
|
|
87195
87496
|
"powerSource.powerOff": {
|
|
87196
87497
|
capName: "power-source",
|
|
87197
87498
|
capScope: "device",
|
|
87198
87499
|
addonId: null,
|
|
87199
87500
|
access: "create",
|
|
87200
|
-
role: "
|
|
87501
|
+
role: "viewer"
|
|
87201
87502
|
},
|
|
87202
87503
|
"powerSource.powerOn": {
|
|
87203
87504
|
capName: "power-source",
|
|
87204
87505
|
capScope: "device",
|
|
87205
87506
|
addonId: null,
|
|
87206
87507
|
access: "create",
|
|
87207
|
-
role: "
|
|
87508
|
+
role: "viewer"
|
|
87208
87509
|
},
|
|
87209
87510
|
"presence.getStatus": {
|
|
87210
87511
|
capName: "presence",
|
|
@@ -91068,6 +91369,11 @@ Object.freeze({
|
|
|
91068
91369
|
form: "single",
|
|
91069
91370
|
optional: false
|
|
91070
91371
|
}],
|
|
91372
|
+
"deviceManager.setPrimaryChildPreference": [{
|
|
91373
|
+
name: "deviceId",
|
|
91374
|
+
form: "single",
|
|
91375
|
+
optional: false
|
|
91376
|
+
}],
|
|
91071
91377
|
"deviceManager.setRole": [{
|
|
91072
91378
|
name: "deviceId",
|
|
91073
91379
|
form: "single",
|
|
@@ -94536,7 +94842,9 @@ var TimelapseRuleInputSchema = object({
|
|
|
94536
94842
|
/** Classes the notification counts — see {@link ReportClassesField}. */
|
|
94537
94843
|
reportClasses: ReportClassesField.optional(),
|
|
94538
94844
|
/** Canonical notification priority ordinal (1..5); per-target overridable. */
|
|
94539
|
-
priority: PriorityField.default(3)
|
|
94845
|
+
priority: PriorityField.default(3),
|
|
94846
|
+
/** Per-target settings keyed by target id (D1032) — absent = every target follows the rule. */
|
|
94847
|
+
targetOverrides: NcTargetOverridesSchema.optional()
|
|
94540
94848
|
});
|
|
94541
94849
|
object({
|
|
94542
94850
|
name: NameField.optional(),
|
|
@@ -94552,7 +94860,9 @@ object({
|
|
|
94552
94860
|
previewText: PreviewTextField.optional(),
|
|
94553
94861
|
previewMode: PreviewModeField.optional(),
|
|
94554
94862
|
reportClasses: ReportClassesField.optional(),
|
|
94555
|
-
priority: PriorityField.optional()
|
|
94863
|
+
priority: PriorityField.optional(),
|
|
94864
|
+
/** Per-target settings keyed by target id (D1032) — absent = every target follows the rule. */
|
|
94865
|
+
targetOverrides: NcTargetOverridesSchema.optional()
|
|
94556
94866
|
});
|
|
94557
94867
|
TimelapseRuleInputSchema.extend({
|
|
94558
94868
|
id: string(),
|
|
@@ -94805,7 +95115,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
94805
95115
|
capability: adminUiCapability,
|
|
94806
95116
|
provider: {
|
|
94807
95117
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
94808
|
-
getVersion: async () => ({ version: "1.2.
|
|
95118
|
+
getVersion: async () => ({ version: "1.2.636" })
|
|
94809
95119
|
}
|
|
94810
95120
|
}];
|
|
94811
95121
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-admin-ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.636",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Admin UI — Vite frontend build and server-side addon",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
"requires": {
|
|
53
|
-
"server": ">=1.2.
|
|
53
|
+
"server": ">=1.2.830"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|