@glasshome/sync-layer 0.1.2 → 0.1.3
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.
|
@@ -11,7 +11,7 @@ import type { EntityUpdateFields, ServiceTarget } from "./types";
|
|
|
11
11
|
/**
|
|
12
12
|
* Call a Home Assistant service
|
|
13
13
|
*/
|
|
14
|
-
export declare function callService(domain:
|
|
14
|
+
export declare function callService<D extends Domain, S extends ServiceName<D>>(domain: D, service: S, serviceData?: ServiceCall<D, S>, target?: ServiceTarget): Promise<void>;
|
|
15
15
|
/**
|
|
16
16
|
* Turn on entity or entities
|
|
17
17
|
*/
|
package/dist/core/store.d.ts
CHANGED
|
@@ -58,7 +58,3 @@ export declare function resetStore(): void;
|
|
|
58
58
|
* Creates a new, independent store instance for test isolation.
|
|
59
59
|
*/
|
|
60
60
|
export declare function createStoreInstance(): [GlassHomeState, SetStoreFunction<GlassHomeState>];
|
|
61
|
-
/**
|
|
62
|
-
* Store tuple type for dependency injection
|
|
63
|
-
*/
|
|
64
|
-
export type Store = [get: GlassHomeState, set: SetStoreFunction<GlassHomeState>];
|