@backstage/frontend-app-api 0.3.0 → 0.4.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/dist/index.d.ts +16 -2
- package/dist/index.esm.js +484 -175
- package/dist/index.esm.js.map +1 -1
- package/package.json +8 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @backstage/frontend-app-api
|
|
2
2
|
|
|
3
|
+
## 0.4.0-next.1
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e539735435: Updated core extension structure to make space for the sign-in page by adding `core.router`.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 5eb6b8a7bc: Added the nav logo extension for customization of sidebar logo
|
|
12
|
+
- 1f12fb762c: Create a core components extension that allows adopters to override core app components such as `Progress`, `BootErrorPage`, `NotFoundErrorPage` and `ErrorBoundaryFallback`.
|
|
13
|
+
- 59709286b3: Collect and register feature flags from plugins and extension overrides.
|
|
14
|
+
- f27ee7d937: Migrate analytics route tracker component.
|
|
15
|
+
- a5a04739e1: Updates to provide `node` to extension factories instead of `id` and `source`.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- @backstage/frontend-plugin-api@0.4.0-next.1
|
|
18
|
+
- @backstage/core-components@0.13.9-next.1
|
|
19
|
+
- @backstage/core-plugin-api@1.8.1-next.1
|
|
20
|
+
- @backstage/core-app-api@1.11.2-next.1
|
|
21
|
+
- @backstage/config@1.1.1
|
|
22
|
+
- @backstage/theme@0.5.0-next.0
|
|
23
|
+
- @backstage/types@1.1.1
|
|
24
|
+
- @backstage/version-bridge@1.0.7
|
|
25
|
+
|
|
26
|
+
## 0.3.1-next.0
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- 60d6eb544e: Removed `@backstage/plugin-graphiql` dependency.
|
|
31
|
+
- 9ad4039efa: Bringing over apis from core-plugin-api
|
|
32
|
+
- b8cb7804c8: Added `createSpecializedApp`, which is a synchronous version of `createApp` where config and features already need to be loaded.
|
|
33
|
+
- Updated dependencies
|
|
34
|
+
- @backstage/core-plugin-api@1.8.1-next.0
|
|
35
|
+
- @backstage/core-components@0.13.9-next.0
|
|
36
|
+
- @backstage/theme@0.5.0-next.0
|
|
37
|
+
- @backstage/frontend-plugin-api@0.3.1-next.0
|
|
38
|
+
- @backstage/core-app-api@1.11.2-next.0
|
|
39
|
+
- @backstage/config@1.1.1
|
|
40
|
+
- @backstage/types@1.1.1
|
|
41
|
+
- @backstage/version-bridge@1.0.7
|
|
42
|
+
|
|
3
43
|
## 0.3.0
|
|
4
44
|
|
|
5
45
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ExternalRouteRef, RouteRef, SubRouteRef, ExtensionDataRef, BackstagePlugin, ExtensionOverrides } from '@backstage/frontend-plugin-api';
|
|
1
2
|
import { JSX } from 'react';
|
|
2
3
|
import { Config } from '@backstage/config';
|
|
3
|
-
import { ExternalRouteRef, RouteRef, SubRouteRef, ExtensionDataRef, BackstagePlugin, ExtensionOverrides } from '@backstage/frontend-plugin-api';
|
|
4
4
|
import { ConfigApi } from '@backstage/core-plugin-api';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -70,5 +70,19 @@ declare function createApp(options?: {
|
|
|
70
70
|
}): {
|
|
71
71
|
createRoot(): JSX.Element;
|
|
72
72
|
};
|
|
73
|
+
/**
|
|
74
|
+
* Synchronous version of {@link createApp}, expecting all features and
|
|
75
|
+
* config to have been loaded already.
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
declare function createSpecializedApp(options?: {
|
|
79
|
+
features?: (BackstagePlugin | ExtensionOverrides)[];
|
|
80
|
+
config?: ConfigApi;
|
|
81
|
+
bindRoutes?(context: {
|
|
82
|
+
bind: AppRouteBinder;
|
|
83
|
+
}): void;
|
|
84
|
+
}): {
|
|
85
|
+
createRoot(): JSX.Element;
|
|
86
|
+
};
|
|
73
87
|
|
|
74
|
-
export { AppRouteBinder, ExtensionTree, ExtensionTreeNode, createApp, createExtensionTree };
|
|
88
|
+
export { AppRouteBinder, ExtensionTree, ExtensionTreeNode, createApp, createExtensionTree, createSpecializedApp };
|