CH-J Toolspamamahala ng server sa pamamagitan ng SSH
Menu
Nailathalang source

CH-J Tools

I-browse ang mga direktoryo at file ng isang partikular na release ng application.

I-download ang source ZIP
CH-J / Server Manager 1704 file
0.1.2-beta Idinagdag: · Binuo:
ui.ts Idinagdag: Hindi naitala ang petsa 1.0 KB · 19 linya
Code I-download ang file
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 · Ibinibigay ang source sa ilalim ng CH-J Proprietary Software License 1.14. Hindi binabago ng pagiging available nito ang mga tuntunin ng lisensya at hindi ito nagbibigay ng karagdagang karapatan.

SHA-256 ng archiveac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
Mga file