chore: add changeset and api-report

Signed-off-by: ElaineDeMattosSilvaB <elaine.de-mattos-silva-bezerra@deutschebahn.com>
This commit is contained in:
ElaineDeMattosSilvaB
2024-06-27 22:21:59 +02:00
parent 2f7a7df46b
commit 78c13290e4
2 changed files with 10 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/integration': minor
'@backstage/backend-defaults': patch
---
Updated `GitlabUrlReader.readUrl` and `GitlabUrlReader.readTree` to accept a user-provided token, supporting both bearer and private tokens.
+4 -1
View File
@@ -508,7 +508,10 @@ export function getGitLabIntegrationRelativePath(
): string;
// @public
export function getGitLabRequestOptions(config: GitLabIntegrationConfig): {
export function getGitLabRequestOptions(
config: GitLabIntegrationConfig,
token?: string,
): {
headers: Record<string, string>;
};