CH-J Toolsgestion de serveur sur SSH
Menu
Source publiée

CH-J Tools

Parcourez les répertoires et les fichiers pour une version spécifique de l'application.

Télécharger la source ZIP
CH-J / Server Manager 1704 fichiers
0.1.2-beta Ajouté: · Construit:
standby.ts Ajouté: Date non enregistrée 769 B · 11 lignes
Code Télécharger le fichier
1/** Settings → Standby Helper: switches of the separate `ch-j-standby-helper` (menu entries, login, background). */
2import { call } from "../transport";
4export interface StandbyMonitor { enabled: boolean; intervalSecs: 30 | 60 | 300; check: "ssh" | "https" | "custom"; customPort: number; showAddresses: boolean }
5export interface StandbySettings { enabled: boolean; startAtLogin: boolean; menu: { verify: boolean; sign: boolean }; monitor?: StandbyMonitor }
6export interface StandbyState { settings: StandbySettings; status: Record<string, unknown> }
8export const standby = Object.freeze({
9 get: () => call<StandbyState>("core_standby_get", "standby:get"),
10 set: (settings: StandbySettings) => call<StandbyState>("core_standby_set", "standby:set", settings)
11});
SHA-256bfb0c8ef963e0b393ce5aa5d5a770e2f2e0b7c64fcb23ed856e90bc8936c1df6

CH-J Proprietary Software License 1.14 · La source est fournie sous CH-J Proprietary Software License 1.14. Sa disponibilité ne modifie pas les termes de la licence ni n'accorde de droits supplémentaires.

Archive SHA-256ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
Fichiers