CH-J Tools通过 SSH 管理服务器
菜单
已发布的源代码

CH-J Tools

浏览特定应用版本的目录和文件。

下载源代码 ZIP
CH-J / Server Manager 1704 个文件
0.1.2-beta 添加时间: · 构建时间:
index.ts 添加时间: 未记录日期 2.2 KB · 67 行
代码 下载文件
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.8.0 adds `host` and
6 * OpenPGP verification to 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 { standby } from "./core/standby";
23import { info, close, minimize, host, ui } from "./module/ui";
24import { sessions } from "./module/sessions";
25import { system } from "./module/system";
26import { disks } from "./module/disks";
27import { keys } from "./module/keys";
28import { logs } from "./module/logs";
29import { users } from "./module/users";
30import { apache } from "./module/apache";
31import { rsync } from "./module/rsync";
32import { network } from "./module/network";
33import { nginx } from "./module/nginx";
34import { files } from "./module/sftp";
35import { hashing } from "./module/hashing";
37export * from "./types";
39/** Version of the public Module API (semver; compatible with Plugin API ^1.x manifests). */
40export const MODULE_API_VERSION = "1.16.0";
41/** Version of the internal Core API used by the main window. */
42export const CORE_API_VERSION = "1.1.0";
44export const core = Object.freeze({ app, config, vault, biometrics, profiles, availability, ssh, diagnostics, updates, modules, windowControls, standby });
46export const moduleApi = Object.freeze({
47 version: MODULE_API_VERSION,
48 getInfo: info,
49 close,
50 minimize,
51 host,
52 ui,
53 sessions,
54 system,
55 disks,
56 keys,
57 logs,
58 users,
59 apache,
60 rsync,
61 network,
62 nginx,
63 files,
64 hashing
65});
67export const licenseApi = license;
SHA-256c30327d765c84d7289f1fc29b62d7f68113b719f34fdf6a89648f1f87dabf843

CH-J Proprietary Software License 1.14 · 源代码依据 CH-J Proprietary Software License 1.14 提供。公开源代码不会改变许可条款,也不会授予额外权利。

压缩包 SHA-256ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
文件