container-module.tsx 442 B

123456789101112131415
  1. /**
  2. * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
  3. * SPDX-License-Identifier: MIT
  4. */
  5. import { ContainerModule } from 'inversify';
  6. import { JsonSchemaTypeManager } from './json-schema';
  7. import { BaseTypeManager } from './base';
  8. export const TypeManager = Symbol('TypeManager');
  9. export const jsonSchemaContainerModule = new ContainerModule((bind) => {
  10. bind(BaseTypeManager).to(JsonSchemaTypeManager).inSingletonScope();
  11. });