LuxelEspañol

Luxel v0.2 · Reference · part 11 of 14

API reference (11)

ExportKindDescription
MAC_BYTESconst128 bits: the floor ADR-007 sets for a truncated HMAC-SHA256. */
MAX_TOKEN_LENGTHconstThe longest token read (a Keycloak access token with many roles is a few KiB). */
MemoryRateLimiterinterface—
MemorySessionStoreOptionsinterface—
mintFormTokenfunction—
mintViewTokenfunction—
newSessionIdconst—
normalizeTextfunction—
OpenOptionsinterfaceSprint 13.5 (S1 review S1k, ADR-065 §16): id, the id the new session must have, chosen by the caller before the call, so that an open whose answer is lost (the store recorded it, then the call failed) can still be closed. A store must use it as given (a valid session id) or refuse. /
ownedFilesfunctionEvery file in the outputs the compiler owns, as outDir-relative POSIX paths. */
pageShapefunction—
PageShapeinterfaceSprint 8 (early send, ADR-033): what of a filled page does not depend on the data, computed once per view and variant. early is the page up to its content (head, critical CSS, the empty context element); pieces are the page's static parts around each view's fill; sent is how much of the first view's fill already left with early; errorTail closes what is open at the cut and writes the view's compiled, generic error state (its "unexpected" message, in the view's error class) instead of the rest: no detail, no resume block, no runtime. /
parseAllowedHostsfunction—
ParsedJwtinterface—
parseIdentityConfigfunctionReads identity from the host config. Throws an Error that names the field and the rule, never a value (so a start-up refusal prints nothing of the configuration). S1t (ADR-065 §24, class C): the rules are checkIdentityConfig of @luxel-framework/check, the very ones luxel build runs on the copy it writes into luxel.config.json: what this refuses at start, the build refused before anything was written. /
parseJwtfunctionThe token's parts, or null when it is not a well-formed JWS compact serialization. */
parseProvenanceKeysfunctionLUXEL_PROVENANCE_KEYS: "kid:‹base64url public key>[,…]" (32-byte ed25519 public keys). */
parseSigningKeyfunctionLUXEL_SIGNING_KEY: "kid:‹base64url 32-byte ed25519 seed>" (kept out of the repository). */
parseViewKeysfunctionParses LUXEL_VIEW_KEYS: "kid:base64secret[,kid:base64secret...]"; the first one signs. */
productionProblemsfunctionEverything that keeps a host from starting in production, without any value in the text. */
Provenanceinterface—
PROVENANCE_FILEconst—
ProvenanceKeyinterface—
RateLimiterinterfaceSprint 9 (ADR-040): the rate-limit contract. shared is true when every node takes from the same buckets (the limit is global, not per node); @luxel-framework/postgres has one. Keys never carry a secret (the gateway passes a hash of the session). /
RateLimitOptionsinterface—
RateLimitResulttype—
Edit this page on GitHub

This page: 7.9 KB of JavaScript (Luxel's shared runtime), 0 KB from your app.

Measured when the site is built: the runtime files this page loads, compressed as they are sent.

Made by IntiOps. The Luxel 0.1.0 betas are on npm (0.1.0-beta.1, 0.1.0-beta.2), with an alpha of 0.2 (0.2.0-alpha.1): no external security review yet.