Skip to main content

Interface: LicenseSnapshot

Defined in: types.ts:163

The slice of @rasd/license's snapshot the renderer reads. Structural so createLicense()'s richer snapshot (reason, clockSuspect, seats, …) is width-compatible without this package depending on @rasd/license.

Properties​

apps?​

optional apps?: readonly string[];

Defined in: types.ts:167


enforcement?​

optional enforcement?: string & object | "soft" | "hard";

Defined in: types.ts:169

docs/15 §2.1 — absent reads as soft, never as hard.


expiresAt?​

optional expiresAt?: string;

Defined in: types.ts:170


features?​

optional features?: readonly string[];

Defined in: types.ts:166


graceUntil?​

optional graceUntil?: string;

Defined in: types.ts:171


plan?​

optional plan?: string;

Defined in: types.ts:165


state​

state: LicenseState | string & object;

Defined in: types.ts:164