Add RateLimit

This commit is contained in:
Sergey Dolin committed 2023-07-11 09:36:52 +02:00
1 parent 465330b7e2
commit 4b8e745923
5 files changed
+108

No files matched your search

+10
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'];