CH-J ToolsSSH によるサーバー管理
メニュー
公開済みのソース

CH-J Tools

特定のアプリケーションリリースのディレクトリとファイルを閲覧できます。

ソースの ZIP をダウンロード
CH-J / Server Manager 1704 ファイル
0.1.2-beta 追加日時: · ビルド日時:
license.ts 追加日時: 日付の記録なし 806 B · 21 行
コード ファイルをダウンロード
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 · ソースは CH-J Proprietary Software License 1.14 に基づいて提供されています。公開されていても、ライセンス条項が変わったり、追加の権利が付与されたりすることはありません。

アーカイブの SHA-256ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
ファイル