@zealicsolutions/web-ui 0.3.151 → 0.3.153

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,16 +1,11 @@
1
1
  import { DataConnectionValues } from 'containers/types/moleculeTypes';
2
2
  import { Dispatch, SetStateAction } from 'react';
3
3
  import type { AnyObject } from 'typescript';
4
- declare type UseSetFormDataProps<DefaultValueType> = Partial<{
5
- defaultValue: DefaultValueType;
4
+ declare type UseSetFormDataProps<DefaultValueType> = {
5
+ defaultValue?: DefaultValueType;
6
6
  dataModelField: DataConnectionValues;
7
7
  setFormData: Dispatch<SetStateAction<AnyObject>>;
8
8
  fieldName: string;
9
- }>;
10
- export declare const useSetFormData: <DefaultValueType>({ setFormData, defaultValue, dataModelField, fieldName, }: Partial<{
11
- defaultValue: DefaultValueType;
12
- dataModelField: DataConnectionValues;
13
- setFormData: Dispatch<SetStateAction<AnyObject>>;
14
- fieldName: string;
15
- }>) => void;
9
+ };
10
+ export declare const useSetFormData: <DefaultValueType>({ setFormData, defaultValue, dataModelField, fieldName, }: UseSetFormDataProps<DefaultValueType>) => void;
16
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.3.151",
3
+ "version": "0.3.153",
4
4
  "testVersion": "0.3.146",
5
5
  "repository": {
6
6
  "type": "git",