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>
23 lines
673 B
JavaScript
23 lines
673 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
function getDef() {
|
|
return {
|
|
keyword: "prohibited",
|
|
type: "object",
|
|
schemaType: "array",
|
|
macro: function (schema) {
|
|
if (schema.length === 0)
|
|
return true;
|
|
if (schema.length === 1)
|
|
return { not: { required: schema } };
|
|
return { not: { anyOf: schema.map((p) => ({ required: [p] })) } };
|
|
},
|
|
metaSchema: {
|
|
type: "array",
|
|
items: { type: "string" },
|
|
},
|
|
};
|
|
}
|
|
exports.default = getDef;
|
|
module.exports = getDef;
|
|
//# sourceMappingURL=prohibited.js.map
|