diff --git a/packages/integration/src/azure/AzureUrl.ts b/packages/integration/src/azure/AzureUrl.ts index 09b9df6e1d..2a0c082831 100644 --- a/packages/integration/src/azure/AzureUrl.ts +++ b/packages/integration/src/azure/AzureUrl.ts @@ -59,4 +59,39 @@ export class AzureUrl { toCommitsUrl(): string { throw new Error('not implemented'); } + + /** + * Returns the name of the owner, a user or an organization. + */ + getOwner(): string { + throw new Error('not implemented'); + } + + /** + * Returns the name of the project. + */ + getProject(): string { + throw new Error('not implemented'); + } + + /** + * Returns the name of the repo. + */ + getRepo(): string { + throw new Error('not implemented'); + } + + /** + * Returns the file path within the repo if the URL contains one. + */ + getPath(): string | undefined { + throw new Error('not implemented'); + } + + /** + * Returns the git ref in the repo if the URL contains one. + */ + getRef(): string | undefined { + throw new Error('not implemented'); + } }