Skip to content

Commit 28eaffd

Browse files
Extend adapter types (#2877)
Co-authored-by: Max Hauser <[email protected]>
1 parent e173da0 commit 28eaffd

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

packages/types-dev/objects.d.ts

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,35 @@ declare global {
729729
/** @deprecated The name of this adapter to be shown in the admin UI. Use @see titleLang instead. */
730730
title?: string;
731731
/** The type of this adapter */
732-
type?: string;
732+
type?:
733+
| 'alarm'
734+
| 'climate-control'
735+
| 'communication'
736+
| 'date-and-time'
737+
| 'energy'
738+
| 'garden'
739+
| 'general'
740+
| 'geoposition'
741+
| 'hardware'
742+
| 'health'
743+
| 'household'
744+
| 'infrastructure'
745+
| 'iot-systems'
746+
| 'lighting'
747+
| 'logic'
748+
| 'messaging'
749+
| 'metering'
750+
| 'misc-data'
751+
| 'multimedia'
752+
| 'network'
753+
| 'protocols'
754+
| 'storage'
755+
| 'utility'
756+
| 'vehicle'
757+
| 'visualization'
758+
| 'visualization-icons'
759+
| 'visualization-widgets'
760+
| 'weather';
733761
/** If `true`, the `npm` package must be installed with the `--unsafe-perm` flag */
734762
unsafePerm?: true;
735763
/** The available version in the ioBroker repo. */

0 commit comments

Comments
 (0)