dependabit / github-client/src / RateLimitInfo
Interface: RateLimitInfo
Defined in: packages/github-client/src/rate-limit.ts:37
Rate limit snapshot for a single GitHub API category.
Remarks
warning is set automatically when remaining < limit * 0.1.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
limit | number | - | packages/github-client/src/rate-limit.ts:38 |
remaining | number | - | packages/github-client/src/rate-limit.ts:39 |
reset | Date | - | packages/github-client/src/rate-limit.ts:40 |
used | number | - | packages/github-client/src/rate-limit.ts:41 |
warning? | string | Present when remaining calls fall below 10 % of the total limit. | packages/github-client/src/rate-limit.ts:43 |