-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
[MainUI] Update JS Scripting tern definitions #1552
Conversation
Reference openhab/openhab-js#158. Reference openhab/openhab-js#175 (to be merged). Signed-off-by: Florian Hotze <[email protected]>
Reference openhab/openhab-js#160. Reference openhab/openhab-js#171. Reference https://github.com/openhab/openhab-js#createtimer. Signed-off-by: Florian Hotze <[email protected]>
Reference openhab/openhab-js#165. Signed-off-by: Florian Hotze <[email protected]>
Reference openhab/openhab-js#167. Signed-off-by: Florian Hotze <[email protected]>
Job #614: Bundle Size — 15.94MiB (~+0.01%).Metrics (no changes)
Total size by type (2 changes)
|
... as they are not used/referenced from the rest of the tern defs and not used in JS Scripting as well. Signed-off-by: Florian Hotze <[email protected]>
Signed-off-by: Florian Hotze <[email protected]>
Signed-off-by: Florian Hotze <[email protected]>
@ghys This is ready for review now and should make it into 3.4.0! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I suppose this susperses former submissions and apologies for the delay.
Having an autocompletion in the UI that matches what's available in the library is VERY important to me so I'm happy to merge this and let me know if there are last-minute things to improve.
The tern definitions are now up-to-date for version 3.0.0 of openhab-js.
Fixes #1550.
Description
The tern definitions for JS Scripting were updated in #1421 to address the openhab-js release 2.0.0.
Since then, we had numerous improvements and changes to the openhab-js library: openhab/openhab-js@v2.0.0...v3.0.0.
This updates the JS Scripting tern definitions:
ItemHistory
: Add new methodsScriptExecution
: RemovecreateTimerWithArgument
& AddTimer
actions
: AddthingActions
Testing
I have tested it, all changes work fine.