Просмотр исходного кода

chore: export errors and warnings form form and editor

YuanHeDx 10 месяцев назад
Родитель
Сommit
e5855511ad
2 измененных файлов с 6 добавлено и 2 удалено
  1. 3 1
      packages/client/editor/src/index.ts
  2. 3 1
      packages/node-engine/form/src/index.ts

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

@@ -26,7 +26,9 @@ export type {
   FieldWarning,
   IField,
   IFieldArray,
-  IForm
+  IForm,
+  Errors,
+  Warnings
 } from '@flowgram.ai/form';
 
 export {

+ 3 - 1
packages/node-engine/form/src/index.ts

@@ -14,7 +14,9 @@ export type {
   FieldValue,
   FieldArray as IFieldArray,
   Field as IField,
-  Form as IForm
+  Form as IForm,
+  Errors,
+  Warnings
 } from './types';
 
 export { ValidateTrigger } from './types';