Merge pull request #10490 from OctopusDeploy/liam-mackie/export-IdentityProviders

Added IdentityProviders to exports from SignInPage
This commit is contained in:
Ben Lambert
2022-04-06 15:00:44 +02:00
committed by GitHub
4 changed files with 10 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Exported `IdentityProviders` type.
+3
View File
@@ -510,6 +510,9 @@ export type IconLinkVerticalProps = {
title?: string;
};
// @public (undocumented)
export type IdentityProviders = ('guest' | 'custom' | SignInProviderConfig)[];
// Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point index.d.ts
//
// @public
@@ -14,7 +14,7 @@
* limitations under the License.
*/
export type { SignInProviderConfig } from './types';
export type { IdentityProviders, SignInProviderConfig } from './types';
export { SignInPage } from './SignInPage';
export type { SignInPageClassKey } from './styles';
export type { CustomProviderClassKey } from './customProvider';
@@ -32,6 +32,7 @@ export type SignInProviderConfig = {
apiRef: ApiRef<ProfileInfoApi & BackstageIdentityApi & SessionApi>;
};
/** @public **/
export type IdentityProviders = ('guest' | 'custom' | SignInProviderConfig)[];
export type ProviderComponent = ComponentType<