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>
26 lines
988 B
JavaScript
26 lines
988 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.mergePluginOptions = void 0;
|
|
const shared_utils_1 = require("@nestjs/common/utils/shared.utils");
|
|
const defaultOptions = {
|
|
dtoFileNameSuffix: ['.dto.ts', '.entity.ts'],
|
|
controllerFileNameSuffix: ['.controller.ts'],
|
|
classValidatorShim: true,
|
|
classTransformerShim: false,
|
|
dtoKeyOfComment: 'description',
|
|
controllerKeyOfComment: 'description',
|
|
introspectComments: false,
|
|
readonly: false,
|
|
debug: false
|
|
};
|
|
const mergePluginOptions = (options = {}) => {
|
|
if ((0, shared_utils_1.isString)(options.dtoFileNameSuffix)) {
|
|
options.dtoFileNameSuffix = [options.dtoFileNameSuffix];
|
|
}
|
|
if ((0, shared_utils_1.isString)(options.controllerFileNameSuffix)) {
|
|
options.controllerFileNameSuffix = [options.controllerFileNameSuffix];
|
|
}
|
|
return Object.assign(Object.assign({}, defaultOptions), options);
|
|
};
|
|
exports.mergePluginOptions = mergePluginOptions;
|