@backstage/integration 1.11.0 → 1.12.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/ScmIntegrations.esm.js +4 -10
  3. package/dist/ScmIntegrations.esm.js.map +1 -1
  4. package/dist/awsCodeCommit/AwsCodeCommitIntegration.esm.js +13 -21
  5. package/dist/awsCodeCommit/AwsCodeCommitIntegration.esm.js.map +1 -1
  6. package/dist/awsCodeCommit/config.esm.js +6 -11
  7. package/dist/awsCodeCommit/config.esm.js.map +1 -1
  8. package/dist/awsS3/AwsS3Integration.esm.js +11 -19
  9. package/dist/awsS3/AwsS3Integration.esm.js.map +1 -1
  10. package/dist/awsS3/config.esm.js +2 -3
  11. package/dist/awsS3/config.esm.js.map +1 -1
  12. package/dist/azure/AzureIntegration.esm.js +12 -21
  13. package/dist/azure/AzureIntegration.esm.js.map +1 -1
  14. package/dist/azure/AzureUrl.esm.js +72 -76
  15. package/dist/azure/AzureUrl.esm.js.map +1 -1
  16. package/dist/azure/CachedAzureDevOpsCredentialsProvider.esm.js +2 -8
  17. package/dist/azure/CachedAzureDevOpsCredentialsProvider.esm.js.map +1 -1
  18. package/dist/azure/DefaultAzureDevOpsCredentialsProvider.esm.js +3 -6
  19. package/dist/azure/DefaultAzureDevOpsCredentialsProvider.esm.js.map +1 -1
  20. package/dist/azure/config.esm.js +12 -15
  21. package/dist/azure/config.esm.js.map +1 -1
  22. package/dist/azure/deprecated.esm.js +2 -3
  23. package/dist/azure/deprecated.esm.js.map +1 -1
  24. package/dist/bitbucket/BitbucketIntegration.esm.js +19 -27
  25. package/dist/bitbucket/BitbucketIntegration.esm.js.map +1 -1
  26. package/dist/bitbucket/config.esm.js +3 -4
  27. package/dist/bitbucket/config.esm.js.map +1 -1
  28. package/dist/bitbucketCloud/BitbucketCloudIntegration.esm.js +13 -21
  29. package/dist/bitbucketCloud/BitbucketCloudIntegration.esm.js.map +1 -1
  30. package/dist/bitbucketCloud/config.esm.js +1 -2
  31. package/dist/bitbucketCloud/config.esm.js.map +1 -1
  32. package/dist/bitbucketServer/BitbucketServerIntegration.esm.js +13 -21
  33. package/dist/bitbucketServer/BitbucketServerIntegration.esm.js.map +1 -1
  34. package/dist/bitbucketServer/config.esm.js +1 -2
  35. package/dist/bitbucketServer/config.esm.js.map +1 -1
  36. package/dist/gerrit/GerritIntegration.esm.js +11 -19
  37. package/dist/gerrit/GerritIntegration.esm.js.map +1 -1
  38. package/dist/gerrit/config.esm.js +1 -2
  39. package/dist/gerrit/config.esm.js.map +1 -1
  40. package/dist/gitea/GiteaIntegration.esm.js +10 -18
  41. package/dist/gitea/GiteaIntegration.esm.js.map +1 -1
  42. package/dist/gitea/config.esm.js +1 -2
  43. package/dist/gitea/config.esm.js.map +1 -1
  44. package/dist/gitea/core.esm.js +1 -2
  45. package/dist/gitea/core.esm.js.map +1 -1
  46. package/dist/github/GithubIntegration.esm.js +11 -19
  47. package/dist/github/GithubIntegration.esm.js.map +1 -1
  48. package/dist/github/SingleInstanceGithubCredentialsProvider.esm.js +22 -40
  49. package/dist/github/SingleInstanceGithubCredentialsProvider.esm.js.map +1 -1
  50. package/dist/github/config.esm.js +3 -4
  51. package/dist/github/config.esm.js.map +1 -1
  52. package/dist/gitlab/GitLabIntegration.esm.js +11 -19
  53. package/dist/gitlab/GitLabIntegration.esm.js.map +1 -1
  54. package/dist/gitlab/SingleInstanceGitlabCredentialsProvider.esm.js +5 -12
  55. package/dist/gitlab/SingleInstanceGitlabCredentialsProvider.esm.js.map +1 -1
  56. package/dist/gitlab/config.esm.js +1 -2
  57. package/dist/gitlab/config.esm.js.map +1 -1
  58. package/dist/harness/HarnessIntegration.esm.js +10 -18
  59. package/dist/harness/HarnessIntegration.esm.js.map +1 -1
  60. package/dist/harness/core.esm.js +48 -46
  61. package/dist/harness/core.esm.js.map +1 -1
  62. package/dist/index.cjs.js +327 -498
  63. package/dist/index.cjs.js.map +1 -1
  64. package/dist/index.d.ts +54 -37
  65. package/dist/index.esm.js +1 -2
  66. package/dist/index.esm.js.map +1 -1
  67. package/package.json +3 -3
  68. package/dist/github/deprecated.esm.js +0 -26
  69. package/dist/github/deprecated.esm.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -199,6 +199,10 @@ type AwsCodeCommitIntegrationConfig = {
199
199
  * (Optional) External ID to use when assuming role
200
200
  */
201
201
  externalId?: string;
202
+ /**
203
+ * region to use for AWS (default: us-east-1)
204
+ */
205
+ region: string;
202
206
  };
