Skip to main content

FuncOptions

Defined in: js-api/src/api/ddt.api.g.ts:329

Constructors

Constructor

new FuncOptions(): FuncOptions

Returns

FuncOptions

Properties

PropertyModifierTypeDefault valueDescriptionDefined in
Actionstaticstring'action'Shows the function in the 'Action' panejs-api/src/api/ddt.api.g.ts:334
AllowAddAsColumnstaticstring'allowAddAsColumn'Allows to add this function results as a column from the context menujs-api/src/api/ddt.api.g.ts:449
AutostartImmediatestaticstring'autostartImmediate'-js-api/src/api/ddt.api.g.ts:339
BrowseOnlystaticstring'browseOnly'When set to 'true', the app operates in 'browseOnly' mode, using the browse tree for navigation and displaying results only within the browse viewjs-api/src/api/ddt.api.g.ts:366
BrowsePathstaticstring'browsePath'Path in the browse tree, such as 'Oligo'js-api/src/api/ddt.api.g.ts:369
Cachestaticstring'cache'Function that should be cachedjs-api/src/api/ddt.api.g.ts:402
CacheInvalidateOnstaticstring'cache.invalidateOn'Cron string that specifies when the cache is invalidatedjs-api/src/api/ddt.api.g.ts:405
CellRendererCellTypestaticstring'cellType'Applies to [FuncTypes.CellRenderer]. Cell type (name of the renderer to be used in the UI).js-api/src/api/ddt.api.g.ts:350
CellRendererColumnTagsstaticstring'columnTags'Applies to [FuncTypes.CellRenderer]. Comma-separated list of key-value pairs that represent required tags for a column to be picked up by the renderer.js-api/src/api/ddt.api.g.ts:346
ColumnlessFilterstaticstring'columnlessFilter'When set to 'true', the Filters Panel adds the filter without the column-selection dialog (a columnless filter)js-api/src/api/ddt.api.g.ts:388
DemoPathstaticstring'demoPath'Demo path, such as 'ViewersRadar'
Editorstaticstring'editor'Fully qualified name of the function that edits corresponding function callsjs-api/src/api/ddt.api.g.ts:331
ExcludeActionsPanelstaticstring'exclude-actions-panel'-js-api/src/api/ddt.api.g.ts:456
ExcludeCurrentValueMenustaticstring'exclude-current-value-menu'-js-api/src/api/ddt.api.g.ts:458
GridChartstaticstring'gridChart'When set to 'true', the function is shown in the grid context menu: AddSummary Columns
IncludeInCreationScriptstaticstring'includeInCreationScript'-js-api/src/api/ddt.api.g.ts:341
InputPropertyTypestaticstring'propertyType'Applies to [FuncTypes.ValueEditor]. Refers to [Types].js-api/src/api/ddt.api.g.ts:353
InspectorPanelstaticstring'inspectorPanel'Function that returns a Widget that gets added as a tab to the "Inspector" windowjs-api/src/api/ddt.api.g.ts:391
PrimaryFilterstaticstring'primaryFilter'When set to 'true', the function is higher-priority to be set in Filters Paneljs-api/src/api/ddt.api.g.ts:385
Queuestaticstring'queue'Runs a package JS function as a celery task in a docker-based worker. 'true' — an auto-created Node worker container; a name — the package's dockerfiles/[name] container.js-api/src/api/ddt.api.g.ts:395
RunOnInputstaticstring'runOnInput'Boolean value that controls whether a function should be executed when the input changes.js-api/src/api/ddt.api.g.ts:378
RunOnOpenstaticstring'runOnOpen'Boolean value that controls whether a function should be executed when the function preview opens. Applicable to models as well.js-api/src/api/ddt.api.g.ts:382
ScriptHandlerCommentstaticstring'scriptHandler.commentStart'Specifies comment start sign for this [FuncTypes.ScriptHandler]. Default: #js-api/src/api/ddt.api.g.ts:423
ScriptHandlerEditorFuncstaticstring'scriptHandler.editorFunction'Specifies a package function (qualified name, e.g. 'Flow:flowScriptEditor') that opens a custom editor view for scripts of this [FuncTypes.ScriptHandler]'s language. The function takes one script parameter and returns a view. When absent, or when the function is not present, the default CodeMirror script editor is used.js-api/src/api/ddt.api.g.ts:446
ScriptHandlerEditorModestaticstring'scriptHandler.codeEditorMode'Specifies code editor mode that will be used in CodeMirror for this [FuncTypes.ScriptHandler]. Defaults to language.js-api/src/api/ddt.api.g.ts:439
ScriptHandlerExtensionsstaticstring'scriptHandler.extensions'Specifies comma separated extensions that this [FuncTypes.ScriptHandler] supports. Mandatory options if tag [FuncTypes.ScriptHandler] is present.js-api/src/api/ddt.api.g.ts:416
ScriptHandlerLanguagestaticstring'scriptHandler.language'Specifies language of this [FuncTypes.ScriptHandler]. Mandatory options if tag [FuncTypes.ScriptHandler] is present.js-api/src/api/ddt.api.g.ts:412
ScriptHandlerNamestaticstring'scriptHandler.friendlyName'Specifies friendlyName of this [FuncTypes.ScriptHandler] to be used in UI. Defaults to languagejs-api/src/api/ddt.api.g.ts:420
ScriptHandlerParserFuncstaticstring'scriptHandler.parserFunction'Specifies function that will handle parsing of text into Scritp object.js-api/src/api/ddt.api.g.ts:432
ScriptHandlerTemplatestaticstring'scriptHandler.templateScript'Specifies template script for this [FuncTypes.ScriptHandler].js-api/src/api/ddt.api.g.ts:435
ScriptHandlerVectorizationstaticstring'scriptHandler.vectorizationFunction'Specifies function that will handle vectorizations of scripts for this [FuncTypes.ScriptHandler]. The function should accept Script and return String with code that is vectorized. Scalar script inputs in this case are corresponding to dataframe column names. Dataframe that has [VectorScript.vecInputTableName] name should be used as target.js-api/src/api/ddt.api.g.ts:429
SearchPatternstaticstring'searchPattern'A way to invoke this function using the natural (English) language. Used by the AI. Passed parameters would be substituted accordingly. Example: "compound activity details for target ${target}"js-api/src/api/ddt.api.g.ts:454
SemTypestaticstring'semType'Applies to [FuncTypes.ValueEditor].js-api/src/api/ddt.api.g.ts:356
Serverstaticstring'server'When set to 'true', runs a package JS function server-side in the default worker queue — an alias of [Queue] = 'true'.js-api/src/api/ddt.api.g.ts:399
Toolboxstaticstring'toolbox'Shows the function in the toolboxjs-api/src/api/ddt.api.g.ts:337
ViewerPathstaticstring'viewerPath'Viewer path in the top menu, should include the viewer name (AddJavaScript Viewers
ViewerPositionstaticstring'viewerPosition'Specifies the position of the viewer (top, bottom, left, right, fill, auto)js-api/src/api/ddt.api.g.ts:408
VisibilityConditionstaticstring'condition'Applies to [FuncTypes.Panel]js-api/src/api/ddt.api.g.ts:359