Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MiSchroe/issue132 #133

Merged
merged 4 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
*.user
/TestResults
xunit.xml
/src-cjs
3 changes: 2 additions & 1 deletion .mocharc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ full-trace: true
bail: true
reporter: "mocha-multi-reporters"
trace-warnings: true
spec: "test/**/*.ts"
spec:
- "test/**/*.ts"
node-option:
- "import=tsx"
- "trace-warnings"
5 changes: 4 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,19 @@
/.nyc_output
/.vscode
/coverage
/deployment
/docs
/velux-api/TestResults
/velux-api/.vs
*.user
/src
/src-cjs
xunit.xml
/test
.jsdoc.json
.travis.yml
appveyor.yml
azure-pipelines.yml
gulpfile.js
tsconfig.json
tsconfig.json
*.pem
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
Placeholder for the next version (at the beginning of the line):
## __WORK IN PROGRESS__
-->

## **WORK IN PROGRESS**

- [#132](https://github.com/MiSchroe/klf-200-api/issues/132) Generate ESM and CommonJS targets.

## 4.0.0 (2024-06-24)

- [#112](https://github.com/MiSchroe/klf-200-api/issues/112) Fixes Busy error when new products are added.
Expand Down
3 changes: 3 additions & 0 deletions deployment/package.cjs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "commonjs"
}
3 changes: 3 additions & 0 deletions deployment/package.esm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "module"
}
23 changes: 23 additions & 0 deletions deployment/prepare-cjs.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import fs from "fs/promises";
import path from "path";

console.log("Removing directory ./src-cjs");
await fs.rm("./src-cjs", { recursive: true, force: true });

console.log("Copying files from ./src to ./src-cjs");
await fs.cp("./src", "./src-cjs", { recursive: true });

