fontend-plugin-api: absolute imports

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
Vincenzo Scamporlino
2023-11-15 22:57:53 +01:00
committed by Patrik Oldsberg
parent 50a9e40122
commit 413dd61e16
17 changed files with 87 additions and 110 deletions
@@ -14,9 +14,8 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export {
type AlertApi,
type AlertMessage,
alertApiRef,
} from '../../../../core-plugin-api';
} from '@backstage/core-plugin-api';
@@ -14,8 +14,7 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export {
type AppLanguageApi,
appLanguageApiRef,
} from '../../../../core-plugin-api/src/alpha';
} from '@backstage/core-plugin-api/alpha';
@@ -14,9 +14,8 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export {
type AppTheme,
type AppThemeApi,
appThemeApiRef,
} from '../../../../core-plugin-api';
} from '@backstage/core-plugin-api';
@@ -14,5 +14,4 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export { type ConfigApi, configApiRef } from '../../../../core-plugin-api';
export { type ConfigApi, configApiRef } from '@backstage/core-plugin-api';
@@ -14,8 +14,4 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export {
type DiscoveryApi,
discoveryApiRef,
} from '../../../../core-plugin-api';
export { type DiscoveryApi, discoveryApiRef } from '@backstage/core-plugin-api';
@@ -14,10 +14,9 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export {
type ErrorApiError,
type ErrorApiErrorContext,
type ErrorApi,
errorApiRef,
} from '../../../../core-plugin-api';
} from '@backstage/core-plugin-api';
@@ -14,11 +14,10 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export {
type FeatureFlag,
type FeatureFlagState,
type FeatureFlagsSaveOptions,
type FeatureFlagsApi,
featureFlagsApiRef,
} from '../../../../core-plugin-api';
} from '@backstage/core-plugin-api';
@@ -14,5 +14,4 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export { type FetchApi, fetchApiRef } from '../../../../core-plugin-api';
export { type FetchApi, fetchApiRef } from '@backstage/core-plugin-api';
@@ -14,5 +14,4 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export { type IdentityApi, identityApiRef } from '../../../../core-plugin-api';
export { type IdentityApi, identityApiRef } from '@backstage/core-plugin-api';
@@ -14,11 +14,10 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export {
type OAuthRequesterOptions,
type OAuthRequester,
type PendingOAuthRequest,
type OAuthRequestApi,
oauthRequestApiRef,
} from '../../../../core-plugin-api';
} from '@backstage/core-plugin-api';
@@ -14,9 +14,8 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export {
type StorageValueSnapshot,
type StorageApi,
storageApiRef,
} from '../../../../core-plugin-api';
} from '@backstage/core-plugin-api';
@@ -14,7 +14,6 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export {
type BackstageIdentityApi,
type BackstageIdentityResponse,
@@ -37,4 +36,4 @@ export {
oktaAuthApiRef,
microsoftAuthApiRef,
oneloginAuthApiRef,
} from '../../../../core-plugin-api';
} from '@backstage/core-plugin-api';
@@ -14,9 +14,8 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export {
type ApiRef,
type ApiRefConfig,
createApiRef,
} from '../../../../core-plugin-api';
} from '@backstage/core-plugin-api';
@@ -14,5 +14,4 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export { createApiFactory } from '../../../../core-plugin-api';
export { createApiFactory } from '@backstage/core-plugin-api';
@@ -14,7 +14,6 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export type {
ApiRef,
AnyApiRef,
@@ -22,4 +21,4 @@ export type {
ApiHolder,
ApiFactory,
AnyApiFactory,
} from '../../../../core-plugin-api';
} from '@backstage/core-plugin-api';
@@ -14,5 +14,4 @@
* limitations under the License.
*/
// eslint-disable-next-line @backstage/no-relative-monorepo-imports
export { useApiHolder, useApi, withApis } from '../../../../core-plugin-api';
export { useApiHolder, useApi, withApis } from '@backstage/core-plugin-api';