@gooddata/sdk-model 11.64.0-alpha.2 → 11.64.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/customApplicationSettings/index.d.ts +19 -0
- package/esm/customApplicationSettings/index.d.ts.map +1 -0
- package/esm/customApplicationSettings/index.js +2 -0
- package/esm/dataSources/index.d.ts +1 -1
- package/esm/dataSources/index.d.ts.map +1 -1
- package/esm/dataSources/physicalModel.d.ts +204 -0
- package/esm/dataSources/physicalModel.d.ts.map +1 -0
- package/esm/dataSources/physicalModel.js +2 -0
- package/esm/index.d.ts +3 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/ldm/declarativeModel/index.d.ts +464 -0
- package/esm/ldm/declarativeModel/index.d.ts.map +1 -0
- package/esm/ldm/declarativeModel/index.js +2 -0
- package/esm/sdk-model.d.ts +747 -1
- package/esm/settings/settings.d.ts +7 -0
- package/esm/settings/settings.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,464 @@
|
|
|
1
|
+
import { type ConditionalFormattingOperator, type IConditionalFormattingFormat } from "../../conditionalFormatting/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Data type of a source column.
|
|
4
|
+
*
|
|
5
|
+
* @alpha
|
|
6
|
+
*/
|
|
7
|
+
export type DeclarativeColumnDataType = "INT" | "STRING" | "DATE" | "NUMERIC" | "TIMESTAMP" | "TIMESTAMP_TZ" | "BOOLEAN" | "HLL";
|
|
8
|
+
/**
|
|
9
|
+
* Granularity of a date dataset or a calendar, in the vocabulary of the declarative model.
|
|
10
|
+
*
|
|
11
|
+
* @alpha
|
|
12
|
+
*/
|
|
13
|
+
export type DeclarativeDateGranularity = "SECOND" | "SECOND_OF_MINUTE" | "SECOND_OF_DAY" | "MINUTE" | "MINUTE_OF_HOUR" | "MINUTE_OF_DAY" | "HOUR" | "HOUR_OF_DAY" | "DAY" | "DAY_OF_WEEK" | "DAY_OF_MONTH" | "DAY_OF_QUARTER" | "DAY_OF_YEAR" | "WEEK" | "WEEK_OF_YEAR" | "MONTH" | "MONTH_OF_YEAR" | "QUARTER" | "QUARTER_OF_YEAR" | "YEAR" | "FISCAL_DAY_OF_FISCAL_WEEK" | "FISCAL_DAY_OF_FISCAL_MONTH" | "FISCAL_DAY_OF_FISCAL_QUARTER" | "FISCAL_DAY_OF_FISCAL_SEMESTER" | "FISCAL_DAY_OF_FISCAL_YEAR" | "FISCAL_WEEK" | "FISCAL_WEEK_OF_FISCAL_MONTH" | "FISCAL_WEEK_OF_FISCAL_QUARTER" | "FISCAL_WEEK_OF_FISCAL_SEMESTER" | "FISCAL_WEEK_OF_FISCAL_YEAR" | "FISCAL_MONTH" | "FISCAL_MONTH_OF_FISCAL_QUARTER" | "FISCAL_MONTH_OF_FISCAL_SEMESTER" | "FISCAL_MONTH_OF_FISCAL_YEAR" | "FISCAL_QUARTER" | "FISCAL_QUARTER_OF_FISCAL_SEMESTER" | "FISCAL_QUARTER_OF_FISCAL_YEAR" | "FISCAL_SEMESTER" | "FISCAL_SEMESTER_OF_FISCAL_YEAR" | "FISCAL_YEAR";
|
|
14
|
+
/**
|
|
15
|
+
* Value type of a label.
|
|
16
|
+
*
|
|
17
|
+
* @alpha
|
|
18
|
+
*/
|
|
19
|
+
export type DeclarativeLabelValueType = "TEXT" | "HYPERLINK" | "GEO" | "GEO_LONGITUDE" | "GEO_LATITUDE" | "GEO_AREA" | "GEO_ICON" | "IMAGE" | "HYPERLOGLOG";
|
|
20
|
+
/**
|
|
21
|
+
* Type of a dataset.
|
|
22
|
+
*
|
|
23
|
+
* @alpha
|
|
24
|
+
*/
|
|
25
|
+
export type DeclarativeDatasetType = "NORMAL" | "AUXILIARY";
|
|
26
|
+
/**
|
|
27
|
+
* Sort direction of attribute elements.
|
|
28
|
+
*
|
|
29
|
+
* @alpha
|
|
30
|
+
*/
|
|
31
|
+
export type DeclarativeAttributeSortDirection = "ASC" | "DESC";
|
|
32
|
+
/**
|
|
33
|
+
* Type of the object that is a part of a dataset grain or a target of a reference source.
|
|
34
|
+
*
|
|
35
|
+
* @alpha
|
|
36
|
+
*/
|
|
37
|
+
export type DeclarativeGrainType = "attribute" | "date";
|
|
38
|
+
/**
|
|
39
|
+
* Operation that an aggregated fact applies to its source.
|
|
40
|
+
*
|
|
41
|
+
* @alpha
|
|
42
|
+
*/
|
|
43
|
+
export type DeclarativeAggregationOperation = "SUM" | "MIN" | "MAX" | "APPROXIMATE_COUNT";
|
|
44
|
+
/**
|
|
45
|
+
* Logical data model of a workspace in the declarative form.
|
|
46
|
+
*
|
|
47
|
+
* @remarks
|
|
48
|
+
* The model has the same form as the declarative logical model document of the backend, so it can be
|
|
49
|
+
* exported to JSON and imported back without changes.
|
|
50
|
+
*
|
|
51
|
+
* @alpha
|
|
52
|
+
*/
|
|
53
|
+
export interface IDeclarativeLogicalModel {
|
|
54
|
+
/**
|
|
55
|
+
* Calendars by their identifier.
|
|
56
|
+
*/
|
|
57
|
+
calendars?: {
|
|
58
|
+
[id: string]: IDeclarativeCalendar;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Extensions of datasets that the workspace inherits from its parents.
|
|
62
|
+
*/
|
|
63
|
+
datasetExtensions?: IDeclarativeDatasetExtension[];
|
|
64
|
+
datasets?: IDeclarativeDataset[];
|
|
65
|
+
/**
|
|
66
|
+
* Date datasets.
|
|
67
|
+
*/
|
|
68
|
+
dateInstances?: IDeclarativeDateDataset[];
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Calendar of the logical data model.
|
|
72
|
+
*
|
|
73
|
+
* @alpha
|
|
74
|
+
*/
|
|
75
|
+
export interface IDeclarativeCalendar {
|
|
76
|
+
definition: DeclarativeCalendarDefinition;
|
|
77
|
+
description?: string;
|
|
78
|
+
enabledGranularities: IDeclarativeCalendarGranularity[];
|
|
79
|
+
name: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Definition of a calendar.
|
|
83
|
+
*
|
|
84
|
+
* @alpha
|
|
85
|
+
*/
|
|
86
|
+
export type DeclarativeCalendarDefinition = IDeclarativeCustomCalendarDefinition | IDeclarativeFiscalYearCalendarDefinition;
|
|
87
|
+
/**
|
|
88
|
+
* Calendar that reads its periods from data source tables.
|
|
89
|
+
*
|
|
90
|
+
* @alpha
|
|
91
|
+
*/
|
|
92
|
+
export interface IDeclarativeCustomCalendarDefinition {
|
|
93
|
+
type: "custom";
|
|
94
|
+
dataSourceTables: {
|
|
95
|
+
[id: string]: IDeclarativeCalendarTableReference;
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Data source table that a custom calendar reads.
|
|
100
|
+
*
|
|
101
|
+
* @alpha
|
|
102
|
+
*/
|
|
103
|
+
export interface IDeclarativeCalendarTableReference {
|
|
104
|
+
path: string[];
|
|
105
|
+
version: string;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Calendar with a fiscal year that starts with an offset from the calendar year.
|
|
109
|
+
*
|
|
110
|
+
* @alpha
|
|
111
|
+
*/
|
|
112
|
+
export interface IDeclarativeFiscalYearCalendarDefinition {
|
|
113
|
+
type: "fiscalYear";
|
|
114
|
+
monthOffset: number;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Granularity that a calendar enables.
|
|
118
|
+
*
|
|
119
|
+
* @alpha
|
|
120
|
+
*/
|
|
121
|
+
export interface IDeclarativeCalendarGranularity {
|
|
122
|
+
granularity: DeclarativeDateGranularity;
|
|
123
|
+
prefix: string;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Extension of a dataset inherited from a parent workspace.
|
|
127
|
+
*
|
|
128
|
+
* @alpha
|
|
129
|
+
*/
|
|
130
|
+
export interface IDeclarativeDatasetExtension {
|
|
131
|
+
id: string;
|
|
132
|
+
workspaceDataFilterReferences?: IDeclarativeWorkspaceDataFilterReference[];
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Reference from a dataset column to a workspace data filter.
|
|
136
|
+
*
|
|
137
|
+
* @alpha
|
|
138
|
+
*/
|
|
139
|
+
export interface IDeclarativeWorkspaceDataFilterReference {
|
|
140
|
+
filterColumn: string;
|
|
141
|
+
filterColumnDataType: DeclarativeColumnDataType;
|
|
142
|
+
filterId: IDeclarativeWorkspaceDataFilterIdentifier;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Identifier of a workspace data filter.
|
|
146
|
+
*
|
|
147
|
+
* @alpha
|
|
148
|
+
*/
|
|
149
|
+
export interface IDeclarativeWorkspaceDataFilterIdentifier {
|
|
150
|
+
id: string;
|
|
151
|
+
type: "workspaceDataFilter";
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Dataset of the logical data model.
|
|
155
|
+
*
|
|
156
|
+
* @alpha
|
|
157
|
+
*/
|
|
158
|
+
export interface IDeclarativeDataset {
|
|
159
|
+
aggregatedFacts?: IDeclarativeAggregatedFact[];
|
|
160
|
+
attributes?: IDeclarativeAttribute[];
|
|
161
|
+
/**
|
|
162
|
+
* Data source table that the dataset maps to. A dataset maps to a table or to an SQL statement.
|
|
163
|
+
*/
|
|
164
|
+
dataSourceTableId?: IDeclarativeDataSourceTableIdentifier;
|
|
165
|
+
description?: string;
|
|
166
|
+
facts?: IDeclarativeFact[];
|
|
167
|
+
grain: IDeclarativeGrainIdentifier[];
|
|
168
|
+
id: string;
|
|
169
|
+
precedence?: number;
|
|
170
|
+
references: IDeclarativeReference[];
|
|
171
|
+
/**
|
|
172
|
+
* SQL statement that the dataset maps to. A dataset maps to a table or to an SQL statement.
|
|
173
|
+
*/
|
|
174
|
+
sql?: IDeclarativeDatasetSql;
|
|
175
|
+
tags?: string[];
|
|
176
|
+
title: string;
|
|
177
|
+
type?: DeclarativeDatasetType;
|
|
178
|
+
workspaceDataFilterColumns?: IDeclarativeWorkspaceDataFilterColumn[];
|
|
179
|
+
workspaceDataFilterReferences?: IDeclarativeWorkspaceDataFilterReference[];
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Fact that aggregates a fact or an attribute of another dataset.
|
|
183
|
+
*
|
|
184
|
+
* @alpha
|
|
185
|
+
*/
|
|
186
|
+
export interface IDeclarativeAggregatedFact {
|
|
187
|
+
description?: string;
|
|
188
|
+
id: string;
|
|
189
|
+
isNullable?: boolean;
|
|
190
|
+
nullValue?: string;
|
|
191
|
+
sourceColumn?: string;
|
|
192
|
+
sourceColumnDataType?: DeclarativeColumnDataType;
|
|
193
|
+
sourceFactReference: IDeclarativeSourceFactReference;
|
|
194
|
+
tags?: string[];
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Source of an aggregated fact.
|
|
198
|
+
*
|
|
199
|
+
* @alpha
|
|
200
|
+
*/
|
|
201
|
+
export interface IDeclarativeSourceFactReference {
|
|
202
|
+
operation: DeclarativeAggregationOperation;
|
|
203
|
+
reference: IDeclarativeSourceReferenceIdentifier;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Identifier of the fact or attribute that an aggregated fact aggregates.
|
|
207
|
+
*
|
|
208
|
+
* @alpha
|
|
209
|
+
*/
|
|
210
|
+
export interface IDeclarativeSourceReferenceIdentifier {
|
|
211
|
+
id: string;
|
|
212
|
+
type: "fact" | "attribute";
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Attribute of a dataset.
|
|
216
|
+
*
|
|
217
|
+
* @alpha
|
|
218
|
+
*/
|
|
219
|
+
export interface IDeclarativeAttribute {
|
|
220
|
+
conditionalFormatting?: IDeclarativeConditionalFormatting | null;
|
|
221
|
+
defaultView?: IDeclarativeLabelIdentifier;
|
|
222
|
+
description?: string;
|
|
223
|
+
id: string;
|
|
224
|
+
isHidden?: boolean;
|
|
225
|
+
isNullable?: boolean;
|
|
226
|
+
labels: IDeclarativeLabel[];
|
|
227
|
+
locale?: string;
|
|
228
|
+
nullValue?: string;
|
|
229
|
+
sortColumn?: string;
|
|
230
|
+
sortDirection?: DeclarativeAttributeSortDirection;
|
|
231
|
+
sourceColumn?: string;
|
|
232
|
+
sourceColumnDataType?: DeclarativeColumnDataType;
|
|
233
|
+
tags?: string[];
|
|
234
|
+
title: string;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Identifier of a label.
|
|
238
|
+
*
|
|
239
|
+
* @alpha
|
|
240
|
+
*/
|
|
241
|
+
export interface IDeclarativeLabelIdentifier {
|
|
242
|
+
id: string;
|
|
243
|
+
type: "label";
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Label of an attribute.
|
|
247
|
+
*
|
|
248
|
+
* @alpha
|
|
249
|
+
*/
|
|
250
|
+
export interface IDeclarativeLabel {
|
|
251
|
+
conditionalFormatting?: IDeclarativeConditionalFormatting | null;
|
|
252
|
+
description?: string;
|
|
253
|
+
geoAreaConfig?: IDeclarativeGeoAreaConfig;
|
|
254
|
+
id: string;
|
|
255
|
+
isHidden?: boolean;
|
|
256
|
+
isNullable?: boolean;
|
|
257
|
+
locale?: string;
|
|
258
|
+
nullValue?: string;
|
|
259
|
+
sourceColumn?: string;
|
|
260
|
+
sourceColumnDataType?: DeclarativeColumnDataType;
|
|
261
|
+
tags?: string[];
|
|
262
|
+
title: string;
|
|
263
|
+
translations?: IDeclarativeLabelTranslation[];
|
|
264
|
+
valueType?: DeclarativeLabelValueType;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Geo area configuration of a label.
|
|
268
|
+
*
|
|
269
|
+
* @alpha
|
|
270
|
+
*/
|
|
271
|
+
export interface IDeclarativeGeoAreaConfig {
|
|
272
|
+
collection: IDeclarativeGeoCollectionIdentifier;
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Identifier of a geo collection.
|
|
276
|
+
*
|
|
277
|
+
* @alpha
|
|
278
|
+
*/
|
|
279
|
+
export interface IDeclarativeGeoCollectionIdentifier {
|
|
280
|
+
id: string;
|
|
281
|
+
kind?: "STATIC" | "CUSTOM";
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Source column of a label value in one locale.
|
|
285
|
+
*
|
|
286
|
+
* @alpha
|
|
287
|
+
*/
|
|
288
|
+
export interface IDeclarativeLabelTranslation {
|
|
289
|
+
locale: string;
|
|
290
|
+
sourceColumn: string;
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Conditional formatting of an attribute, a label or a date dataset.
|
|
294
|
+
*
|
|
295
|
+
* @alpha
|
|
296
|
+
*/
|
|
297
|
+
export interface IDeclarativeConditionalFormatting {
|
|
298
|
+
conditions: IDeclarativeConditionalFormattingCondition[];
|
|
299
|
+
enabled: boolean;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* Condition of a conditional formatting in the declarative model.
|
|
303
|
+
*
|
|
304
|
+
* @alpha
|
|
305
|
+
*/
|
|
306
|
+
export interface IDeclarativeConditionalFormattingCondition {
|
|
307
|
+
format: IConditionalFormattingFormat;
|
|
308
|
+
id?: string;
|
|
309
|
+
operator: ConditionalFormattingOperator;
|
|
310
|
+
value: DeclarativeConditionalFormattingValue;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Operand of a conditional formatting condition in the declarative model.
|
|
314
|
+
*
|
|
315
|
+
* @remarks
|
|
316
|
+
* Relative date values use the {@link DeclarativeDateGranularity} vocabulary.
|
|
317
|
+
*
|
|
318
|
+
* @alpha
|
|
319
|
+
*/
|
|
320
|
+
export type DeclarativeConditionalFormattingValue = {
|
|
321
|
+
kind: "none";
|
|
322
|
+
} | {
|
|
323
|
+
kind: "literal";
|
|
324
|
+
value: string | number;
|
|
325
|
+
} | {
|
|
326
|
+
kind: "literalRange";
|
|
327
|
+
from: number;
|
|
328
|
+
to: number;
|
|
329
|
+
} | {
|
|
330
|
+
kind: "absoluteDate";
|
|
331
|
+
from: string;
|
|
332
|
+
to: string;
|
|
333
|
+
} | {
|
|
334
|
+
kind: "relativeDate";
|
|
335
|
+
granularity: DeclarativeDateGranularity;
|
|
336
|
+
from: number;
|
|
337
|
+
to: number;
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* Identifier of a data source table.
|
|
341
|
+
*
|
|
342
|
+
* @alpha
|
|
343
|
+
*/
|
|
344
|
+
export interface IDeclarativeDataSourceTableIdentifier {
|
|
345
|
+
dataSourceId: string;
|
|
346
|
+
id: string;
|
|
347
|
+
path?: string[] | null;
|
|
348
|
+
type: "dataSource";
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* Fact of a dataset.
|
|
352
|
+
*
|
|
353
|
+
* @alpha
|
|
354
|
+
*/
|
|
355
|
+
export interface IDeclarativeFact {
|
|
356
|
+
description?: string;
|
|
357
|
+
id: string;
|
|
358
|
+
isHidden?: boolean;
|
|
359
|
+
isNullable?: boolean;
|
|
360
|
+
nullValue?: string;
|
|
361
|
+
sourceColumn?: string;
|
|
362
|
+
sourceColumnDataType?: DeclarativeColumnDataType;
|
|
363
|
+
tags?: string[];
|
|
364
|
+
title: string;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Identifier of an attribute or a date dataset.
|
|
368
|
+
*
|
|
369
|
+
* @alpha
|
|
370
|
+
*/
|
|
371
|
+
export interface IDeclarativeGrainIdentifier {
|
|
372
|
+
id: string;
|
|
373
|
+
type: DeclarativeGrainType;
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* Reference from a dataset to another dataset or a date dataset.
|
|
377
|
+
*
|
|
378
|
+
* @alpha
|
|
379
|
+
*/
|
|
380
|
+
export interface IDeclarativeReference {
|
|
381
|
+
identifier: IDeclarativeDatasetIdentifier;
|
|
382
|
+
multivalue: boolean;
|
|
383
|
+
sourceColumnDataTypes?: DeclarativeColumnDataType[];
|
|
384
|
+
sourceColumns?: string[];
|
|
385
|
+
sources?: IDeclarativeReferenceSource[];
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* Identifier of a dataset or a date dataset.
|
|
389
|
+
*
|
|
390
|
+
* @alpha
|
|
391
|
+
*/
|
|
392
|
+
export interface IDeclarativeDatasetIdentifier {
|
|
393
|
+
id: string;
|
|
394
|
+
type: "dataset";
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* Source column of a reference and the grain object of the referenced dataset that it maps to.
|
|
398
|
+
*
|
|
399
|
+
* @alpha
|
|
400
|
+
*/
|
|
401
|
+
export interface IDeclarativeReferenceSource {
|
|
402
|
+
column?: string;
|
|
403
|
+
dataType?: DeclarativeColumnDataType;
|
|
404
|
+
isNullable?: boolean;
|
|
405
|
+
nullValue?: string;
|
|
406
|
+
target: IDeclarativeGrainIdentifier;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* SQL statement that a dataset maps to.
|
|
410
|
+
*
|
|
411
|
+
* @alpha
|
|
412
|
+
*/
|
|
413
|
+
export interface IDeclarativeDatasetSql {
|
|
414
|
+
dataSourceId: string;
|
|
415
|
+
statement: string;
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* Column of a dataset that workspace data filters use.
|
|
419
|
+
*
|
|
420
|
+
* @alpha
|
|
421
|
+
*/
|
|
422
|
+
export interface IDeclarativeWorkspaceDataFilterColumn {
|
|
423
|
+
dataType: DeclarativeColumnDataType;
|
|
424
|
+
name: string;
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* Date dataset of the logical data model.
|
|
428
|
+
*
|
|
429
|
+
* @alpha
|
|
430
|
+
*/
|
|
431
|
+
export interface IDeclarativeDateDataset {
|
|
432
|
+
conditionalFormatting?: IDeclarativeConditionalFormatting | null;
|
|
433
|
+
description?: string;
|
|
434
|
+
granularities: DeclarativeDateGranularity[];
|
|
435
|
+
granularitiesFormatting: IDeclarativeGranularitiesFormatting;
|
|
436
|
+
id: string;
|
|
437
|
+
tags?: string[];
|
|
438
|
+
title: string;
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* Title formatting of the attributes of a date dataset.
|
|
442
|
+
*
|
|
443
|
+
* @alpha
|
|
444
|
+
*/
|
|
445
|
+
export interface IDeclarativeGranularitiesFormatting {
|
|
446
|
+
titleBase: string;
|
|
447
|
+
titlePattern: string;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* Logical data model and analytical objects of a workspace.
|
|
451
|
+
*
|
|
452
|
+
* @alpha
|
|
453
|
+
*/
|
|
454
|
+
export interface IDeclarativeWorkspaceLayout {
|
|
455
|
+
ldm: IDeclarativeLogicalModel;
|
|
456
|
+
/**
|
|
457
|
+
* Analytical objects in the declarative analytics document of the backend.
|
|
458
|
+
*
|
|
459
|
+
* @remarks
|
|
460
|
+
* The model does not describe this document. Use a document that the backend exported.
|
|
461
|
+
*/
|
|
462
|
+
analytics: object;
|
|
463
|
+
}
|
|
464
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ldm/declarativeModel/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACpC,MAAM,sCAAsC,CAAC;AAE9C;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAC/B,KAAK,GACL,QAAQ,GACR,MAAM,GACN,SAAS,GACT,WAAW,GACX,cAAc,GACd,SAAS,GACT,KAAK,CAAC;AAEZ;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,GAChC,QAAQ,GACR,kBAAkB,GAClB,eAAe,GACf,QAAQ,GACR,gBAAgB,GAChB,eAAe,GACf,MAAM,GACN,aAAa,GACb,KAAK,GACL,aAAa,GACb,cAAc,GACd,gBAAgB,GAChB,aAAa,GACb,MAAM,GACN,cAAc,GACd,OAAO,GACP,eAAe,GACf,SAAS,GACT,iBAAiB,GACjB,MAAM,GACN,2BAA2B,GAC3B,4BAA4B,GAC5B,8BAA8B,GAC9B,+BAA+B,GAC/B,2BAA2B,GAC3B,aAAa,GACb,6BAA6B,GAC7B,+BAA+B,GAC/B,gCAAgC,GAChC,4BAA4B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