UNPKG

@openshift-console/dynamic-plugin-sdk

Version:

Based on the concept of [webpack module federation](https://webpack.js.org/concepts/module-federation/), dynamic plugins are loaded and interpreted from remote sources at runtime. The standard way to deliver and expose dynamic plugins to Console is throug

14 lines 560 B
export var UserPreferenceFieldType; (function (UserPreferenceFieldType) { UserPreferenceFieldType["dropdown"] = "dropdown"; UserPreferenceFieldType["checkbox"] = "checkbox"; UserPreferenceFieldType["custom"] = "custom"; })(UserPreferenceFieldType || (UserPreferenceFieldType = {})); // Type guards export const isUserPreferenceItem = (e) => { return e.type === 'console.user-preference/item'; }; export const isUserPreferenceGroup = (e) => { return e.type === 'console.user-preference/group'; }; //# sourceMappingURL=user-preferences.js.map