203
207
  /**
204
208
  * Reads a single Aws CodeCommit integration config.
@@ -1576,41 +1580,6 @@ declare class SingleInstanceGithubCredentialsProvider implements GithubCredentia
1576
1580
  }): Promise<GithubCredentials>;
1577
1581
  }
1578
1582
 
1579
- /**
1580
- * @public
1581
- * @deprecated Use {@link getGithubFileFetchUrl} instead.
1582
- */
1583
- declare const getGitHubFileFetchUrl: typeof getGithubFileFetchUrl;
1584
- /**
1585
- * @public
1586
- * @deprecated Use {@link GithubIntegrationConfig} instead.
1587
- */
1588
- type GitHubIntegrationConfig = GithubIntegrationConfig;
1589
- /**
1590
- * @public
1591
- * @deprecated Use {@link GithubIntegration} instead.
1592
- */
1593
- declare class GitHubIntegration extends GithubIntegration {
1594
- static factory: ScmIntegrationsFactory<GitHubIntegration>;
1595
- constructor(integrationConfig: GitHubIntegrationConfig);
1596
- get config(): GitHubIntegrationConfig;
1597
- }
1598
- /**
1599
- * @public
1600
- * @deprecated Use {@link readGithubIntegrationConfig} instead.
1601
- */
1602
- declare const readGitHubIntegrationConfig: typeof readGithubIntegrationConfig;
1603
- /**
1604
- * @public
1605
- * @deprecated Use {@link readGithubIntegrationConfigs} instead.
1606
- */
1607
- declare const readGitHubIntegrationConfigs: typeof readGithubIntegrationConfigs;
1608
- /**
1609
- * @public
1610
- * @deprecated Use {@link replaceGithubUrlType} instead.
1611
- */
1612
- declare const replaceGitHubUrlType: typeof replaceGithubUrlType;
1613
-
1614
1583
  /**
1615
1584
  * Given a URL pointing to a file on a provider, returns a URL that is suitable
1616
1585
  * for fetching the contents of the data.
@@ -1696,7 +1665,7 @@ declare function readGoogleGcsIntegrationConfig(config: Config): GoogleGcsIntegr
1696
1665
 
1697
1666
  /**
1698
1667
  * Given a file path URL,
1699
- * it returns an API URL which returns the contents of the file.
1668
+ * it returns an API URL which returns the contents of the file .
1700
1669
  * @remarks
1701
1670
  *
1702
1671
  * Converts
@@ -1708,6 +1677,36 @@ declare function readGoogleGcsIntegrationConfig(config: Config): GoogleGcsIntegr
1708
1677
  * @public
1709
1678
  */
1710
1679
  declare function getHarnessFileContentsUrl(config: HarnessIntegrationConfig, url: string): string;
