Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/store-sqlite / / IdempotencyRecord
Interface: IdempotencyRecord
Defined in: packages/store-sqlite/src/idempotency-store.ts:11
REST Idempotency-Key cache row. The key is the value sent by the client; requestHash fingerprints the request body so a key reuse with a different payload returns 409 Conflict per the IETF draft-07 (DEC-142 / ADR-036).
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
createdAt | readonly | number | - | packages/store-sqlite/src/idempotency-store.ts:19 |
expiresAt | readonly | number | - | packages/store-sqlite/src/idempotency-store.ts:20 |
key | readonly | string | - | packages/store-sqlite/src/idempotency-store.ts:12 |
requestHash | readonly | string | - | packages/store-sqlite/src/idempotency-store.ts:13 |
response | readonly | unknown | Cached response body — adapter-specific encoding (JSON in v0.1). | packages/store-sqlite/src/idempotency-store.ts:16 |
responseHeaders? | readonly | Readonly<Record<string, string>> | - | packages/store-sqlite/src/idempotency-store.ts:17 |
scope? | readonly | string | - | packages/store-sqlite/src/idempotency-store.ts:18 |
statusCode | readonly | number | - | packages/store-sqlite/src/idempotency-store.ts:14 |