Merge remote-tracking branch 'origin/dev' into core3

This commit is contained in:
proddy
2026-05-02 09:35:31 +02:00
85 changed files with 6841 additions and 5121 deletions

View File

@@ -7,3 +7,4 @@ export * from './ntp';
export * from './security';
export * from './signin';
export * from './system';
export * from './versions';

View File

@@ -0,0 +1,23 @@
// Types for the `getVersions` action response coming from the device.
// The device proxies the request to emsesp.org/versions.json. If the device
// is offline the `stable` and `dev` fields are omitted.
export interface VersionInfo {
version: string;
date: string;
}
export interface RemoteVersionInfo extends VersionInfo {
upgradeable: boolean;
}
export interface CurrentVersionInfo extends VersionInfo {
type: 'stable' | 'dev';
upgradeable: boolean;
}
export interface VersionsResponse {
current: CurrentVersionInfo;
stable?: RemoteVersionInfo;
dev?: RemoteVersionInfo;
}