chore: move some packges around so that we don't have bad imports
Co-authored-by: Johan Haals <johan.haals@gmail.com> Co-authored-by: Fredrik Adelöw <freben@gmail.com> Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -50,7 +50,7 @@ import {
|
||||
SubRouteRef,
|
||||
ExternalRouteRef,
|
||||
} from '@backstage/core-plugin-api';
|
||||
import { GuestUserIdentity } from '../apis/implementations/IdentityApi/GuestUserIdentity';
|
||||
import { GuestUserIdentity } from '@backstage/core-components';
|
||||
import { ApiFactoryRegistry, ApiResolver } from '../apis/system';
|
||||
import {
|
||||
childDiscoverer,
|
||||
|
||||
@@ -26,7 +26,7 @@ import isEmpty from 'lodash/isEmpty';
|
||||
import { InfoCard } from '../InfoCard/InfoCard';
|
||||
import { ProviderComponent, ProviderLoader, SignInProvider } from './types';
|
||||
import { GridItem } from './styles';
|
||||
import { LegacyUserIdentity } from '@backstage/core-app-api/src/apis/implementations/IdentityApi/LegacyUserIdentity';
|
||||
import { LegacyUserIdentity } from './LegacyUserIdentity';
|
||||
|
||||
// accept base64url format according to RFC7515 (https://tools.ietf.org/html/rfc7515#section-3)
|
||||
const ID_TOKEN_REGEX = /^[a-z0-9_\-]+\.[a-z0-9_\-]+\.[a-z0-9_\-]+$/i;
|
||||
|
||||
@@ -20,7 +20,7 @@ import Button from '@material-ui/core/Button';
|
||||
import { InfoCard } from '../InfoCard/InfoCard';
|
||||
import { GridItem } from './styles';
|
||||
import { ProviderComponent, ProviderLoader, SignInProvider } from './types';
|
||||
import { GuestUserIdentity } from '@backstage/core-app-api/src/apis/implementations/IdentityApi/GuestUserIdentity';
|
||||
import { GuestUserIdentity } from './GuestUserIdentity';
|
||||
|
||||
const Component: ProviderComponent = ({ onSignInSuccess }) => (
|
||||
<GridItem>
|
||||
|
||||
@@ -18,3 +18,5 @@ export type { SignInProviderConfig } from './types';
|
||||
export { SignInPage } from './SignInPage';
|
||||
export type { SignInPageClassKey } from './styles';
|
||||
export type { CustomProviderClassKey } from './customProvider';
|
||||
export { GuestUserIdentity } from './GuestUserIdentity';
|
||||
export { LegacyUserIdentity } from './LegacyUserIdentity';
|
||||
|
||||
Reference in New Issue
Block a user