@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "0.23.0",
3
+ "version": "0.23.1",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -328,15 +328,15 @@ export interface CoverageBaseline {
328
328
  */
329
329
  export interface FileClusterBaseline {
330
330
  /** Minimum files to form a cluster */
331
- minClusterSize: number;
331
+ minClusterSize?: number;
332
332
  /** Minimum stragglers to suggest reorganization */
333
- minStragglers: number;
333
+ minStragglers?: number;
334
334
  /** Suffixes to strip when detecting clusters (e.g., '.test', '.spec') */
335
- stripSuffixes: string[];
335
+ stripSuffixes?: string[];
336
336
  /** Role words to strip (e.g., 'Service', 'Handler') */
337
- stripRoleWords: string[];
337
+ stripRoleWords?: string[];
338
338
  /** Directories to ignore */
339
- ignoredDirectories: string[];
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: number;
349
+ minImporters?: number;
350
350
  /** Maximum non-subdirectory imports allowed */
351
- maxNonSubdirImports: number;
351
+ maxNonSubdirImports?: number;
352
352
  /** Patterns to exclude from analysis */
353
- excludePatterns: RegExp[];
353
+ excludePatterns?: RegExp[];
354
354
  /** Importer patterns to ignore */
355
- ignoredImporterPatterns: RegExp[];
355
+ ignoredImporterPatterns?: RegExp[];
356
356
  /** Directories to ignore */
357
- ignoredDirectories: string[];
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, FeatureStatus } from './index.js'
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 }