frontend-plugin-api: renamed createPlugin to createFrontendPlugin

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-08-14 16:01:25 +02:00
parent 634a1202cd
commit 9b356dcaac
38 changed files with 154 additions and 126 deletions
@@ -47,7 +47,7 @@ The plugin itself now wants to provide this API and its default implementation,
import {
createApiExtension,
createApiFactory,
createPlugin,
createFrontendPlugin,
storageApiRef,
StorageApi,
} from '@backstage/frontend-plugin-api';
@@ -76,7 +76,7 @@ const exampleWorkApi = createApiExtension({
* The Example plugin.
* @public
*/
export default createPlugin({
export default createFrontendPlugin({
id: 'example',
extensions: [exampleWorkApi],
});