Преглед изворни кода

feat: editor export inversify api

xiamidaxia пре 9 месеци
родитељ
комит
64b191fa11
1 измењених фајлова са 12 додато и 1 уклоњено
  1. 12 1
      packages/client/editor/src/index.ts

+ 12 - 1
packages/client/editor/src/index.ts

@@ -10,6 +10,17 @@ export * from '@flowgram.ai/variable-plugin';
 export * from '@flowgram.ai/shortcuts-plugin';
 export * from '@flowgram.ai/node-core-plugin';
 export * from '@flowgram.ai/i18n-plugin';
+export {
+  type interfaces,
+  injectable,
+  postConstruct,
+  named,
+  Container,
+  ContainerModule,
+  AsyncContainerModule,
+  inject,
+  multiInject,
+} from 'inversify';
 
 export { FlowNodeFormData, NodeRender, type NodeRenderProps } from '@flowgram.ai/form-core';
 
@@ -28,7 +39,7 @@ export type {
   IFieldArray,
   IForm,
   Errors,
-  Warnings
+  Warnings,
 } from '@flowgram.ai/form';
 
 export {