Skip to content

Commit d22abf2

Browse files
chore: better interface naming
1 parent ec0243e commit d22abf2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ declare module 'cloudinary' {
605605
next_cursor?: string;
606606
}
607607

608-
export interface AdminApiRateLimitingResponse {
608+
export interface AdminApiBaseResponse {
609609
rate_limit_allowed?: number;
610610
rate_limit_reset_at?: string;
611611
rate_limit_remaining?: number;
@@ -704,7 +704,7 @@ declare module 'cloudinary' {
704704
[futureKey: string]: any;
705705
}
706706

707-
export interface MetadataFieldsApiResponse extends AdminApiPaginationResponse, AdminApiRateLimitingResponse {
707+
export interface MetadataFieldsApiResponse extends AdminApiPaginationResponse, AdminApiBaseResponse {
708708
metadata_fields: MetadataFieldApiResponse[]
709709
}
710710

@@ -786,7 +786,7 @@ declare module 'cloudinary' {
786786

787787
export type MetadataRulesListResponse = Array<MetadataRuleResponse>;
788788

789-
export interface ResourceApiResponse extends AdminApiPaginationResponse, AdminApiRateLimitingResponse {
789+
export interface ResourceApiResponse extends AdminApiPaginationResponse, AdminApiBaseResponse {
790790
resources: [
791791
{
792792
public_id: string;

0 commit comments

Comments
 (0)