Interface: FakeLicenseOptions
Defined in: packages/testing/src/license.ts:24
Properties
enforcement?
optional enforcement?: "soft" | "hard";
Defined in: packages/testing/src/license.ts:33
soft watermarks; hard blocks new submissions (docs/15 §5.2).
expiresAt?
optional expiresAt?: string;
Defined in: packages/testing/src/license.ts:36
ISO-8601. Defaults to a date consistent with state.
features?
optional features?: string[];
Defined in: packages/testing/src/license.ts:31
Features the token grants. ['*'] is everything. Defaults to everything
for the states that imply a live licence, and nothing for limited /
invalid — which is what makes fakeLicense('limited') do the useful
thing with no further configuration.
plan?
optional plan?: RltPlan;
Defined in: packages/testing/src/license.ts:34