diff --git a/.changeset/selfish-actors-walk.md b/.changeset/selfish-actors-walk.md new file mode 100644 index 0000000000..755f1c3de6 --- /dev/null +++ b/.changeset/selfish-actors-walk.md @@ -0,0 +1,5 @@ +--- +'@backstage/core-components': patch +--- + +Exported `IdentityProviders` type. diff --git a/packages/core-components/api-report.md b/packages/core-components/api-report.md index 5367c68ee6..3b3a589ecb 100644 --- a/packages/core-components/api-report.md +++ b/packages/core-components/api-report.md @@ -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 diff --git a/packages/core-components/src/layout/SignInPage/index.ts b/packages/core-components/src/layout/SignInPage/index.ts index b3c7618f50..01afa3935c 100644 --- a/packages/core-components/src/layout/SignInPage/index.ts +++ b/packages/core-components/src/layout/SignInPage/index.ts @@ -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'; diff --git a/packages/core-components/src/layout/SignInPage/types.ts b/packages/core-components/src/layout/SignInPage/types.ts index 5b458448bf..0909e7242d 100644 --- a/packages/core-components/src/layout/SignInPage/types.ts +++ b/packages/core-components/src/layout/SignInPage/types.ts @@ -32,6 +32,7 @@ export type SignInProviderConfig = { apiRef: ApiRef; }; +/** @public **/ export type IdentityProviders = ('guest' | 'custom' | SignInProviderConfig)[]; export type ProviderComponent = ComponentType<