/** * Constants - SSOT Entry Point * * Este archivo es el punto de entrada para todas las constantes del sistema. * Exporta desde los modulos especializados para mantener SSOT. * * @module @shared/constants */ export { DB_SCHEMAS, DB_TABLES, DB_COLUMNS, TABLE_REFS, getFullTableName, type DBSchema, } from './database.constants'; export { API_VERSION, API_PREFIX, API_ROUTES, HTTP_METHODS, HTTP_STATUS, CONTENT_TYPES, } from './api.constants'; export { ROLES, USER_STATUS, type Role, type UserStatus, PROJECT_STATUS, PROJECT_TYPE, FRACCIONAMIENTO_STATUS, LOT_STATUS, type ProjectStatus, type ProjectType, type FraccionamientoStatus, type LotStatus, CONCEPT_TYPE, BUDGET_STATUS, type ConceptType, type BudgetStatus, PURCHASE_ORDER_STATUS, REQUISITION_STATUS, STOCK_MOVE_TYPE, type PurchaseOrderStatus, type RequisitionStatus, type StockMoveType, ESTIMATION_STATUS, RETENTION_TYPE, type EstimationStatus, type RetentionType, INCIDENT_SEVERITY, INCIDENT_TYPE, INCIDENT_STATUS, TRAINING_TYPE, WORK_PERMIT_TYPE, type IncidentSeverity, type IncidentType, type IncidentStatus, type TrainingType, type WorkPermitType, EMPLOYEE_TYPE, ATTENDANCE_TYPE, ATTENDANCE_VALIDATION, type EmployeeType, type AttendanceType, type AttendanceValidation, INFONAVIT_ASSIGNMENT_STATUS, INFONAVIT_PROGRAM, type InfonavitAssignmentStatus, type InfonavitProgram, TICKET_STATUS, TICKET_PRIORITY, type TicketStatus, type TicketPriority, DOCUMENT_STATUS, DOCUMENT_TYPE, type DocumentStatus, type DocumentType, WORKFLOW_ACTION, type WorkflowAction, AUDIT_ACTION, type AuditAction, } from './enums.constants'; /** * Application Context for PostgreSQL RLS */ export declare const APP_CONTEXT: { readonly TENANT_ID: "app.current_tenant_id"; readonly USER_ID: "app.current_user_id"; }; /** * Custom HTTP Headers */ export declare const CUSTOM_HEADERS: { readonly TENANT_ID: "x-tenant-id"; readonly CORRELATION_ID: "x-correlation-id"; readonly API_KEY: "x-api-key"; }; /** * Pagination Defaults */ export declare const PAGINATION: { readonly DEFAULT_PAGE: 1; readonly DEFAULT_LIMIT: 20; readonly MAX_LIMIT: 100; }; /** * Regex Patterns for Validation */ export declare const PATTERNS: { readonly UUID: RegExp; readonly RFC: RegExp; readonly CURP: RegExp; readonly NSS: RegExp; readonly EMAIL: RegExp; readonly PHONE_MX: RegExp; readonly POSTAL_CODE_MX: RegExp; }; /** * File Upload Limits */ export declare const FILE_LIMITS: { readonly MAX_FILE_SIZE: number; readonly MAX_FILES: 10; readonly ALLOWED_IMAGE_TYPES: readonly ["image/jpeg", "image/png", "image/webp"]; readonly ALLOWED_DOC_TYPES: readonly ["application/pdf", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"]; readonly ALLOWED_SPREADSHEET_TYPES: readonly ["application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"]; }; /** * Cache TTL (Time To Live) in seconds */ export declare const CACHE_TTL: { readonly SHORT: 60; readonly MEDIUM: 300; readonly LONG: 3600; readonly DAY: 86400; }; /** * Date Formats */ export declare const DATE_FORMATS: { readonly ISO: "YYYY-MM-DDTHH:mm:ss.sssZ"; readonly DATE_ONLY: "YYYY-MM-DD"; readonly TIME_ONLY: "HH:mm:ss"; readonly DISPLAY_MX: "DD/MM/YYYY"; readonly DISPLAY_FULL_MX: "DD/MM/YYYY HH:mm"; }; //# sourceMappingURL=index.d.ts.map