frontend-plugin-api: move app blueprints to new app-react package
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -1457,7 +1457,7 @@ export const googleAuthApiRef: ApiRef<
|
||||
SessionApi
|
||||
>;
|
||||
|
||||
// @public (undocumented)
|
||||
// @public @deprecated (undocumented)
|
||||
export const IconBundleBlueprint: ExtensionBlueprint_2<{
|
||||
kind: 'icon-bundle';
|
||||
params: {
|
||||
@@ -1522,7 +1522,7 @@ export const microsoftAuthApiRef: ApiRef<
|
||||
SessionApi
|
||||
>;
|
||||
|
||||
// @public
|
||||
// @public @deprecated
|
||||
export const NavContentBlueprint: ExtensionBlueprint_2<{
|
||||
kind: 'nav-content';
|
||||
params: {
|
||||
@@ -1923,7 +1923,7 @@ export type RouteFunc<TParams extends AnyRouteRefParams> = (
|
||||
: readonly [params: TParams]
|
||||
) => string;
|
||||
|
||||
// @public (undocumented)
|
||||
// @public @deprecated (undocumented)
|
||||
export const RouterBlueprint: ExtensionBlueprint_2<{
|
||||
kind: 'app-router-component';
|
||||
params: {
|
||||
@@ -1998,7 +1998,7 @@ export namespace SessionState {
|
||||
export type SignedOut = typeof SessionState.SignedOut;
|
||||
}
|
||||
|
||||
// @public
|
||||
// @public @deprecated
|
||||
export const SignInPageBlueprint: ExtensionBlueprint_2<{
|
||||
kind: 'sign-in-page';
|
||||
params: {
|
||||
@@ -2066,7 +2066,7 @@ export interface SubRouteRef<
|
||||
readonly T: TParams;
|
||||
}
|
||||
|
||||
// @public
|
||||
// @public @deprecated
|
||||
export const SwappableComponentBlueprint: ExtensionBlueprint_2<{
|
||||
kind: 'component';
|
||||
params: <Ref extends SwappableComponentRef<any>>(params: {
|
||||
@@ -2150,7 +2150,7 @@ export interface SwappableComponentsApi {
|
||||
// @public
|
||||
export const swappableComponentsApiRef: ApiRef_2<SwappableComponentsApi>;
|
||||
|
||||
// @public
|
||||
// @public @deprecated
|
||||
export const ThemeBlueprint: ExtensionBlueprint_2<{
|
||||
kind: 'theme';
|
||||
params: {
|
||||
@@ -2186,7 +2186,7 @@ export type TranslationApi = {
|
||||
// @public (undocumented)
|
||||
export const translationApiRef: ApiRef<TranslationApi>;
|
||||
|
||||
// @public
|
||||
// @public @deprecated
|
||||
export const TranslationBlueprint: ExtensionBlueprint_2<{
|
||||
kind: 'translation';
|
||||
params: {
|
||||
|
||||
@@ -21,7 +21,10 @@ const iconsDataRef = createExtensionDataRef<{
|
||||
[key in string]: IconComponent;
|
||||
}>().with({ id: 'core.icons' });
|
||||
|
||||
/** @public */
|
||||
/**
|
||||
* @public
|
||||
* @deprecated Use {@link @backstage/plugin-app-react#IconBundleBlueprint} instead.
|
||||
*/
|
||||
export const IconBundleBlueprint = createExtensionBlueprint({
|
||||
kind: 'icon-bundle',
|
||||
attachTo: { id: 'api:app/icons', input: 'icons' },
|
||||
|
||||
@@ -60,6 +60,7 @@ const componentDataRef = createExtensionDataRef<NavContentComponent>().with({
|
||||
* Creates an extension that replaces the entire nav bar with your own component.
|
||||
*
|
||||
* @public
|
||||
* @deprecated Use {@link @backstage/plugin-app-react#NavContentBlueprint} instead.
|
||||
*/
|
||||
export const NavContentBlueprint = createExtensionBlueprint({
|
||||
kind: 'nav-content',
|
||||
|
||||
@@ -21,7 +21,10 @@ const componentDataRef = createExtensionDataRef<
|
||||
(props: { children: ReactNode }) => JSX.Element | null
|
||||
>().with({ id: 'app.router.wrapper' });
|
||||
|
||||
/** @public */
|
||||
/**
|
||||
* @public
|
||||
* @deprecated Use {@link @backstage/plugin-app-react#RouterBlueprint} instead.
|
||||
*/
|
||||
export const RouterBlueprint = createExtensionBlueprint({
|
||||
kind: 'app-router-component',
|
||||
attachTo: { id: 'app/root', input: 'router' },
|
||||
|
||||
@@ -44,6 +44,7 @@ const componentDataRef = createExtensionDataRef<
|
||||
* Creates an extension that replaces the sign in page.
|
||||
*
|
||||
* @public
|
||||
* @deprecated Use {@link @backstage/plugin-app-react#SignInPageBlueprint} instead.
|
||||
*/
|
||||
export const SignInPageBlueprint = createExtensionBlueprint({
|
||||
kind: 'sign-in-page',
|
||||
|
||||
@@ -31,6 +31,7 @@ export const componentDataRef = createExtensionDataRef<{
|
||||
* Blueprint for creating swappable components from a SwappableComponentRef and a loader
|
||||
*
|
||||
* @public
|
||||
* @deprecated Use {@link @backstage/plugin-app-react#SwappableComponentBlueprint} instead.
|
||||
*/
|
||||
export const SwappableComponentBlueprint = createExtensionBlueprint({
|
||||
kind: 'component',
|
||||
|
||||
@@ -25,6 +25,7 @@ const themeDataRef = createExtensionDataRef<AppTheme>().with({
|
||||
* Creates an extension that adds/replaces an app theme.
|
||||
*
|
||||
* @public
|
||||
* @deprecated Use {@link @backstage/plugin-app-react#ThemeBlueprint} instead.
|
||||
*/
|
||||
export const ThemeBlueprint = createExtensionBlueprint({
|
||||
kind: 'theme',
|
||||
|
||||
@@ -25,6 +25,7 @@ const translationDataRef = createExtensionDataRef<
|
||||
* Creates an extension that adds translations to your app.
|
||||
*
|
||||
* @public
|
||||
* @deprecated Use {@link @backstage/plugin-app-react#TranslationBlueprint} instead.
|
||||
*/
|
||||
export const TranslationBlueprint = createExtensionBlueprint({
|
||||
kind: 'translation',
|
||||
|
||||
Reference in New Issue
Block a user