瀏覽代碼

chore: export errors and warnings form form and editor

YuanHeDx 10 月之前
父節點
當前提交
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,
   FieldWarning,
   IField,
   IField,
   IFieldArray,
   IFieldArray,
-  IForm
+  IForm,
+  Errors,
+  Warnings
 } from '@flowgram.ai/form';
 } from '@flowgram.ai/form';
 
 
 export {
 export {

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

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