Remove circular dependencies
In reference to issue #5563 this does the initial work to remove all the circular dependencies that we have encountered while building backstage using bazel. The next step will be to implement a method to catch these circular dependencies before they get merged in Signed-off-by: jrusso1020 <jrusso@brex.com>
This commit is contained in:
@@ -23,7 +23,7 @@ import {
|
||||
AuthProviderConfig,
|
||||
} from '../../providers/types';
|
||||
import { InputError } from '@backstage/errors';
|
||||
import { TokenIssuer } from '../../identity';
|
||||
import { TokenIssuer } from '../../identity/types';
|
||||
import { verifyNonce } from './helpers';
|
||||
import { postMessageResponse, ensuresXRequestedWith } from '../flow';
|
||||
import { OAuthHandlers, OAuthStartRequest, OAuthRefreshRequest } from './types';
|
||||
|
||||
@@ -39,7 +39,7 @@ import {
|
||||
PassportDoneCallback,
|
||||
} from '../../lib/passport';
|
||||
import { AuthProviderFactory, RedirectInfo } from '../types';
|
||||
import { TokenIssuer } from '../../identity';
|
||||
import { TokenIssuer } from '../../identity/types';
|
||||
|
||||
type PrivateInfo = {
|
||||
refreshToken: string;
|
||||
|
||||
@@ -28,7 +28,7 @@ import {
|
||||
} from '../../lib/passport';
|
||||
import { AuthProviderRouteHandlers, AuthProviderFactory } from '../types';
|
||||
import { postMessageResponse } from '../../lib/flow';
|
||||
import { TokenIssuer } from '../../identity';
|
||||
import { TokenIssuer } from '../../identity/types';
|
||||
|
||||
type SamlInfo = {
|
||||
fullProfile: any;
|
||||
|
||||
@@ -19,7 +19,7 @@ import { CatalogApi } from '@backstage/catalog-client';
|
||||
import { Config } from '@backstage/config';
|
||||
import express from 'express';
|
||||
import { Logger } from 'winston';
|
||||
import { TokenIssuer } from '../identity';
|
||||
import { TokenIssuer } from '../identity/types';
|
||||
|
||||
export type AuthProviderConfig = {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user