DotNaos UI

Client

Source Control Client from the Source control package.

Loading SourceControlClient…

Source code

Waiting for the preview before loading source files · 2 of 2

Properties

Public properties derived from the component’s TypeScript signature.

PropertyTypeDefault
providerRequired
SourceControlProviderAdapter
repositoryRequired
SourceControlRepository
initialSnapshotOptional
SourceControlRepositorySnapshot
refreshIntervalOptionalReloads provider data on this interval. Omit or use 0 to refresh only on mount and actions.
number
sectionOptional
"changes" | "history" | "branches" | "pull-requests" | "work-items" | "runs"
defaultSectionOptional
"changes" | "history" | "branches" | "pull-requests" | "work-items" | "runs"
"changes"
sectionsOptional
readonly SourceControlSection[]
defaultSections
onSectionChangeOptional
((section: SourceControlSection) => void)
onOpenFileOptional
((change: GitChange) => void)
onOpenPullRequestOptional
((pullRequest: SourceControlPullRequest) => void)
onOpenWorkItemOptional
((workItem: SourceControlWorkItem) => void)
onOpenRunOptional
((run: SourceControlRun) => void)
onErrorOptional
((message: string, error: unknown) => void)
onNoticeOptional
((message: string) => void)
customizeOptional
UiCustomization