/** * Cross-package mirror of the per-content-type JSON Schemas emitted by * `src/lib/content/content-type-configs/*` in the main Next.js app. * * Cross-package import is blocked: the MCP server publishes as its own * npm package and cannot reach into the main app's Next.js source. This * constant MUST stay in sync with `src/lib/content/content-type-configs/tool-review.ts`. * * A parity contract test asserts deep-equality against the live * `contentTypeConfigRegistry.tool_review.jsonSchema` produced by zod 4's * `z.toJSONSchema()`: * src/lib/content/content-type-configs/__tests__/mcp-parity.test.ts * * If you change the Zod schema in the main app, regenerate this constant * by running (from repo root): * npx tsx -e "import('./src/lib/content/content-type-configs/tool-review').then(m => console.log(JSON.stringify((m.default ?? m).toolReviewConfigModule.jsonSchema, null, 2)))" * and paste the output below verbatim. The contract test will fail until * the mirror is updated. */ export declare const TOOL_REVIEW_JSON_SCHEMA: { readonly $schema: "https://json-schema.org/draft/2020-12/schema"; readonly type: "object"; readonly properties: { readonly rating: { readonly type: "number"; readonly minimum: 0; readonly maximum: 5; }; readonly prosList: { readonly default: readonly []; readonly type: "array"; readonly items: { readonly type: "string"; readonly minLength: 1; }; }; readonly consList: { readonly default: readonly []; readonly type: "array"; readonly items: { readonly type: "string"; readonly minLength: 1; }; }; readonly pricingNote: { readonly type: "string"; readonly minLength: 1; }; readonly verdictSummary: { readonly type: "string"; readonly minLength: 1; }; readonly toolCategory: { readonly type: "string"; readonly minLength: 1; }; readonly toolOS: { readonly type: "string"; readonly minLength: 1; }; readonly aggregateRatingValue: { readonly type: "number"; readonly minimum: 0; readonly maximum: 5; }; readonly aggregateRatingCount: { readonly type: "integer"; readonly minimum: 0; readonly maximum: 9007199254740991; }; }; readonly required: readonly ["rating", "prosList", "consList"]; readonly additionalProperties: false; }; //# sourceMappingURL=content-types-config-mirror.d.ts.map