AppOptions
Home > @backstage/core-app-api
> AppOptions
The options accepted by createSpecializedApp().
Signature:
export type AppOptions = {
apis?: Iterable<AnyApiFactory>;
defaultApis?: Iterable<AnyApiFactory>;
icons: AppIcons & {
[key in string]: IconComponent;
};
plugins?: Array<BackstagePlugin & {
output?(): Array<{
type: 'feature-flag';
name: string;
} | {
type: string;
}>;
}>;
featureFlags?: (FeatureFlag & Omit<FeatureFlag, 'pluginId'>)[];
components: AppComponents;
themes: (Partial<AppTheme> & Omit<AppTheme, 'theme'>)[];
configLoader?: AppConfigLoader;
bindRoutes?(context: {
bind: AppRouteBinder;
}): void;
__experimentalTranslations?: {
defaultLanguage?: string;
availableLanguages?: string[];
resources?: Array<{
$$type: '@backstage/TranslationResource';
id: string;
} | {
$$type: '@backstage/TranslationMessages';
id: string;
full: boolean;
messages: Record<string, string>;
}>;
};
};
References: AnyApiFactory, AppIcons, IconComponent, BackstagePlugin, FeatureFlag, AppComponents, AppTheme, AppConfigLoader, AppRouteBinder