openaire-library/dashboard/plugins/utils/pluginUtils.ts

38 lines
1.3 KiB
TypeScript
Raw Normal View History

import {Option} from "../../../sharedComponents/input/input.component";
export class PluginUtils{
public attrTypeOptions: Option[] = [
{label:"Text", value:"text"},
{label:"HTML", value:"HTML"},
{label:"Boolean", value:"boolean"},
{label:"URL", value:"URL"},
];
public availablePluginCodes: Option[] = [
{label:"Test", value:"test"},
{label:"openaire-products", value:"openaire-products"},
{label:"results-numbers", value:"results-numbers"},
{label:"discover-by-subcommunity", value:"discover-by-subcommunity"},
{label:"gateway-information", value:"gateway-information"},
{label:"search-deposit-link", value:"search-deposit-link"},
{label:"learn-and-connect", value:"learn-and-connect"},
{label:"how-to-use", value:"how-to-use"},
{label:"suggested-repositories", value:"suggested-repositories"},
{label:"featured-datasets", value:"featured-datasets"},
];
public placementsOptions: Option[] = [
{label:"Top", value:"top"},
{label:"Bottom", value:"bottom"},
// {label:"Top Right", value:"top-right"},
// {label:"Center", value:"center"},
{label:"Right", value:"right"},
{label:"Left", value:"left"},
];
public planOptions: Option[] = [
{value: 'starter', label: 'Starter'},
{value: 'extended', label: 'Extended'}
];
}