console.log("Overwriting files with cjs versions");
async function* walk(dir: string): AsyncGenerator<string> {
for await (const d of await fs.opendir(dir)) {
const entry = path.join(dir, d.name);
if (d.isDirectory()) yield* walk(entry);
else if (d.isFile()) yield entry;
}
}
for await (const filename of walk("./src-cjs")) {
if (filename.endsWith(".cjs.ts")) {
const newFileName = `${(<string>filename).slice(0, -7)}.ts`;
await fs.rename(filename, newFileName);
}
}
4 changes: 2 additions & 2 deletions docs/classes/ActuatorAlias.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/Component.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/classes/Connection.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/FrameRcvFactory.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_ACTIVATE_PRODUCTGROUP_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_ACTIVATE_PRODUCTGROUP_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_ACTIVATE_SCENE_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_ACTIVATE_SCENE_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_ACTIVATION_LOG_UPDATED_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CLEAR_ACTIVATION_LOG_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_CLEAR_ACTIVATION_LOG_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_COMMAND_REMAINING_TIME_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_COMMAND_RUN_STATUS_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_COMMAND_SEND_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_COMMAND_SEND_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_ACTIVATE_CONFIGURATION_MODE_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_CS_ACTIVATE_CONFIGURATION_MODE_REQ.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_CS_CONTROLLER_COPY_CANCEL_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_CONTROLLER_COPY_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_CONTROLLER_COPY_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_CS_CONTROLLER_COPY_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_DISCOVER_NODES_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_DISCOVER_NODES_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_CS_DISCOVER_NODES_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_GENERATE_NEW_KEY_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_GENERATE_NEW_KEY_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_CS_GENERATE_NEW_KEY_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_GET_SYSTEMTABLE_DATA_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_GET_SYSTEMTABLE_DATA_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_CS_GET_SYSTEMTABLE_DATA_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_PGC_JOB_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_RECEIVE_KEY_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_RECEIVE_KEY_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_CS_RECEIVE_KEY_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_REMOVE_NODES_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_CS_REMOVE_NODES_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_REPAIR_KEY_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_REPAIR_KEY_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_CS_REPAIR_KEY_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_SYSTEM_TABLE_UPDATE_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_CS_VIRGIN_STATE_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_CS_VIRGIN_STATE_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_DELETE_GROUP_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_DELETE_GROUP_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_DELETE_SCENE_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_DELETE_SCENE_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_ERROR_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_FRAME.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_FRAME_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_FRAME_COMMAND_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_FRAME_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_FRAME_RCV.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_FRAME_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_ACTIVATION_LOG_HEADER_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_ACTIVATION_LOG_HEADER_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_ACTIVATION_LOG_LINE_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_ACTIVATION_LOG_LINE_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_ALL_GROUPS_INFORMATION_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_ALL_GROUPS_INFORMATION_FINISHED_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_ALL_GROUPS_INFORMATION_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_ALL_GROUPS_INFORMATION_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_ALL_NODES_INFORMATION_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_ALL_NODES_INFORMATION_FINISHED_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_ALL_NODES_INFORMATION_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_ALL_NODES_INFORMATION_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_CONTACT_INPUT_LINK_LIST_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_CONTACT_INPUT_LINK_LIST_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_GROUP_INFORMATION_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_GROUP_INFORMATION_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_GROUP_INFORMATION_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_LIMITATION_STATUS_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_LIMITATION_STATUS_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_LOCAL_TIME_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_LOCAL_TIME_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_MULTIPLE_ACTIVATION_LOG_LINES_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_MULTIPLE_ACTIVATION_LOG_LINES_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_MULTIPLE_ACTIVATION_LOG_LINES_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_NETWORK_SETUP_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_NETWORK_SETUP_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_NODE_INFORMATION_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_NODE_INFORMATION_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_NODE_INFORMATION_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_PROTOCOL_VERSION_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_PROTOCOL_VERSION_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_SCENE_INFORMATION_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_SCENE_INFORMATION_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_SCENE_INFORMATION_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_SCENE_LIST_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_SCENE_LIST_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_SCENE_LIST_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_STATE_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_STATE_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GET_VERSION_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_GET_VERSION_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GROUP_DELETED_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_GROUP_INFORMATION_CHANGED_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_HOUSE_STATUS_MONITOR_DISABLE_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_HOUSE_STATUS_MONITOR_DISABLE_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_HOUSE_STATUS_MONITOR_ENABLE_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_HOUSE_STATUS_MONITOR_ENABLE_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_INITIALIZE_SCENE_CANCEL_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_INITIALIZE_SCENE_CANCEL_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_INITIALIZE_SCENE_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_INITIALIZE_SCENE_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_INITIALIZE_SCENE_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_LEAVE_LEARN_STATE_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_LEAVE_LEARN_STATE_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_LIMITATION_STATUS_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_MODE_SEND_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_MODE_SEND_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_NEW_GROUP_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_NEW_GROUP_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_NODE_INFORMATION_CHANGED_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_NODE_STATE_POSITION_CHANGED_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_PASSWORD_CHANGE_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_PASSWORD_CHANGE_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_PASSWORD_CHANGE_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_PASSWORD_ENTER_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_PASSWORD_ENTER_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_REBOOT_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_REBOOT_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_RECORD_SCENE_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_RECORD_SCENE_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_RECORD_SCENE_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_REMOVE_CONTACT_INPUT_LINK_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_REMOVE_CONTACT_INPUT_LINK_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_RENAME_SCENE_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_RENAME_SCENE_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_RTC_SET_TIME_ZONE_CFM.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/classes/GW_RTC_SET_TIME_ZONE_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_SCENE_INFORMATION_CHANGED_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_SESSION_FINISHED_NTF.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_SET_CONTACT_INPUT_LINK_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_SET_CONTACT_INPUT_LINK_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_SET_FACTORY_DEFAULT_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_SET_FACTORY_DEFAULT_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_SET_GROUP_INFORMATION_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_SET_GROUP_INFORMATION_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_SET_LIMITATION_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_SET_LIMITATION_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_SET_NETWORK_SETUP_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_SET_NETWORK_SETUP_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_SET_NODE_NAME_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_SET_NODE_NAME_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_SET_NODE_ORDER_AND_PLACEMENT_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_SET_NODE_ORDER_AND_PLACEMENT_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_SET_NODE_VARIATION_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_SET_NODE_VARIATION_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_SET_UTC_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_SET_UTC_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_STATUS_REQUEST_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_STATUS_REQUEST_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_STATUS_REQUEST_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_STOP_SCENE_CFM.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_STOP_SCENE_REQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_WINK_SEND_CFM.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/GW_WINK_SEND_NTF.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/classes/GW_WINK_SEND_REQ.html

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions docs/classes/Gateway.html

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions docs/classes/Group.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/classes/Groups.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/KLF200Protocol.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/KLF200SocketProtocol.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/LockTime.html

