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>
24 lines
510 B
TypeScript
24 lines
510 B
TypeScript
import type {CodeKeywordDefinition, ErrorObject} from "../../types"
|
|
import {
|
|
validatePropertyDeps,
|
|
error,
|
|
DependenciesErrorParams,
|
|
PropertyDependencies,
|
|
} from "../applicator/dependencies"
|
|
|
|
export type DependentRequiredError = ErrorObject<
|
|
"dependentRequired",
|
|
DependenciesErrorParams,
|
|
PropertyDependencies
|
|
>
|
|
|
|
const def: CodeKeywordDefinition = {
|
|
keyword: "dependentRequired",
|
|
type: "object",
|
|
schemaType: "object",
|
|
error,
|
|
code: (cxt) => validatePropertyDeps(cxt),
|
|
}
|
|
|
|
export default def
|