Marketplace móvil para negocios locales mexicanos. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React Web) - apps/mobile (Expo/React Native) - apps/mcp-server (Claude MCP Server) - apps/whatsapp-service (WhatsApp Business API) - database/ (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
674 B
TypeScript
31 lines
674 B
TypeScript
import { Tenant } from './tenant.entity';
|
|
export declare enum UserRole {
|
|
OWNER = "owner",
|
|
ADMIN = "admin",
|
|
EMPLOYEE = "employee"
|
|
}
|
|
export declare enum UserStatus {
|
|
ACTIVE = "active",
|
|
INACTIVE = "inactive",
|
|
SUSPENDED = "suspended"
|
|
}
|
|
export declare class User {
|
|
id: string;
|
|
tenantId: string;
|
|
phone: string;
|
|
email: string;
|
|
name: string;
|
|
pinHash: string;
|
|
biometricEnabled: boolean;
|
|
biometricKey: string;
|
|
role: string;
|
|
permissions: Record<string, unknown>;
|
|
status: string;
|
|
lastLoginAt: Date;
|
|
failedAttempts: number;
|
|
lockedUntil: Date;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
tenant: Tenant;
|
|
}
|