forked from openhab/openhab-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
30 lines (29 loc) · 1.43 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**
* @typedef {Object} HostState Native Java openHAB State (instance of {@link https://www.openhab.org/javadoc/latest/org/openhab/core/types/state org.openhab.core.types.State})
*/
/**
* @typedef {Object} HostItem Native Java openHAB Item (instance of {@link https://www.openhab.org/javadoc/latest/org/openhab/core/items/item org.openhab.core.items.Item})
*/
/**
* @typedef {Object} HostClass Native Java Class Object (instance of java.lang.Class)
*/
/**
* @typedef {Object} HostRule Native Jave openHAB Rule (instance of {@link https://www.openhab.org/javadoc/latest/org/openhab/core/automation/rule org.openhab.core.automation.Rule})
*/
/**
* @typedef {Object} HostTrigger Native Jave openHAB Trigger (instance of {@link https://www.openhab.org/javadoc/latest/org/openhab/core/automation/trigger org.openhab.core.automation.Trigger})
*/
// lazy getters to avoid any reference loading all submodules
module.exports = {
get log () { return require('./log'); },
get rules () { return require('./rules'); },
get items () { return require('./items'); },
get things () { return require('./things'); },
get metadata () { return require('./metadata'); },
get triggers () { return require('./triggers'); },
get actions () { return require('./actions'); },
get utils () { return require('./utils'); },
get osgi () { return require('./osgi'); },
get cache () { return require('./cache'); },
get time () { return require('./time'); }
};