@finos/legend-graph
Version:
Legend graph and graph manager
28 lines • 1.87 kB
TypeScript
/**
* 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.
*/
import { type LambdaFunction } from '../metamodel/pure/valueSpecification/LambdaFunction.js';
import type { ValueSpecification } from '../metamodel/pure/valueSpecification/ValueSpecification.js';
import type { Type } from '../metamodel/pure/packageableElements/domain/Type.js';
import { PrimitiveInstanceValue } from '../metamodel/pure/valueSpecification/InstanceValue.js';
import { RelationType } from '../metamodel/pure/packageableElements/relation/RelationType.js';
import type { Mapping } from '../metamodel/pure/packageableElements/mapping/Mapping.js';
import type { PackageableRuntime } from '../metamodel/pure/packageableElements/runtime/PackageableRuntime.js';
export declare const getRelationTypeGenericType: (val: ValueSpecification) => RelationType | undefined;
export declare const getValueSpecificationReturnType: (val: ValueSpecification) => Type | undefined;
export declare const createPrimitiveInstance_String: (val: string) => PrimitiveInstanceValue;
export declare const createPrimitiveInstance_Integer: (val: number) => PrimitiveInstanceValue;
export declare const attachFromQuery: (lambdaFunc: LambdaFunction, mapping: Mapping, runtimePointer: PackageableRuntime) => LambdaFunction;
//# sourceMappingURL=ValueSpecificationHelper.d.ts.map