@finos/legend-application-repl 0.0.2
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/Const.d.ts +25 -0
- package/lib/Const.d.ts.map +1 -0
- package/lib/Const.js +26 -0
- package/lib/Const.js.map +1 -0
- package/lib/application/LegendREPLGridClient.d.ts +27 -0
- package/lib/application/LegendREPLGridClient.d.ts.map +1 -0
- package/lib/application/LegendREPLGridClient.js +40 -0
- package/lib/application/LegendREPLGridClient.js.map +1 -0
- package/lib/application/LegendREPLGridClientApplicationConfig.d.ts +29 -0
- package/lib/application/LegendREPLGridClientApplicationConfig.d.ts.map +1 -0
- package/lib/application/LegendREPLGridClientApplicationConfig.js +33 -0
- package/lib/application/LegendREPLGridClientApplicationConfig.js.map +1 -0
- package/lib/application/LegendREPLGridClientPluginManager.d.ts +32 -0
- package/lib/application/LegendREPLGridClientPluginManager.d.ts.map +1 -0
- package/lib/application/LegendREPLGridClientPluginManager.js +46 -0
- package/lib/application/LegendREPLGridClientPluginManager.js.map +1 -0
- package/lib/components/AgGrid.d.ts +22 -0
- package/lib/components/AgGrid.d.ts.map +1 -0
- package/lib/components/AgGrid.js +43 -0
- package/lib/components/AgGrid.js.map +1 -0
- package/lib/components/Core_LegendREPLGridClientApplicationPlugin.d.ts +23 -0
- package/lib/components/Core_LegendREPLGridClientApplicationPlugin.d.ts.map +1 -0
- package/lib/components/Core_LegendREPLGridClientApplicationPlugin.js +35 -0
- package/lib/components/Core_LegendREPLGridClientApplicationPlugin.js.map +1 -0
- package/lib/components/LegendREPLGridClientApplication.d.ts +24 -0
- package/lib/components/LegendREPLGridClientApplication.d.ts.map +1 -0
- package/lib/components/LegendREPLGridClientApplication.js +32 -0
- package/lib/components/LegendREPLGridClientApplication.js.map +1 -0
- package/lib/components/LegendREPLGridClientFrameworkProvider.d.ts +22 -0
- package/lib/components/LegendREPLGridClientFrameworkProvider.d.ts.map +1 -0
- package/lib/components/LegendREPLGridClientFrameworkProvider.js +29 -0
- package/lib/components/LegendREPLGridClientFrameworkProvider.js.map +1 -0
- package/lib/components/REPLGridClient.d.ts +18 -0
- package/lib/components/REPLGridClient.d.ts.map +1 -0
- package/lib/components/REPLGridClient.js +56 -0
- package/lib/components/REPLGridClient.js.map +1 -0
- package/lib/components/REPLGridClientStoreProvider.d.ts +22 -0
- package/lib/components/REPLGridClientStoreProvider.d.ts.map +1 -0
- package/lib/components/REPLGridClientStoreProvider.js +32 -0
- package/lib/components/REPLGridClientStoreProvider.js.map +1 -0
- package/lib/components/grid/GridUtils.d.ts +29 -0
- package/lib/components/grid/GridUtils.d.ts.map +1 -0
- package/lib/components/grid/GridUtils.js +152 -0
- package/lib/components/grid/GridUtils.js.map +1 -0
- package/lib/components/grid/REPLGridServerResult.d.ts +22 -0
- package/lib/components/grid/REPLGridServerResult.d.ts.map +1 -0
- package/lib/components/grid/REPLGridServerResult.js +26 -0
- package/lib/components/grid/REPLGridServerResult.js.map +1 -0
- package/lib/components/grid/ServerSideDataSource.d.ts +32 -0
- package/lib/components/grid/ServerSideDataSource.d.ts.map +1 -0
- package/lib/components/grid/ServerSideDataSource.js +107 -0
- package/lib/components/grid/ServerSideDataSource.js.map +1 -0
- package/lib/components/grid/TDSLambdaBuilder.d.ts +19 -0
- package/lib/components/grid/TDSLambdaBuilder.d.ts.map +1 -0
- package/lib/components/grid/TDSLambdaBuilder.js +277 -0
- package/lib/components/grid/TDSLambdaBuilder.js.map +1 -0
- package/lib/components/grid/TDSRequest.d.ts +90 -0
- package/lib/components/grid/TDSRequest.d.ts.map +1 -0
- package/lib/components/grid/TDSRequest.js +120 -0
- package/lib/components/grid/TDSRequest.js.map +1 -0
- package/lib/grid.css +17 -0
- package/lib/grid.css.map +1 -0
- package/lib/index.css +17 -0
- package/lib/index.css.map +1 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +37 -0
- package/lib/index.js.map +1 -0
- package/lib/package.json +88 -0
- package/lib/repl.css +17 -0
- package/lib/repl.css.map +1 -0
- package/lib/server/REPLServerClient.d.ts +28 -0
- package/lib/server/REPLServerClient.d.ts.map +1 -0
- package/lib/server/REPLServerClient.js +30 -0
- package/lib/server/REPLServerClient.js.map +1 -0
- package/lib/stores/LegendREPLGridClientApplicationPlugin.d.ts +26 -0
- package/lib/stores/LegendREPLGridClientApplicationPlugin.d.ts.map +1 -0
- package/lib/stores/LegendREPLGridClientApplicationPlugin.js +27 -0
- package/lib/stores/LegendREPLGridClientApplicationPlugin.js.map +1 -0
- package/lib/stores/LegendREPLGridClientBaseStore.d.ts +25 -0
- package/lib/stores/LegendREPLGridClientBaseStore.d.ts.map +1 -0
- package/lib/stores/LegendREPLGridClientBaseStore.js +24 -0
- package/lib/stores/LegendREPLGridClientBaseStore.js.map +1 -0
- package/lib/stores/REPLGridClientStore.d.ts +31 -0
- package/lib/stores/REPLGridClientStore.d.ts.map +1 -0
- package/lib/stores/REPLGridClientStore.js +101 -0
- package/lib/stores/REPLGridClientStore.js.map +1 -0
- package/lib/stores/REPLGridState.d.ts +38 -0
- package/lib/stores/REPLGridState.d.ts.map +1 -0
- package/lib/stores/REPLGridState.js +81 -0
- package/lib/stores/REPLGridState.js.map +1 -0
- package/package.json +88 -0
- package/src/Const.ts +27 -0
- package/src/application/LegendREPLGridClient.tsx +66 -0
- package/src/application/LegendREPLGridClientApplicationConfig.ts +64 -0
- package/src/application/LegendREPLGridClientPluginManager.ts +67 -0
- package/src/components/AgGrid.tsx +65 -0
- package/src/components/Core_LegendREPLGridClientApplicationPlugin.tsx +42 -0
- package/src/components/LegendREPLGridClientApplication.tsx +61 -0
- package/src/components/LegendREPLGridClientFrameworkProvider.tsx +63 -0
- package/src/components/REPLGridClient.tsx +157 -0
- package/src/components/REPLGridClientStoreProvider.tsx +61 -0
- package/src/components/grid/GridUtils.ts +190 -0
- package/src/components/grid/REPLGridServerResult.ts +30 -0
- package/src/components/grid/ServerSideDataSource.ts +184 -0
- package/src/components/grid/TDSLambdaBuilder.ts +413 -0
- package/src/components/grid/TDSRequest.ts +153 -0
- package/src/index.tsx +40 -0
- package/src/server/REPLServerClient.ts +74 -0
- package/src/stores/LegendREPLGridClientApplicationPlugin.ts +30 -0
- package/src/stores/LegendREPLGridClientBaseStore.ts +34 -0
- package/src/stores/REPLGridClientStore.ts +153 -0
- package/src/stores/REPLGridState.ts +102 -0
- package/tsconfig.json +66 -0
|
@@ -0,0 +1,34 @@
|
|
|
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 type { ApplicationStore } from '@finos/legend-application';
|
|
18
|
+
import type { LegendREPLGridClientApplicationConfig } from '../application/LegendREPLGridClientApplicationConfig.js';
|
|
19
|
+
import type { LegendREPLGridClientPluginManager } from '../application/LegendREPLGridClientPluginManager.js';
|
|
20
|
+
|
|
21
|
+
export type LegendREPLGridClientApplicationStore = ApplicationStore<
|
|
22
|
+
LegendREPLGridClientApplicationConfig,
|
|
23
|
+
LegendREPLGridClientPluginManager
|
|
24
|
+
>;
|
|
25
|
+
|
|
26
|
+
export class LegendREPLGridClientBaseStore {
|
|
27
|
+
readonly applicationStore: LegendREPLGridClientApplicationStore;
|
|
28
|
+
readonly pluginManager: LegendREPLGridClientPluginManager;
|
|
29
|
+
|
|
30
|
+
constructor(applicationStore: LegendREPLGridClientApplicationStore) {
|
|
31
|
+
this.applicationStore = applicationStore;
|
|
32
|
+
this.pluginManager = applicationStore.pluginManager;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
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 type { LegendREPLGridClientApplicationStore } from './LegendREPLGridClientBaseStore.js';
|
|
18
|
+
import { REPLServerClient } from '../server/REPLServerClient.js';
|
|
19
|
+
import {
|
|
20
|
+
NetworkClient,
|
|
21
|
+
type GeneratorFn,
|
|
22
|
+
type PlainObject,
|
|
23
|
+
assertErrorThrown,
|
|
24
|
+
LogEvent,
|
|
25
|
+
guaranteeNonNullable,
|
|
26
|
+
guaranteeType,
|
|
27
|
+
} from '@finos/legend-shared';
|
|
28
|
+
import type { TDSRequest } from '../components/grid/TDSRequest.js';
|
|
29
|
+
import { flow, flowResult, makeObservable, observable } from 'mobx';
|
|
30
|
+
import { REPLGridServerResult } from '../components/grid/REPLGridServerResult.js';
|
|
31
|
+
import { LEGEND_REPL_EVENT } from '../Const.js';
|
|
32
|
+
import { REPLGridState } from './REPLGridState.js';
|
|
33
|
+
import { buildLambdaExpressions } from '../components/grid/TDSLambdaBuilder.js';
|
|
34
|
+
import {
|
|
35
|
+
type V1_TDSExecutionResult,
|
|
36
|
+
TDSExecutionResult,
|
|
37
|
+
V1_Lambda,
|
|
38
|
+
V1_buildExecutionResult,
|
|
39
|
+
V1_deserializeValueSpecification,
|
|
40
|
+
V1_serializeExecutionResult,
|
|
41
|
+
V1_serializeValueSpecification,
|
|
42
|
+
} from '@finos/legend-graph';
|
|
43
|
+
|
|
44
|
+
export class REPLGridClientStore {
|
|
45
|
+
readonly applicationStore: LegendREPLGridClientApplicationStore;
|
|
46
|
+
readonly client: REPLServerClient;
|
|
47
|
+
replGridState!: REPLGridState;
|
|
48
|
+
|
|
49
|
+
constructor(applicationStore: LegendREPLGridClientApplicationStore) {
|
|
50
|
+
makeObservable(this, {
|
|
51
|
+
replGridState: observable,
|
|
52
|
+
getREPLGridServerResult: flow,
|
|
53
|
+
getInitialQueryLambda: flow,
|
|
54
|
+
getInitialREPLGridServerResult: flow,
|
|
55
|
+
getLicenseKey: flow,
|
|
56
|
+
});
|
|
57
|
+
this.applicationStore = applicationStore;
|
|
58
|
+
this.client = new REPLServerClient(
|
|
59
|
+
new NetworkClient({
|
|
60
|
+
baseUrl: this.applicationStore.config.useDynamicREPLServer
|
|
61
|
+
? window.location.origin
|
|
62
|
+
: this.applicationStore.config.replUrl,
|
|
63
|
+
}),
|
|
64
|
+
);
|
|
65
|
+
this.replGridState = new REPLGridState();
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
*getREPLGridServerResult(tdsRequest: TDSRequest): GeneratorFn<void> {
|
|
69
|
+
try {
|
|
70
|
+
const isSubQuery = tdsRequest.groupBy.groupKeys.length !== 0;
|
|
71
|
+
const lambda = buildLambdaExpressions(
|
|
72
|
+
guaranteeNonNullable(this.replGridState.initialQueryLambda?.body[0]),
|
|
73
|
+
tdsRequest,
|
|
74
|
+
);
|
|
75
|
+
const resultObj = (yield flowResult(
|
|
76
|
+
this.client.getREPLGridServerResult(
|
|
77
|
+
V1_serializeValueSpecification(lambda, []),
|
|
78
|
+
),
|
|
79
|
+
)) as PlainObject<REPLGridServerResult>;
|
|
80
|
+
const replGridResult =
|
|
81
|
+
REPLGridServerResult.serialization.fromJson(resultObj);
|
|
82
|
+
const tdsResult = JSON.parse(
|
|
83
|
+
replGridResult.result,
|
|
84
|
+
) as PlainObject<V1_TDSExecutionResult>;
|
|
85
|
+
this.replGridState.setCurrentResult(
|
|
86
|
+
guaranteeType(
|
|
87
|
+
V1_buildExecutionResult(V1_serializeExecutionResult(tdsResult)),
|
|
88
|
+
TDSExecutionResult,
|
|
89
|
+
),
|
|
90
|
+
);
|
|
91
|
+
if (isSubQuery) {
|
|
92
|
+
this.replGridState.setCurrentSubQuery(replGridResult.currentQuery);
|
|
93
|
+
} else {
|
|
94
|
+
this.replGridState.setCurrentQuery(replGridResult.currentQuery);
|
|
95
|
+
this.replGridState.setCurrentSubQuery(undefined);
|
|
96
|
+
}
|
|
97
|
+
} catch (error) {
|
|
98
|
+
assertErrorThrown(error);
|
|
99
|
+
this.applicationStore.notificationService.notifyError(error);
|
|
100
|
+
this.applicationStore.logService.error(
|
|
101
|
+
LogEvent.create(LEGEND_REPL_EVENT.FETCH_TDS_FAILURE),
|
|
102
|
+
error,
|
|
103
|
+
);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
*getInitialQueryLambda(): GeneratorFn<void> {
|
|
108
|
+
const lambdaObj =
|
|
109
|
+
(yield this.client.getIntialQueryLambda()) as PlainObject<V1_Lambda>;
|
|
110
|
+
const lambda = V1_deserializeValueSpecification(lambdaObj, []);
|
|
111
|
+
if (lambda instanceof V1_Lambda) {
|
|
112
|
+
this.replGridState.setInitialQueryLambda(lambda);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
*getInitialREPLGridServerResult(): GeneratorFn<void> {
|
|
117
|
+
try {
|
|
118
|
+
if (!this.replGridState.licenseKey) {
|
|
119
|
+
yield flowResult(this.getLicenseKey());
|
|
120
|
+
}
|
|
121
|
+
if (!this.replGridState.initialQueryLambda) {
|
|
122
|
+
yield flowResult(this.getInitialQueryLambda());
|
|
123
|
+
}
|
|
124
|
+
const resultObj =
|
|
125
|
+
(yield this.client.getInitialREPLGridServerResult()) as PlainObject<REPLGridServerResult>;
|
|
126
|
+
const replGridResult =
|
|
127
|
+
REPLGridServerResult.serialization.fromJson(resultObj);
|
|
128
|
+
const tdsResultObj = JSON.parse(
|
|
129
|
+
replGridResult.result,
|
|
130
|
+
) as PlainObject<V1_TDSExecutionResult>;
|
|
131
|
+
const tdsResult = guaranteeType(
|
|
132
|
+
V1_buildExecutionResult(V1_serializeExecutionResult(tdsResultObj)),
|
|
133
|
+
TDSExecutionResult,
|
|
134
|
+
);
|
|
135
|
+
this.replGridState.setInitialResult(tdsResult);
|
|
136
|
+
this.replGridState.setCurrentQuery(replGridResult.currentQuery);
|
|
137
|
+
this.replGridState.setCurrentSubQuery(undefined);
|
|
138
|
+
this.replGridState.setColumns(tdsResult.result.columns);
|
|
139
|
+
} catch (error) {
|
|
140
|
+
assertErrorThrown(error);
|
|
141
|
+
this.applicationStore.notificationService.notifyError(error);
|
|
142
|
+
this.applicationStore.logService.error(
|
|
143
|
+
LogEvent.create(LEGEND_REPL_EVENT.FETCH_TDS_FAILURE),
|
|
144
|
+
error,
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
*getLicenseKey(): GeneratorFn<void> {
|
|
150
|
+
const licenseKey = (yield this.client.getLicenseKey()) as string;
|
|
151
|
+
this.replGridState.setLicenseKey(licenseKey);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
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 { guaranteeNonNullable } from '@finos/legend-shared';
|
|
18
|
+
import {
|
|
19
|
+
getAggregationTDSColumnCustomizations,
|
|
20
|
+
getTDSRowData,
|
|
21
|
+
type TDSRowDataType,
|
|
22
|
+
} from '../components/grid/GridUtils.js';
|
|
23
|
+
import { action, computed, makeObservable, observable } from 'mobx';
|
|
24
|
+
import type { ColDef } from '@ag-grid-community/core';
|
|
25
|
+
import type { V1_Lambda, TDSExecutionResult } from '@finos/legend-graph';
|
|
26
|
+
|
|
27
|
+
export class REPLGridState {
|
|
28
|
+
initialResult?: TDSExecutionResult | undefined;
|
|
29
|
+
currentResult?: TDSExecutionResult | undefined;
|
|
30
|
+
columns?: string[] | undefined;
|
|
31
|
+
currentQuery?: string | undefined;
|
|
32
|
+
currentSubQuery?: string | undefined;
|
|
33
|
+
licenseKey?: string | undefined;
|
|
34
|
+
initialQueryLambda?: V1_Lambda | undefined;
|
|
35
|
+
|
|
36
|
+
constructor() {
|
|
37
|
+
makeObservable(this, {
|
|
38
|
+
initialResult: observable,
|
|
39
|
+
initialQueryLambda: observable,
|
|
40
|
+
currentResult: observable,
|
|
41
|
+
currentQuery: observable,
|
|
42
|
+
currentSubQuery: observable,
|
|
43
|
+
licenseKey: observable,
|
|
44
|
+
columns: observable,
|
|
45
|
+
setInitialResult: action,
|
|
46
|
+
setCurrentQuery: action,
|
|
47
|
+
setCurrentSubQuery: action,
|
|
48
|
+
setColumns: action,
|
|
49
|
+
setInitialQueryLambda: action,
|
|
50
|
+
setCurrentResult: action,
|
|
51
|
+
setLicenseKey: action,
|
|
52
|
+
rowData: computed,
|
|
53
|
+
columnDefs: computed,
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
setInitialQueryLambda(val: V1_Lambda | undefined): void {
|
|
58
|
+
this.initialQueryLambda = val;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
setCurrentQuery(val: string | undefined): void {
|
|
62
|
+
this.currentQuery = val;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
setCurrentSubQuery(val: string | undefined): void {
|
|
66
|
+
this.currentSubQuery = val;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
setInitialResult(val: TDSExecutionResult | undefined): void {
|
|
70
|
+
this.initialResult = val;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
setCurrentResult(val: TDSExecutionResult | undefined): void {
|
|
74
|
+
this.currentResult = val;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
setColumns(val: string[]): void {
|
|
78
|
+
this.columns = val;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
setLicenseKey(val: string | undefined): void {
|
|
82
|
+
this.licenseKey = val;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
get rowData(): TDSRowDataType[] {
|
|
86
|
+
return this.initialResult ? getTDSRowData(this.initialResult.result) : [];
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
get columnDefs(): ColDef[] {
|
|
90
|
+
return this.columns
|
|
91
|
+
? this.columns.map((c) => ({
|
|
92
|
+
field: c,
|
|
93
|
+
headerName: c,
|
|
94
|
+
...getAggregationTDSColumnCustomizations(
|
|
95
|
+
this.licenseKey ? true : false,
|
|
96
|
+
guaranteeNonNullable(this.initialResult),
|
|
97
|
+
c,
|
|
98
|
+
),
|
|
99
|
+
}))
|
|
100
|
+
: [];
|
|
101
|
+
}
|
|
102
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
},
|
|
29
|
+
"references": [
|
|
30
|
+
{
|
|
31
|
+
"path": "./tsconfig.package.json"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"files": [
|
|
35
|
+
"./src/Const.ts",
|
|
36
|
+
"./src/application/LegendREPLGridClientApplicationConfig.ts",
|
|
37
|
+
"./src/application/LegendREPLGridClientPluginManager.ts",
|
|
38
|
+
"./src/components/grid/GridUtils.ts",
|
|
39
|
+
"./src/components/grid/REPLGridServerResult.ts",
|
|
40
|
+
"./src/components/grid/ServerSideDataSource.ts",
|
|
41
|
+
"./src/components/grid/TDSLambdaBuilder.ts",
|
|
42
|
+
"./src/components/grid/TDSRequest.ts",
|
|
43
|
+
"./src/server/REPLServerClient.ts",
|
|
44
|
+
"./src/stores/LegendREPLGridClientApplicationPlugin.ts",
|
|
45
|
+
"./src/stores/LegendREPLGridClientBaseStore.ts",
|
|
46
|
+
"./src/stores/REPLGridClientStore.ts",
|
|
47
|
+
"./src/stores/REPLGridState.ts",
|
|
48
|
+
"./src/index.tsx",
|
|
49
|
+
"./src/application/LegendREPLGridClient.tsx",
|
|
50
|
+
"./src/components/AgGrid.tsx",
|
|
51
|
+
"./src/components/Core_LegendREPLGridClientApplicationPlugin.tsx",
|
|
52
|
+
"./src/components/LegendREPLGridClientApplication.tsx",
|
|
53
|
+
"./src/components/LegendREPLGridClientFrameworkProvider.tsx",
|
|
54
|
+
"./src/components/REPLGridClient.tsx",
|
|
55
|
+
"./src/components/REPLGridClientStoreProvider.tsx"
|
|
56
|
+
],
|
|
57
|
+
"include": [
|
|
58
|
+
"src/**/*.ts",
|
|
59
|
+
"src/**/*.tsx",
|
|
60
|
+
"src/**/*.json"
|
|
61
|
+
],
|
|
62
|
+
"exclude": [
|
|
63
|
+
"src/**/__tests__/**/*.*",
|
|
64
|
+
"src/**/__mocks__/**/*.*"
|
|
65
|
+
]
|
|
66
|
+
}
|