CH-J Toolsgestion de serveur sur SSH
Menu
Source publiée

CH-J Tools

Parcourez les répertoires et les fichiers pour une version spécifique de l'application.

Télécharger la source ZIP
CH-J / Server Manager 1704 fichiers
0.1.2-beta Ajouté: · Construit:
license.ts Ajouté: Date non enregistrée 806 B · 21 lignes
Code Télécharger le fichier
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 source est fournie sous CH-J Proprietary Software License 1.14. Sa disponibilité ne modifie pas les termes de la licence ni n'accorde de droits supplémentaires.

Archive SHA-256ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
Fichiers