/** * Workspace validation target factories * * The no-argument `architecture:*` validation target configurations, extracted * from plugin.ts (which is at its file-size limit). Each instance method returns * the nx TargetConfiguration that runs one @webpieces/nx-webpieces-rules validator. * Instantiate once and inject the instance where the targets are assembled (no * static methods — a static method can't be injected). */ import { TargetConfiguration } from '@nx/devkit'; export declare class ValidationTargets { noCycles(): TargetConfiguration; packageJson(): TargetConfiguration; checklistDocs(): TargetConfiguration; /** * Combined validate-code target. Options come from webpieces.config.json at the * workspace root (loaded by the executor via @webpieces/rules-config — the same * source of truth as @webpieces/ai-hook-rules). */ code(): TargetConfiguration; versionsLocked(): TargetConfiguration; tsInSrc(): TargetConfiguration; nxWiring(): TargetConfiguration; /** * Validate every server/client api-lib dependency is implemented or used. Scans * source (addRoutes = implements, createRpcClient/createPubSubClient = uses), so * it depends on all source + project.json, not just the committed graph. */ apiRelations(): TargetConfiguration; /** Validate role:api-lib ⇔ the project exports an @ApiPath/@Rpc/@PubSub contract, both directions. */ apiLibTag(): TargetConfiguration; }