Add RateLimit

This commit is contained in:
Sergey Dolin
2023-06-13 13:21:22 +02:00
parent 465330b7e2
commit 4b8e745923
5 changed files with 108 additions and 0 deletions

View 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'];