@camstack/ui-library 0.1.57 → 0.1.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/composites/battery-badge.d.ts +3 -0
- package/dist/composites/camera-stream-player.d.ts +62 -2
- package/dist/composites/cap-settings/ConsumablesPanel.d.ts +2 -0
- package/dist/composites/cap-settings/CoverageTrack.d.ts +12 -0
- package/dist/composites/cap-settings/EventBucketStrip.d.ts +25 -0
- package/dist/composites/cap-settings/EventHeatmap.d.ts +10 -0
- package/dist/composites/cap-settings/RecordingPanel.d.ts +2 -0
- package/dist/composites/cap-settings/RecordingRulesEditor.d.ts +7 -0
- package/dist/composites/cap-settings/RecordingSettings.d.ts +8 -0
- package/dist/composites/cap-settings/RecordingTimeline.d.ts +5 -0
- package/dist/composites/cap-settings/TimelineControls.d.ts +21 -0
- package/dist/composites/cap-settings/event-thumb.d.ts +11 -0
- package/dist/composites/cap-settings/index.d.ts +4 -0
- package/dist/composites/cap-settings/recording-config-form.d.ts +5 -0
- package/dist/composites/cap-settings/recording-spans.d.ts +22 -0
- package/dist/composites/cap-settings/recording-timeline-model.d.ts +84 -0
- package/dist/composites/device-activity-panel.d.ts +5 -1
- package/dist/composites/device-controls/alarm-hero-card.d.ts +24 -0
- package/dist/composites/device-controls/atoms.d.ts +81 -0
- package/dist/composites/device-controls/brightness-panel.d.ts +3 -0
- package/dist/composites/device-controls/button-control.d.ts +18 -0
- package/dist/composites/device-controls/climate-panel.d.ts +16 -0
- package/dist/composites/device-controls/container-primary-hero.d.ts +24 -0
- package/dist/composites/device-controls/container-primary.d.ts +46 -0
- package/dist/composites/device-controls/control-panel.d.ts +10 -0
- package/dist/composites/device-controls/control-registry.d.ts +74 -0
- package/dist/composites/device-controls/cover-hero-card.d.ts +27 -0
- package/dist/composites/device-controls/cover-inline.d.ts +27 -0
- package/dist/composites/device-controls/cover-panel.d.ts +3 -0
- package/dist/composites/device-controls/dummy-hero-card.d.ts +6 -0
- package/dist/composites/device-controls/fan-hero-card.d.ts +21 -0
- package/dist/composites/device-controls/fan-panel.d.ts +3 -0
- package/dist/composites/device-controls/humidifier-control.d.ts +37 -0
- package/dist/composites/device-controls/image-control.d.ts +24 -0
- package/dist/composites/device-controls/index.d.ts +33 -0
- package/dist/composites/device-controls/lawn-mower-control.d.ts +24 -0
- package/dist/composites/device-controls/light-hero-card.d.ts +16 -0
- package/dist/composites/device-controls/lock-hero-card.d.ts +15 -0
- package/dist/composites/device-controls/lock-panel.d.ts +3 -0
- package/dist/composites/device-controls/media-player-hero-card.d.ts +17 -0
- package/dist/composites/device-controls/media-player-panel.d.ts +9 -0
- package/dist/composites/device-controls/offline-badge.d.ts +11 -0
- package/dist/composites/device-controls/panel-controls.d.ts +17 -0
- package/dist/composites/device-controls/popover-row-action.d.ts +9 -0
- package/dist/composites/device-controls/primary-child.d.ts +18 -0
- package/dist/composites/device-controls/radial-gauge.d.ts +20 -0
- package/dist/composites/device-controls/sensor-hero-card.d.ts +10 -0
- package/dist/composites/device-controls/sensor-inline-control.d.ts +11 -0
- package/dist/composites/device-controls/sensor-value-atom.d.ts +106 -0
- package/dist/composites/device-controls/switch-hero-card.d.ts +13 -0
- package/dist/composites/device-controls/switch-panel.d.ts +3 -0
- package/dist/composites/device-controls/tap-toggle.d.ts +17 -0
- package/dist/composites/device-controls/thermostat-hero-card.d.ts +17 -0
- package/dist/composites/device-controls/types.d.ts +17 -0
- package/dist/composites/device-controls/update-control.d.ts +11 -0
- package/dist/composites/device-controls/vacuum-control.d.ts +36 -0
- package/dist/composites/device-controls/valve-control.d.ts +46 -0
- package/dist/composites/device-controls/water-heater-control.d.ts +41 -0
- package/dist/composites/device-controls/weather-control.d.ts +41 -0
- package/dist/composites/device-item/actions.d.ts +12 -1
- package/dist/composites/device-item/child-layout.d.ts +32 -0
- package/dist/composites/device-item/child-section-accordion.d.ts +9 -0
- package/dist/composites/device-item/container-children-context.d.ts +15 -0
- package/dist/composites/device-item/device-delete-action.d.ts +8 -0
- package/dist/composites/device-item/header.d.ts +8 -1
- package/dist/composites/device-item/helpers.d.ts +108 -2
- package/dist/composites/device-item/index.d.ts +4 -0
- package/dist/composites/device-item/preview.d.ts +3 -3
- package/dist/composites/device-item/reboot-quick-action.d.ts +9 -0
- package/dist/composites/device-item/status-dot.d.ts +4 -1
- package/dist/composites/device-list/batch-actions-bar.d.ts +15 -0
- package/dist/composites/device-list/batch-toolbar.d.ts +15 -0
- package/dist/composites/device-list/cards-layout.d.ts +18 -0
- package/dist/composites/device-list/columns.d.ts +68 -0
- package/dist/composites/device-list/device-mode.d.ts +115 -0
- package/dist/composites/device-list/filter-chips.d.ts +15 -6
- package/dist/composites/device-list/fuzzy-match.d.ts +27 -0
- package/dist/composites/device-list/generic-mode.d.ts +81 -0
- package/dist/composites/device-list/group.d.ts +19 -0
- package/dist/composites/device-list/hardware-cell.d.ts +7 -0
- package/dist/composites/device-list/hardware.d.ts +26 -0
- package/dist/composites/device-list/icon-action.d.ts +17 -0
- package/dist/composites/device-list/index.d.ts +23 -39
- package/dist/composites/device-list/multi-select.d.ts +22 -0
- package/dist/composites/device-list/sort.d.ts +18 -0
- package/dist/composites/device-list/sortable-header.d.ts +10 -0
- package/dist/composites/device-list/table-layout.d.ts +25 -0
- package/dist/composites/device-list/type-filter.d.ts +19 -0
- package/dist/composites/device-list/url-state.d.ts +7 -2
- package/dist/composites/device-meta.d.ts +38 -0
- package/dist/composites/discovery-panel.d.ts +3 -3
- package/dist/composites/hls-quality.d.ts +35 -0
- package/dist/composites/hls-video.d.ts +26 -0
- package/dist/composites/hover-zoom-image.d.ts +18 -0
- package/dist/composites/index.d.ts +12 -1
- package/dist/composites/log-stream-scroll.d.ts +32 -0
- package/dist/composites/log-stream.d.ts +8 -1
- package/dist/composites/stream-panel.d.ts +45 -10
- package/dist/composites/timezone-selector.d.ts +18 -0
- package/dist/composites/widget-panel.d.ts +28 -0
- package/dist/contexts/vod-playback.d.ts +17 -0
- package/dist/generated/system-hooks.d.ts +330 -56
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/use-device-cap-slice.d.ts +19 -0
- package/dist/hooks/use-device-capability.d.ts +12 -0
- package/dist/hooks/use-device-list-page-size.d.ts +14 -0
- package/dist/hooks/use-device-webrtc.d.ts +36 -4
- package/dist/hooks/use-optimistic-slice.d.ts +11 -0
- package/dist/index.cjs +52175 -10927
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +51796 -10813
- package/dist/index.js.map +1 -1
- package/dist/lib/format-control-datetime.d.ts +18 -0
- package/dist/lib/format-last-seen.d.ts +12 -0
- package/dist/lib/format-numeric.d.ts +9 -0
- package/dist/lib/index.d.ts +3 -0
- package/dist/primitives/dialog.d.ts +13 -0
- package/dist/primitives/tooltip.d.ts +9 -3
- package/package.json +3 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { trpc } from '../trpc-react.js';
|
|
2
|
+
/** Generated alias around `trpc.accessories.setChildHidden.useMutation`. */
|
|
3
|
+
export declare const useAccessoriesSetChildHidden: typeof trpc.accessories.setChildHidden.useMutation;
|
|
2
4
|
/** Generated alias around `trpc.accessories.getStatus.useQuery`. */
|
|
3
5
|
export declare const useAccessoriesGetStatus: typeof trpc.accessories.getStatus.useQuery;
|
|
4
6
|
/** Generated alias around `trpc.addonPages.listPages.useQuery`. */
|
|
@@ -81,6 +83,16 @@ export declare const useAddonSettingsGetDeviceSettings: typeof trpc.addonSetting
|
|
|
81
83
|
export declare const useAddonSettingsUpdateDeviceSettings: typeof trpc.addonSettings.updateDeviceSettings.useMutation;
|
|
82
84
|
/** Generated alias around `trpc.addonWidgets.listWidgets.useQuery`. */
|
|
83
85
|
export declare const useAddonWidgetsListWidgets: typeof trpc.addonWidgets.listWidgets.useQuery;
|
|
86
|
+
/** Generated alias around `trpc.airQualitySensor.getStatus.useQuery`. */
|
|
87
|
+
export declare const useAirQualitySensorGetStatus: typeof trpc.airQualitySensor.getStatus.useQuery;
|
|
88
|
+
/** Generated alias around `trpc.alarmPanel.arm.useMutation`. */
|
|
89
|
+
export declare const useAlarmPanelArm: typeof trpc.alarmPanel.arm.useMutation;
|
|
90
|
+
/** Generated alias around `trpc.alarmPanel.disarm.useMutation`. */
|
|
91
|
+
export declare const useAlarmPanelDisarm: typeof trpc.alarmPanel.disarm.useMutation;
|
|
92
|
+
/** Generated alias around `trpc.alarmPanel.trigger.useMutation`. */
|
|
93
|
+
export declare const useAlarmPanelTrigger: typeof trpc.alarmPanel.trigger.useMutation;
|
|
94
|
+
/** Generated alias around `trpc.alarmPanel.getStatus.useQuery`. */
|
|
95
|
+
export declare const useAlarmPanelGetStatus: typeof trpc.alarmPanel.getStatus.useQuery;
|
|
84
96
|
/** Generated alias around `trpc.alerts.emit.useMutation`. */
|
|
85
97
|
export declare const useAlertsEmit: typeof trpc.alerts.emit.useMutation;
|
|
86
98
|
/** Generated alias around `trpc.alerts.update.useMutation`. */
|
|
@@ -95,6 +107,8 @@ export declare const useAlertsMarkRead: typeof trpc.alerts.markRead.useMutation;
|
|
|
95
107
|
export declare const useAlertsMarkAllRead: typeof trpc.alerts.markAllRead.useMutation;
|
|
96
108
|
/** Generated alias around `trpc.alerts.dismiss.useMutation`. */
|
|
97
109
|
export declare const useAlertsDismiss: typeof trpc.alerts.dismiss.useMutation;
|
|
110
|
+
/** Generated alias around `trpc.ambientLightSensor.getStatus.useQuery`. */
|
|
111
|
+
export declare const useAmbientLightSensorGetStatus: typeof trpc.ambientLightSensor.getStatus.useQuery;
|
|
98
112
|
/** Generated alias around `trpc.audioAnalysis.resolveDeviceSettings.useQuery`. */
|
|
99
113
|
export declare const useAudioAnalysisResolveDeviceSettings: typeof trpc.audioAnalysis.resolveDeviceSettings.useQuery;
|
|
100
114
|
/** Generated alias around `trpc.audioAnalysis.getDeviceSettingsContribution.useQuery`. */
|
|
@@ -139,6 +153,14 @@ export declare const useAudioCodecListActiveSessions: typeof trpc.audioCodec.lis
|
|
|
139
153
|
export declare const useAudioMetricsGetCurrentSnapshot: typeof trpc.audioMetrics.getCurrentSnapshot.useQuery;
|
|
140
154
|
/** Generated alias around `trpc.audioMetrics.getHistory.useQuery`. */
|
|
141
155
|
export declare const useAudioMetricsGetHistory: typeof trpc.audioMetrics.getHistory.useQuery;
|
|
156
|
+
/** Generated alias around `trpc.automationControl.enable.useMutation`. */
|
|
157
|
+
export declare const useAutomationControlEnable: typeof trpc.automationControl.enable.useMutation;
|
|
158
|
+
/** Generated alias around `trpc.automationControl.disable.useMutation`. */
|
|
159
|
+
export declare const useAutomationControlDisable: typeof trpc.automationControl.disable.useMutation;
|
|
160
|
+
/** Generated alias around `trpc.automationControl.trigger.useMutation`. */
|
|
161
|
+
export declare const useAutomationControlTrigger: typeof trpc.automationControl.trigger.useMutation;
|
|
162
|
+
/** Generated alias around `trpc.automationControl.getStatus.useQuery`. */
|
|
163
|
+
export declare const useAutomationControlGetStatus: typeof trpc.automationControl.getStatus.useQuery;
|
|
142
164
|
/** Generated alias around `trpc.backup.listDestinations.useQuery`. */
|
|
143
165
|
export declare const useBackupListDestinations: typeof trpc.backup.listDestinations.useQuery;
|
|
144
166
|
/** Generated alias around `trpc.backup.trigger.useMutation`. */
|
|
@@ -159,12 +181,50 @@ export declare const useBackupListArchives: typeof trpc.backup.listArchives.useQ
|
|
|
159
181
|
export declare const useBackupUpsertDestinationPolicy: typeof trpc.backup.upsertDestinationPolicy.useMutation;
|
|
160
182
|
/** Generated alias around `trpc.backup.previewSchedule.useQuery`. */
|
|
161
183
|
export declare const useBackupPreviewSchedule: typeof trpc.backup.previewSchedule.useQuery;
|
|
184
|
+
/** Generated alias around `trpc.battery.wakeForStream.useMutation`. */
|
|
185
|
+
export declare const useBatteryWakeForStream: typeof trpc.battery.wakeForStream.useMutation;
|
|
162
186
|
/** Generated alias around `trpc.battery.getStatus.useQuery`. */
|
|
163
187
|
export declare const useBatteryGetStatus: typeof trpc.battery.getStatus.useQuery;
|
|
188
|
+
/** Generated alias around `trpc.binary.getStatus.useQuery`. */
|
|
189
|
+
export declare const useBinaryGetStatus: typeof trpc.binary.getStatus.useQuery;
|
|
164
190
|
/** Generated alias around `trpc.brightness.setBrightness.useMutation`. */
|
|
165
191
|
export declare const useBrightnessSetBrightness: typeof trpc.brightness.setBrightness.useMutation;
|
|
166
192
|
/** Generated alias around `trpc.brightness.getStatus.useQuery`. */
|
|
167
193
|
export declare const useBrightnessGetStatus: typeof trpc.brightness.getStatus.useQuery;
|
|
194
|
+
/** Generated alias around `trpc.broker.list.useQuery`. */
|
|
195
|
+
export declare const useBrokerList: typeof trpc.broker.list.useQuery;
|
|
196
|
+
/** Generated alias around `trpc.broker.get.useQuery`. */
|
|
197
|
+
export declare const useBrokerGet: typeof trpc.broker.get.useQuery;
|
|
198
|
+
/** Generated alias around `trpc.broker.listProviders.useQuery`. */
|
|
199
|
+
export declare const useBrokerListProviders: typeof trpc.broker.listProviders.useQuery;
|
|
200
|
+
/** Generated alias around `trpc.broker.add.useMutation`. */
|
|
201
|
+
export declare const useBrokerAdd: typeof trpc.broker.add.useMutation;
|
|
202
|
+
/** Generated alias around `trpc.broker.remove.useMutation`. */
|
|
203
|
+
export declare const useBrokerRemove: typeof trpc.broker.remove.useMutation;
|
|
204
|
+
/** Generated alias around `trpc.broker.testConnection.useMutation`. */
|
|
205
|
+
export declare const useBrokerTestConnection: typeof trpc.broker.testConnection.useMutation;
|
|
206
|
+
/** Generated alias around `trpc.broker.getSettings.useQuery`. */
|
|
207
|
+
export declare const useBrokerGetSettings: typeof trpc.broker.getSettings.useQuery;
|
|
208
|
+
/** Generated alias around `trpc.broker.setSettings.useMutation`. */
|
|
209
|
+
export declare const useBrokerSetSettings: typeof trpc.broker.setSettings.useMutation;
|
|
210
|
+
/** Generated alias around `trpc.broker.getBrokerConfig.useQuery`. */
|
|
211
|
+
export declare const useBrokerGetBrokerConfig: typeof trpc.broker.getBrokerConfig.useQuery;
|
|
212
|
+
/** Generated alias around `trpc.broker.getSettingsSchema.useQuery`. */
|
|
213
|
+
export declare const useBrokerGetSettingsSchema: typeof trpc.broker.getSettingsSchema.useQuery;
|
|
214
|
+
/** Generated alias around `trpc.broker.testSettings.useMutation`. */
|
|
215
|
+
export declare const useBrokerTestSettings: typeof trpc.broker.testSettings.useMutation;
|
|
216
|
+
/** Generated alias around `trpc.broker.publish.useMutation`. */
|
|
217
|
+
export declare const useBrokerPublish: typeof trpc.broker.publish.useMutation;
|
|
218
|
+
/** Generated alias around `trpc.broker.subscribe.useMutation`. */
|
|
219
|
+
export declare const useBrokerSubscribe: typeof trpc.broker.subscribe.useMutation;
|
|
220
|
+
/** Generated alias around `trpc.broker.unsubscribe.useMutation`. */
|
|
221
|
+
export declare const useBrokerUnsubscribe: typeof trpc.broker.unsubscribe.useMutation;
|
|
222
|
+
/** Generated alias around `trpc.broker.getState.useQuery`. */
|
|
223
|
+
export declare const useBrokerGetState: typeof trpc.broker.getState.useQuery;
|
|
224
|
+
/** Generated alias around `trpc.broker.getStatus.useQuery`. */
|
|
225
|
+
export declare const useBrokerGetStatus: typeof trpc.broker.getStatus.useQuery;
|
|
226
|
+
/** Generated alias around `trpc.button.press.useMutation`. */
|
|
227
|
+
export declare const useButtonPress: typeof trpc.button.press.useMutation;
|
|
168
228
|
/** Generated alias around `trpc.cameraCredentials.getCredentials.useQuery`. */
|
|
169
229
|
export declare const useCameraCredentialsGetCredentials: typeof trpc.cameraCredentials.getCredentials.useQuery;
|
|
170
230
|
/** Generated alias around `trpc.cameraCredentials.getStatus.useQuery`. */
|
|
@@ -181,6 +241,54 @@ export declare const useCameraStreamsGetCameraStreams: typeof trpc.cameraStreams
|
|
|
181
241
|
export declare const useCameraStreamsGetBrokerStreams: typeof trpc.cameraStreams.getBrokerStreams.useQuery;
|
|
182
242
|
/** Generated alias around `trpc.cameraStreams.getRtspEntries.useQuery`. */
|
|
183
243
|
export declare const useCameraStreamsGetRtspEntries: typeof trpc.cameraStreams.getRtspEntries.useQuery;
|
|
244
|
+
/** Generated alias around `trpc.cameraStreams.getProfileRtspEntries.useQuery`. */
|
|
245
|
+
export declare const useCameraStreamsGetProfileRtspEntries: typeof trpc.cameraStreams.getProfileRtspEntries.useQuery;
|
|
246
|
+
/** Generated alias around `trpc.cameraStreams.pickStream.useQuery`. */
|
|
247
|
+
export declare const useCameraStreamsPickStream: typeof trpc.cameraStreams.pickStream.useQuery;
|
|
248
|
+
/** Generated alias around `trpc.carbonMonoxide.getStatus.useQuery`. */
|
|
249
|
+
export declare const useCarbonMonoxideGetStatus: typeof trpc.carbonMonoxide.getStatus.useQuery;
|
|
250
|
+
/** Generated alias around `trpc.climateControl.setMode.useMutation`. */
|
|
251
|
+
export declare const useClimateControlSetMode: typeof trpc.climateControl.setMode.useMutation;
|
|
252
|
+
/** Generated alias around `trpc.climateControl.setFanMode.useMutation`. */
|
|
253
|
+
export declare const useClimateControlSetFanMode: typeof trpc.climateControl.setFanMode.useMutation;
|
|
254
|
+
/** Generated alias around `trpc.climateControl.setPreset.useMutation`. */
|
|
255
|
+
export declare const useClimateControlSetPreset: typeof trpc.climateControl.setPreset.useMutation;
|
|
256
|
+
/** Generated alias around `trpc.climateControl.setTarget.useMutation`. */
|
|
257
|
+
export declare const useClimateControlSetTarget: typeof trpc.climateControl.setTarget.useMutation;
|
|
258
|
+
/** Generated alias around `trpc.climateControl.setTargetRange.useMutation`. */
|
|
259
|
+
export declare const useClimateControlSetTargetRange: typeof trpc.climateControl.setTargetRange.useMutation;
|
|
260
|
+
/** Generated alias around `trpc.climateControl.setTargetHumidity.useMutation`. */
|
|
261
|
+
export declare const useClimateControlSetTargetHumidity: typeof trpc.climateControl.setTargetHumidity.useMutation;
|
|
262
|
+
/** Generated alias around `trpc.climateControl.getStatus.useQuery`. */
|
|
263
|
+
export declare const useClimateControlGetStatus: typeof trpc.climateControl.getStatus.useQuery;
|
|
264
|
+
/** Generated alias around `trpc.color.setColor.useMutation`. */
|
|
265
|
+
export declare const useColorSetColor: typeof trpc.color.setColor.useMutation;
|
|
266
|
+
/** Generated alias around `trpc.color.getStatus.useQuery`. */
|
|
267
|
+
export declare const useColorGetStatus: typeof trpc.color.getStatus.useQuery;
|
|
268
|
+
/** Generated alias around `trpc.connectivity.getStatus.useQuery`. */
|
|
269
|
+
export declare const useConnectivityGetStatus: typeof trpc.connectivity.getStatus.useQuery;
|
|
270
|
+
/** Generated alias around `trpc.consumables.reset.useMutation`. */
|
|
271
|
+
export declare const useConsumablesReset: typeof trpc.consumables.reset.useMutation;
|
|
272
|
+
/** Generated alias around `trpc.consumables.getStatus.useQuery`. */
|
|
273
|
+
export declare const useConsumablesGetStatus: typeof trpc.consumables.getStatus.useQuery;
|
|
274
|
+
/** Generated alias around `trpc.contact.getStatus.useQuery`. */
|
|
275
|
+
export declare const useContactGetStatus: typeof trpc.contact.getStatus.useQuery;
|
|
276
|
+
/** Generated alias around `trpc.control.setValue.useMutation`. */
|
|
277
|
+
export declare const useControlSetValue: typeof trpc.control.setValue.useMutation;
|
|
278
|
+
/** Generated alias around `trpc.control.getStatus.useQuery`. */
|
|
279
|
+
export declare const useControlGetStatus: typeof trpc.control.getStatus.useQuery;
|
|
280
|
+
/** Generated alias around `trpc.cover.open.useMutation`. */
|
|
281
|
+
export declare const useCoverOpen: typeof trpc.cover.open.useMutation;
|
|
282
|
+
/** Generated alias around `trpc.cover.close.useMutation`. */
|
|
283
|
+
export declare const useCoverClose: typeof trpc.cover.close.useMutation;
|
|
284
|
+
/** Generated alias around `trpc.cover.stop.useMutation`. */
|
|
285
|
+
export declare const useCoverStop: typeof trpc.cover.stop.useMutation;
|
|
286
|
+
/** Generated alias around `trpc.cover.setPosition.useMutation`. */
|
|
287
|
+
export declare const useCoverSetPosition: typeof trpc.cover.setPosition.useMutation;
|
|
288
|
+
/** Generated alias around `trpc.cover.setTiltPosition.useMutation`. */
|
|
289
|
+
export declare const useCoverSetTiltPosition: typeof trpc.cover.setTiltPosition.useMutation;
|
|
290
|
+
/** Generated alias around `trpc.cover.getStatus.useQuery`. */
|
|
291
|
+
export declare const useCoverGetStatus: typeof trpc.cover.getStatus.useQuery;
|
|
184
292
|
/** Generated alias around `trpc.decoder.supportsCodec.useQuery`. */
|
|
185
293
|
export declare const useDecoderSupportsCodec: typeof trpc.decoder.supportsCodec.useQuery;
|
|
186
294
|
/** Generated alias around `trpc.decoder.getInfo.useQuery`. */
|
|
@@ -215,6 +323,22 @@ export declare const useDetectionPipelineGetDeviceSettingsContribution: typeof t
|
|
|
215
323
|
export declare const useDetectionPipelineGetDeviceLiveContribution: typeof trpc.detectionPipeline.getDeviceLiveContribution.useQuery;
|
|
216
324
|
/** Generated alias around `trpc.detectionPipeline.applyDeviceSettingsPatch.useMutation`. */
|
|
217
325
|
export declare const useDetectionPipelineApplyDeviceSettingsPatch: typeof trpc.detectionPipeline.applyDeviceSettingsPatch.useMutation;
|
|
326
|
+
/** Generated alias around `trpc.deviceAdoption.listCandidateFilters.useQuery`. */
|
|
327
|
+
export declare const useDeviceAdoptionListCandidateFilters: typeof trpc.deviceAdoption.listCandidateFilters.useQuery;
|
|
328
|
+
/** Generated alias around `trpc.deviceAdoption.listCandidates.useQuery`. */
|
|
329
|
+
export declare const useDeviceAdoptionListCandidates: typeof trpc.deviceAdoption.listCandidates.useQuery;
|
|
330
|
+
/** Generated alias around `trpc.deviceAdoption.getCandidate.useQuery`. */
|
|
331
|
+
export declare const useDeviceAdoptionGetCandidate: typeof trpc.deviceAdoption.getCandidate.useQuery;
|
|
332
|
+
/** Generated alias around `trpc.deviceAdoption.refresh.useMutation`. */
|
|
333
|
+
export declare const useDeviceAdoptionRefresh: typeof trpc.deviceAdoption.refresh.useMutation;
|
|
334
|
+
/** Generated alias around `trpc.deviceAdoption.adopt.useMutation`. */
|
|
335
|
+
export declare const useDeviceAdoptionAdopt: typeof trpc.deviceAdoption.adopt.useMutation;
|
|
336
|
+
/** Generated alias around `trpc.deviceAdoption.release.useMutation`. */
|
|
337
|
+
export declare const useDeviceAdoptionRelease: typeof trpc.deviceAdoption.release.useMutation;
|
|
338
|
+
/** Generated alias around `trpc.deviceAdoption.resync.useMutation`. */
|
|
339
|
+
export declare const useDeviceAdoptionResync: typeof trpc.deviceAdoption.resync.useMutation;
|
|
340
|
+
/** Generated alias around `trpc.deviceAdoption.getStatus.useQuery`. */
|
|
341
|
+
export declare const useDeviceAdoptionGetStatus: typeof trpc.deviceAdoption.getStatus.useQuery;
|
|
218
342
|
/** Generated alias around `trpc.deviceDiscovery.listDiscovered.useQuery`. */
|
|
219
343
|
export declare const useDeviceDiscoveryListDiscovered: typeof trpc.deviceDiscovery.listDiscovered.useQuery;
|
|
220
344
|
/** Generated alias around `trpc.deviceDiscovery.refreshDiscovery.useMutation`. */
|
|
@@ -259,6 +383,24 @@ export declare const useDeviceManagerLoadMeta: typeof trpc.deviceManager.loadMet
|
|
|
259
383
|
export declare const useDeviceManagerSetName: typeof trpc.deviceManager.setName.useMutation;
|
|
260
384
|
/** Generated alias around `trpc.deviceManager.setLocation.useMutation`. */
|
|
261
385
|
export declare const useDeviceManagerSetLocation: typeof trpc.deviceManager.setLocation.useMutation;
|
|
386
|
+
/** Generated alias around `trpc.deviceManager.setType.useMutation`. */
|
|
387
|
+
export declare const useDeviceManagerSetType: typeof trpc.deviceManager.setType.useMutation;
|
|
388
|
+
/** Generated alias around `trpc.deviceManager.setIntegrationId.useMutation`. */
|
|
389
|
+
export declare const useDeviceManagerSetIntegrationId: typeof trpc.deviceManager.setIntegrationId.useMutation;
|
|
390
|
+
/** Generated alias around `trpc.deviceManager.setLinkDeviceId.useMutation`. */
|
|
391
|
+
export declare const useDeviceManagerSetLinkDeviceId: typeof trpc.deviceManager.setLinkDeviceId.useMutation;
|
|
392
|
+
/** Generated alias around `trpc.deviceManager.setPrimaryChildEntityId.useMutation`. */
|
|
393
|
+
export declare const useDeviceManagerSetPrimaryChildEntityId: typeof trpc.deviceManager.setPrimaryChildEntityId.useMutation;
|
|
394
|
+
/** Generated alias around `trpc.deviceManager.setChildLayout.useMutation`. */
|
|
395
|
+
export declare const useDeviceManagerSetChildLayout: typeof trpc.deviceManager.setChildLayout.useMutation;
|
|
396
|
+
/** Generated alias around `trpc.deviceManager.setDeviceLinks.useMutation`. */
|
|
397
|
+
export declare const useDeviceManagerSetDeviceLinks: typeof trpc.deviceManager.setDeviceLinks.useMutation;
|
|
398
|
+
/** Generated alias around `trpc.deviceManager.getWireableFields.useQuery`. */
|
|
399
|
+
export declare const useDeviceManagerGetWireableFields: typeof trpc.deviceManager.getWireableFields.useQuery;
|
|
400
|
+
/** Generated alias around `trpc.deviceManager.setRole.useMutation`. */
|
|
401
|
+
export declare const useDeviceManagerSetRole: typeof trpc.deviceManager.setRole.useMutation;
|
|
402
|
+
/** Generated alias around `trpc.deviceManager.applyInitialMeta.useMutation`. */
|
|
403
|
+
export declare const useDeviceManagerApplyInitialMeta: typeof trpc.deviceManager.applyInitialMeta.useMutation;
|
|
262
404
|
/** Generated alias around `trpc.deviceManager.setMetadata.useMutation`. */
|
|
263
405
|
export declare const useDeviceManagerSetMetadata: typeof trpc.deviceManager.setMetadata.useMutation;
|
|
264
406
|
/** Generated alias around `trpc.deviceManager.listLocations.useQuery`. */
|
|
@@ -291,6 +433,8 @@ export declare const useDeviceManagerEnable: typeof trpc.deviceManager.enable.us
|
|
|
291
433
|
export declare const useDeviceManagerDisable: typeof trpc.deviceManager.disable.useMutation;
|
|
292
434
|
/** Generated alias around `trpc.deviceManager.remove.useMutation`. */
|
|
293
435
|
export declare const useDeviceManagerRemove: typeof trpc.deviceManager.remove.useMutation;
|
|
436
|
+
/** Generated alias around `trpc.deviceManager.removeByIntegration.useMutation`. */
|
|
437
|
+
export declare const useDeviceManagerRemoveByIntegration: typeof trpc.deviceManager.removeByIntegration.useMutation;
|
|
294
438
|
/** Generated alias around `trpc.deviceManager.getStreamProfileMap.useQuery`. */
|
|
295
439
|
export declare const useDeviceManagerGetStreamProfileMap: typeof trpc.deviceManager.getStreamProfileMap.useQuery;
|
|
296
440
|
/** Generated alias around `trpc.deviceManager.setStreamProfileMap.useMutation`. */
|
|
@@ -313,6 +457,8 @@ export declare const useDeviceManagerGetDeviceSettingsAggregate: typeof trpc.dev
|
|
|
313
457
|
export declare const useDeviceManagerGetDeviceLiveInfoAggregate: typeof trpc.deviceManager.getDeviceLiveInfoAggregate.useQuery;
|
|
314
458
|
/** Generated alias around `trpc.deviceManager.getDeviceAggregate.useQuery`. */
|
|
315
459
|
export declare const useDeviceManagerGetDeviceAggregate: typeof trpc.deviceManager.getDeviceAggregate.useQuery;
|
|
460
|
+
/** Generated alias around `trpc.deviceManager.runDeviceAction.useMutation`. */
|
|
461
|
+
export declare const useDeviceManagerRunDeviceAction: typeof trpc.deviceManager.runDeviceAction.useMutation;
|
|
316
462
|
/** Generated alias around `trpc.deviceManager.updateDeviceField.useMutation`. */
|
|
317
463
|
export declare const useDeviceManagerUpdateDeviceField: typeof trpc.deviceManager.updateDeviceField.useMutation;
|
|
318
464
|
/** Generated alias around `trpc.deviceManager.updateDeviceFieldsBatch.useMutation`. */
|
|
@@ -327,6 +473,14 @@ export declare const useDeviceManagerGetCreationSchema: typeof trpc.deviceManage
|
|
|
327
473
|
export declare const useDeviceManagerCreateDevice: typeof trpc.deviceManager.createDevice.useMutation;
|
|
328
474
|
/** Generated alias around `trpc.deviceManager.testCreationField.useMutation`. */
|
|
329
475
|
export declare const useDeviceManagerTestCreationField: typeof trpc.deviceManager.testCreationField.useMutation;
|
|
476
|
+
/** Generated alias around `trpc.deviceManager.adoptionListCandidates.useQuery`. */
|
|
477
|
+
export declare const useDeviceManagerAdoptionListCandidates: typeof trpc.deviceManager.adoptionListCandidates.useQuery;
|
|
478
|
+
/** Generated alias around `trpc.deviceManager.adoptionRefresh.useMutation`. */
|
|
479
|
+
export declare const useDeviceManagerAdoptionRefresh: typeof trpc.deviceManager.adoptionRefresh.useMutation;
|
|
480
|
+
/** Generated alias around `trpc.deviceManager.adoptionAdopt.useMutation`. */
|
|
481
|
+
export declare const useDeviceManagerAdoptionAdopt: typeof trpc.deviceManager.adoptionAdopt.useMutation;
|
|
482
|
+
/** Generated alias around `trpc.deviceManager.adoptionRelease.useMutation`. */
|
|
483
|
+
export declare const useDeviceManagerAdoptionRelease: typeof trpc.deviceManager.adoptionRelease.useMutation;
|
|
330
484
|
/** Generated alias around `trpc.deviceManager.testField.useMutation`. */
|
|
331
485
|
export declare const useDeviceManagerTestField: typeof trpc.deviceManager.testField.useMutation;
|
|
332
486
|
/** Generated alias around `trpc.deviceManager.getDeviceStatusAggregate.useQuery`. */
|
|
@@ -337,10 +491,14 @@ export declare const useDeviceOpsGetStreamSources: typeof trpc.deviceOps.getStre
|
|
|
337
491
|
export declare const useDeviceOpsGetConfigEntries: typeof trpc.deviceOps.getConfigEntries.useQuery;
|
|
338
492
|
/** Generated alias around `trpc.deviceOps.setConfig.useMutation`. */
|
|
339
493
|
export declare const useDeviceOpsSetConfig: typeof trpc.deviceOps.setConfig.useMutation;
|
|
494
|
+
/** Generated alias around `trpc.deviceOps.runAction.useMutation`. */
|
|
495
|
+
export declare const useDeviceOpsRunAction: typeof trpc.deviceOps.runAction.useMutation;
|
|
340
496
|
/** Generated alias around `trpc.deviceOps.removeDevice.useMutation`. */
|
|
341
497
|
export declare const useDeviceOpsRemoveDevice: typeof trpc.deviceOps.removeDevice.useMutation;
|
|
342
498
|
/** Generated alias around `trpc.deviceOps.getSettingsSchema.useQuery`. */
|
|
343
499
|
export declare const useDeviceOpsGetSettingsSchema: typeof trpc.deviceOps.getSettingsSchema.useQuery;
|
|
500
|
+
/** Generated alias around `trpc.deviceOps.getRawState.useQuery`. */
|
|
501
|
+
export declare const useDeviceOpsGetRawState: typeof trpc.deviceOps.getRawState.useQuery;
|
|
344
502
|
/** Generated alias around `trpc.deviceProvider.start.useMutation`. */
|
|
345
503
|
export declare const useDeviceProviderStart: typeof trpc.deviceProvider.start.useMutation;
|
|
346
504
|
/** Generated alias around `trpc.deviceProvider.stop.useMutation`. */
|
|
@@ -375,14 +533,44 @@ export declare const useDeviceStateSetCapSlice: typeof trpc.deviceState.setCapSl
|
|
|
375
533
|
export declare const useDeviceStatusGetStatus: typeof trpc.deviceStatus.getStatus.useQuery;
|
|
376
534
|
/** Generated alias around `trpc.doorbell.getStatus.useQuery`. */
|
|
377
535
|
export declare const useDoorbellGetStatus: typeof trpc.doorbell.getStatus.useQuery;
|
|
536
|
+
/** Generated alias around `trpc.enumSensor.getStatus.useQuery`. */
|
|
537
|
+
export declare const useEnumSensorGetStatus: typeof trpc.enumSensor.getStatus.useQuery;
|
|
538
|
+
/** Generated alias around `trpc.eventEmitter.getStatus.useQuery`. */
|
|
539
|
+
export declare const useEventEmitterGetStatus: typeof trpc.eventEmitter.getStatus.useQuery;
|
|
378
540
|
/** Generated alias around `trpc.events.getEvents.useQuery`. */
|
|
379
541
|
export declare const useEventsGetEvents: typeof trpc.events.getEvents.useQuery;
|
|
380
542
|
/** Generated alias around `trpc.events.getEventThumbnail.useQuery`. */
|
|
381
543
|
export declare const useEventsGetEventThumbnail: typeof trpc.events.getEventThumbnail.useQuery;
|
|
382
544
|
/** Generated alias around `trpc.events.getEventClipUrl.useQuery`. */
|
|
383
545
|
export declare const useEventsGetEventClipUrl: typeof trpc.events.getEventClipUrl.useQuery;
|
|
546
|
+
/** Generated alias around `trpc.fanControl.setPercentage.useMutation`. */
|
|
547
|
+
export declare const useFanControlSetPercentage: typeof trpc.fanControl.setPercentage.useMutation;
|
|
548
|
+
/** Generated alias around `trpc.fanControl.setPreset.useMutation`. */
|
|
549
|
+
export declare const useFanControlSetPreset: typeof trpc.fanControl.setPreset.useMutation;
|
|
550
|
+
/** Generated alias around `trpc.fanControl.setDirection.useMutation`. */
|
|
551
|
+
export declare const useFanControlSetDirection: typeof trpc.fanControl.setDirection.useMutation;
|
|
552
|
+
/** Generated alias around `trpc.fanControl.setOscillating.useMutation`. */
|
|
553
|
+
export declare const useFanControlSetOscillating: typeof trpc.fanControl.setOscillating.useMutation;
|
|
554
|
+
/** Generated alias around `trpc.fanControl.getStatus.useQuery`. */
|
|
555
|
+
export declare const useFanControlGetStatus: typeof trpc.fanControl.getStatus.useQuery;
|
|
384
556
|
/** Generated alias around `trpc.featureProbe.getStatus.useQuery`. */
|
|
385
557
|
export declare const useFeatureProbeGetStatus: typeof trpc.featureProbe.getStatus.useQuery;
|
|
558
|
+
/** Generated alias around `trpc.flood.getStatus.useQuery`. */
|
|
559
|
+
export declare const useFloodGetStatus: typeof trpc.flood.getStatus.useQuery;
|
|
560
|
+
/** Generated alias around `trpc.gas.getStatus.useQuery`. */
|
|
561
|
+
export declare const useGasGetStatus: typeof trpc.gas.getStatus.useQuery;
|
|
562
|
+
/** Generated alias around `trpc.humidifier.setOn.useMutation`. */
|
|
563
|
+
export declare const useHumidifierSetOn: typeof trpc.humidifier.setOn.useMutation;
|
|
564
|
+
/** Generated alias around `trpc.humidifier.setTargetHumidity.useMutation`. */
|
|
565
|
+
export declare const useHumidifierSetTargetHumidity: typeof trpc.humidifier.setTargetHumidity.useMutation;
|
|
566
|
+
/** Generated alias around `trpc.humidifier.setMode.useMutation`. */
|
|
567
|
+
export declare const useHumidifierSetMode: typeof trpc.humidifier.setMode.useMutation;
|
|
568
|
+
/** Generated alias around `trpc.humidifier.getStatus.useQuery`. */
|
|
569
|
+
export declare const useHumidifierGetStatus: typeof trpc.humidifier.getStatus.useQuery;
|
|
570
|
+
/** Generated alias around `trpc.humiditySensor.getStatus.useQuery`. */
|
|
571
|
+
export declare const useHumiditySensorGetStatus: typeof trpc.humiditySensor.getStatus.useQuery;
|
|
572
|
+
/** Generated alias around `trpc.image.getStatus.useQuery`. */
|
|
573
|
+
export declare const useImageGetStatus: typeof trpc.image.getStatus.useQuery;
|
|
386
574
|
/** Generated alias around `trpc.integrations.list.useQuery`. */
|
|
387
575
|
export declare const useIntegrationsList: typeof trpc.integrations.list.useQuery;
|
|
388
576
|
/** Generated alias around `trpc.integrations.get.useQuery`. */
|
|
@@ -411,12 +599,20 @@ export declare const useIntercomHandleAnswer: typeof trpc.intercom.handleAnswer.
|
|
|
411
599
|
export declare const useIntercomStopSession: typeof trpc.intercom.stopSession.useMutation;
|
|
412
600
|
/** Generated alias around `trpc.intercom.startTalkSession.useMutation`. */
|
|
413
601
|
export declare const useIntercomStartTalkSession: typeof trpc.intercom.startTalkSession.useMutation;
|
|
414
|
-
/** Generated alias around `trpc.intercom.
|
|
415
|
-
export declare const
|
|
602
|
+
/** Generated alias around `trpc.intercom.pushTalkAudio.useMutation`. */
|
|
603
|
+
export declare const useIntercomPushTalkAudio: typeof trpc.intercom.pushTalkAudio.useMutation;
|
|
416
604
|
/** Generated alias around `trpc.intercom.endTalkSession.useMutation`. */
|
|
417
605
|
export declare const useIntercomEndTalkSession: typeof trpc.intercom.endTalkSession.useMutation;
|
|
418
606
|
/** Generated alias around `trpc.intercom.getStatus.useQuery`. */
|
|
419
607
|
export declare const useIntercomGetStatus: typeof trpc.intercom.getStatus.useQuery;
|
|
608
|
+
/** Generated alias around `trpc.lawnMowerControl.startMowing.useMutation`. */
|
|
609
|
+
export declare const useLawnMowerControlStartMowing: typeof trpc.lawnMowerControl.startMowing.useMutation;
|
|
610
|
+
/** Generated alias around `trpc.lawnMowerControl.pause.useMutation`. */
|
|
611
|
+
export declare const useLawnMowerControlPause: typeof trpc.lawnMowerControl.pause.useMutation;
|
|
612
|
+
/** Generated alias around `trpc.lawnMowerControl.dock.useMutation`. */
|
|
613
|
+
export declare const useLawnMowerControlDock: typeof trpc.lawnMowerControl.dock.useMutation;
|
|
614
|
+
/** Generated alias around `trpc.lawnMowerControl.getStatus.useQuery`. */
|
|
615
|
+
export declare const useLawnMowerControlGetStatus: typeof trpc.lawnMowerControl.getStatus.useQuery;
|
|
420
616
|
/** Generated alias around `trpc.localNetwork.list.useQuery`. */
|
|
421
617
|
export declare const useLocalNetworkList: typeof trpc.localNetwork.list.useQuery;
|
|
422
618
|
/** Generated alias around `trpc.localNetwork.getPreferred.useQuery`. */
|
|
@@ -429,6 +625,40 @@ export declare const useLocalNetworkGetAllowedAddresses: typeof trpc.localNetwor
|
|
|
429
625
|
export declare const useLocalNetworkSetAllowedAddresses: typeof trpc.localNetwork.setAllowedAddresses.useMutation;
|
|
430
626
|
/** Generated alias around `trpc.localNetwork.resetAllowlistToBestMatch.useMutation`. */
|
|
431
627
|
export declare const useLocalNetworkResetAllowlistToBestMatch: typeof trpc.localNetwork.resetAllowlistToBestMatch.useMutation;
|
|
628
|
+
/** Generated alias around `trpc.lockControl.lock.useMutation`. */
|
|
629
|
+
export declare const useLockControlLock: typeof trpc.lockControl.lock.useMutation;
|
|
630
|
+
/** Generated alias around `trpc.lockControl.unlock.useMutation`. */
|
|
631
|
+
export declare const useLockControlUnlock: typeof trpc.lockControl.unlock.useMutation;
|
|
632
|
+
/** Generated alias around `trpc.lockControl.open.useMutation`. */
|
|
633
|
+
export declare const useLockControlOpen: typeof trpc.lockControl.open.useMutation;
|
|
634
|
+
/** Generated alias around `trpc.lockControl.getStatus.useQuery`. */
|
|
635
|
+
export declare const useLockControlGetStatus: typeof trpc.lockControl.getStatus.useQuery;
|
|
636
|
+
/** Generated alias around `trpc.mediaPlayer.play.useMutation`. */
|
|
637
|
+
export declare const useMediaPlayerPlay: typeof trpc.mediaPlayer.play.useMutation;
|
|
638
|
+
/** Generated alias around `trpc.mediaPlayer.pause.useMutation`. */
|
|
639
|
+
export declare const useMediaPlayerPause: typeof trpc.mediaPlayer.pause.useMutation;
|
|
640
|
+
/** Generated alias around `trpc.mediaPlayer.stop.useMutation`. */
|
|
641
|
+
export declare const useMediaPlayerStop: typeof trpc.mediaPlayer.stop.useMutation;
|
|
642
|
+
/** Generated alias around `trpc.mediaPlayer.next.useMutation`. */
|
|
643
|
+
export declare const useMediaPlayerNext: typeof trpc.mediaPlayer.next.useMutation;
|
|
644
|
+
/** Generated alias around `trpc.mediaPlayer.previous.useMutation`. */
|
|
645
|
+
export declare const useMediaPlayerPrevious: typeof trpc.mediaPlayer.previous.useMutation;
|
|
646
|
+
/** Generated alias around `trpc.mediaPlayer.seek.useMutation`. */
|
|
647
|
+
export declare const useMediaPlayerSeek: typeof trpc.mediaPlayer.seek.useMutation;
|
|
648
|
+
/** Generated alias around `trpc.mediaPlayer.setVolume.useMutation`. */
|
|
649
|
+
export declare const useMediaPlayerSetVolume: typeof trpc.mediaPlayer.setVolume.useMutation;
|
|
650
|
+
/** Generated alias around `trpc.mediaPlayer.setMute.useMutation`. */
|
|
651
|
+
export declare const useMediaPlayerSetMute: typeof trpc.mediaPlayer.setMute.useMutation;
|
|
652
|
+
/** Generated alias around `trpc.mediaPlayer.setShuffle.useMutation`. */
|
|
653
|
+
export declare const useMediaPlayerSetShuffle: typeof trpc.mediaPlayer.setShuffle.useMutation;
|
|
654
|
+
/** Generated alias around `trpc.mediaPlayer.setRepeat.useMutation`. */
|
|
655
|
+
export declare const useMediaPlayerSetRepeat: typeof trpc.mediaPlayer.setRepeat.useMutation;
|
|
656
|
+
/** Generated alias around `trpc.mediaPlayer.selectSource.useMutation`. */
|
|
657
|
+
export declare const useMediaPlayerSelectSource: typeof trpc.mediaPlayer.selectSource.useMutation;
|
|
658
|
+
/** Generated alias around `trpc.mediaPlayer.playMedia.useMutation`. */
|
|
659
|
+
export declare const useMediaPlayerPlayMedia: typeof trpc.mediaPlayer.playMedia.useMutation;
|
|
660
|
+
/** Generated alias around `trpc.mediaPlayer.getStatus.useQuery`. */
|
|
661
|
+
export declare const useMediaPlayerGetStatus: typeof trpc.mediaPlayer.getStatus.useQuery;
|
|
432
662
|
/** Generated alias around `trpc.meshNetwork.getStatus.useQuery`. */
|
|
433
663
|
export declare const useMeshNetworkGetStatus: typeof trpc.meshNetwork.getStatus.useQuery;
|
|
434
664
|
/** Generated alias around `trpc.meshNetwork.join.useMutation`. */
|
|
@@ -557,6 +787,14 @@ export declare const useNodesExecuteQuery: typeof trpc.nodes.executeQuery.useMut
|
|
|
557
787
|
export declare const useNotificationOutputSend: typeof trpc.notificationOutput.send.useMutation;
|
|
558
788
|
/** Generated alias around `trpc.notificationOutput.sendTest.useMutation`. */
|
|
559
789
|
export declare const useNotificationOutputSendTest: typeof trpc.notificationOutput.sendTest.useMutation;
|
|
790
|
+
/** Generated alias around `trpc.notifier.send.useMutation`. */
|
|
791
|
+
export declare const useNotifierSend: typeof trpc.notifier.send.useMutation;
|
|
792
|
+
/** Generated alias around `trpc.notifier.cancel.useMutation`. */
|
|
793
|
+
export declare const useNotifierCancel: typeof trpc.notifier.cancel.useMutation;
|
|
794
|
+
/** Generated alias around `trpc.notifier.getStatus.useQuery`. */
|
|
795
|
+
export declare const useNotifierGetStatus: typeof trpc.notifier.getStatus.useQuery;
|
|
796
|
+
/** Generated alias around `trpc.numericSensor.getStatus.useQuery`. */
|
|
797
|
+
export declare const useNumericSensorGetStatus: typeof trpc.numericSensor.getStatus.useQuery;
|
|
560
798
|
/** Generated alias around `trpc.osd.setOverlay.useMutation`. */
|
|
561
799
|
export declare const useOsdSetOverlay: typeof trpc.osd.setOverlay.useMutation;
|
|
562
800
|
/** Generated alias around `trpc.osd.getStatus.useQuery`. */
|
|
@@ -575,6 +813,10 @@ export declare const usePipelineAnalyticsGetMotionEvents: typeof trpc.pipelineAn
|
|
|
575
813
|
export declare const usePipelineAnalyticsGetObjectEvents: typeof trpc.pipelineAnalytics.getObjectEvents.useQuery;
|
|
576
814
|
/** Generated alias around `trpc.pipelineAnalytics.getAudioEvents.useQuery`. */
|
|
577
815
|
export declare const usePipelineAnalyticsGetAudioEvents: typeof trpc.pipelineAnalytics.getAudioEvents.useQuery;
|
|
816
|
+
/** Generated alias around `trpc.pipelineAnalytics.getEventDensity.useQuery`. */
|
|
817
|
+
export declare const usePipelineAnalyticsGetEventDensity: typeof trpc.pipelineAnalytics.getEventDensity.useQuery;
|
|
818
|
+
/** Generated alias around `trpc.pipelineAnalytics.pruneEventsBefore.useMutation`. */
|
|
819
|
+
export declare const usePipelineAnalyticsPruneEventsBefore: typeof trpc.pipelineAnalytics.pruneEventsBefore.useMutation;
|
|
578
820
|
/** Generated alias around `trpc.pipelineAnalytics.getEventMedia.useQuery`. */
|
|
579
821
|
export declare const usePipelineAnalyticsGetEventMedia: typeof trpc.pipelineAnalytics.getEventMedia.useQuery;
|
|
580
822
|
/** Generated alias around `trpc.pipelineAnalytics.getTrackMedia.useQuery`. */
|
|
@@ -743,18 +985,12 @@ export declare const usePipelineRunnerGetCameraMetrics: typeof trpc.pipelineRunn
|
|
|
743
985
|
export declare const usePipelineRunnerGetAllCameraMetrics: typeof trpc.pipelineRunner.getAllCameraMetrics.useQuery;
|
|
744
986
|
/** Generated alias around `trpc.pipelineRunner.getLocalCameras.useQuery`. */
|
|
745
987
|
export declare const usePipelineRunnerGetLocalCameras: typeof trpc.pipelineRunner.getLocalCameras.useQuery;
|
|
746
|
-
/** Generated alias around `trpc.
|
|
747
|
-
export declare const
|
|
748
|
-
/** Generated alias around `trpc.
|
|
749
|
-
export declare const
|
|
750
|
-
/** Generated alias around `trpc.
|
|
751
|
-
export declare const
|
|
752
|
-
/** Generated alias around `trpc.platformProbe.resolveHwAccel.useQuery`. */
|
|
753
|
-
export declare const usePlatformProbeResolveHwAccel: typeof trpc.platformProbe.resolveHwAccel.useQuery;
|
|
754
|
-
/** Generated alias around `trpc.platformProbe.getHardwareEncoders.useQuery`. */
|
|
755
|
-
export declare const usePlatformProbeGetHardwareEncoders: typeof trpc.platformProbe.getHardwareEncoders.useQuery;
|
|
756
|
-
/** Generated alias around `trpc.platformProbe.refreshHardwareEncoders.useMutation`. */
|
|
757
|
-
export declare const usePlatformProbeRefreshHardwareEncoders: typeof trpc.platformProbe.refreshHardwareEncoders.useMutation;
|
|
988
|
+
/** Generated alias around `trpc.powerMeter.getStatus.useQuery`. */
|
|
989
|
+
export declare const usePowerMeterGetStatus: typeof trpc.powerMeter.getStatus.useQuery;
|
|
990
|
+
/** Generated alias around `trpc.presence.getStatus.useQuery`. */
|
|
991
|
+
export declare const usePresenceGetStatus: typeof trpc.presence.getStatus.useQuery;
|
|
992
|
+
/** Generated alias around `trpc.pressureSensor.getStatus.useQuery`. */
|
|
993
|
+
export declare const usePressureSensorGetStatus: typeof trpc.pressureSensor.getStatus.useQuery;
|
|
758
994
|
/** Generated alias around `trpc.privacyMask.getOptions.useQuery`. */
|
|
759
995
|
export declare const usePrivacyMaskGetOptions: typeof trpc.privacyMask.getOptions.useQuery;
|
|
760
996
|
/** Generated alias around `trpc.privacyMask.setMask.useMutation`. */
|
|
@@ -795,48 +1031,34 @@ export declare const usePtzAutotrackGetSettings: typeof trpc.ptzAutotrack.getSet
|
|
|
795
1031
|
export declare const usePtzAutotrackSetSettings: typeof trpc.ptzAutotrack.setSettings.useMutation;
|
|
796
1032
|
/** Generated alias around `trpc.reboot.reboot.useMutation`. */
|
|
797
1033
|
export declare const useRebootReboot: typeof trpc.reboot.reboot.useMutation;
|
|
798
|
-
/** Generated alias around `trpc.recording.
|
|
799
|
-
export declare const
|
|
800
|
-
/** Generated alias around `trpc.recording.
|
|
801
|
-
export declare const
|
|
802
|
-
/** Generated alias around `trpc.recording.
|
|
803
|
-
export declare const
|
|
804
|
-
/** Generated alias around `trpc.
|
|
805
|
-
export declare const
|
|
806
|
-
/** Generated alias around `trpc.
|
|
807
|
-
export declare const
|
|
808
|
-
/** Generated alias around `trpc.
|
|
809
|
-
export declare const
|
|
810
|
-
/** Generated alias around `trpc.
|
|
811
|
-
export declare const
|
|
812
|
-
/** Generated alias around `trpc.
|
|
813
|
-
export declare const
|
|
814
|
-
/** Generated alias around `trpc.
|
|
815
|
-
export declare const
|
|
816
|
-
/** Generated alias around `trpc.
|
|
817
|
-
export declare const
|
|
818
|
-
/** Generated alias around `trpc.
|
|
819
|
-
export declare const
|
|
820
|
-
/** Generated alias around `trpc.
|
|
821
|
-
export declare const
|
|
822
|
-
/** Generated alias around `trpc.
|
|
823
|
-
export declare const
|
|
824
|
-
/** Generated alias around `trpc.
|
|
825
|
-
export declare const
|
|
826
|
-
/** Generated alias around `trpc.recordingEngine.getStorageUsage.useQuery`. */
|
|
827
|
-
export declare const useRecordingEngineGetStorageUsage: typeof trpc.recordingEngine.getStorageUsage.useQuery;
|
|
828
|
-
/** Generated alias around `trpc.recordingEngine.setPolicy.useMutation`. */
|
|
829
|
-
export declare const useRecordingEngineSetPolicy: typeof trpc.recordingEngine.setPolicy.useMutation;
|
|
830
|
-
/** Generated alias around `trpc.recordingEngine.getPolicy.useQuery`. */
|
|
831
|
-
export declare const useRecordingEngineGetPolicy: typeof trpc.recordingEngine.getPolicy.useQuery;
|
|
832
|
-
/** Generated alias around `trpc.recordingEngine.getPolicyStatus.useQuery`. */
|
|
833
|
-
export declare const useRecordingEngineGetPolicyStatus: typeof trpc.recordingEngine.getPolicyStatus.useQuery;
|
|
834
|
-
/** Generated alias around `trpc.recordingEngine.getRetentionConfig.useQuery`. */
|
|
835
|
-
export declare const useRecordingEngineGetRetentionConfig: typeof trpc.recordingEngine.getRetentionConfig.useQuery;
|
|
836
|
-
/** Generated alias around `trpc.recordingEngine.updateRetentionConfig.useMutation`. */
|
|
837
|
-
export declare const useRecordingEngineUpdateRetentionConfig: typeof trpc.recordingEngine.updateRetentionConfig.useMutation;
|
|
838
|
-
/** Generated alias around `trpc.recordingEngine.getMotionStats.useQuery`. */
|
|
839
|
-
export declare const useRecordingEngineGetMotionStats: typeof trpc.recordingEngine.getMotionStats.useQuery;
|
|
1034
|
+
/** Generated alias around `trpc.recording.getAvailability.useQuery`. */
|
|
1035
|
+
export declare const useRecordingGetAvailability: typeof trpc.recording.getAvailability.useQuery;
|
|
1036
|
+
/** Generated alias around `trpc.recording.getPlaybackManifest.useQuery`. */
|
|
1037
|
+
export declare const useRecordingGetPlaybackManifest: typeof trpc.recording.getPlaybackManifest.useQuery;
|
|
1038
|
+
/** Generated alias around `trpc.recording.getStorageUsage.useQuery`. */
|
|
1039
|
+
export declare const useRecordingGetStorageUsage: typeof trpc.recording.getStorageUsage.useQuery;
|
|
1040
|
+
/** Generated alias around `trpc.recording.getDeviceConfig.useQuery`. */
|
|
1041
|
+
export declare const useRecordingGetDeviceConfig: typeof trpc.recording.getDeviceConfig.useQuery;
|
|
1042
|
+
/** Generated alias around `trpc.recording.setDeviceConfig.useMutation`. */
|
|
1043
|
+
export declare const useRecordingSetDeviceConfig: typeof trpc.recording.setDeviceConfig.useMutation;
|
|
1044
|
+
/** Generated alias around `trpc.recording.rescanStorage.useMutation`. */
|
|
1045
|
+
export declare const useRecordingRescanStorage: typeof trpc.recording.rescanStorage.useMutation;
|
|
1046
|
+
/** Generated alias around `trpc.recording.pruneFootage.useMutation`. */
|
|
1047
|
+
export declare const useRecordingPruneFootage: typeof trpc.recording.pruneFootage.useMutation;
|
|
1048
|
+
/** Generated alias around `trpc.recording.getStatus.useQuery`. */
|
|
1049
|
+
export declare const useRecordingGetStatus: typeof trpc.recording.getStatus.useQuery;
|
|
1050
|
+
/** Generated alias around `trpc.recording.getDeviceSettingsContribution.useQuery`. */
|
|
1051
|
+
export declare const useRecordingGetDeviceSettingsContribution: typeof trpc.recording.getDeviceSettingsContribution.useQuery;
|
|
1052
|
+
/** Generated alias around `trpc.recording.getDeviceLiveContribution.useQuery`. */
|
|
1053
|
+
export declare const useRecordingGetDeviceLiveContribution: typeof trpc.recording.getDeviceLiveContribution.useQuery;
|
|
1054
|
+
/** Generated alias around `trpc.recording.applyDeviceSettingsPatch.useMutation`. */
|
|
1055
|
+
export declare const useRecordingApplyDeviceSettingsPatch: typeof trpc.recording.applyDeviceSettingsPatch.useMutation;
|
|
1056
|
+
/** Generated alias around `trpc.scriptRunner.run.useMutation`. */
|
|
1057
|
+
export declare const useScriptRunnerRun: typeof trpc.scriptRunner.run.useMutation;
|
|
1058
|
+
/** Generated alias around `trpc.scriptRunner.stop.useMutation`. */
|
|
1059
|
+
export declare const useScriptRunnerStop: typeof trpc.scriptRunner.stop.useMutation;
|
|
1060
|
+
/** Generated alias around `trpc.scriptRunner.getStatus.useQuery`. */
|
|
1061
|
+
export declare const useScriptRunnerGetStatus: typeof trpc.scriptRunner.getStatus.useQuery;
|
|
840
1062
|
/** Generated alias around `trpc.settingsStore.get.useQuery`. */
|
|
841
1063
|
export declare const useSettingsStoreGet: typeof trpc.settingsStore.get.useQuery;
|
|
842
1064
|
/** Generated alias around `trpc.settingsStore.set.useMutation`. */
|
|
@@ -851,10 +1073,14 @@ export declare const useSettingsStoreUpdate: typeof trpc.settingsStore.update.us
|
|
|
851
1073
|
export declare const useSettingsStoreDelete: typeof trpc.settingsStore.delete.useMutation;
|
|
852
1074
|
/** Generated alias around `trpc.settingsStore.count.useQuery`. */
|
|
853
1075
|
export declare const useSettingsStoreCount: typeof trpc.settingsStore.count.useQuery;
|
|
1076
|
+
/** Generated alias around `trpc.settingsStore.histogram.useQuery`. */
|
|
1077
|
+
export declare const useSettingsStoreHistogram: typeof trpc.settingsStore.histogram.useQuery;
|
|
854
1078
|
/** Generated alias around `trpc.settingsStore.isEmpty.useQuery`. */
|
|
855
1079
|
export declare const useSettingsStoreIsEmpty: typeof trpc.settingsStore.isEmpty.useQuery;
|
|
856
1080
|
/** Generated alias around `trpc.settingsStore.declareCollection.useMutation`. */
|
|
857
1081
|
export declare const useSettingsStoreDeclareCollection: typeof trpc.settingsStore.declareCollection.useMutation;
|
|
1082
|
+
/** Generated alias around `trpc.smoke.getStatus.useQuery`. */
|
|
1083
|
+
export declare const useSmokeGetStatus: typeof trpc.smoke.getStatus.useQuery;
|
|
858
1084
|
/** Generated alias around `trpc.snapshot.getSnapshot.useQuery`. */
|
|
859
1085
|
export declare const useSnapshotGetSnapshot: typeof trpc.snapshot.getSnapshot.useQuery;
|
|
860
1086
|
/** Generated alias around `trpc.snapshot.invalidateCache.useMutation`. */
|
|
@@ -903,6 +1129,8 @@ export declare const useStorageEndDownload: typeof trpc.storage.endDownload.useM
|
|
|
903
1129
|
export declare const useStorageListLocations: typeof trpc.storage.listLocations.useQuery;
|
|
904
1130
|
/** Generated alias around `trpc.storage.getDefaultLocation.useQuery`. */
|
|
905
1131
|
export declare const useStorageGetDefaultLocation: typeof trpc.storage.getDefaultLocation.useQuery;
|
|
1132
|
+
/** Generated alias around `trpc.storage.listLocationDeclarations.useQuery`. */
|
|
1133
|
+
export declare const useStorageListLocationDeclarations: typeof trpc.storage.listLocationDeclarations.useQuery;
|
|
906
1134
|
/** Generated alias around `trpc.storage.upsertLocation.useMutation`. */
|
|
907
1135
|
export declare const useStorageUpsertLocation: typeof trpc.storage.upsertLocation.useMutation;
|
|
908
1136
|
/** Generated alias around `trpc.storage.deleteLocation.useMutation`. */
|
|
@@ -1001,10 +1229,18 @@ export declare const useSystemGetRetentionConfig: typeof trpc.system.getRetentio
|
|
|
1001
1229
|
export declare const useSystemSetRetentionConfig: typeof trpc.system.setRetentionConfig.useMutation;
|
|
1002
1230
|
/** Generated alias around `trpc.system.forceRetentionCleanup.useMutation`. */
|
|
1003
1231
|
export declare const useSystemForceRetentionCleanup: typeof trpc.system.forceRetentionCleanup.useMutation;
|
|
1232
|
+
/** Generated alias around `trpc.tamper.getStatus.useQuery`. */
|
|
1233
|
+
export declare const useTamperGetStatus: typeof trpc.tamper.getStatus.useQuery;
|
|
1234
|
+
/** Generated alias around `trpc.temperatureSensor.getStatus.useQuery`. */
|
|
1235
|
+
export declare const useTemperatureSensorGetStatus: typeof trpc.temperatureSensor.getStatus.useQuery;
|
|
1004
1236
|
/** Generated alias around `trpc.toast.onToast.useSubscription`. */
|
|
1005
1237
|
export declare const useToastOnToast: typeof trpc.toast.onToast.useSubscription;
|
|
1006
1238
|
/** Generated alias around `trpc.turnProvider.getTurnServers.useQuery`. */
|
|
1007
1239
|
export declare const useTurnProviderGetTurnServers: typeof trpc.turnProvider.getTurnServers.useQuery;
|
|
1240
|
+
/** Generated alias around `trpc.update.installUpdate.useMutation`. */
|
|
1241
|
+
export declare const useUpdateInstallUpdate: typeof trpc.update.installUpdate.useMutation;
|
|
1242
|
+
/** Generated alias around `trpc.update.getStatus.useQuery`. */
|
|
1243
|
+
export declare const useUpdateGetStatus: typeof trpc.update.getStatus.useQuery;
|
|
1008
1244
|
/** Generated alias around `trpc.userManagement.listUsers.useQuery`. */
|
|
1009
1245
|
export declare const useUserManagementListUsers: typeof trpc.userManagement.listUsers.useQuery;
|
|
1010
1246
|
/** Generated alias around `trpc.userManagement.createUser.useMutation`. */
|
|
@@ -1057,6 +1293,42 @@ export declare const useUserManagementOauthVerifyAccessToken: typeof trpc.userMa
|
|
|
1057
1293
|
export declare const useUserManagementListOauthSessions: typeof trpc.userManagement.listOauthSessions.useQuery;
|
|
1058
1294
|
/** Generated alias around `trpc.userManagement.revokeOauthSession.useMutation`. */
|
|
1059
1295
|
export declare const useUserManagementRevokeOauthSession: typeof trpc.userManagement.revokeOauthSession.useMutation;
|
|
1296
|
+
/** Generated alias around `trpc.vacuumControl.start.useMutation`. */
|
|
1297
|
+
export declare const useVacuumControlStart: typeof trpc.vacuumControl.start.useMutation;
|
|
1298
|
+
/** Generated alias around `trpc.vacuumControl.pause.useMutation`. */
|
|
1299
|
+
export declare const useVacuumControlPause: typeof trpc.vacuumControl.pause.useMutation;
|
|
1300
|
+
/** Generated alias around `trpc.vacuumControl.stop.useMutation`. */
|
|
1301
|
+
export declare const useVacuumControlStop: typeof trpc.vacuumControl.stop.useMutation;
|
|
1302
|
+
/** Generated alias around `trpc.vacuumControl.returnToBase.useMutation`. */
|
|
1303
|
+
export declare const useVacuumControlReturnToBase: typeof trpc.vacuumControl.returnToBase.useMutation;
|
|
1304
|
+
/** Generated alias around `trpc.vacuumControl.locate.useMutation`. */
|
|
1305
|
+
export declare const useVacuumControlLocate: typeof trpc.vacuumControl.locate.useMutation;
|
|
1306
|
+
/** Generated alias around `trpc.vacuumControl.setFanSpeed.useMutation`. */
|
|
1307
|
+
export declare const useVacuumControlSetFanSpeed: typeof trpc.vacuumControl.setFanSpeed.useMutation;
|
|
1308
|
+
/** Generated alias around `trpc.vacuumControl.getStatus.useQuery`. */
|
|
1309
|
+
export declare const useVacuumControlGetStatus: typeof trpc.vacuumControl.getStatus.useQuery;
|
|
1310
|
+
/** Generated alias around `trpc.valve.open.useMutation`. */
|
|
1311
|
+
export declare const useValveOpen: typeof trpc.valve.open.useMutation;
|
|
1312
|
+
/** Generated alias around `trpc.valve.close.useMutation`. */
|
|
1313
|
+
export declare const useValveClose: typeof trpc.valve.close.useMutation;
|
|
1314
|
+
/** Generated alias around `trpc.valve.stop.useMutation`. */
|
|
1315
|
+
export declare const useValveStop: typeof trpc.valve.stop.useMutation;
|
|
1316
|
+
/** Generated alias around `trpc.valve.setPosition.useMutation`. */
|
|
1317
|
+
export declare const useValveSetPosition: typeof trpc.valve.setPosition.useMutation;
|
|
1318
|
+
/** Generated alias around `trpc.valve.getStatus.useQuery`. */
|
|
1319
|
+
export declare const useValveGetStatus: typeof trpc.valve.getStatus.useQuery;
|
|
1320
|
+
/** Generated alias around `trpc.vibration.getStatus.useQuery`. */
|
|
1321
|
+
export declare const useVibrationGetStatus: typeof trpc.vibration.getStatus.useQuery;
|
|
1322
|
+
/** Generated alias around `trpc.waterHeater.setTargetTemp.useMutation`. */
|
|
1323
|
+
export declare const useWaterHeaterSetTargetTemp: typeof trpc.waterHeater.setTargetTemp.useMutation;
|
|
1324
|
+
/** Generated alias around `trpc.waterHeater.setOperationMode.useMutation`. */
|
|
1325
|
+
export declare const useWaterHeaterSetOperationMode: typeof trpc.waterHeater.setOperationMode.useMutation;
|
|
1326
|
+
/** Generated alias around `trpc.waterHeater.setAway.useMutation`. */
|
|
1327
|
+
export declare const useWaterHeaterSetAway: typeof trpc.waterHeater.setAway.useMutation;
|
|
1328
|
+
/** Generated alias around `trpc.waterHeater.getStatus.useQuery`. */
|
|
1329
|
+
export declare const useWaterHeaterGetStatus: typeof trpc.waterHeater.getStatus.useQuery;
|
|
1330
|
+
/** Generated alias around `trpc.weather.getStatus.useQuery`. */
|
|
1331
|
+
export declare const useWeatherGetStatus: typeof trpc.weather.getStatus.useQuery;
|
|
1060
1332
|
/** Generated alias around `trpc.webrtcSession.listStreams.useQuery`. */
|
|
1061
1333
|
export declare const useWebrtcSessionListStreams: typeof trpc.webrtcSession.listStreams.useQuery;
|
|
1062
1334
|
/** Generated alias around `trpc.webrtcSession.createSession.useMutation`. */
|
|
@@ -1073,6 +1345,8 @@ export declare const useWebrtcSessionGetIceCandidates: typeof trpc.webrtcSession
|
|
|
1073
1345
|
export declare const useWebrtcSessionCloseSession: typeof trpc.webrtcSession.closeSession.useMutation;
|
|
1074
1346
|
/** Generated alias around `trpc.webrtcSession.hasAdaptiveBitrate.useQuery`. */
|
|
1075
1347
|
export declare const useWebrtcSessionHasAdaptiveBitrate: typeof trpc.webrtcSession.hasAdaptiveBitrate.useQuery;
|
|
1348
|
+
/** Generated alias around `trpc.webrtcSession.getSessionState.useQuery`. */
|
|
1349
|
+
export declare const useWebrtcSessionGetSessionState: typeof trpc.webrtcSession.getSessionState.useQuery;
|
|
1076
1350
|
/** Generated alias around `trpc.zoneAnalytics.getCurrentSnapshot.useQuery`. */
|
|
1077
1351
|
export declare const useZoneAnalyticsGetCurrentSnapshot: typeof trpc.zoneAnalytics.getCurrentSnapshot.useQuery;
|
|
1078
1352
|
/** Generated alias around `trpc.zoneAnalytics.getZoneHistory.useQuery`. */
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -27,3 +27,9 @@ export { useDevices, useDevice } from './use-devices';
|
|
|
27
27
|
export { useSystemQuery, useSystemMutation, type SystemQuerySelector, type SystemMutationSelector, } from './use-system-query';
|
|
28
28
|
export { useLiveEvent, type LiveEventCallback } from './use-live-event';
|
|
29
29
|
export { useEventInvalidation } from './use-event-invalidation';
|
|
30
|
+
export { useOptimisticSlice } from './use-optimistic-slice';
|
|
31
|
+
export type { UseOptimisticSliceOptions, UseOptimisticSliceResult } from './use-optimistic-slice';
|
|
32
|
+
export { useDeviceCapSlice } from './use-device-cap-slice';
|
|
33
|
+
export type { UseDeviceCapSliceTrpc } from './use-device-cap-slice';
|
|
34
|
+
export { useDeviceListPageSize, DEVICE_LIST_PAGE_SIZE_OPTIONS, DEVICE_LIST_PAGE_SIZE_KEY, } from './use-device-list-page-size';
|
|
35
|
+
export type { SetDeviceListPageSize } from './use-device-list-page-size';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SliceHandleApi } from '@camstack/types';
|
|
2
|
+
/**
|
|
3
|
+
* The tRPC shape required by this hook — a superset of `UseDeviceProxyTrpc`
|
|
4
|
+
* that also exposes `deviceState.getCapSlice` and `deviceState.setCapSlice`
|
|
5
|
+
* so the lazy source can bootstrap a per-cap subscription.
|
|
6
|
+
*
|
|
7
|
+
* `System.trpcClient` satisfies this structurally.
|
|
8
|
+
*/
|
|
9
|
+
export type UseDeviceCapSliceTrpc = SliceHandleApi;
|
|
10
|
+
/**
|
|
11
|
+
* Read an arbitrary cap's runtime-state slice by its raw kebab-case name.
|
|
12
|
+
*
|
|
13
|
+
* Returns `unknown | undefined`:
|
|
14
|
+
* - `undefined` while the slice hasn't been seeded yet (cold-start)
|
|
15
|
+
* - the raw slice record once the kernel has published at least one push
|
|
16
|
+
*
|
|
17
|
+
* Pass `null` for `deviceId` to suppress all fetches (renders `undefined`).
|
|
18
|
+
*/
|
|
19
|
+
export declare function useDeviceCapSlice(trpc: UseDeviceCapSliceTrpc, deviceId: number | null, capName: string): unknown | undefined;
|