@company-semantics/contracts 0.23.0 → 0.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/guards/config.ts +10 -10
- package/src/system/capabilities.ts +1 -6
package/package.json
CHANGED
package/src/guards/config.ts
CHANGED
|
@@ -328,15 +328,15 @@ export interface CoverageBaseline {
|
|
|
328
328
|
*/
|
|
329
329
|
export interface FileClusterBaseline {
|
|
330
330
|
/** Minimum files to form a cluster */
|
|
331
|
-
minClusterSize
|
|
331
|
+
minClusterSize?: number;
|
|
332
332
|
/** Minimum stragglers to suggest reorganization */
|
|
333
|
-
minStragglers
|
|
333
|
+
minStragglers?: number;
|
|
334
334
|
/** Suffixes to strip when detecting clusters (e.g., '.test', '.spec') */
|
|
335
|
-
stripSuffixes
|
|
335
|
+
stripSuffixes?: string[];
|
|
336
336
|
/** Role words to strip (e.g., 'Service', 'Handler') */
|
|
337
|
-
stripRoleWords
|
|
337
|
+
stripRoleWords?: string[];
|
|
338
338
|
/** Directories to ignore */
|
|
339
|
-
ignoredDirectories
|
|
339
|
+
ignoredDirectories?: string[];
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
/**
|
|
@@ -346,15 +346,15 @@ export interface FileClusterBaseline {
|
|
|
346
346
|
*/
|
|
347
347
|
export interface SubdirectoryAffinityBaseline {
|
|
348
348
|
/** Minimum importers required */
|
|
349
|
-
minImporters
|
|
349
|
+
minImporters?: number;
|
|
350
350
|
/** Maximum non-subdirectory imports allowed */
|
|
351
|
-
maxNonSubdirImports
|
|
351
|
+
maxNonSubdirImports?: number;
|
|
352
352
|
/** Patterns to exclude from analysis */
|
|
353
|
-
excludePatterns
|
|
353
|
+
excludePatterns?: RegExp[];
|
|
354
354
|
/** Importer patterns to ignore */
|
|
355
|
-
ignoredImporterPatterns
|
|
355
|
+
ignoredImporterPatterns?: RegExp[];
|
|
356
356
|
/** Directories to ignore */
|
|
357
|
-
ignoredDirectories
|
|
357
|
+
ignoredDirectories?: string[];
|
|
358
358
|
}
|
|
359
359
|
|
|
360
360
|
/**
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* @see ADR-CONTRACTS-NNN in DECISIONS.md
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import type { DiagramNode, FlowStage
|
|
18
|
+
import type { DiagramNode, FlowStage } from './index.js'
|
|
19
19
|
|
|
20
20
|
// =============================================================================
|
|
21
21
|
// Types
|
|
@@ -132,8 +132,3 @@ export interface AggregatedCapabilities {
|
|
|
132
132
|
aggregatedAt: string
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
// =============================================================================
|
|
136
|
-
// Re-exports for convenience
|
|
137
|
-
// =============================================================================
|
|
138
|
-
|
|
139
|
-
export type { FeatureStatus, FlowStage }
|