BetaThe application configuration
Configuration for an Application resource.
OptionalautoUpdates?: { enabled: boolean }Auto update settings for the application. Off when omitted.
Whether auto updates are enabled for the application
Optionalicon?: stringPath to the icon image, relative to root. Uploaded on every deploy; omitting it removes the icon.
PNG, JPEG, BMP, GIF, TIFF, SVG, WebP, HEIF or AVIF, up to 5 MB.
OptionalmfManifest?: Record<string, unknown>Module federation manifest
The name of the resource. Unique within the blueprint. e.g. 'sync-webhook'
The application root directory, relative to the blueprint file. Contains the
application's package.json; icon and every view and web worker src are
resolved relative to it.
Optionalslug?: stringThe slug to be used in the application hostname. Must match ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$.
Defaults to the resource name.
User-facing title for the application.
Optionalviews?: BlueprintApplicationViewConfig[]The window, panel, asset source, and tile views the application exposes.
Authored as surface-discriminated view configs and transformed to the
emitted view type the backend expects.
Optionalvisibility?: "default" | "unlisted" | "disabled"Dashboard visibility.
OptionalwebWorkers?: BlueprintWebWorker[]The background web workers the application runs.
The application resource
Views are authored in views and web workers in webWorkers, mirroring the
emitted resource. Views are discriminated by surface (window, panel,
asset-source, tile) and transformed to the emitted view type the
backend expects. An application must declare at least one view of any
surface, and at most one window view. Every view and web worker src is
resolved relative to root. The slug defaults to the resource name.
defineApplication({
name: 'design-retro',
title: 'Design Retro',
root: './apps/design-retro',
views: [
defineWindowView({name: 'main', title: 'Design Retro', src: './src/windows/main.tsx'}),
],
})
defineApplication({
name: 'design-retro',
title: 'Design Retro',
root: './apps/design-retro',
slug: 'design-retro',
icon: './src/icons/app-icon.png',
visibility: 'unlisted',
views: [
defineWindowView({
name: 'main',
title: 'Design Retro',
src: './src/windows/main.tsx',
dock: {group: 'applications', order: 10},
}),
definePanelView({name: 'side', title: 'Favorites', src: './src/panels/main.tsx'}),
defineAssetSourceView({name: 'image-picker', title: 'Image Picker', src: './src/asset-sources/image-picker.tsx'}),
defineTileView({name: 'jump-back-in', title: 'Main Tile', src: './src/tiles/jump-back-in.tsx', size: 'banner'}),
],
webWorkers: [
defineWebWorker({name: 'background-refresh', title: 'Background Worker', src: './src/workers/background-refresh.ts'}),
],
})
Defines an application.
Deploying Applications via Blueprints is experimental. This may be subject to breaking changes.