Skip to main content

Portal Extensions

danger

This is a concept that has been under development, conceptually for some and there are some code supporting the concept. the following section is supporting portal by config concept but not yet fully implemented.

Extensions og as its now implemented Portal Actions is a collections of the available extension for the portal.

The extensions interface loop something like this:

export type Extensions = {
extensions?: PortalExtension[];
actions?: PortalActions[];
menu?: PortalMenu;
quickMenu?: PortalMenu;
myAccount: PortalExtension
};

export type PortalExtension = {
name: string;
description: string;
key: string;
placement: 'top-bar' | 'none';
};

export type PortalMenu = {
name: string;
description: string;
key: string;
};

export type PortalActions = {
name: string;
description: string;
key: string;
placement: 'top-bar' | 'none';
};