Skip to content

Commit 5e74b14

Browse files
Auto-commit: Update files [skip ci]
1 parent 03272cf commit 5e74b14

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

reference/sdk/node-sdk.mdx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ const sdk = fromSharedOptions();
295295
* [.getProgress(uuidOrId)](#balena.models.device.getProgress) ⇒ <code>Promise</code>
296296
* [.grantSupportAccess(uuidOrIdOrArray, expiryTimestamp)](#balena.models.device.grantSupportAccess) ⇒ <code>Promise</code>
297297
* [.revokeSupportAccess(uuidOrIdOrArray)](#balena.models.device.revokeSupportAccess) ⇒ <code>Promise</code>
298-
* [.lastOnline(device)](#balena.models.device.lastOnline) ⇒ <code>String</code>
298+
* ~~[.lastOnline(device)](#balena.models.device.lastOnline) ⇒ <code>String</code>~~
299299
* [.getOsVersion(device)](#balena.models.device.getOsVersion) ⇒ <code>String</code>
300300
* [.isTrackingApplicationRelease(uuidOrId)](#balena.models.device.isTrackingApplicationRelease) ⇒ <code>Promise</code>
301301
* [.getTargetReleaseHash(uuidOrId)](#balena.models.device.getTargetReleaseHash) ⇒ <code>Promise</code>
@@ -706,7 +706,7 @@ balena.models.device.get(123).catch(function (error) {
706706
* [.getProgress(uuidOrId)](#balena.models.device.getProgress) ⇒ <code>Promise</code>
707707
* [.grantSupportAccess(uuidOrIdOrArray, expiryTimestamp)](#balena.models.device.grantSupportAccess) ⇒ <code>Promise</code>
708708
* [.revokeSupportAccess(uuidOrIdOrArray)](#balena.models.device.revokeSupportAccess) ⇒ <code>Promise</code>
709-
* [.lastOnline(device)](#balena.models.device.lastOnline) ⇒ <code>String</code>
709+
* ~~[.lastOnline(device)](#balena.models.device.lastOnline) ⇒ <code>String</code>~~
710710
* [.getOsVersion(device)](#balena.models.device.getOsVersion) ⇒ <code>String</code>
711711
* [.isTrackingApplicationRelease(uuidOrId)](#balena.models.device.isTrackingApplicationRelease) ⇒ <code>Promise</code>
712712
* [.getTargetReleaseHash(uuidOrId)](#balena.models.device.getTargetReleaseHash) ⇒ <code>Promise</code>
@@ -2264,7 +2264,7 @@ balena.models.application.revokeSupportAccess(123);
22642264
* [.getProgress(uuidOrId)](#balena.models.device.getProgress) ⇒ <code>Promise</code>
22652265
* [.grantSupportAccess(uuidOrIdOrArray, expiryTimestamp)](#balena.models.device.grantSupportAccess) ⇒ <code>Promise</code>
22662266
* [.revokeSupportAccess(uuidOrIdOrArray)](#balena.models.device.revokeSupportAccess) ⇒ <code>Promise</code>
2267-
* [.lastOnline(device)](#balena.models.device.lastOnline) ⇒ <code>String</code>
2267+
* ~~[.lastOnline(device)](#balena.models.device.lastOnline) ⇒ <code>String</code>~~
22682268
* [.getOsVersion(device)](#balena.models.device.getOsVersion) ⇒ <code>String</code>
22692269
* [.isTrackingApplicationRelease(uuidOrId)](#balena.models.device.isTrackingApplicationRelease) ⇒ <code>Promise</code>
22702270
* [.getTargetReleaseHash(uuidOrId)](#balena.models.device.getTargetReleaseHash) ⇒ <code>Promise</code>
@@ -3867,7 +3867,9 @@ balena.models.device.revokeSupportAccess(123);
38673867
```
38683868
<a name="balena.models.device.lastOnline"></a>
38693869

3870-
##### device.lastOnline(device) ⇒ <code>String</code>
3870+
##### ~~device.lastOnline(device) ⇒ <code>String</code>~~
3871+
***Will be dropped in the next major***
3872+
38713873
If the device has never been online this method returns the string `Connecting...`.
38723874

38733875
**Kind**: static method of [<code>device</code>](#balena.models.device)
@@ -5572,6 +5574,7 @@ that is _not_ pre-release, can be `null`
55725574
| currentVersion | <code>String</code> | | semver-compatible version for the starting OS version |
55735575
| [options] | <code>Object</code> | | Extra options to filter the OS releases by |
55745576
| [options.includeDraft] | <code>Boolean</code> | <code>false</code> | Whether pre-releases should be included in the results |
5577+
| [options.osType] | <code>Boolean</code> \| <code>Null</code> | <code>&#x27;default&#x27;</code> | Can be one of 'default', 'esr' or null to include all types |
55755578

55765579
**Example**
55775580
```js

shared/projects/balena-example-projects.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Name|Description
44
[balena-plant-saver](https://github.com/balena-io-examples/balena-plant-saver)|We're building a plant monitor (and saver) - this is the early stage
55
[multicontainer-getting-started](https://github.com/balena-io-examples/multicontainer-getting-started)|Get up and running quickly with a multicontainer setup on balena
66
[internetspeedtest](https://github.com/balena-io-examples/internetspeedtest)|Log your internet download, upload and ping metrics ti influxDB, and Grafana it. Grafana all the things!
7-
[x11-window-manager](https://github.com/balena-io-examples/x11-window-manager)|Example project showing how to run a desktop manager with balenaCloud in order to run GUI applications.
87
[balena-python-hello-world](https://github.com/balena-io-examples/balena-python-hello-world)|Example of how to deploy Python code on a balena supported device.
8+
[x11-window-manager](https://github.com/balena-io-examples/x11-window-manager)|Example project showing how to run a desktop manager with balenaCloud in order to run GUI applications.
99
[staged-releases](https://github.com/balena-io-examples/staged-releases)|demonstration scripts on how to use the resin.io API to do staged releases to a fleet of devices.
1010
[coral-streaming-object-detector](https://github.com/balena-io-examples/coral-streaming-object-detector)|This example will help you deploy a streaming camera feed with realtime people detection using the Coral Edge TPU for on-device ML inferencing.
1111
[balena-aws-lambda](https://github.com/balena-io-examples/balena-aws-lambda)|Associate balena devices with AWS IoT when they ping a lambda endpoint
@@ -50,15 +50,15 @@ Name|Description
5050
[balena-nginx-hello-world](https://github.com/balena-io-examples/balena-nginx-hello-world)|Simple nginx example on balena
5151
[ROS-AutonomousVehicle](https://github.com/balena-io-examples/ROS-AutonomousVehicle)|Sample project to show ROS autonomous vehicle running in a balena container.
5252
[balena-avahi](https://github.com/balena-io-examples/balena-avahi)|mDNS/.local resolution with Avahi within a container
53+
[system-metrics](https://github.com/balena-io-examples/system-metrics)|Collect metrics on device performance and forward to MQTT
54+
[network-metrics-logger](https://github.com/balena-io-examples/network-metrics-logger)|Log metrics on network I/O
5355
[balena-haskell-hello-world](https://github.com/balena-io-examples/balena-haskell-hello-world)|Example of how to deploy haskell code on a balena supported device.
5456
[hostapd-minimal](https://github.com/balena-io-examples/hostapd-minimal)|Minimal hostapd access point example for resin.io
5557
[meta-exporter](https://github.com/balena-io-examples/meta-exporter)|The People's Exporter
5658
[google-coral-dev-sample](https://github.com/balena-io-examples/google-coral-dev-sample)|Sample Application running in container on BalenaOS, for the Google Coral Dev Board
5759
[tx2-container-contracts-sample](https://github.com/balena-io-examples/tx2-container-contracts-sample)|Sample TX2 application with optional containers tied to device L4T version
5860
[remote-local-logging](https://github.com/balena-io-examples/remote-local-logging)|Receiver of logs
5961
[balena-ros2-foxy-desktop](https://github.com/balena-io-examples/balena-ros2-foxy-desktop)|An installation of ROS2 Foxy in a container, with a full desktop environment, ready to deploy on balena devices.
60-
[system-metrics](https://github.com/balena-io-examples/system-metrics)|Collect metrics on device performance and forward to MQTT
61-
[network-metrics-logger](https://github.com/balena-io-examples/network-metrics-logger)|Log metrics on network I/O
6262
[balena-cloudflare-tunnel](https://github.com/balena-io-examples/balena-cloudflare-tunnel)|A simple balenaBlock to route your application through Cloudflare Tunnel
6363
[balena-zerotier-gateway](https://github.com/balena-io-examples/balena-zerotier-gateway)|Fully working ZeroTier container with IP forwarding an masquerading to the LAN.
6464
[setup-balena-action](https://github.com/balena-io-examples/setup-balena-action)|Install the balena CLI in your GitHub Actions workflow

0 commit comments

Comments
 (0)