autoforma 2.9.92 → 2.9.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56,7 +56,9 @@ export interface FieldSchemaRegistry {
56
56
  array: ArrayFieldSchema;
57
57
  object: ObjectFieldSchema;
58
58
  }
59
- export type FieldSchema = FieldSchemaRegistry[keyof FieldSchemaRegistry];
59
+ export interface CustomFieldSchemaMap {
60
+ }
61
+ export type FieldSchema = FieldSchemaRegistry[keyof FieldSchemaRegistry] | CustomFieldSchemaMap[keyof CustomFieldSchemaMap];
60
62
  export type Schema = FieldSchema[];
61
63
  export type UpdateFieldSchema = {
62
64
  [key: string]: (path: string, fieldSchema: FieldSchema, values: FormValues) => FieldSchema | Promise<FieldSchema>;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export { default as AutoForm } from './autoform/core/AutoForm';
2
- export type { FieldSchema, Schema, FieldType, Layout, FormProps, FormRef, UiConfig, UpdateFieldSchema, CustomRender, } from './autoform/types';
2
+ export type { FieldSchema, Schema, Layout, FormProps, FormRef, UiConfig, UpdateFieldSchema, CustomRender, CustomFieldRendererProps, BaseFieldSchema, } from './autoform/types';
3
3
  export * from './autoform/utils';
4
4
  export { default as SchemaRenderer } from './autoform/render/SchemaRenderer';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoforma",
3
- "version": "2.9.92",
3
+ "version": "2.9.95",
4
4
  "description": "AutoForma is a headless dynamic form builder based on React Hook Form",
5
5
  "type": "module",
6
6
  "sideEffects": false,