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
फ़ाइलें