@finos/legend-graph
Version:
Legend graph and graph manager
36 lines • 2.21 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 PlainObject } from '@finos/legend-shared';
import { V1_PackageableRuntime } from '../../../model/packageableElements/runtime/V1_PackageableRuntime.js';
import { type V1_Runtime, V1_EngineRuntime, V1_RuntimePointer } from '../../../model/packageableElements/runtime/V1_Runtime.js';
import type { PureProtocolProcessorPlugin } from '../../../../PureProtocolProcessorPlugin.js';
export declare const V1_PACKAGEABLE_RUNTIME_ELEMENT_PROTOCOL_TYPE = "runtime";
export declare enum V1_RuntimeType {
RUNTIME_POINTER = "runtimePointer",
LEGACY_RUNTIME = "legacyRuntime",
ENGINE_RUNTIME = "engineRuntime",
SINGLE_ENGINE_RUNTIME = "localEngineRuntime",
LAKEHOUSE_RUNTIME = "LakeRuntime"
}
export declare const V1_runtimePointerModelSchema: import("serializr").ModelSchema<V1_RuntimePointer>;
export declare const V1_setupLegacyRuntimeSerialization: (plugins: PureProtocolProcessorPlugin[]) => void;
export declare const V1_setupEngineRuntimeSerialization: (plugins: PureProtocolProcessorPlugin[]) => void;
export declare const V1_serializeRuntime: (protocol: V1_Runtime) => PlainObject<V1_Runtime>;
export declare const V1_deserializeRuntime: (json: PlainObject<V1_Runtime>) => V1_Runtime;
export declare const V1_serializeRuntimeValue: (protocol: V1_EngineRuntime) => PlainObject<V1_EngineRuntime>;
export declare const V1_deserializeRuntimeValue: (json: PlainObject<V1_Runtime>) => V1_EngineRuntime;
export declare const V1_packageableRuntimeModelSchema: import("serializr").ModelSchema<V1_PackageableRuntime>;
//# sourceMappingURL=V1_RuntimeSerializationHelper.d.ts.map