CH-J Toolsgestión de servidores a través de SSH
Menú
Fuente publicada

CH-J Tools

Busque directorios y archivos para obtener una versión de aplicación específica.

Descargar fuente ZIP
CH-J / Server Manager 1704 archivos
0.1.2-beta Añadido: · Construido:
license.ts Añadido: Fecha no registrada 806 B · 21 líneas
Código Descargar archivo
1/** License window API (only the license window may call these commands). */
2import { call } from "../transport";
4export interface LicenseDocument {
5 text: string;
6 guidance: Record<string, string>;
7 license: string;
8 licenseVersion: string;
9 sha256: string;
10 appVersion: string;
11 buildId: string;
12 guidanceSha256: string;
13 language: string;
16export const license = Object.freeze({
17 read: () => call<LicenseDocument>("license_read", "license:read"),
18 showLicense: (payload: { guidanceSha256: string }) => call<{ ok: true }>("license_show", "license:show", payload),
19 accept: (payload: { accepted: true; sha256: string; guidanceSha256: string }) => call<{ ok: true }>("license_accept", "license:accept", payload),
20 decline: () => call<{ ok: true }>("license_decline", "license:decline")
21});
SHA-256c15198132aa51ef7bfab98dec646e588c61e1580cbb91764c02cafa34d0a9312

CH-J Proprietary Software License 1.14 · La fuente se proporciona en el CH-J Proprietary Software License 1.14. Su disponibilidad no cambia los términos de la licencia ni otorga derechos adicionales.

Archivo SHA-256ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
Archivos