@finos/legend-application-data-cube 0.1.0
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/LICENSE +201 -0
- package/README.md +3 -0
- package/lib/application/Core_LegendDataCubeApplicationPlugin.d.ts +23 -0
- package/lib/application/Core_LegendDataCubeApplicationPlugin.d.ts.map +1 -0
- package/lib/application/Core_LegendDataCubeApplicationPlugin.js +35 -0
- package/lib/application/Core_LegendDataCubeApplicationPlugin.js.map +1 -0
- package/lib/application/Core_LegendDataCube_LegendApplicationPlugin.d.ts +19 -0
- package/lib/application/Core_LegendDataCube_LegendApplicationPlugin.d.ts.map +1 -0
- package/lib/application/Core_LegendDataCube_LegendApplicationPlugin.js +19 -0
- package/lib/application/Core_LegendDataCube_LegendApplicationPlugin.js.map +1 -0
- package/lib/application/LegendDataCube.d.ts +26 -0
- package/lib/application/LegendDataCube.d.ts.map +1 -0
- package/lib/application/LegendDataCube.js +41 -0
- package/lib/application/LegendDataCube.js.map +1 -0
- package/lib/application/LegendDataCubeApplicationConfig.d.ts +33 -0
- package/lib/application/LegendDataCubeApplicationConfig.d.ts.map +1 -0
- package/lib/application/LegendDataCubeApplicationConfig.js +36 -0
- package/lib/application/LegendDataCubeApplicationConfig.js.map +1 -0
- package/lib/application/LegendDataCubeApplicationPlugin.d.ts +26 -0
- package/lib/application/LegendDataCubeApplicationPlugin.d.ts.map +1 -0
- package/lib/application/LegendDataCubeApplicationPlugin.js +28 -0
- package/lib/application/LegendDataCubeApplicationPlugin.js.map +1 -0
- package/lib/application/LegendDataCubePluginManager.d.ts +32 -0
- package/lib/application/LegendDataCubePluginManager.d.ts.map +1 -0
- package/lib/application/LegendDataCubePluginManager.js +47 -0
- package/lib/application/LegendDataCubePluginManager.js.map +1 -0
- package/lib/components/DataCubeEditor.d.ts +19 -0
- package/lib/components/DataCubeEditor.d.ts.map +1 -0
- package/lib/components/DataCubeEditor.js +31 -0
- package/lib/components/DataCubeEditor.js.map +1 -0
- package/lib/components/LegendDataCubeFrameworkProvider.d.ts +25 -0
- package/lib/components/LegendDataCubeFrameworkProvider.d.ts.map +1 -0
- package/lib/components/LegendDataCubeFrameworkProvider.js +31 -0
- package/lib/components/LegendDataCubeFrameworkProvider.js.map +1 -0
- package/lib/components/LegendDataCubeWebApplication.d.ts +21 -0
- package/lib/components/LegendDataCubeWebApplication.d.ts.map +1 -0
- package/lib/components/LegendDataCubeWebApplication.js +29 -0
- package/lib/components/LegendDataCubeWebApplication.js.map +1 -0
- package/lib/components/source/DataCubeSourceEditor.d.ts +22 -0
- package/lib/components/source/DataCubeSourceEditor.d.ts.map +1 -0
- package/lib/components/source/DataCubeSourceEditor.js +43 -0
- package/lib/components/source/DataCubeSourceEditor.js.map +1 -0
- package/lib/components/source/SavedQuerySourceEditor.d.ts +22 -0
- package/lib/components/source/SavedQuerySourceEditor.d.ts.map +1 -0
- package/lib/components/source/SavedQuerySourceEditor.js +25 -0
- package/lib/components/source/SavedQuerySourceEditor.js.map +1 -0
- package/lib/index.css +17 -0
- package/lib/index.css.map +1 -0
- package/lib/index.d.ts +19 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +19 -0
- package/lib/index.js.map +1 -0
- package/lib/package.json +81 -0
- package/lib/stores/LegendDataCubeEditorStore.d.ts +44 -0
- package/lib/stores/LegendDataCubeEditorStore.d.ts.map +1 -0
- package/lib/stores/LegendDataCubeEditorStore.js +91 -0
- package/lib/stores/LegendDataCubeEditorStore.js.map +1 -0
- package/lib/stores/engine/LegendExecutionDataCubeEngine.d.ts +46 -0
- package/lib/stores/engine/LegendExecutionDataCubeEngine.d.ts.map +1 -0
- package/lib/stores/engine/LegendExecutionDataCubeEngine.js +145 -0
- package/lib/stores/engine/LegendExecutionDataCubeEngine.js.map +1 -0
- package/lib/stores/source/CubeInputSource.d.ts +38 -0
- package/lib/stores/source/CubeInputSource.d.ts.map +1 -0
- package/lib/stores/source/CubeInputSource.js +40 -0
- package/lib/stores/source/CubeInputSource.js.map +1 -0
- package/lib/stores/source/CubeInputSourceLoader.d.ts +37 -0
- package/lib/stores/source/CubeInputSourceLoader.d.ts.map +1 -0
- package/lib/stores/source/CubeInputSourceLoader.js +40 -0
- package/lib/stores/source/CubeInputSourceLoader.js.map +1 -0
- package/lib/stores/source/LegendCubeViewer.d.ts +23 -0
- package/lib/stores/source/LegendCubeViewer.d.ts.map +1 -0
- package/lib/stores/source/LegendCubeViewer.js +24 -0
- package/lib/stores/source/LegendCubeViewer.js.map +1 -0
- package/lib/stores/source/LegendDataCubeSourceBuilder.d.ts +34 -0
- package/lib/stores/source/LegendDataCubeSourceBuilder.d.ts.map +1 -0
- package/lib/stores/source/LegendDataCubeSourceBuilder.js +70 -0
- package/lib/stores/source/LegendDataCubeSourceBuilder.js.map +1 -0
- package/lib/stores/source/SavedDepotInputSourceState.d.ts +47 -0
- package/lib/stores/source/SavedDepotInputSourceState.d.ts.map +1 -0
- package/lib/stores/source/SavedDepotInputSourceState.js +77 -0
- package/lib/stores/source/SavedDepotInputSourceState.js.map +1 -0
- package/lib/stores/source/SavedQueryInputSourceState.d.ts +35 -0
- package/lib/stores/source/SavedQueryInputSourceState.d.ts.map +1 -0
- package/lib/stores/source/SavedQueryInputSourceState.js +81 -0
- package/lib/stores/source/SavedQueryInputSourceState.js.map +1 -0
- package/package.json +81 -0
- package/src/application/Core_LegendDataCubeApplicationPlugin.ts +38 -0
- package/src/application/Core_LegendDataCube_LegendApplicationPlugin.ts +19 -0
- package/src/application/LegendDataCube.tsx +70 -0
- package/src/application/LegendDataCubeApplicationConfig.ts +74 -0
- package/src/application/LegendDataCubeApplicationPlugin.ts +30 -0
- package/src/application/LegendDataCubePluginManager.ts +66 -0
- package/src/components/DataCubeEditor.tsx +93 -0
- package/src/components/LegendDataCubeFrameworkProvider.tsx +70 -0
- package/src/components/LegendDataCubeWebApplication.tsx +45 -0
- package/src/components/source/DataCubeSourceEditor.tsx +133 -0
- package/src/components/source/SavedQuerySourceEditor.tsx +62 -0
- package/src/index.ts +19 -0
- package/src/stores/LegendDataCubeEditorStore.ts +120 -0
- package/src/stores/engine/LegendExecutionDataCubeEngine.ts +257 -0
- package/src/stores/source/CubeInputSource.ts +47 -0
- package/src/stores/source/CubeInputSourceLoader.ts +56 -0
- package/src/stores/source/LegendCubeViewer.ts +28 -0
- package/src/stores/source/LegendDataCubeSourceBuilder.ts +98 -0
- package/src/stores/source/SavedDepotInputSourceState.ts +103 -0
- package/src/stores/source/SavedQueryInputSourceState.ts +144 -0
- package/tsconfig.json +82 -0
- package/tsconfig.package.json +54 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import {
|
|
18
|
+
UnsupportedOperationError,
|
|
19
|
+
guaranteeNonNullable,
|
|
20
|
+
type GeneratorFn,
|
|
21
|
+
} from '@finos/legend-shared';
|
|
22
|
+
import { type CubeInputSource } from './CubeInputSource.js';
|
|
23
|
+
import type { VersionedProjectData } from '@finos/legend-server-depot';
|
|
24
|
+
import type { DataCubeEngine } from '@finos/legend-data-cube';
|
|
25
|
+
import {
|
|
26
|
+
CubeInputSourceState,
|
|
27
|
+
DataCubeSourceType,
|
|
28
|
+
} from './CubeInputSourceLoader.js';
|
|
29
|
+
import type { LegendDataCubeStoreContext } from '../LegendDataCubeEditorStore.js';
|
|
30
|
+
import { makeObservable, observable } from 'mobx';
|
|
31
|
+
|
|
32
|
+
export enum SAVED_DEPOT_TYPE {
|
|
33
|
+
SERVICE = 'SERVICE',
|
|
34
|
+
FUNCTION = 'FUNCTION',
|
|
35
|
+
TABLE = 'TABLE',
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export abstract class SavedDepotSourceState {
|
|
39
|
+
abstract get label(): SAVED_DEPOT_TYPE;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export class ServiceDepotSourceState extends SavedDepotSourceState {
|
|
43
|
+
override get label(): SAVED_DEPOT_TYPE {
|
|
44
|
+
return SAVED_DEPOT_TYPE.SERVICE;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export class SavedDepotInputSourceState extends CubeInputSourceState {
|
|
49
|
+
project: VersionedProjectData | undefined;
|
|
50
|
+
selectedSource: SavedDepotSourceState;
|
|
51
|
+
|
|
52
|
+
constructor(context: LegendDataCubeStoreContext) {
|
|
53
|
+
super(context);
|
|
54
|
+
makeObservable(this, {
|
|
55
|
+
project: observable,
|
|
56
|
+
selectedSource: observable,
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
this.selectedSource = this.build(guaranteeNonNullable(this.options[0]));
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
get options(): SAVED_DEPOT_TYPE[] {
|
|
63
|
+
return Object.values(SAVED_DEPOT_TYPE);
|
|
64
|
+
}
|
|
65
|
+
override process(): CubeInputSource {
|
|
66
|
+
// assertTrue(this.isValid);
|
|
67
|
+
// if (this.element instanceof Service) {
|
|
68
|
+
// }
|
|
69
|
+
|
|
70
|
+
throw new UnsupportedOperationError('');
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
*fectchAssociatedProjectsAndVersions(): GeneratorFn<void> {
|
|
74
|
+
throw new UnsupportedOperationError('not supported yet');
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
static override builder(
|
|
78
|
+
context: LegendDataCubeStoreContext,
|
|
79
|
+
): CubeInputSourceState {
|
|
80
|
+
return new SavedDepotInputSourceState(context);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
build(source: SAVED_DEPOT_TYPE): SavedDepotSourceState {
|
|
84
|
+
// if (source === SAVED_DEPOT_TYPE.SERVICE) {
|
|
85
|
+
// }
|
|
86
|
+
|
|
87
|
+
throw new UnsupportedOperationError('');
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
override get label(): DataCubeSourceType {
|
|
91
|
+
return DataCubeSourceType.DEPOT_QUERY;
|
|
92
|
+
}
|
|
93
|
+
override setup(): Promise<void> {
|
|
94
|
+
throw new Error('Method not implemented.');
|
|
95
|
+
}
|
|
96
|
+
async buildCubeEngine(): Promise<DataCubeEngine | undefined> {
|
|
97
|
+
throw new Error('Method not implemented.');
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
override get isValid(): boolean {
|
|
101
|
+
throw new Error('Method not implemented.');
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import {
|
|
18
|
+
assertTrue,
|
|
19
|
+
guaranteeNonNullable,
|
|
20
|
+
isNonNullable,
|
|
21
|
+
} from '@finos/legend-shared';
|
|
22
|
+
import {
|
|
23
|
+
LegendSavedQuerySource,
|
|
24
|
+
type CubeInputSource,
|
|
25
|
+
} from './CubeInputSource.js';
|
|
26
|
+
import {
|
|
27
|
+
CubeInputSourceState,
|
|
28
|
+
DataCubeSourceType,
|
|
29
|
+
} from './CubeInputSourceLoader.js';
|
|
30
|
+
import type { DataCubeEngine } from '@finos/legend-data-cube';
|
|
31
|
+
import {
|
|
32
|
+
LegendSDLC,
|
|
33
|
+
QuerySearchSpecification,
|
|
34
|
+
type RawLambda,
|
|
35
|
+
type LightQuery,
|
|
36
|
+
} from '@finos/legend-graph';
|
|
37
|
+
import { resolveVersion } from '@finos/legend-server-depot';
|
|
38
|
+
import { LegendExecutionDataCubeEngine } from '../engine/LegendExecutionDataCubeEngine.js';
|
|
39
|
+
import type { LegendDataCubeStoreContext } from '../LegendDataCubeEditorStore.js';
|
|
40
|
+
import {
|
|
41
|
+
QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT,
|
|
42
|
+
QueryLoaderState,
|
|
43
|
+
} from '@finos/legend-query-builder';
|
|
44
|
+
import { action, makeObservable, observable } from 'mobx';
|
|
45
|
+
|
|
46
|
+
export class SavedQueryInputSourceState extends CubeInputSourceState {
|
|
47
|
+
query: LightQuery | undefined;
|
|
48
|
+
queryLoaderState: QueryLoaderState;
|
|
49
|
+
|
|
50
|
+
constructor(context: LegendDataCubeStoreContext) {
|
|
51
|
+
super(context);
|
|
52
|
+
makeObservable(this, {
|
|
53
|
+
query: observable,
|
|
54
|
+
buildCubeEngineState: observable,
|
|
55
|
+
setQuery: action,
|
|
56
|
+
});
|
|
57
|
+
this.queryLoaderState = new QueryLoaderState(
|
|
58
|
+
this.context.applicationStore,
|
|
59
|
+
this.context.graphManagerState,
|
|
60
|
+
{
|
|
61
|
+
loadQuery: (query: LightQuery): void => {
|
|
62
|
+
this.setQuery(query);
|
|
63
|
+
},
|
|
64
|
+
decorateSearchSpecification: (val) => val,
|
|
65
|
+
fetchDefaultQueries: async (): Promise<LightQuery[]> => {
|
|
66
|
+
const searchSpecification = new QuerySearchSpecification();
|
|
67
|
+
searchSpecification.limit = QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT;
|
|
68
|
+
return this.context.graphManagerState.graphManager.searchQueries(
|
|
69
|
+
QuerySearchSpecification.createDefault(undefined),
|
|
70
|
+
);
|
|
71
|
+
},
|
|
72
|
+
isReadOnly: true,
|
|
73
|
+
},
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
setQuery(query: LightQuery): void {
|
|
78
|
+
this.query = query;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
override process(): CubeInputSource {
|
|
82
|
+
assertTrue(this.isValid);
|
|
83
|
+
return new LegendSavedQuerySource(guaranteeNonNullable(this.query).id);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
override get openActionable(): boolean {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
static override builder(
|
|
91
|
+
context: LegendDataCubeStoreContext,
|
|
92
|
+
): CubeInputSourceState {
|
|
93
|
+
return new SavedQueryInputSourceState(context);
|
|
94
|
+
}
|
|
95
|
+
override get label(): DataCubeSourceType {
|
|
96
|
+
return DataCubeSourceType.LEGEND_QUERY;
|
|
97
|
+
}
|
|
98
|
+
override setup(): Promise<void> {
|
|
99
|
+
throw new Error('Method not implemented.');
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
async buildCubeEngine(): Promise<DataCubeEngine | undefined> {
|
|
103
|
+
this.buildCubeEngineState.inProgress();
|
|
104
|
+
const queryInfo =
|
|
105
|
+
await this.context.graphManagerState.graphManager.getQueryInfo(
|
|
106
|
+
guaranteeNonNullable(this.query).id,
|
|
107
|
+
);
|
|
108
|
+
const execConext =
|
|
109
|
+
(await this.context.graphManagerState.graphManager.resolveQueryInfoExecutionContext(
|
|
110
|
+
queryInfo,
|
|
111
|
+
() =>
|
|
112
|
+
this.context.depotServerClient.getVersionEntities(
|
|
113
|
+
queryInfo.groupId,
|
|
114
|
+
queryInfo.artifactId,
|
|
115
|
+
queryInfo.versionId,
|
|
116
|
+
),
|
|
117
|
+
)) as { mapping: string | undefined; runtime: string };
|
|
118
|
+
const lambda =
|
|
119
|
+
(await this.context.graphManagerState.graphManager.pureCodeToLambda(
|
|
120
|
+
queryInfo.content,
|
|
121
|
+
)) as unknown as RawLambda;
|
|
122
|
+
this.context.graphManagerState.graph.setOrigin(
|
|
123
|
+
new LegendSDLC(
|
|
124
|
+
queryInfo.groupId,
|
|
125
|
+
queryInfo.artifactId,
|
|
126
|
+
resolveVersion(queryInfo.versionId),
|
|
127
|
+
),
|
|
128
|
+
);
|
|
129
|
+
// TODO: we should be able to call engine and convert lambda to relation if not one.
|
|
130
|
+
const engine = new LegendExecutionDataCubeEngine(
|
|
131
|
+
lambda,
|
|
132
|
+
undefined,
|
|
133
|
+
execConext.mapping,
|
|
134
|
+
execConext.runtime,
|
|
135
|
+
this.context.graphManagerState,
|
|
136
|
+
);
|
|
137
|
+
this.buildCubeEngineState.complete();
|
|
138
|
+
return engine;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
override get isValid(): boolean {
|
|
142
|
+
return isNonNullable(this.query);
|
|
143
|
+
}
|
|
144
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": [
|
|
4
|
+
"dom",
|
|
5
|
+
"dom.iterable",
|
|
6
|
+
"esnext",
|
|
7
|
+
"webworker",
|
|
8
|
+
"scripthost"
|
|
9
|
+
],
|
|
10
|
+
"composite": true,
|
|
11
|
+
"declaration": true,
|
|
12
|
+
"declarationMap": true,
|
|
13
|
+
"sourceMap": true,
|
|
14
|
+
"target": "esnext",
|
|
15
|
+
"module": "nodenext",
|
|
16
|
+
"skipLibCheck": true,
|
|
17
|
+
"resolveJsonModule": true,
|
|
18
|
+
"verbatimModuleSyntax": true,
|
|
19
|
+
"strict": true,
|
|
20
|
+
"noImplicitOverride": true,
|
|
21
|
+
"noUncheckedIndexedAccess": true,
|
|
22
|
+
"exactOptionalPropertyTypes": true,
|
|
23
|
+
"forceConsistentCasingInFileNames": true,
|
|
24
|
+
"outDir": "./lib",
|
|
25
|
+
"tsBuildInfoFile": "./build/prod.tsbuildinfo",
|
|
26
|
+
"rootDir": "./src",
|
|
27
|
+
"jsx": "react-jsx",
|
|
28
|
+
"moduleResolution": "nodenext",
|
|
29
|
+
"moduleDetection": "force",
|
|
30
|
+
"isolatedModules": true,
|
|
31
|
+
"esModuleInterop": true,
|
|
32
|
+
"allowSyntheticDefaultImports": true,
|
|
33
|
+
"preserveConstEnums": true,
|
|
34
|
+
"incremental": true,
|
|
35
|
+
"useDefineForClassFields": true,
|
|
36
|
+
"noImplicitAny": true,
|
|
37
|
+
"noImplicitThis": true,
|
|
38
|
+
"strictNullChecks": true,
|
|
39
|
+
"strictFunctionTypes": true,
|
|
40
|
+
"strictBindCallApply": true,
|
|
41
|
+
"strictPropertyInitialization": true,
|
|
42
|
+
"strictBuiltinIteratorReturn": true,
|
|
43
|
+
"alwaysStrict": true,
|
|
44
|
+
"useUnknownInCatchVariables": true
|
|
45
|
+
},
|
|
46
|
+
"references": [
|
|
47
|
+
{
|
|
48
|
+
"path": "./tsconfig.package.json"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"files": [
|
|
52
|
+
"./src/index.ts",
|
|
53
|
+
"./src/application/Core_LegendDataCubeApplicationPlugin.ts",
|
|
54
|
+
"./src/application/Core_LegendDataCube_LegendApplicationPlugin.ts",
|
|
55
|
+
"./src/application/LegendDataCubeApplicationConfig.ts",
|
|
56
|
+
"./src/application/LegendDataCubeApplicationPlugin.ts",
|
|
57
|
+
"./src/application/LegendDataCubePluginManager.ts",
|
|
58
|
+
"./src/stores/LegendDataCubeEditorStore.ts",
|
|
59
|
+
"./src/stores/engine/LegendExecutionDataCubeEngine.ts",
|
|
60
|
+
"./src/stores/source/CubeInputSource.ts",
|
|
61
|
+
"./src/stores/source/CubeInputSourceLoader.ts",
|
|
62
|
+
"./src/stores/source/LegendCubeViewer.ts",
|
|
63
|
+
"./src/stores/source/LegendDataCubeSourceBuilder.ts",
|
|
64
|
+
"./src/stores/source/SavedDepotInputSourceState.ts",
|
|
65
|
+
"./src/stores/source/SavedQueryInputSourceState.ts",
|
|
66
|
+
"./src/application/LegendDataCube.tsx",
|
|
67
|
+
"./src/components/DataCubeEditor.tsx",
|
|
68
|
+
"./src/components/LegendDataCubeFrameworkProvider.tsx",
|
|
69
|
+
"./src/components/LegendDataCubeWebApplication.tsx",
|
|
70
|
+
"./src/components/source/DataCubeSourceEditor.tsx",
|
|
71
|
+
"./src/components/source/SavedQuerySourceEditor.tsx"
|
|
72
|
+
],
|
|
73
|
+
"include": [
|
|
74
|
+
"src/**/*.ts",
|
|
75
|
+
"src/**/*.tsx",
|
|
76
|
+
"src/**/*.json"
|
|
77
|
+
],
|
|
78
|
+
"exclude": [
|
|
79
|
+
"src/**/__tests__/**/*.*",
|
|
80
|
+
"src/**/__mocks__/**/*.*"
|
|
81
|
+
]
|
|
82
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": [
|
|
4
|
+
"dom",
|
|
5
|
+
"dom.iterable",
|
|
6
|
+
"esnext",
|
|
7
|
+
"webworker",
|
|
8
|
+
"scripthost"
|
|
9
|
+
],
|
|
10
|
+
"composite": true,
|
|
11
|
+
"declaration": true,
|
|
12
|
+
"declarationMap": true,
|
|
13
|
+
"sourceMap": true,
|
|
14
|
+
"target": "esnext",
|
|
15
|
+
"module": "nodenext",
|
|
16
|
+
"skipLibCheck": true,
|
|
17
|
+
"resolveJsonModule": true,
|
|
18
|
+
"verbatimModuleSyntax": true,
|
|
19
|
+
"strict": true,
|
|
20
|
+
"noImplicitOverride": true,
|
|
21
|
+
"noUncheckedIndexedAccess": true,
|
|
22
|
+
"exactOptionalPropertyTypes": true,
|
|
23
|
+
"forceConsistentCasingInFileNames": true,
|
|
24
|
+
"outDir": "./lib",
|
|
25
|
+
"tsBuildInfoFile": "./build/package.tsbuildinfo",
|
|
26
|
+
"rootDir": "./",
|
|
27
|
+
"moduleResolution": "nodenext",
|
|
28
|
+
"moduleDetection": "force",
|
|
29
|
+
"isolatedModules": true,
|
|
30
|
+
"esModuleInterop": true,
|
|
31
|
+
"allowSyntheticDefaultImports": true,
|
|
32
|
+
"preserveConstEnums": true,
|
|
33
|
+
"incremental": true,
|
|
34
|
+
"useDefineForClassFields": true,
|
|
35
|
+
"noImplicitAny": true,
|
|
36
|
+
"noImplicitThis": true,
|
|
37
|
+
"strictNullChecks": true,
|
|
38
|
+
"strictFunctionTypes": true,
|
|
39
|
+
"strictBindCallApply": true,
|
|
40
|
+
"strictPropertyInitialization": true,
|
|
41
|
+
"strictBuiltinIteratorReturn": true,
|
|
42
|
+
"alwaysStrict": true,
|
|
43
|
+
"useUnknownInCatchVariables": true
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"./package.json"
|
|
47
|
+
],
|
|
48
|
+
"include": [
|
|
49
|
+
"package.json"
|
|
50
|
+
],
|
|
51
|
+
"exclude": [
|
|
52
|
+
"/home/runner/work/legend-studio/legend-studio/packages/legend-application-data-cube/lib"
|
|
53
|
+
]
|
|
54
|
+
}
|