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>
16 lines
406 B
JavaScript
16 lines
406 B
JavaScript
'use strict';
|
|
|
|
const spinners = Object.assign({}, require('./spinners.json')); // eslint-disable-line import/extensions
|
|
|
|
const spinnersList = Object.keys(spinners);
|
|
|
|
Object.defineProperty(spinners, 'random', {
|
|
get() {
|
|
const randomIndex = Math.floor(Math.random() * spinnersList.length);
|
|
const spinnerName = spinnersList[randomIndex];
|
|
return spinners[spinnerName];
|
|
}
|
|
});
|
|
|
|
module.exports = spinners;
|