1680
+ /**
1681
+ * Given a URL pointing to a repository/path, returns a URL
1682
+ * for archive contents of the repository.
1683
+ *
1684
+ * @remarks
1685
+ *
1686
+ * Converts
1687
+ * from: https://qa.harness.io/ng/account/accountId/module/code/orgs/orgId/projects/projectName/repos/repoName/files/branch/~/fileName
1688
+ * to: https://qa.harness.io/gateway/code/api/v1/repos/accountId/orgId/projectName/repoName/+/archive/branch.zip?routingId=accountId
1689
+ *
1690
+ * @param url - A URL pointing to a repository/path
1691
+ * @param config - The relevant provider config
1692
+ * @public
1693
+ */
1694
+ declare function getHarnessArchiveUrl(config: HarnessIntegrationConfig, url: string): string;
1695
+ /**
1696
+ * Given a URL pointing to a repository branch, returns a URL
1697
+ * for latest commit information.
1698
+ *
1699
+ * @remarks
1700
+ *
1701
+ * Converts
1702
+ * from: https://app.harness.io/ng/account/accountId/module/code/orgs/orgName/projects/projectName/repos/repoName/files/branchName
1703
+ * to: https://app.harness.io/gateway/code/api/v1/repos/accountId/orgName/projectName/repoName/+/content?routingId=accountId&include_commit=true&git_ref=refs/heads/branchName
1704
+ *
1705
+ * @param url - A URL pointing to a repository branch
1706
+ * @param config - The relevant provider config
1707
+ * @public
1708
+ */
1709
+ declare function getHarnessLatestCommitUrl(config: HarnessIntegrationConfig, url: string): string;
1711
1710
  /**
1712
1711
  * Return request headers for a Harness Code provider.
1713
1712
  *
@@ -1717,6 +1716,24 @@ declare function getHarnessFileContentsUrl(config: HarnessIntegrationConfig, url
1717
1716
  declare function getHarnessRequestOptions(config: HarnessIntegrationConfig): {
1718
1717
  headers?: Record<string, string>;
1719
1718
  };
1719
+ /**
1720
+ * Return parsed git url properties.
1721
+ *
1722
+ * @param config - A Harness provider config
1723
+ * @param url - A URL pointing to a repository
1724
+ * @public
1725
+ */
1726
+ declare function parseHarnessUrl(config: HarnessIntegrationConfig, url: string): {
1727
+ baseUrl: string;
1728
+ accountId: string;
1729
+ orgName: string;
1730
+ projectName: string;
1731
+ refString: string;
1732
+ repoName: string;
1733
+ path: string;
1734
+ refDashStr: string;
1735
+ branch: string;
1736
+ };
1720
1737
 
