@camstack/ui-library 1.1.18 → 1.1.19

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.
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+ import { ControlPanelProps } from './types.js';
3
+ export declare function PetFeederPanel({ trpc, deviceId, layout, optimistic, }: ControlPanelProps): ReactNode;
4
+ interface DeviceControlProps {
5
+ readonly trpc: ControlPanelProps['trpc'];
6
+ readonly deviceId: number;
7
+ readonly features: readonly string[] | undefined;
8
+ readonly optimistic?: boolean;
9
+ }
10
+ export declare function PetFeederInlineControl({ trpc, deviceId, features, optimistic, }: DeviceControlProps): ReactNode;
11
+ export declare function PetFeederHeroCard({ trpc, deviceId, features, optimistic, }: DeviceControlProps): ReactNode;
12
+ export {};
@@ -13,5 +13,5 @@ export interface ControlPanelProps {
13
13
  /** Cap names whose presence (bound on a device) means it has a control surface.
14
14
  * Single source of truth shared by the row registry and the detail Controls tab
15
15
  * so the two never drift. */
16
- export declare const CONTROL_CAP_NAMES: readonly ["cover", "lock-control", "switch", "brightness", "fan-control", "climate-control", "media-player", "control"];
16
+ export declare const CONTROL_CAP_NAMES: readonly ["cover", "lock-control", "switch", "brightness", "fan-control", "climate-control", "media-player", "control", "pet-feeder"];
17
17
  export type ControlCapName = (typeof CONTROL_CAP_NAMES)[number];
@@ -871,6 +871,28 @@ export declare const useNumericSensorGetStatus: typeof trpc.numericSensor.getSta
871
871
  export declare const useOsdSetOverlay: typeof trpc.osd.setOverlay.useMutation;
872
872
  /** Generated alias around `trpc.osd.getStatus.useQuery`. */
873
873
  export declare const useOsdGetStatus: typeof trpc.osd.getStatus.useQuery;
874
+ /** Generated alias around `trpc.petFeeder.feed.useMutation`. */
875
+ export declare const usePetFeederFeed: typeof trpc.petFeeder.feed.useMutation;
876
+ /** Generated alias around `trpc.petFeeder.cancelFeed.useMutation`. */
877
+ export declare const usePetFeederCancelFeed: typeof trpc.petFeeder.cancelFeed.useMutation;
878
+ /** Generated alias around `trpc.petFeeder.resetDesiccant.useMutation`. */
879
+ export declare const usePetFeederResetDesiccant: typeof trpc.petFeeder.resetDesiccant.useMutation;
880
+ /** Generated alias around `trpc.petFeeder.markFoodReplenished.useMutation`. */
881
+ export declare const usePetFeederMarkFoodReplenished: typeof trpc.petFeeder.markFoodReplenished.useMutation;
882
+ /** Generated alias around `trpc.petFeeder.callPet.useMutation`. */
883
+ export declare const usePetFeederCallPet: typeof trpc.petFeeder.callPet.useMutation;
884
+ /** Generated alias around `trpc.petFeeder.playSound.useMutation`. */
885
+ export declare const usePetFeederPlaySound: typeof trpc.petFeeder.playSound.useMutation;
886
+ /** Generated alias around `trpc.petFeeder.setChildLock.useMutation`. */
887
+ export declare const usePetFeederSetChildLock: typeof trpc.petFeeder.setChildLock.useMutation;
888
+ /** Generated alias around `trpc.petFeeder.setIndicatorLight.useMutation`. */
889
+ export declare const usePetFeederSetIndicatorLight: typeof trpc.petFeeder.setIndicatorLight.useMutation;
890
+ /** Generated alias around `trpc.petFeeder.setFeedSound.useMutation`. */
891
+ export declare const usePetFeederSetFeedSound: typeof trpc.petFeeder.setFeedSound.useMutation;
892
+ /** Generated alias around `trpc.petFeeder.setVolume.useMutation`. */
893
+ export declare const usePetFeederSetVolume: typeof trpc.petFeeder.setVolume.useMutation;
894
+ /** Generated alias around `trpc.petFeeder.getStatus.useQuery`. */
895
+ export declare const usePetFeederGetStatus: typeof trpc.petFeeder.getStatus.useQuery;
874
896
  /** Generated alias around `trpc.pipelineAnalytics.getActiveTracks.useQuery`. */
875
897
  export declare const usePipelineAnalyticsGetActiveTracks: typeof trpc.pipelineAnalytics.getActiveTracks.useQuery;
876
898
  /** Generated alias around `trpc.pipelineAnalytics.getTrack.useQuery`. */