OnboardingPozoAppv1/src/types.ts

33 lines
877 B
TypeScript
Raw Normal View History

export type OnboardingStep =
| 'welcome'
| 'mobile-login'
| 'otp-verification'
| 'business-setup'
| 'customize-setup'
| 'setup-complete';
export interface BusinessFeatures {
barcodeScanner: boolean;
kotManagement: boolean;
inventoryAlerts: boolean;
}
export interface OnboardingState {
step: OnboardingStep;
mobileNumber: string;
otpCode: string[];
businessName: string;
businessType: string;
gstin: string;
features: BusinessFeatures;
}
export const BUSINESS_TYPES = [
{ id: 'supermarket', name: 'Supermarket', icon: 'shopping_cart' },
{ id: 'restaurant', name: 'Restaurant', icon: 'restaurant' },
{ id: 'clothing', name: 'Clothing', icon: 'checkroom' },
{ id: 'kirana', name: 'Kirana', icon: 'local_mall' },
{ id: 'grocers', name: 'Grocers', icon: 'storefront' },
{ id: 'others', name: 'Others', icon: 'grid_view' }
] as const;