the implementation of a Storefront provider.
Error if a provider with the same id
already exists.
Error if Workspace Platform is not initialized.
import { Storefront, type StorefrontProvider } from "@openfin/workspace";
const myStorefrontProvider: StorefrontProvider = {
id: "my-storefront-id"
title: "My StorefrontProvider"
icon: "https://cdn.openfin.co/demos/notifications/generator/images/icon-blue.png",
getApps: () => {...},
getNavigation: () => {...},
getLandingPage: () => {...},
getFooter: () => {...},
launchApp: () => {...}
};
await Storefront.register(myStorefrontProvider);
Registers a StorefrontProvider.