CH-J Toolsservera pārvaldība virs SSH
Izvēlne
Publicētais avots

CH-J Tools

Pārlūkot mapes un failus konkrētai lietojumprogrammas izdošanai.

Lejupielādēt avota ZIP
CH-J / Server Manager 872 faili
core-20261030T220507Z-61e4558d889f Pievienots: · Būvēts:
ui.ts Pievienots: Datums nav reģistrēts 688 B · 12 rindas
Kods Lejupielādēt failu
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");
9export const ui = Object.freeze({
10 getLanguage: () => call<string>("module_ui_get_language", "plugin:ui:getLanguage"),
11 onLanguageChanged: (callback: (language: string) => void) => subscribeStrict("module:ui:languageChanged", callback, "Language")
12});
SHA-25687741f8615a1fff4bb89d398822df21693bd4490db4189154bb6524750be7551

CH-J Proprietary Software License 1.14 · Avots ir sniegts saskaņā ar CH-J Proprietary Software License 1.14. Tā pieejamība nemaina licences noteikumus un nepiešķir papildu tiesības.

Arhīvs SHA-25677380d4805485ffa4027fbe7858b5836f197a4aa9d52358a43e2d12d018744df
Faili