CH-J Toolsการจัดการเซิร์ฟเวอร์ผ่าน SSH
เมนู
ซอร์สที่เผยแพร่

CH-J Tools

เรียกดูไดเรกทอรีและไฟล์ของรุ่นแอปพลิเคชันที่ระบุ

ดาวน์โหลด ZIP ของซอร์ส
CH-J / Server Manager 1704 ไฟล์
0.1.2-beta วันที่เพิ่ม: · วันที่บิลด์:
config.ts วันที่เพิ่ม: ไม่ได้บันทึกวันที่ 1.2 KB · 22 บรรทัด
โค้ด ดาวน์โหลดไฟล์
1/** Persistent configuration (config/config.json, schema 1). */
2import { call } from "../transport";
3import type { AppConfig } from "../types";
5export interface ConfigPatch {
6 ui?: Partial<Omit<AppConfig["ui"], "sidebar">> & { sidebar?: Partial<AppConfig["ui"]["sidebar"]> };
7 updates?: Partial<Pick<AppConfig["updates"], "channel" | "autoCheck">>;
8 plugins?: Partial<AppConfig["plugins"]>;
9 security?: Partial<AppConfig["security"]>;
10 /** Required whenever `security` changes. */
11 masterPassword?: string;
14export interface LanguageInfo { code: string; name: string; englishName?: string }
16export const config = Object.freeze({
17 get: () => call<AppConfig>("core_config_get", "config:get"),
18 update: (patch: ConfigPatch) => call<AppConfig>("core_config_update", "config:update", patch),
19 languages: () => call<LanguageInfo[]>("core_i18n_languages", "i18n:languages"),
20 /** Core, diagnostics and window-chrome catalogs of one language and its lookup chain. */
21 catalogs: (language: string) => call<{ core: Record<string, Record<string, string>>; diagnostics: Record<string, Record<string, string>>; chrome: Record<string, Record<string, string>> }>("core_i18n_catalogs", "i18n:catalogs", { language })
22});
SHA-25670b4a53e4f644d28fe63a9265f9fe764e2f98c7e33a593d8dc091fa259e873a8

CH-J Proprietary Software License 1.14 · ซอร์สโค้ดนี้ให้ไว้ภายใต้ CH-J Proprietary Software License 1.14 การเปิดให้เข้าถึงไม่ได้เปลี่ยนแปลงเงื่อนไขของสัญญาอนุญาตหรือให้สิทธิ์เพิ่มเติม

SHA-256 ของไฟล์บีบอัดac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
ไฟล์