/
ddt.api.g.ts
340 lines (201 loc) · 9.19 KB
/
ddt.api.g.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
/// this file was generated automatically from ddt classes declarations
import { toDart } from "../wrappers";
let api = <any>window;
export function histogram(col: any, bitset: any, flag: boolean, options?: {bins?: number, logScale?: boolean}): Int32List
{ return api.grok_histogram(toDart(col), toDart(bitset), toDart(flag), toDart(options?.bins), toDart(options?.logScale)); }
export class Tags {
static Description = 'description';
/// A user that created this entity
static CreatedBy = 'createdBy';
static SemanticDetectionDuration = '.semantic-detection-duration';
static Tooltip = '.tooltip';
static TooltipShowLabels = '.tooltip-show-labels';
static TooltipVisibility = '.tooltip-visibility';
static TooltipForm = '.tooltip-form';
static RowGroupTooltip = '.row-group-tooltip';
static ValueFunction = '.value-function';
static ColorCoding = '.color-coding';
static ColorCodingType = '.color-coding-type';
static ColorCodingText = '.color-coding-text';
static ColorCodingLinear = '.color-coding-linear';
static ColorCodingConditional = '.color-coding-conditional';
static ColorCodingCategorical = '.color-coding-categorical';
static ColorCodingValueColumn = '.color-coding-value-column';
static ColorCodingSchemeMax = '.color-coding-scheme-max';
static ColorCodingSchemeMin = '.color-coding-scheme-min';
static DefaultAxisType = '.default-axis-type';
static MarkerCoding = '.marker-coding';
static HelpUrl = 'help.url';
static OriginalTableName = '.orig.table.name';
static OriginalViewName = '.orig.view.name';
static CellRenderer = 'cell.renderer';
/// Comma-separated list of domains the entity belongs to
static Domains = 'domains';
static Quality = 'quality';
static Notation = 'notation';
static LayoutColumnId = 'layout-column-id';
static Units = 'units';
static Format = 'format';
static TooltipType = '.tooltip-type';
static Markup = 'markup';
static SourcePrecision = '.source-precision';
static Formula = 'formula';
/// JSON-encoded list of strings to be used in a cell editor.
/// Applicable for string columns only.
/// See also [AutoChoices].
static Choices = '.choices';
/// JSON-encoded order of categories. Applicable to string columns only.
static CategoryOrder = '.category-order';
static DefaultFilter = '.default-filter';
static IgnoreCustomFilter = '.ignore-custom-filter';
static CustomFilterType = '.custom-filter-type';
static UseAsFilter = '.use-as-filter';
static PickupColumnsTags = '.pickup-column-tags';
static Charts = '.charts';
/// When set to 'true', switches the cell editor to a combo box that only allows to choose values
/// from a list of already existing values in the column.
/// Applicable for string columns only.
/// See also [Choices].
static AutoChoices = '.auto-choices';
static ImportTime = 'import-time';
static Source = 'source';
static SourceUri = 'source.uri';
static SourceFile = 'source.file';
static Db = 'Db';
static DbSchema = 'DbSchema';
static DbTable = 'DbTable';
static DbColumn = 'DbColumn';
static DbPath = 'DbPath';
static SparqlEndpoint = 'sparql.endpoint';
static SparqlOntology = 'sparql.ontology';
static AggregationPivotValues = 'aggr.pivot.values';
static AggregationSourceTableName = 'aggr.src.table.name';
static AggregationSourceColumnName = 'aggr.src.col.name';
static AggregationType = 'aggr.type';
static PredictiveModel = 'predictive.model';
static Id = '.id';
static TableInfo = '.table-info';
static VariableName = '.VariableName';
static DataConnectionId = '.data-connection-id';
static DataConnection = '.data-connection';
static DataSource = '.DataSource';
static DataSchema = '.DataSchema';
static DataQueryId = '.DataQuery.id';
static DataQueryName = 'DataQuery.name';
static DataQueryFinished = '.DataQuery.query.finished';
static Presentation = '.presentation';
static QueryJson = '.query-json';
/// Expression that was used to derive the column.
static Expression = 'expression';
static TableSchema = 'table_schema';
static ReferencesTable = 'references_table';
static ReferencesColumn = 'references_column';
static ChemDescriptor = 'chem-descriptor';
static ChemFingerprinter = 'chem-fingerprinter';
static DataHistory = '.history';
static CreationScript = '.script';
static DataSync = '.data-sync';
static IsDbEntity = '.db.entity';
static IsDbView = '.db.view';
static ColumnConverter = '.column.converter';
static ValueValidators = '.value-validators';
static MultiValueSeparator = '.multi-value-separator';
static FriendlyName = 'friendlyName';
static AllowRename = '.allow-rename';
/// Applies to columns or dataframes.
/// Comma-separated list of user or group names that are allowed to make changes to that column.
static EditableBy = 'editableBy';
/// Pin this column if you are specifically an editor (see "editable by").
static PinIfEditable = 'pinIfEditable';
/// Boolean flag that specifies whether the column is exported as part of the CSV file. Defaults to true.
static IncludeInCsvExport = '.includeInCsvExport';
/// Boolean flag that Specifies whether the column is exported as part of the binary file. Defaults to true.
static IncludeInBinaryExport = '.includeInBinaryExport';
/// Specifies the behavior of link click (open in new tab, open in context panel, custom)
static LinkClickBehavior = '.linkClickBehavior';
/// Pipe-separated path that defines where this column is within the hierarchy
/// Used for dynamic forms construction, etc
static Hierarchy = 'hierarchy';
/// Links column and db property
static DbPropertyName = 'dbPropertyName';
/// Links column and db property schema
static DbPropertySchema = 'dbPropertySchema';
/// Specifies the column that has entity key
static DbPropertyReference = 'dbPropertyReference';
}
export class FuncOptions {
/// Fully qualified name of the function that edits corresponding function calls
static Editor = 'editor';
/// Shows the function in the 'Action' pane
static Action = 'action';
/// Shows the function in the toolbox
static Toolbox = 'toolbox';
static AutostartImmediate = 'autostartImmediate';
/// 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.
static CellRendererColumnTags = 'columnTags';
/// Applies to [FuncTypes.CellRenderer].
/// Cell type (name of the renderer to be used in the UI).
static CellRendererCellType = 'cellType';
/// Applies to [FuncTypes.ValueEditor]. Refers to [Types].
static InputPropertyType = 'propertyType';
/// Applies to [FuncTypes.ValueEditor].
static SemType = 'semType';
/// Applies to [FuncTypes.Panel]
static VisibilityCondition = 'condition';
/// Demo path, such as 'Viewers | Radar'
static DemoPath = 'demoPath';
/// Path in the browse tree, such as 'Oligo'
static BrowsePath = 'browsePath';
/// Viewer path in the top menu, should include the viewer name (Add | JavaScript Viewers | <ViewerPath>)
static ViewerPath = 'viewerPath';
/// When set to 'true', the function is shown in the grid context menu: Add | Summary Columns | ...
static GridChart = 'gridChart';
/// Boolean value that controls whether a function should be executed when the input changes.
static RunOnInput = 'runOnInput';
/// Boolean value that controls whether a function should be executed when the function preview opens.
/// Applicable to models as well.
static RunOnOpen = 'runOnOpen';
/// When set to 'true', the function is higher-priority to be set in Filters Panel
static PrimaryFilter = 'primaryFilter';
/// Function that returns a Widget that gets added as a tab to the "Inspector" window
static InspectorPanel = 'inspectorPanel';
/// Function that returns a Widget that gets added as a tab to the "Inspector" window
static Cache = 'cache';
/// Cron string that specifies when the cache is invalidated
static CacheInvalidateOn = 'cache.invalidateOn';
/// Specifies the position of the viewer (top, bottom, left, right, fill, auto)
static ViewerPosition = 'viewerPosition';
}
export class FuncParamOptions {
static SemType = 'semType';
static Category = 'category';
static Optional = 'optional';
static Type = 'type';
static Format = 'format';
static AllowNulls = 'allowNulls';
static Action = 'action';
static Choices = 'choices';
static Suggestions = 'suggestions';
static Min = 'min';
static Max = 'max';
static Validators = 'validators';
static Caption = 'caption';
static Postfix = 'postfix';
static Units = 'units';
static Editor = 'editor';
static Nullable = 'nullable';
static Separators = 'separators';
/// Column filter.
/// Applies to dataframes and columns
/// Example: `{columns: numerical}`
static Columns = 'columns';
/// A viewer that visualizes the result
/// Example: `viewer: Line chart(x: "time", y: "temperature")`
static Viewer = 'viewer';
/// Works together with choices. When set to "all", changing of the choice
/// would trigger propagation of this choice's default values for other parameters.
/// Example: Compute/cars.js
static PropagateChoice = 'propagateChoice';
}