Large diffs are not rendered by default.

114 changes: 57 additions & 57 deletions docs/classes/Product.html

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/classes/Products.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/SLIPProtocol.html

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions docs/classes/Scene.html

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/classes/Scenes.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/SoftwareVersion.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/SystemTableDataEntry.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/classes/TypedEvent.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/ActivateProductGroupStatus.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/ActivateSceneStatus.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/ActuatorType.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/ChangeKeyStatus.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/ChangeType.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/CommandOriginator.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/CommandStatus.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/ContactInputAssignment.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/ControllerCopyMode.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/DaylightSavingFlag.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/DiscoverStatus.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/GW_COMMON_STATUS.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/GW_ERROR.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/GW_INVERSE_STATUS.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/GatewayCommand.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/GatewayState.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/GatewaySubState.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/GroupType.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/InitializeSceneConfirmationStatus.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/InitializeSceneNotificationStatus.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/LimitationType.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/LockPriorityLevel.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/Manufacturer.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/ModeStatus.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/NodeOperatingState.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/NodeVariation.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/PGCJobState.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/PGCJobStatus.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/PGCJobType.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/ParameterActive.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/PowerSaveMode.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/PriorityLevel.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/PriorityLevelInformation.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/PriorityLevelLock.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/RecordSceneStatus.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/RenameSceneStatus.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/RunStatus.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/SceneChangeType.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/StatusOwner.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/StatusReply.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/StatusType.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/Velocity.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/convertPosition.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>convertPosition | klf-200-api</title><meta name="description" content="Documentation for klf-200-api"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">klf-200-api</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">klf-200-api</a></li><li><a href="convertPosition.html">convertPosition</a></li></ul><h1>Function convertPosition</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="convertPosition" class="tsd-anchor"></a><span class="tsd-kind-call-signature">convert<wbr/>Position</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">position</span>, <span class="tsd-kind-parameter">typeID</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#convertPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">position</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">typeID</span>: <a href="../enums/ActuatorType.html" class="tsd-signature-type tsd-kind-enum">ActuatorType</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MiSchroe/klf-200-api/blob/8792a73e333529c4f104ae6f428132757eeed0df/src/KLF200-API/GW_COMMAND.ts#L234">KLF200-API/GW_COMMAND.ts:234</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>klf-200-api</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>convertPosition | klf-200-api</title><meta name="description" content="Documentation for klf-200-api"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">klf-200-api</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">klf-200-api</a></li><li><a href="convertPosition.html">convertPosition</a></li></ul><h1>Function convertPosition</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="convertPosition" class="tsd-anchor"></a><span class="tsd-kind-call-signature">convert<wbr/>Position</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">position</span>, <span class="tsd-kind-parameter">typeID</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#convertPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">position</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">typeID</span>: <a href="../enums/ActuatorType.html" class="tsd-signature-type tsd-kind-enum">ActuatorType</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/MiSchroe/klf-200-api/blob/ef22ddab25d1f471a0a8648ac5489b186723a2f5/src/KLF200-API/GW_COMMAND.ts#L234">KLF200-API/GW_COMMAND.ts:234</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>klf-200-api</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
Loading