export interface AvailableRepositories { name: string; id?: string; } export interface RepoUrlPickerState { host?: string; owner?: string; repoName?: string; organization?: string; workspace?: string; project?: string; availableRepos?: AvailableRepositories[]; } export type BaseRepoUrlPickerProps = T & { onChange: (state: RepoUrlPickerState) => void; state: RepoUrlPickerState; rawErrors: string[]; isDisabled?: boolean; };