LuxelEspañol

Luxel v0.1 · Reference · part 12 of 12

API reference (12)

ExportKindDescription
ViewAdapterinterface—
ViewEventinterface—
ViewEventResulttype—
ViewKeyinterface—
ViewTokenClaimsinterface—
wireViewconstWhat the decoder needs from a manifest. */

@luxel-framework/postgres

Shared stores for several nodes.

ExportKindDescription
createPgRateLimiterfunctionToken buckets shared by every node. One statement per take: the bucket is refilled for the time elapsed, capped at the capacity, and a token is taken only if one is there; the row lock of the upsert serialises concurrent takes of one key across nodes. /
createPgReplayGuardfunctionSprint 10 (ADR-046): spends a key once across every node. One statement per claim: the insert wins, or the existing row is replaced only when it has expired. Expired rows are swept now and then. The key is a hash of the token's nonce, never the token. /
createPgRevocationListfunctionSprint 11 (H-PROVENANCE, ADR-048): revoked builds, shared by every node. A row per digest; rows are never removed by the framework (a revoked build stays revoked). /
createPgSessionStorefunction—
PgPoolLikeinterface—
PgQueryableinterface—
PgRateLimiterOptionsinterface—
PgReplayGuardOptionsinterface—
PgRevocationListOptionsinterface—
PgSessionStoreOptionsinterface—
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. Luxel 0.1.0-beta.1 is a beta: no external security review yet.