Veröffentlichte Quellen
Quellen als ZIP herunterladen
CH-J Tools
Durchsuchen Sie Verzeichnisse und Dateien einer bestimmten Anwendungsausgabe.
CH-J / Server Manager
872 Dateien
core-20261030T220507Z-61e4558d889f
Hinzugefügt: · Erstellt:
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 fully6
* 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
*/11
import { app } from "./core/app";12
import { config } from "./core/config";13
import { biometrics, vault } from "./core/vault";14
import { profiles } from "./core/profiles";15
import { availability } from "./core/availability";16
import { ssh } from "./core/ssh";17
import { diagnostics } from "./core/diagnostics";18
import { updates } from "./core/updates";19
import { modules } from "./core/modules";20
import { license } from "./core/license";21
import { windowControls } from "./core/window";22
import { info, close, minimize, ui } from "./module/ui";23
import { sessions } from "./module/sessions";24
import { system } from "./module/system";25
import { disks } from "./module/disks";26
import { keys } from "./module/keys";27
import { logs } from "./module/logs";28
import { users } from "./module/users";29
import { nginx } from "./module/nginx";30
import { files } from "./module/sftp";31
import { hashing } from "./module/hashing";33
export * from "./types";35
/** Version of the public Module API (semver; compatible with Plugin API ^1.x manifests). */36
export const MODULE_API_VERSION = "1.7.0";37
/** Version of the internal Core API used by the main window. */38
export const CORE_API_VERSION = "1.1.0";40
export const core = Object.freeze({ app, config, vault, biometrics, profiles, availability, ssh, diagnostics, updates, modules, windowControls });42
export 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
hashing57
});59
export const licenseApi = license;SHA-256
6d570ca2e62807d7bcb65a7b0f4d401dc7d70c60ec4f865f4171365b4cc46727CH-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 Archivs
77380d4805485ffa4027fbe7858b5836f197a4aa9d52358a43e2d12d018744df