CheckResult
Defined in: src/schema.ts:222
The answer to check / consume / reserve.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
allowed |
boolean |
- | src/schema.ts:223 |
buffered? |
boolean |
Decided by a write-behind counter (ADR 0006). | src/schema.ts:242 |
denial? |
Denial |
- | src/schema.ts:227 |
duplicate? |
boolean |
consume with an idempotency key that was already applied. |
src/schema.ts:244 |
feature |
string |
- | src/schema.ts:224 |
kind |
| FeatureKind | "unknown" |
- | src/schema.ts:225 |
limit? |
number | null |
Numeric features: null = unlimited. |
src/schema.ts:229 |
overage? |
number |
Usage beyond the limit this period (overage allowed). | src/schema.ts:234 |
reason |
DecisionReason |
- | src/schema.ts:226 |
remaining? |
number | null |
null = unlimited. |
src/schema.ts:232 |
requested? |
number |
The amount asked for. | src/schema.ts:246 |
resetsAt? |
string | null |
- | src/schema.ts:235 |
stale? |
boolean |
Served from a last-known-good snapshot or without counters (ADR 0003). | src/schema.ts:240 |
unlockedBy |
string[] |
Plans / add-ons (current versions) that would allow the request, cheapest first. | src/schema.ts:238 |
used? |
number |
- | src/schema.ts:230 |
value? |
JsonValue |
- | src/schema.ts:236 |