Commit Graph

106 Commits (31d24d77d02340d71d209c51d266fbcd2c9d6840)

Author SHA1 Message Date
Rob Pilling 10072d745e
Merge pull request #3252 from bobrippling/fix/layout-ts
Fix typescript for `Layout`
2024-03-20 08:34:37 +00:00
Rob Pilling 030765d409 layout.d.ts: permit assignment back to strings
... by making them strings instead of a string literal type
2024-03-16 13:08:09 +00:00
Rob Pilling b04bc434c9 layout.d.ts: correctly assign { [id]: T } for layout elements 2024-03-16 13:08:07 +00:00
Rob Pilling 6ff12f54cf layout.d.ts: Layout type - merge extracted ids union 2024-03-11 22:46:35 +00:00
Rob Pilling 19a041e410 layout.d.ts: Fix ExtractIds 2024-03-11 22:41:55 +00:00
Rob Pilling 736b9f0433 clock_info: permit focus/blur to cancel a redraw 2024-03-11 21:47:54 +00:00
Rob Pilling 2c92c94574 clock_info: s/unfocus/blur/ 2024-03-11 08:53:51 +00:00
Rob Pilling 8f86d9297b clock_info: add focus and unfocus to item 2024-03-11 08:53:42 +00:00
Rob Pilling 30d1bc7c4c clock_info: pass options through to show(), hide() & run() 2024-03-11 08:53:23 +00:00
Rob Pilling 40b718ed49 sched: add setting to buzz forever when alarm is fired 2024-02-28 22:35:58 +00:00
Rob Pilling 73218e4180 Regenerate typescript 2023-07-27 17:32:12 +01:00
Rob Pilling 76a60d6ae3 layout.d.ts: correct render() type 2023-06-30 12:23:22 +01:00
Rob Pilling 8036509b18 layout.d.ts: add btnBorder 2023-06-30 08:26:44 +01:00
Rob Pilling 553d363f90 layout.d.ts: alignment fixes 2023-06-30 08:26:44 +01:00
Rob Pilling 739ddb731f layout.d.ts: Layout's fill can be any proportion 2023-06-30 08:26:44 +01:00
Rob Pilling efd1891ff5 layout.d.ts: render(), layout(), debug() and clear() accept any layout hierarchy 2023-06-30 08:26:44 +01:00
Rob Pilling 9c72a8210d layout.d.ts: add rotation / l.r 2023-06-30 08:26:44 +01:00
Rob Pilling 557b426b63 typescript: remove `Layout_` naming hack 2023-06-30 08:26:44 +01:00
Rob Pilling a42e00dc20 Regenerate main.d.ts 2023-06-13 23:08:35 +01:00
Rob Pilling 5fcdbc2911 types: add BangleEvents 2023-05-16 23:16:34 +01:00
Rob Pilling 557f77f7c8 Regenerate types 2023-05-16 22:50:33 +01:00
Bruce Blore 06a7adca30 Made tags, type, and version optional 2023-05-13 14:28:10 -07:00
Bruce Blore 50789ad62c Added some fields to AppInfo 2023-05-13 08:08:01 -07:00
Rob Pilling 566400b26c Tweaks to sched.d.ts to type-check the docs example
[The docs example](https://github.com/espruino/BangleApps/tree/master/apps/sched#internals--library)
2023-05-10 20:54:38 +01:00
Rob Pilling 28fe46f77e widhid: disable if clkinfo is focused 2023-05-08 22:33:50 +01:00
Rob Pilling 69bfcfeb99 widhid: regenerate JS 2023-05-08 22:33:50 +01:00
Rob Pilling 9cdf97164c widhid: new widget 2023-05-08 22:33:50 +01:00
Rob Pilling df50a4dd7b Add AppInfo type 2023-05-03 07:51:29 +01:00
Rob Pilling fc82d3b13b Update typescript & remove "use strict"s 2023-04-20 13:09:52 +01:00
Rob Pilling f68abbd33d Regenerate types: ShortBoolean 2023-04-11 18:15:13 +01:00
Rob Pilling 7ee3279a02 Update main.d.ts 2023-04-08 08:30:43 +01:00
Rob Pilling 923b5dbb96 drained: clearWatch() and turn off bluetooth 2023-04-08 08:25:54 +01:00
Rob Pilling acbd5d3b53 Update main.d.ts - setUI & removeAllListeners() 2023-04-07 21:53:07 +01:00
Rob Pilling f1bb41743e Add local modules types to require() 2023-03-09 21:14:59 +00:00
Rob Pilling 9762acd981 Locale module types 2023-03-09 21:14:59 +00:00
Rob Pilling 0be2bbe2f7 Move repeat & date to a mutually inclusive group 2023-03-09 21:14:59 +00:00
Rob Pilling 8525fc73da sched.d.ts: add 2023-03-09 21:14:59 +00:00
Rob Pilling d9dc729abd Regenerate types - NRF.getSecurityStatus() 2023-03-06 12:05:32 +00:00
Gordon Williams ef43eba307
Merge pull request #2606 from bobrippling/tap2lock
widlockunlock: tap-to-lock
2023-02-28 09:27:01 +00:00
Gordon Williams 8cbc93f110
Merge pull request #2604 from bobrippling/regen-ts
Regenerate `main.d.ts`
2023-02-27 09:34:19 +00:00
Rob Pilling 9f4e4bc981 Regenerate object.call types 2023-02-25 23:21:18 +00:00
Rob Pilling e44e4c0274 Regenerate main.d.ts - fromEntries & getOwnPropertyDescriptors 2023-02-25 23:21:18 +00:00
Rob Pilling 92fd9133fb Regenerate main.d.ts - Widget types 2023-02-25 22:23:53 +00:00
Rob Pilling 9403bf05b0 clock_info.d.ts .app addition 2023-02-25 21:18:26 +00:00
Rob Pilling 70da1d37e5 Regenerate main.d.ts - String::slice()'s end is optional 2023-02-20 18:32:42 +00:00
Rob Pilling f5a9cc578e Update clock_info.d.ts - optional hasRange 2023-02-20 18:32:25 +00:00
Rob Pilling 12575cda34 Reformat typescript/**/*.d.ts 2023-02-19 21:07:12 +00:00
Rob Pilling f7cc2bff5e typescript: add to authors 2023-02-19 17:58:22 +00:00
Rob Pilling 2d1a3cec8f btadv: minimum confidence level for HRM 2023-02-14 22:34:09 +00:00
Rob Pilling f92ffd5d88 layout.d.ts: update optionals 2023-02-14 22:33:30 +00:00