Start integrating the onboarding flow with backend 8

This commit is contained in:
Urtzi Alfaro
2025-09-05 22:51:39 +02:00
parent 548a2ddd11
commit 905f848573
5 changed files with 5 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ import { useModal } from '../../../../hooks/ui/useModal';
import { useToast } from '../../../../hooks/ui/useToast'; import { useToast } from '../../../../hooks/ui/useToast';
import { useOnboarding } from '../../../../hooks/business/onboarding'; import { useOnboarding } from '../../../../hooks/business/onboarding';
import { useAuthUser, useAuthLoading } from '../../../../stores/auth.store'; import { useAuthUser, useAuthLoading } from '../../../../stores/auth.store';
import { useCurrentTenant, useTenantLoading } from '../../../../stores/tenant.store'; import { useCurrentTenant, useTenantLoading } from '../../../../stores';
type ProcessingStage = 'upload' | 'validating' | 'analyzing' | 'completed' | 'error'; type ProcessingStage = 'upload' | 'validating' | 'analyzing' | 'completed' | 'error';

View File

@@ -4,7 +4,7 @@ import { Button, Card, Badge } from '../../../ui';
import { OnboardingStepProps } from '../OnboardingWizard'; import { OnboardingStepProps } from '../OnboardingWizard';
import { useOnboarding } from '../../../../hooks/business/onboarding'; import { useOnboarding } from '../../../../hooks/business/onboarding';
import { useAuthUser } from '../../../../stores/auth.store'; import { useAuthUser } from '../../../../stores/auth.store';
import { useCurrentTenant } from '../../../../stores/tenant.store'; import { useCurrentTenant } from '../../../../stores';
// Type definitions for training messages (will be moved to API types later) // Type definitions for training messages (will be moved to API types later)
interface TrainingProgressMessage { interface TrainingProgressMessage {

View File

@@ -5,7 +5,7 @@ import { OnboardingStepProps } from '../OnboardingWizard';
import { useModal } from '../../../../hooks/ui/useModal'; import { useModal } from '../../../../hooks/ui/useModal';
import { useToast } from '../../../../hooks/ui/useToast'; import { useToast } from '../../../../hooks/ui/useToast';
import { useAuthUser } from '../../../../stores/auth.store'; import { useAuthUser } from '../../../../stores/auth.store';
import { useCurrentTenant } from '../../../../stores/tenant.store'; import { useCurrentTenant } from '../../../../stores';
// TODO: Import procurement service from new API when available // TODO: Import procurement service from new API when available
// Frontend supplier interface that matches the form needs // Frontend supplier interface that matches the form needs

View File

@@ -31,7 +31,7 @@ import {
ExternalLink ExternalLink
} from 'lucide-react'; } from 'lucide-react';
import { useAuthUser } from '../../../../stores/auth.store'; import { useAuthUser } from '../../../../stores/auth.store';
import { useCurrentTenant } from '../../../../stores/tenant.store'; import { useCurrentTenant } from '../../../../stores';
import { useToast } from '../../../../hooks/ui/useToast'; import { useToast } from '../../../../hooks/ui/useToast';
import { import {
subscriptionService, subscriptionService,

View File

@@ -31,7 +31,7 @@ import {
ExternalLink ExternalLink
} from 'lucide-react'; } from 'lucide-react';
import { useAuth } from '../../../../hooks/api/useAuth'; import { useAuth } from '../../../../hooks/api/useAuth';
import { useCurrentTenant } from '../../../../stores/tenant.store'; import { useCurrentTenant } from '../../../../stores';
import { useToast } from '../../../../hooks/ui/useToast'; import { useToast } from '../../../../hooks/ui/useToast';
import { import {
subscriptionService, subscriptionService,