@basmilius/homey-common 1.2.0 → 1.2.1

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/flow.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  import type Homey from "homey";
2
2
  import { type App, Shortcuts } from "./app";
3
3
  import type { Device } from "./device";
4
- import type { AutocompleteProvider, FlowCardType } from "./types";
5
- type FlowCard = Homey.FlowCardAction | Homey.FlowCardCondition | Homey.FlowCardTrigger;
4
+ import type { AutocompleteProvider, FlowCard, FlowCardType } from "./types";
6
5
  export declare abstract class FlowEntity<
7
6
  TApp extends App<TApp>,
8
7
  TCard extends Homey.FlowCard,
@@ -63,4 +62,3 @@ export declare abstract class FlowAutocompleteArgumentProvider<TApp extends App<
63
62
  onInit(): Promise<void>;
64
63
  update(): Promise<void>;
65
64
  }
66
- export {};
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { DateTime, Settings as Luxon } from "luxon";
2
- export type { ApiRequest, Color, Constructor, FlowCardType, Icon, Language, WidgetApiRequest, Action, AutocompleteProvider, Condition, Trigger } from "./types";
2
+ export type { ApiRequest, Color, Constructor, FlowCard, FlowCardType, Icon, Language, WidgetApiRequest, Action, AutocompleteProvider, Condition, DeviceTrigger, Trigger } from "./types";
3
3
  export { App, Shortcuts } from "./app";
4
4
  export { action, autocomplete, condition, trigger } from "./decorator";
5
5
  export { Device, Driver } from "./device";