components,app-api,plugin-api: prefix package names with core-

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-05-27 23:33:29 +02:00
parent 380cf5ed9d
commit 04127b3960
452 changed files with 166 additions and 125 deletions
@@ -15,7 +15,7 @@
*/
import React from 'react';
import { Content, Header, HeaderLabel, Page, Progress } from '@backstage/core';
import { useApi } from '@backstage/plugin-api';
import { useApi } from '@backstage/core-plugin-api';
import { useAsync } from 'react-use';
import 'graphiql/graphiql.css';
import { graphQlBrowseApiRef } from '../../lib/api';
@@ -15,7 +15,7 @@
*/
import { GraphQLBrowseApi, GraphQLEndpoint } from './types';
import { ErrorApi, OAuthApi } from '@backstage/plugin-api';
import { ErrorApi, OAuthApi } from '@backstage/core-plugin-api';
// Helper for generic http endpoints
export type EndpointConfig = {
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { createApiRef } from '@backstage/plugin-api';
import { createApiRef } from '@backstage/core-plugin-api';
export type GraphQLEndpoint = {
// Will be used as unique key for storing history and query data
+1 -1
View File
@@ -18,7 +18,7 @@ import {
createPlugin,
createApiFactory,
createRoutableExtension,
} from '@backstage/plugin-api';
} from '@backstage/core-plugin-api';
import { graphQlBrowseApiRef, GraphQLEndpoints } from './lib/api';
import { graphiQLRouteRef } from './route-refs';
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { createRouteRef } from '@backstage/plugin-api';
import { createRouteRef } from '@backstage/core-plugin-api';
export const graphiQLRouteRef = createRouteRef({
id: 'graphiql-root',