mirror of
https://gitee.com/ByteDance/flowgram.ai.git
synced 2025-07-07 17:43:29 +08:00
* chore: add license-header * chore: add precommit * chore: add license header * fix: only js & shell style
16 lines
541 B
TypeScript
16 lines
541 B
TypeScript
/**
|
||
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
||
* SPDX-License-Identifier: MIT
|
||
*/
|
||
|
||
import { interfaces } from 'inversify';
|
||
|
||
import { type VariableEngine } from './variable-engine';
|
||
|
||
// 动态获取 variableEngine,防止出现引用 variableEngine 导致的循环依赖
|
||
export const VariableEngineProvider = Symbol('DynamicVariableEngine');
|
||
export type VariableEngineProvider = () => VariableEngine;
|
||
|
||
export const ContainerProvider = Symbol('ContainerProvider');
|
||
export type ContainerProvider = () => interfaces.Container;
|