1721
1738
  /**
1722
1739
  * Default implementation of {@link ScmIntegration} `resolveUrl`, that only
@@ -1785,4 +1802,4 @@ declare class ScmIntegrations implements ScmIntegrationRegistry {
1785
1802
  resolveEditUrl(url: string): string;
1786
1803
  }
1787
1804
 
1788
- export { AwsCodeCommitIntegration, type AwsCodeCommitIntegrationConfig, AwsS3Integration, type AwsS3IntegrationConfig, type AzureClientSecretCredential, type AzureCredentialBase, type AzureDevOpsCredential, type AzureDevOpsCredentialKind, type AzureDevOpsCredentialLike, type AzureDevOpsCredentialType, type AzureDevOpsCredentials, type AzureDevOpsCredentialsProvider, AzureIntegration, type AzureIntegrationConfig, type AzureManagedIdentityCredential, BitbucketCloudIntegration, type BitbucketCloudIntegrationConfig, BitbucketIntegration, type BitbucketIntegrationConfig, BitbucketServerIntegration, type BitbucketServerIntegrationConfig, DefaultAzureDevOpsCredentialsProvider, DefaultGithubCredentialsProvider, DefaultGitlabCredentialsProvider, GerritIntegration, type GerritIntegrationConfig, GitHubIntegration, type GitHubIntegrationConfig, GitLabIntegration, type GitLabIntegrationConfig, GiteaIntegration, type GiteaIntegrationConfig, type GithubAppConfig, GithubAppCredentialsMux, type GithubCredentialType, type GithubCredentials, type GithubCredentialsProvider, GithubIntegration, type GithubIntegrationConfig, type GitlabCredentials, type GitlabCredentialsProvider, type GoogleGcsIntegrationConfig, HarnessIntegration, type HarnessIntegrationConfig, type IntegrationsByType, type PersonalAccessTokenCredential, type RateLimitInfo, type ScmIntegration, type ScmIntegrationRegistry, ScmIntegrations, type ScmIntegrationsFactory, type ScmIntegrationsGroup, SingleInstanceGithubCredentialsProvider, buildGerritGitilesArchiveUrl, defaultScmResolveUrl, getAzureCommitsUrl, getAzureDownloadUrl, getAzureFileFetchUrl, getAzureRequestOptions, getBitbucketCloudDefaultBranch, getBitbucketCloudDownloadUrl, getBitbucketCloudFileFetchUrl, getBitbucketCloudRequestOptions, getBitbucketDefaultBranch, getBitbucketDownloadUrl, getBitbucketFileFetchUrl, getBitbucketRequestOptions, getBitbucketServerDefaultBranch, getBitbucketServerDownloadUrl, getBitbucketServerFileFetchUrl, getBitbucketServerRequestOptions, getGerritBranchApiUrl, getGerritCloneRepoUrl, getGerritFileContentsApiUrl, getGerritProjectsApiUrl, getGerritRequestOptions, getGitHubFileFetchUrl, getGitHubRequestOptions, getGitLabFileFetchUrl, getGitLabIntegrationRelativePath, getGitLabRequestOptions, getGiteaArchiveUrl, getGiteaEditContentsUrl, getGiteaFileContentsUrl, getGiteaLatestCommitUrl, getGiteaRequestOptions, getGithubFileFetchUrl, getHarnessFileContentsUrl, getHarnessRequestOptions, parseGerritGitilesUrl, parseGerritJsonResponse, parseGiteaUrl, readAwsCodeCommitIntegrationConfig, readAwsCodeCommitIntegrationConfigs, readAwsS3IntegrationConfig, readAwsS3IntegrationConfigs, readAzureIntegrationConfig, readAzureIntegrationConfigs, readBitbucketCloudIntegrationConfig, readBitbucketCloudIntegrationConfigs, readBitbucketIntegrationConfig, readBitbucketIntegrationConfigs, readBitbucketServerIntegrationConfig, readBitbucketServerIntegrationConfigs, readGerritIntegrationConfig, readGerritIntegrationConfigs, readGitHubIntegrationConfig, readGitHubIntegrationConfigs, readGitLabIntegrationConfig, readGitLabIntegrationConfigs, readGiteaConfig, readGithubIntegrationConfig, readGithubIntegrationConfigs, readGoogleGcsIntegrationConfig, readHarnessConfig, replaceGitHubUrlType, replaceGitLabUrlType, replaceGithubUrlType };
1805
+ export { AwsCodeCommitIntegration, type AwsCodeCommitIntegrationConfig, AwsS3Integration, type AwsS3IntegrationConfig, type AzureClientSecretCredential, type AzureCredentialBase, type AzureDevOpsCredential, type AzureDevOpsCredentialKind, type AzureDevOpsCredentialLike, type AzureDevOpsCredentialType, type AzureDevOpsCredentials, type AzureDevOpsCredentialsProvider, AzureIntegration, type AzureIntegrationConfig, type AzureManagedIdentityCredential, BitbucketCloudIntegration, type BitbucketCloudIntegrationConfig, BitbucketIntegration, type BitbucketIntegrationConfig, BitbucketServerIntegration, type BitbucketServerIntegrationConfig, DefaultAzureDevOpsCredentialsProvider, DefaultGithubCredentialsProvider, DefaultGitlabCredentialsProvider, GerritIntegration, type GerritIntegrationConfig, GitLabIntegration, type GitLabIntegrationConfig, GiteaIntegration, type GiteaIntegrationConfig, type GithubAppConfig, GithubAppCredentialsMux, type GithubCredentialType, type GithubCredentials, type GithubCredentialsProvider, GithubIntegration, type GithubIntegrationConfig, type GitlabCredentials, type GitlabCredentialsProvider, type GoogleGcsIntegrationConfig, HarnessIntegration, type HarnessIntegrationConfig, type IntegrationsByType, type PersonalAccessTokenCredential, type RateLimitInfo, type ScmIntegration, type ScmIntegrationRegistry, ScmIntegrations, type ScmIntegrationsFactory, type ScmIntegrationsGroup, SingleInstanceGithubCredentialsProvider, buildGerritGitilesArchiveUrl, defaultScmResolveUrl, getAzureCommitsUrl, getAzureDownloadUrl, getAzureFileFetchUrl, getAzureRequestOptions, getBitbucketCloudDefaultBranch, getBitbucketCloudDownloadUrl, getBitbucketCloudFileFetchUrl, getBitbucketCloudRequestOptions, getBitbucketDefaultBranch, getBitbucketDownloadUrl, getBitbucketFileFetchUrl, getBitbucketRequestOptions, getBitbucketServerDefaultBranch, getBitbucketServerDownloadUrl, getBitbucketServerFileFetchUrl, getBitbucketServerRequestOptions, getGerritBranchApiUrl, getGerritCloneRepoUrl, getGerritFileContentsApiUrl, getGerritProjectsApiUrl, getGerritRequestOptions, getGitHubRequestOptions, getGitLabFileFetchUrl, getGitLabIntegrationRelativePath, getGitLabRequestOptions, getGiteaArchiveUrl, getGiteaEditContentsUrl, getGiteaFileContentsUrl, getGiteaLatestCommitUrl, getGiteaRequestOptions, getGithubFileFetchUrl, getHarnessArchiveUrl, getHarnessFileContentsUrl, getHarnessLatestCommitUrl, getHarnessRequestOptions, parseGerritGitilesUrl, parseGerritJsonResponse, parseGiteaUrl, parseHarnessUrl, readAwsCodeCommitIntegrationConfig, readAwsCodeCommitIntegrationConfigs, readAwsS3IntegrationConfig, readAwsS3IntegrationConfigs, readAzureIntegrationConfig, readAzureIntegrationConfigs, readBitbucketCloudIntegrationConfig, readBitbucketCloudIntegrationConfigs, readBitbucketIntegrationConfig, readBitbucketIntegrationConfigs, readBitbucketServerIntegrationConfig, readBitbucketServerIntegrationConfigs, readGerritIntegrationConfig, readGerritIntegrationConfigs, readGitLabIntegrationConfig, readGitLabIntegrationConfigs, readGiteaConfig, readGithubIntegrationConfig, readGithubIntegrationConfigs, readGoogleGcsIntegrationConfig, readHarnessConfig, replaceGitLabUrlType, replaceGithubUrlType };
package/dist/index.esm.js CHANGED
@@ -27,14 +27,13 @@ export { getGitHubRequestOptions, getGithubFileFetchUrl } from './github/core.es
27
27
  export { DefaultGithubCredentialsProvider } from './github/DefaultGithubCredentialsProvider.esm.js';
28
28
  export { GithubAppCredentialsMux, SingleInstanceGithubCredentialsProvider } from './github/SingleInstanceGithubCredentialsProvider.esm.js';
29
29
  export { GithubIntegration, replaceGithubUrlType } from './github/GithubIntegration.esm.js';
30
- export { GitHubIntegration, getGitHubFileFetchUrl, readGitHubIntegrationConfig, readGitHubIntegrationConfigs, replaceGitHubUrlType } from './github/deprecated.esm.js';
31
30
  export { getGitLabIntegrationRelativePath, readGitLabIntegrationConfig, readGitLabIntegrationConfigs } from './gitlab/config.esm.js';
32
31
  export { getGitLabFileFetchUrl, getGitLabRequestOptions } from './gitlab/core.esm.js';
33
32
  export { GitLabIntegration, replaceGitLabUrlType } from './gitlab/GitLabIntegration.esm.js';
34
33
  export { DefaultGitlabCredentialsProvider } from './gitlab/DefaultGitlabCredentialsProvider.esm.js';
35
34
  export { readGoogleGcsIntegrationConfig } from './googleGcs/config.esm.js';
36
35
  export { HarnessIntegration } from './harness/HarnessIntegration.esm.js';
37
- export { getHarnessFileContentsUrl, getHarnessRequestOptions } from './harness/core.esm.js';
36
+ export { getHarnessArchiveUrl, getHarnessFileContentsUrl, getHarnessLatestCommitUrl, getHarnessRequestOptions, parseHarnessUrl } from './harness/core.esm.js';
38
37
  export { readHarnessConfig } from './harness/config.esm.js';
39
38
  export { defaultScmResolveUrl } from './helpers.esm.js';
40
39
  export { ScmIntegrations } from './ScmIntegrations.esm.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/integration",
3
- "version": "1.11.0",
3
+ "version": "1.12.0-next.1",
4
4
  "description": "Helpers for managing integrations towards external systems",
5
5
  "backstage": {
6
6
  "role": "common-library"
@@ -48,8 +48,8 @@
48
48
  "luxon": "^3.0.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@backstage/cli": "^0.26.5",
52
- "@backstage/config-loader": "^1.8.0",
51
+ "@backstage/cli": "^0.26.7-next.3",
52
+ "@backstage/config-loader": "^1.8.1-next.0",
53
53
  "@types/luxon": "^3.0.0",
54
54
  "msw": "^1.0.0"
55
55
  },
@@ -1,26 +0,0 @@
1
- import { readGithubIntegrationConfig, readGithubIntegrationConfigs } from './config.esm.js';
2
- import { getGithubFileFetchUrl } from './core.esm.js';
3
- import { GithubIntegration, replaceGithubUrlType } from './GithubIntegration.esm.js';
4
-
5
- var __defProp = Object.defineProperty;
6
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7
- var __publicField = (obj, key, value) => {
8
- __defNormalProp(obj, key + "" , value);
9
- return value;
10
- };
11
- const getGitHubFileFetchUrl = getGithubFileFetchUrl;
12
- class GitHubIntegration extends GithubIntegration {
13
- constructor(integrationConfig) {
14
- super(integrationConfig);
15
- }
16
- get config() {
17
- return super.config;
18
- }
19
- }
20
- __publicField(GitHubIntegration, "factory", GithubIntegration.factory);
21
- const readGitHubIntegrationConfig = readGithubIntegrationConfig;
22
- const readGitHubIntegrationConfigs = readGithubIntegrationConfigs;
23
- const replaceGitHubUrlType = replaceGithubUrlType;
24
-
25
- export { GitHubIntegration, getGitHubFileFetchUrl, readGitHubIntegrationConfig, readGitHubIntegrationConfigs, replaceGitHubUrlType };
26
- //# sourceMappingURL=deprecated.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deprecated.esm.js","sources":["../../src/github/deprecated.ts"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n GithubIntegrationConfig,\n readGithubIntegrationConfig,\n readGithubIntegrationConfigs,\n} from './config';\nimport { getGithubFileFetchUrl } from './core';\nimport { GithubIntegration, replaceGithubUrlType } from './GithubIntegration';\nimport { ScmIntegrationsFactory } from '../types';\n\n/**\n * @public\n * @deprecated Use {@link getGithubFileFetchUrl} instead.\n */\nexport const getGitHubFileFetchUrl = getGithubFileFetchUrl;\n\n/**\n * @public\n * @deprecated Use {@link GithubIntegrationConfig} instead.\n */\nexport type GitHubIntegrationConfig = GithubIntegrationConfig;\n\n/**\n * @public\n * @deprecated Use {@link GithubIntegration} instead.\n */\nexport class GitHubIntegration extends GithubIntegration {\n static factory: ScmIntegrationsFactory<GitHubIntegration> =\n GithubIntegration.factory;\n\n constructor(integrationConfig: GitHubIntegrationConfig) {\n super(integrationConfig as GithubIntegrationConfig);\n }\n\n get config(): GitHubIntegrationConfig {\n return super.config as GitHubIntegrationConfig;\n }\n}\n\n/**\n * @public\n * @deprecated Use {@link readGithubIntegrationConfig} instead.\n */\nexport const readGitHubIntegrationConfig = readGithubIntegrationConfig;\n\n/**\n * @public\n * @deprecated Use {@link readGithubIntegrationConfigs} instead.\n */\nexport const readGitHubIntegrationConfigs = readGithubIntegrationConfigs;\n\n/**\n * @public\n * @deprecated Use {@link replaceGithubUrlType} instead.\n */\nexport const replaceGitHubUrlType = replaceGithubUrlType;\n"],"names":[],"mappings":";;;;;;;;;;AA6BO,MAAM,qBAAwB,GAAA,sBAAA;AAY9B,MAAM,0BAA0B,iBAAkB,CAAA;AAAA,EAIvD,YAAY,iBAA4C,EAAA;AACtD,IAAA,KAAA,CAAM,iBAA4C,CAAA,CAAA;AAAA,GACpD;AAAA,EAEA,IAAI,MAAkC,GAAA;AACpC,IAAA,OAAO,KAAM,CAAA,MAAA,CAAA;AAAA,GACf;AACF,CAAA;AAVE,aADW,CAAA,iBAAA,EACJ,WACL,iBAAkB,CAAA,OAAA,CAAA,CAAA;AAef,MAAM,2BAA8B,GAAA,4BAAA;AAMpC,MAAM,4BAA+B,GAAA,6BAAA;AAMrC,MAAM,oBAAuB,GAAA;;;;"}