FUNC_TYPES
const
FUNC_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_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 |
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 |
FUNCTION_ANALYSIS | string | 'functionAnalysis' | Function analysis. Examples: sensitivity analysis, parameter editor Func => View |
INIT | string | 'init' | Gets invoked when the containing package is initialized Signature: init() |
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 |
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 |