chore: update API reports
Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
This commit is contained in:
@@ -186,6 +186,7 @@ export type BitbucketCloudIntegrationConfig = {
|
||||
apiBaseUrl: string;
|
||||
username?: string;
|
||||
appPassword?: string;
|
||||
accessToken?: string;
|
||||
};
|
||||
|
||||
// @public @deprecated
|
||||
|
||||
@@ -12,11 +12,20 @@ export class BitbucketCloudClient {
|
||||
config: BitbucketCloudIntegrationConfig,
|
||||
): BitbucketCloudClient;
|
||||
// (undocumented)
|
||||
listProjectsByWorkspace(
|
||||
workspace: string,
|
||||
options?: FilterAndSortOptions & PartialResponseOptions,
|
||||
): WithPagination<Models.PaginatedProjects, Models.Project>;
|
||||
// (undocumented)
|
||||
listRepositoriesByWorkspace(
|
||||
workspace: string,
|
||||
options?: FilterAndSortOptions & PartialResponseOptions,
|
||||
): WithPagination<Models.PaginatedRepositories, Models.Repository>;
|
||||
// (undocumented)
|
||||
listWorkspaces(
|
||||
options?: FilterAndSortOptions & PartialResponseOptions,
|
||||
): WithPagination<Models.PaginatedWorkspaces, Models.Workspace>;
|
||||
// (undocumented)
|
||||
searchCode(
|
||||
workspace: string,
|
||||
query: string,
|
||||
@@ -200,9 +209,15 @@ export namespace Models {
|
||||
size?: number;
|
||||
values?: Array<TResultItem> | Set<TResultItem>;
|
||||
}
|
||||
export interface PaginatedProjects extends Paginated<Project> {
|
||||
values?: Set<Project>;
|
||||
}
|
||||
export interface PaginatedRepositories extends Paginated<Repository> {
|
||||
values?: Set<Repository>;
|
||||
}
|
||||
export interface PaginatedWorkspaces extends Paginated<Workspace> {
|
||||
values?: Set<Workspace>;
|
||||
}
|
||||
export interface Participant extends ModelObject {
|
||||
// (undocumented)
|
||||
approved?: boolean;
|
||||
|
||||
@@ -65,7 +65,7 @@ export const RepoUrlPickerRepoName = (props: {
|
||||
<Autocomplete
|
||||
value={repoName}
|
||||
onInputChange={(_, newValue) => {
|
||||
onChange(newValue || '');
|
||||
onChange(String(newValue));
|
||||
}}
|
||||
options={availableRepos || []}
|
||||
renderInput={params => (
|
||||
|
||||
Reference in New Issue
Block a user