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>
21 lines
605 B
JavaScript
21 lines
605 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
function getDef() {
|
|
return {
|
|
keyword: "allRequired",
|
|
type: "object",
|
|
schemaType: "boolean",
|
|
macro(schema, parentSchema) {
|
|
if (!schema)
|
|
return true;
|
|
const required = Object.keys(parentSchema.properties);
|
|
if (required.length === 0)
|
|
return true;
|
|
return { required };
|
|
},
|
|
dependencies: ["properties"],
|
|
};
|
|
}
|
|
exports.default = getDef;
|
|
module.exports = getDef;
|
|
//# sourceMappingURL=allRequired.js.map
|