@finos/legend-application-studio
Version:
Legend Studio application core
32 lines • 3 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 PackageableElement, PackageableElementReference, type ConfigurationProperty, type GenerationSpecification, FileGenerationSpecification, GenerationTreeNode } from '@finos/legend-graph';
export declare const configurationProperty_setValue: (cp: ConfigurationProperty, value: unknown) => void;
export declare const configurationProperty_addConfigurationProperty: (configurationProperties: ConfigurationProperty[], cp: ConfigurationProperty) => void;
export declare const fileGeneration_setType: (fg: FileGenerationSpecification, value: string) => void;
export declare const fileGeneration_setGenerationOutputPath: (fg: FileGenerationSpecification, val?: string) => void;
export declare const fileGeneration_setScopeElements: (fg: FileGenerationSpecification, value: (PackageableElementReference<PackageableElement> | string)[]) => void;
export declare const fileGeneration_addScopeElement: (fg: FileGenerationSpecification, value: PackageableElementReference<PackageableElement> | string) => void;
export declare const fileGeneration_deleteScopeElement: (fg: FileGenerationSpecification, value: PackageableElementReference<PackageableElement> | string) => void;
export declare const fileGeneration_changeScopeElement: (fg: FileGenerationSpecification, oldValue: PackageableElementReference<PackageableElement> | string, newValue: PackageableElementReference<PackageableElement> | string) => void;
export declare const generationSpecification_addNode: (genSpec: GenerationSpecification, value: GenerationTreeNode) => void;
export declare const generationSpecification_addFileGeneration: (genSpec: GenerationSpecification, value: FileGenerationSpecification) => void;
export declare const createObservableFileGeneration: () => FileGenerationSpecification;
export declare const generationSpecification_deleteFileGeneration: (genSpec: GenerationSpecification, value: PackageableElementReference<FileGenerationSpecification>) => void;
export declare const generationSpecification_setId: (treeNode: GenerationTreeNode, val: string) => void;
export declare const generationSpecification_deleteGenerationNode: (genSpec: GenerationSpecification, value: GenerationTreeNode) => void;
export declare const generationSpecification_addGenerationElement: (genSpec: GenerationSpecification, element: PackageableElement) => void;
//# sourceMappingURL=DSL_Generation_GraphModifierHelper.d.ts.map