Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
YannanGao-gs committed Oct 24, 2024
1 parent 6de1cac commit 28e8963
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@

import type { LegendApplicationPlugin } from '@finos/legend-application';
import type { QueryBuilderState } from './QueryBuilderState.js';
import type {
FunctionAnalysisInfo,
QuerySearchSpecification,
RawLambda,
} from '@finos/legend-graph';
import type { QuerySearchSpecification, RawLambda } from '@finos/legend-graph';
import type {
DataAccessState,
DatasetAccessInfo,
Expand Down Expand Up @@ -104,11 +100,6 @@ export type QueryBuilderPropagateExecutionContextChangeHelper = (
isGraphBuildingNotRequired?: boolean,
) => (() => Promise<void>) | undefined;

export type QueryBuilderExtraFunctionHelper = {
functionInfoMap: Map<string, FunctionAnalysisInfo>;
dependencyFunctionInfoMap: Map<string, FunctionAnalysisInfo>;
};

export interface QueryBuilder_LegendApplicationPlugin_Extension
extends LegendApplicationPlugin {
/**
Expand Down Expand Up @@ -177,11 +168,4 @@ export interface QueryBuilder_LegendApplicationPlugin_Extension
* Get the list of Query Builder Propagate Execution Context Change Helper
*/
getExtraQueryBuilderPropagateExecutionContextChangeHelper?(): QueryBuilderPropagateExecutionContextChangeHelper[];

/**
* Get the list of extra functions rendered in query builder function explorer
*/
getExtraQueryBuilderFunctionHelper?(
queryBuilderState: QueryBuilderState,
): QueryBuilderExtraFunctionHelper[];
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
'use strict';
/**
* Copyright (c) 2020-present, Goldman Sachs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
exports.__esModule = true;

0 comments on commit 28e8963

Please sign in to comment.