mirror of
https://github.com/actions/stale.git
synced 2026-01-04 22:38:17 +00:00
Add RateLimit
This commit is contained in:
10
src/interfaces/rate-limit.ts
Normal file
10
src/interfaces/rate-limit.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import {components} from '@octokit/openapi-types';
|
||||
|
||||
export interface IRateLimit {
|
||||
limit: number;
|
||||
used: number;
|
||||
remaining: number;
|
||||
reset: Date;
|
||||
}
|
||||
|
||||
export type OctokitRateLimit = components['schemas']['rate-limit'];
|
||||
Reference in New Issue
Block a user