auth: simplify types and reintroduce deprecated BackstageIdentity

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam <ben@blam.sh>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-12-06 11:55:42 +01:00
parent e847694fbb
commit 73c73b71d1
7 changed files with 50 additions and 26 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ export type AuthRequestOptions = {
instantPopup?: boolean;
};
// @public @deprecated (undocumented)
// @public @deprecated
export type BackstageIdentity = BackstageIdentityResponse;
// @public
@@ -212,6 +212,8 @@ export type BackstageIdentityResponse = {
};
/**
* The old exported symbol for {@link BackstageIdentityResponse}.
*
* @public
* @deprecated use {@link BackstageIdentityResponse} instead.
*/