CH-J ToolsSSH를 통한 서버 관리
메뉴
공개된 소스

CH-J Tools

특정 애플리케이션 릴리스의 디렉터리와 파일을 살펴보세요.

소스 ZIP 다운로드
CH-J / Server Manager 872 개 파일
core-20261030T220507Z-61e4558d889f 추가됨: · 빌드됨:
index.ts 추가됨: 날짜 기록 없음 2.0 KB · 59 줄
코드 파일 다운로드
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 · 소스는 CH-J Proprietary Software License 1.14에 따라 제공됩니다. 소스를 공개한다고 해서 라이선스 조항이 바뀌거나 추가 권리가 부여되지는 않습니다.

압축 파일 SHA-25677380d4805485ffa4027fbe7858b5836f197a4aa9d52358a43e2d12d018744df
파일