You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`employmentId`|`string \| undefined`| Employment ID passed useful to be used between components |
796
-
|`creditRiskStatus`|`'not_started' \| 'ready' \| 'in_progress' \| 'referred' \| 'fail' \| 'deposit_required' \| 'no_deposit_required' \| undefined`| Credit risk status of the company, useful to know what to show in the review step |
797
-
|`stepState`|`{ currentStep: { name: string; index: number }; totalSteps: number; values: Record<string, any> } }`| Current step state containing the current step and total number of steps |
798
-
|`fields`|`Fields[]`| Array of form fields from the onboarding schema for the current step |
799
-
|`isLoading`|`boolean`| Loading state indicating if the onboarding schema is being fetched |
800
-
|`isSubmitting`|`boolean`| Loading state indicating if the onboarding mutation is in progress |
801
-
|`initialValues`|`Record<string, any>`| Initial form values for the current step |
802
-
|`handleValidation`|`(values: FieldValues) => ValidationResult \| null`| Function to validate form values against the onboarding schema |
803
-
|`checkFieldUpdates`|`(values: FieldValues) => void`| Function to update the current form field values |
804
-
|`parseFormValues`|`(values: FieldValues) => any`| Function to parse form values before submission |
805
-
|`onSubmit`|`(values: FieldValues) => Promise<any>`| Function to handle form submission |
806
-
|`back`|`() => void`| Function to handle going back to the previous step |
807
-
|`next`|`() => void`| Function to handle going to the next step |
808
-
|`goTo`|`(step: string) => void`| Function to handle going to a specific step |
809
-
|`meta`|`{ fields: Record<string, any> }`| Fields metadata for each step with prettified values |
810
-
|`refetchEmployment`|`() => void`| Function to refetch the employment data |
811
-
|`employment`|`Employment \| undefined`| Employment data object |
812
-
|`isEmploymentReadOnly`|`boolean`| Indicates that the employment cannot be edited (happens when employment.status is `invited`, `created_awaiting_reserve`, or`created_reserve_paid`) |
|`employmentId`|`string \| undefined`| Employment ID passed useful to be used between components |
796
+
|`creditRiskStatus`|`'not_started' \| 'ready' \| 'in_progress' \| 'referred' \| 'fail' \| 'deposit_required' \| 'no_deposit_required' \| undefined`| Credit risk status of the company, useful to know what to show in the review step |
797
+
|`stepState`|`{ currentStep: { name: string; index: number }; totalSteps: number; values: Record<string, any> } }`| Current step state containing the current step and total number of steps |
798
+
|`fields`|`Fields[]`| Array of form fields from the onboarding schema for the current step |
799
+
|`isLoading`|`boolean`| Loading state indicating if the onboarding schema is being fetched |
800
+
|`isSubmitting`|`boolean`| Loading state indicating if the onboarding mutation is in progress |
801
+
|`initialValues`|`Record<string, any>`| Initial form values for the current step |
802
+
|`handleValidation`|`(values: FieldValues) => ValidationResult \| null`| Function to validate form values against the onboarding schema |
803
+
|`checkFieldUpdates`|`(values: FieldValues) => void`| Function to update the current form field values |
804
+
|`parseFormValues`|`(values: FieldValues) => any`| Function to parse form values before submission |
805
+
|`onSubmit`|`(values: FieldValues) => Promise<any>`| Function to handle form submission |
806
+
|`back`|`() => void`| Function to handle going back to the previous step |
807
+
|`next`|`() => void`| Function to handle going to the next step |
808
+
|`goTo`|`(step: string) => void`| Function to handle going to a specific step |
809
+
|`meta`|`{ fields: Record<string, any> }`| Fields metadata for each step with prettified values |
810
+
|`refetchEmployment`|`() => void`| Function to refetch the employment data |
811
+
|`employment`|`Employment \| undefined`| Employment data object |
812
+
|`isEmploymentReadOnly`|`boolean`| Indicates that the employment cannot be edited (happens when employment.status is `invited`, `created_awaiting_reserve`, `initiated` and`created_reserve_paid`) |
0 commit comments