CH-J ToolsSerververwaltung über SSH
Menü
Veröffentlichte Quellen

CH-J Tools

Durchsuchen Sie Verzeichnisse und Dateien einer bestimmten Anwendungsausgabe.

Quellen als ZIP herunterladen
CH-J / Server Manager 872 Dateien
core-20261030T220507Z-61e4558d889f Hinzugefügt: · Erstellt:
index.ts Hinzugefügt: Datum nicht erfasst 2,0 KB · 59 Zeilen
Code Datei herunterladen
1/**
2 * CH-J API — the single entry point between the web UI, modules and the Rust Core.
3 *
4 * - `core`: internal Core API for the main window (vault, profiles, SSH, updates, …).
5 * - `module`: public, versioned Module API (formerly Plugin API). Version 1.7.0 is fully
6 * compatible with Plugin API 1.7.0 of CH-J Server Manager 0.1.0.
7 *
8 * Permissions are enforced in the Rust Core (calling window identity + module manifest);
9 * these wrappers only provide typing and a stable shape.
10 */
11import { app } from "./core/app";
12import { config } from "./core/config";
13import { biometrics, vault } from "./core/vault";
14import { profiles } from "./core/profiles";
15import { availability } from "./core/availability";
16import { ssh } from "./core/ssh";
17import { diagnostics } from "./core/diagnostics";
18import { updates } from "./core/updates";
19import { modules } from "./core/modules";
20import { license } from "./core/license";
21import { windowControls } from "./core/window";
22import { info, close, minimize, ui } from "./module/ui";
23import { sessions } from "./module/sessions";
24import { system } from "./module/system";
25import { disks } from "./module/disks";
26import { keys } from "./module/keys";
27import { logs } from "./module/logs";
28import { users } from "./module/users";
29import { nginx } from "./module/nginx";
30import { files } from "./module/sftp";
31import { hashing } from "./module/hashing";
33export * from "./types";
35/** Version of the public Module API (semver; compatible with Plugin API ^1.x manifests). */
36export const MODULE_API_VERSION = "1.7.0";
37/** Version of the internal Core API used by the main window. */
38export const CORE_API_VERSION = "1.1.0";
40export const core = Object.freeze({ app, config, vault, biometrics, profiles, availability, ssh, diagnostics, updates, modules, windowControls });
42export const moduleApi = Object.freeze({
43 version: MODULE_API_VERSION,
44 getInfo: info,
45 close,
46 minimize,
47 ui,
48 sessions,
49 system,
50 disks,
51 keys,
52 logs,
53 users,
54 nginx,
55 files,
56 hashing
57});
59export const licenseApi = license;
SHA-2566d570ca2e62807d7bcb65a7b0f4d401dc7d70c60ec4f865f4171365b4cc46727

CH-J Proprietary Software License 1.14 · Die Quellen werden unter der CH-J Proprietary Software License 1.14 bereitgestellt. Ihre Verfügbarkeit ändert die Lizenzbedingungen nicht und gewährt keine zusätzlichen Rechte.

SHA-256 des Archivs77380d4805485ffa4027fbe7858b5836f197a4aa9d52358a43e2d12d018744df
Dateien