Skip to content

Commit a2216e1

Browse files
committed
feat(bulk-import): update types for authenticated user repository and app installation repositories responses
Signed-off-by: Dominik Augustín <daugusti@redhat.com>
1 parent 4031002 commit a2216e1

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • workspaces/bulk-import/plugins/bulk-import-backend/src/github

workspaces/bulk-import/plugins/bulk-import-backend/src/github/types.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,14 @@ export interface ExtendedGithubCredentialsProvider extends GithubCredentialsProv
135135
}) => Promise<ExtendedGithubCredentials[]>;
136136
}
137137

138-
export type AuthenticatedUserRepositoryList =
139-
RestEndpointMethodTypes['repos']['listForAuthenticatedUser']['response']['data'];
140-
141-
export type AppInstallationRepositories =
142-
RestEndpointMethodTypes['apps']['listReposAccessibleToInstallation']['response']['data'];
143-
144138
export type AuthenticatedUserRepositoryResponse =
145139
RestEndpointMethodTypes['repos']['listForAuthenticatedUser']['response'];
146140

141+
export type AuthenticatedUserRepositoryList =
142+
AuthenticatedUserRepositoryResponse['data'];
143+
147144
export type AppInstallationRepositoriesResponse =
148145
RestEndpointMethodTypes['apps']['listReposAccessibleToInstallation']['response'];
146+
147+
export type AppInstallationRepositories =
148+
AppInstallationRepositoriesResponse['data'];

0 commit comments

Comments
 (0)