Optional
buttonStore button visibility status
Optional
cardBehavior of app card when it is clicked
Optional
clientAPIVersionversion of client SDK, set by the API
Icon for the provider.
Unique identifier for the provider.
Optional
taskbarThe group name to group the taskbar icon with.
A UI friendly title for the provider platform.
Get a list of apps to populate the platform's Storefront with.
const app : App = {
appId: 'uid'
title: 'My App'
manifest: `https://openfin-iex.experolabs.com/openfin/manifests/cash-flow.json`,
icons: [
{
src: '/icon.png'
}
],
contactEmail: contact@email.com,
supportEmail: support@email.com,
publisher: 'My Publisher',
tags: [],
images: [],
intents: []
}
const getApps = async (): Promise<App[]> => {
return [app];
}
Get the footer for the platform's Storefront.
The footer is a section displayed at the bottom of the Storefront. It can contain a logo, text, and links.
Get the main landing page for the platform's Storefront.
const landingPage : StorefrontLandingPage = {
hero: {
title: 'My Landing Page',
description: 'description',
cta: navigationItems[0],
image: {
src: './images/image.png'
}
},
topRow: {
title: 'Top Row Title',
items: [ /* array of StorefrontNavigationItem */ ]
},
middleRow: {
title: 'Middle Row Title',
items: [ /* array of Apps */ ]
},
bottomRow: {
title: 'Bottom Row Title',
items: [ /* array of StorefrontNavigationItem */ ]
}
}
const getLandingPage = async (): Promise<StorefrontLandingPage> => {
return landingPage;
}
Get the Storefront navigation sections for the left nav bar.
Launch an app provided by the platform's Storefront.
the app to launch.
a promise that resolves when the app has been launched.
import { getStorefrontProvider } from "./my-provider";
//Grab your provider
const myStoreFrontProvider: StorefrontProvider = getStorefrontProvider();
const app : App = {
appId: 'uid'
title: 'My App'
manifest: `https://openfin-iex.experolabs.com/openfin/manifests/cash-flow.json`,
icons: [
{
src: './image.png'
}
],
contactEmail: contact@email.com,
supportEmail: support@email.com,
publisher: 'My Publisher',
tags: [],
images: [],
intents: []
}
const launch = async () => {
await myStorefrontProvider.launchApp(app);
}
Describes a Storefront provided by a platform. A platform must provide an object that satisfies this interface in order to register with the Storefront.
Sample StorefrontProvider definition.
Example: **Registering a StorefrontProvider**
Import required dependencies.
Create provider object to configure
Storefront
.Register storefront
provider
object.