Versie 0.2.0

This commit is contained in:
Atreides Assets committed 2026-10-29 11:57:29 +01:00
commit e77d8fd373
495 files changed
+81026

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
// Generated, do not edit. sha256:a807f05aaf3a8f8a3367166282f6e35755004e775d3ad2970e654848cde4b032
import { CONFIG } from '../../shared/config.js';
import { licenseState, appVersion, readLicense, coversVersion } from '../license.mjs';
export function licenseStatus() {
const state = licenseState();
const gratis = state.level !== 'full';
const bestand = readLicense();
const installed = bestand.state === 'valid' ? bestand.license : null;
return {
level: state.level,
why: state.why,
enforced: state.enforced,
version: appVersion(),
installed,
installedCovers: installed ? coversVersion(installed, appVersion()) : false,
buyer: state.license?.buyer ?? installed?.buyer ?? null,
issued: state.license?.issued ?? installed?.issued ?? null,
max: gratis ? { ...CONFIG.LICENSE.FREE.MAX } : null,
features: gratis ? { ...CONFIG.LICENSE.FREE.HAS } : null,
};
}