FUNC_TYPES
constFUNC_TYPES:object
Type declaration
| Member | Type | Value | Description |
|---|---|---|---|
APP | string | 'app' | An application that gets shown in the app store. Signature: app() |
AUTOSTART | string | 'autostart' | Gets invoked at platform startup. Use it wisely as the whole package will get initialized. Signature: autostart() |
CELL_EDITOR | string | 'cellEditor' | - |
CELL_RENDERER | string | 'cellRenderer' | Creates a cell renderer that is used for rendering cells for specific semantic types. Semantic type is derived from thecellRenderer-<semType> tag.Signature: cellRenderer(): GridCellRenderer |
CONVERTER | string | 'converter' | Converts values. Has one input and one output |
DASHBOARD | string | 'dashboard' | Makes a widget appear on the welcome screen Signature: dashboard(): DG.Widget |
DIM_RED_POSTPROCESS | string | 'dim-red-postprocessing-function' | - |
DIM_RED_PREPROCESS | string | 'dim-red-preprocessing-function' | - |
EDITOR | string | 'editor' | - |
FILE_EXPORTER | string | 'fileExporter' | Exports a file. Gets added to the "export" menu at startup. Signature: fileExporter() |
FILE_IMPORTER | string | 'file-handler' | Handles custom file formats. The meta.ext parameter should contain a comma-separated list of extensions. Signature: fileImporter(x: string | TypedArray): DataFrame[] |
FILE_VIEWER | string | 'fileViewer' | Creates a viewer (or editor) for a file with the specified extension. The extension is derived from thefileViewer-<extension> tag.Used in the file system browser. Signature: fileViewer(FileInfo): View |
FILTER | string | 'filter' | - |
FOLDER_VIEWER | string | 'folderViewer' | - |
FUNCTION_ANALYSIS | string | 'functionAnalysis' | Function analysis. Examples: sensitivity analysis, parameter editor Func => View |
HIT_DESIGNER_FUNCTION | string | 'HitDesignerFunction' | - |
HIT_TRIAGE_DATA_SOURCE | string | 'HitTriageDataSource' | - |
HIT_TRIAGE_FUNCTION | string | 'HitTriageFunction' | - |
HIT_TRIAGE_SUBMIT_FUNCTION | string | 'HitTriageSubmitFunction' | - |
INIT | string | 'init' | Gets invoked when the containing package is initialized Signature: init() |
MOLECULE_SKETCHER | string | 'moleculeSketcher' | - |
MONOMER_LIB_PROVIDER | string | 'monomer-lib-provider' | - |
NOTATION_REFINER | string | 'notationRefiner' | - |
PACKAGE_SETTINGS_EDITOR | string | 'packageSettingsEditor' | Edits package settings. Signature: packageSettingsEditor(): Widget |
PANEL | string | 'panel' | Context-specific widget that appears on the context panel Signature: panel(x: any): Widget |
SCRIPT_HANDLER | string | 'scriptHandler' | - |
SEARCH_PROVIDER | string | 'searchProvider' | - |
SEM_TYPE_DETECTOR | string | 'semTypeDetector' | Semantic type detector for a column. Gets invoked when a new dataframe is imported into the platform. Implementation should either set column.semType directly, or return the semantic type that will get assigned. Signature: semTypeDetector(Column): string |
TOOLTIP | string | 'tooltip' | - |
TRANSFORM | string | 'Transform' | - |
UNIT_CONVERTER | string | 'unitConverter' | - |
VALUE_EDITOR | string | 'valueEditor' | - |
VIEWER | string | 'viewer' | - |
WIDGET | string | 'widget' | - |
WIDGETS | string | 'widgets' | - |