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

CH-J Tools

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

소스 ZIP 다운로드
CH-J / Server Manager 1704 개 파일
0.1.2-beta 추가됨: · 빌드됨:
ui.ts 추가됨: 날짜 기록 없음 1.0 KB · 19 줄
코드 파일 다운로드
1/** Module window: identity, language and window life cycle. */
2import { call, subscribeStrict } from "../transport";
3import type { ModuleManifest } from "../types";
5export const info = () => call<ModuleManifest>("module_get_info", "plugin:getInfo");
6export const close = () => call<{ ok: true }>("module_close", "plugin:close");
7export const minimize = () => call<{ ok: true }>("module_window_minimize", "plugin:window:minimize");
9/** Where the module runs: embedded in the main window or in its own window. */
10export const host = Object.freeze({
11 state: () => call<{ embedded: boolean }>("module_host_state", "plugin:host:state"),
12 detach: () => call<{ embedded: boolean }>("module_host_detach", "plugin:host:detach"),
13 attach: () => call<{ embedded: boolean }>("module_host_attach", "plugin:host:attach")
14});
16export const ui = Object.freeze({
17 getLanguage: () => call<string>("module_ui_get_language", "plugin:ui:getLanguage"),
18 onLanguageChanged: (callback: (language: string) => void) => subscribeStrict("module:ui:languageChanged", callback, "Language")
19});
SHA-2563ec4556b58dfbd885f024adcfd75a82086cc2ca96dc47abf49129def22267c48

CH-J Proprietary Software License 1.14 · 소스는 CH-J Proprietary Software License 1.14에 따라 제공됩니다. 소스를 공개한다고 해서 라이선스 조항이 바뀌거나 추가 권리가 부여되지는 않습니다.

압축 파일 SHA-256ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
파일