driftdetect-core 0.4.6 → 0.6.0
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/dist/boundaries/types.d.ts +1 -1
- package/dist/boundaries/types.d.ts.map +1 -1
- package/dist/call-graph/analysis/graph-builder.d.ts.map +1 -1
- package/dist/call-graph/analysis/graph-builder.js +1 -0
- package/dist/call-graph/analysis/graph-builder.js.map +1 -1
- package/dist/call-graph/extractors/csharp-data-access-extractor.d.ts +8 -0
- package/dist/call-graph/extractors/csharp-data-access-extractor.d.ts.map +1 -1
- package/dist/call-graph/extractors/csharp-data-access-extractor.js +8 -0
- package/dist/call-graph/extractors/csharp-data-access-extractor.js.map +1 -1
- package/dist/call-graph/extractors/csharp-extractor.d.ts +35 -0
- package/dist/call-graph/extractors/csharp-extractor.d.ts.map +1 -1
- package/dist/call-graph/extractors/csharp-extractor.js +362 -4
- package/dist/call-graph/extractors/csharp-extractor.js.map +1 -1
- package/dist/call-graph/extractors/csharp-hybrid-extractor.d.ts +37 -0
- package/dist/call-graph/extractors/csharp-hybrid-extractor.d.ts.map +1 -0
- package/dist/call-graph/extractors/csharp-hybrid-extractor.js +408 -0
- package/dist/call-graph/extractors/csharp-hybrid-extractor.js.map +1 -0
- package/dist/call-graph/extractors/go-data-access-extractor.d.ts +80 -0
- package/dist/call-graph/extractors/go-data-access-extractor.d.ts.map +1 -0
- package/dist/call-graph/extractors/go-data-access-extractor.js +457 -0
- package/dist/call-graph/extractors/go-data-access-extractor.js.map +1 -0
- package/dist/call-graph/extractors/go-extractor.d.ts +103 -0
- package/dist/call-graph/extractors/go-extractor.d.ts.map +1 -0
- package/dist/call-graph/extractors/go-extractor.js +509 -0
- package/dist/call-graph/extractors/go-extractor.js.map +1 -0
- package/dist/call-graph/extractors/go-hybrid-extractor.d.ts +97 -0
- package/dist/call-graph/extractors/go-hybrid-extractor.d.ts.map +1 -0
- package/dist/call-graph/extractors/go-hybrid-extractor.js +496 -0
- package/dist/call-graph/extractors/go-hybrid-extractor.js.map +1 -0
- package/dist/call-graph/extractors/hybrid-extractor-base.d.ts +102 -0
- package/dist/call-graph/extractors/hybrid-extractor-base.d.ts.map +1 -0
- package/dist/call-graph/extractors/hybrid-extractor-base.js +289 -0
- package/dist/call-graph/extractors/hybrid-extractor-base.js.map +1 -0
- package/dist/call-graph/extractors/index.d.ts +17 -13
- package/dist/call-graph/extractors/index.d.ts.map +1 -1
- package/dist/call-graph/extractors/index.js +24 -23
- package/dist/call-graph/extractors/index.js.map +1 -1
- package/dist/call-graph/extractors/java-data-access-extractor.d.ts +8 -0
- package/dist/call-graph/extractors/java-data-access-extractor.d.ts.map +1 -1
- package/dist/call-graph/extractors/java-data-access-extractor.js +8 -0
- package/dist/call-graph/extractors/java-data-access-extractor.js.map +1 -1
- package/dist/call-graph/extractors/java-extractor.d.ts +15 -0
- package/dist/call-graph/extractors/java-extractor.d.ts.map +1 -1
- package/dist/call-graph/extractors/java-extractor.js +120 -4
- package/dist/call-graph/extractors/java-extractor.js.map +1 -1
- package/dist/call-graph/extractors/java-hybrid-extractor.d.ts +36 -0
- package/dist/call-graph/extractors/java-hybrid-extractor.d.ts.map +1 -0
- package/dist/call-graph/extractors/java-hybrid-extractor.js +426 -0
- package/dist/call-graph/extractors/java-hybrid-extractor.js.map +1 -0
- package/dist/call-graph/extractors/php-data-access-extractor.d.ts +8 -0
- package/dist/call-graph/extractors/php-data-access-extractor.d.ts.map +1 -1
- package/dist/call-graph/extractors/php-data-access-extractor.js +8 -0
- package/dist/call-graph/extractors/php-data-access-extractor.js.map +1 -1
- package/dist/call-graph/extractors/php-extractor.d.ts +48 -1
- package/dist/call-graph/extractors/php-extractor.d.ts.map +1 -1
- package/dist/call-graph/extractors/php-extractor.js +460 -6
- package/dist/call-graph/extractors/php-extractor.js.map +1 -1
- package/dist/call-graph/extractors/php-hybrid-extractor.d.ts +35 -0
- package/dist/call-graph/extractors/php-hybrid-extractor.d.ts.map +1 -0
- package/dist/call-graph/extractors/php-hybrid-extractor.js +393 -0
- package/dist/call-graph/extractors/php-hybrid-extractor.js.map +1 -0
- package/dist/call-graph/extractors/python-data-access-extractor.d.ts +8 -0
- package/dist/call-graph/extractors/python-data-access-extractor.d.ts.map +1 -1
- package/dist/call-graph/extractors/python-data-access-extractor.js +8 -0
- package/dist/call-graph/extractors/python-data-access-extractor.js.map +1 -1
- package/dist/call-graph/extractors/python-hybrid-extractor.d.ts +85 -0
- package/dist/call-graph/extractors/python-hybrid-extractor.d.ts.map +1 -0
- package/dist/call-graph/extractors/python-hybrid-extractor.js +462 -0
- package/dist/call-graph/extractors/python-hybrid-extractor.js.map +1 -0
- package/dist/call-graph/extractors/regex/base-regex-extractor.d.ts +154 -0
- package/dist/call-graph/extractors/regex/base-regex-extractor.d.ts.map +1 -0
- package/dist/call-graph/extractors/regex/base-regex-extractor.js +346 -0
- package/dist/call-graph/extractors/regex/base-regex-extractor.js.map +1 -0
- package/dist/call-graph/extractors/regex/csharp-regex.d.ts +34 -0
- package/dist/call-graph/extractors/regex/csharp-regex.d.ts.map +1 -0
- package/dist/call-graph/extractors/regex/csharp-regex.js +393 -0
- package/dist/call-graph/extractors/regex/csharp-regex.js.map +1 -0
- package/dist/call-graph/extractors/regex/go-regex.d.ts +51 -0
- package/dist/call-graph/extractors/regex/go-regex.d.ts.map +1 -0
- package/dist/call-graph/extractors/regex/go-regex.js +435 -0
- package/dist/call-graph/extractors/regex/go-regex.js.map +1 -0
- package/dist/call-graph/extractors/regex/index.d.ts +26 -0
- package/dist/call-graph/extractors/regex/index.d.ts.map +1 -0
- package/dist/call-graph/extractors/regex/index.js +74 -0
- package/dist/call-graph/extractors/regex/index.js.map +1 -0
- package/dist/call-graph/extractors/regex/java-regex.d.ts +34 -0
- package/dist/call-graph/extractors/regex/java-regex.d.ts.map +1 -0
- package/dist/call-graph/extractors/regex/java-regex.js +327 -0
- package/dist/call-graph/extractors/regex/java-regex.js.map +1 -0
- package/dist/call-graph/extractors/regex/php-regex.d.ts +30 -0
- package/dist/call-graph/extractors/regex/php-regex.d.ts.map +1 -0
- package/dist/call-graph/extractors/regex/php-regex.js +333 -0
- package/dist/call-graph/extractors/regex/php-regex.js.map +1 -0
- package/dist/call-graph/extractors/regex/python-regex.d.ts +46 -0
- package/dist/call-graph/extractors/regex/python-regex.d.ts.map +1 -0
- package/dist/call-graph/extractors/regex/python-regex.js +380 -0
- package/dist/call-graph/extractors/regex/python-regex.js.map +1 -0
- package/dist/call-graph/extractors/regex/typescript-regex.d.ts +27 -0
- package/dist/call-graph/extractors/regex/typescript-regex.d.ts.map +1 -0
- package/dist/call-graph/extractors/regex/typescript-regex.js +349 -0
- package/dist/call-graph/extractors/regex/typescript-regex.js.map +1 -0
- package/dist/call-graph/extractors/semantic-data-access-scanner.d.ts +7 -0
- package/dist/call-graph/extractors/semantic-data-access-scanner.d.ts.map +1 -1
- package/dist/call-graph/extractors/semantic-data-access-scanner.js +7 -0
- package/dist/call-graph/extractors/semantic-data-access-scanner.js.map +1 -1
- package/dist/call-graph/extractors/types.d.ts +111 -0
- package/dist/call-graph/extractors/types.d.ts.map +1 -0
- package/dist/call-graph/extractors/types.js +68 -0
- package/dist/call-graph/extractors/types.js.map +1 -0
- package/dist/call-graph/extractors/typescript-data-access-extractor.d.ts +8 -0
- package/dist/call-graph/extractors/typescript-data-access-extractor.d.ts.map +1 -1
- package/dist/call-graph/extractors/typescript-data-access-extractor.js +8 -0
- package/dist/call-graph/extractors/typescript-data-access-extractor.js.map +1 -1
- package/dist/call-graph/extractors/typescript-hybrid-extractor.d.ts +116 -0
- package/dist/call-graph/extractors/typescript-hybrid-extractor.d.ts.map +1 -0
- package/dist/call-graph/extractors/typescript-hybrid-extractor.js +635 -0
- package/dist/call-graph/extractors/typescript-hybrid-extractor.js.map +1 -0
- package/dist/call-graph/index.d.ts +3 -0
- package/dist/call-graph/index.d.ts.map +1 -1
- package/dist/call-graph/index.js +5 -0
- package/dist/call-graph/index.js.map +1 -1
- package/dist/call-graph/types.d.ts +1 -1
- package/dist/call-graph/types.d.ts.map +1 -1
- package/dist/constraints/extraction/constraint-synthesizer.d.ts +72 -0
- package/dist/constraints/extraction/constraint-synthesizer.d.ts.map +1 -0
- package/dist/constraints/extraction/constraint-synthesizer.js +336 -0
- package/dist/constraints/extraction/constraint-synthesizer.js.map +1 -0
- package/dist/constraints/extraction/index.d.ts +10 -0
- package/dist/constraints/extraction/index.d.ts.map +1 -0
- package/dist/constraints/extraction/index.js +10 -0
- package/dist/constraints/extraction/index.js.map +1 -0
- package/dist/constraints/extraction/invariant-detector.d.ts +109 -0
- package/dist/constraints/extraction/invariant-detector.d.ts.map +1 -0
- package/dist/constraints/extraction/invariant-detector.js +979 -0
- package/dist/constraints/extraction/invariant-detector.js.map +1 -0
- package/dist/constraints/index.d.ts +15 -0
- package/dist/constraints/index.d.ts.map +1 -0
- package/dist/constraints/index.js +16 -0
- package/dist/constraints/index.js.map +1 -0
- package/dist/constraints/store/constraint-store.d.ts +110 -0
- package/dist/constraints/store/constraint-store.d.ts.map +1 -0
- package/dist/constraints/store/constraint-store.js +584 -0
- package/dist/constraints/store/constraint-store.js.map +1 -0
- package/dist/constraints/types.d.ts +605 -0
- package/dist/constraints/types.d.ts.map +1 -0
- package/dist/constraints/types.js +57 -0
- package/dist/constraints/types.js.map +1 -0
- package/dist/constraints/verification/constraint-verifier.d.ts +100 -0
- package/dist/constraints/verification/constraint-verifier.d.ts.map +1 -0
- package/dist/constraints/verification/constraint-verifier.js +638 -0
- package/dist/constraints/verification/constraint-verifier.js.map +1 -0
- package/dist/constraints/verification/index.d.ts +8 -0
- package/dist/constraints/verification/index.d.ts.map +1 -0
- package/dist/constraints/verification/index.js +8 -0
- package/dist/constraints/verification/index.js.map +1 -0
- package/dist/decisions/analyzer/decision-mining-analyzer.d.ts +121 -0
- package/dist/decisions/analyzer/decision-mining-analyzer.d.ts.map +1 -0
- package/dist/decisions/analyzer/decision-mining-analyzer.js +904 -0
- package/dist/decisions/analyzer/decision-mining-analyzer.js.map +1 -0
- package/dist/decisions/analyzer/index.d.ts +5 -0
- package/dist/decisions/analyzer/index.d.ts.map +1 -0
- package/dist/decisions/analyzer/index.js +5 -0
- package/dist/decisions/analyzer/index.js.map +1 -0
- package/dist/decisions/extractors/base-commit-extractor.d.ts +104 -0
- package/dist/decisions/extractors/base-commit-extractor.d.ts.map +1 -0
- package/dist/decisions/extractors/base-commit-extractor.js +305 -0
- package/dist/decisions/extractors/base-commit-extractor.js.map +1 -0
- package/dist/decisions/extractors/csharp-commit-extractor.d.ts +18 -0
- package/dist/decisions/extractors/csharp-commit-extractor.d.ts.map +1 -0
- package/dist/decisions/extractors/csharp-commit-extractor.js +281 -0
- package/dist/decisions/extractors/csharp-commit-extractor.js.map +1 -0
- package/dist/decisions/extractors/index.d.ts +31 -0
- package/dist/decisions/extractors/index.d.ts.map +1 -0
- package/dist/decisions/extractors/index.js +63 -0
- package/dist/decisions/extractors/index.js.map +1 -0
- package/dist/decisions/extractors/java-commit-extractor.d.ts +18 -0
- package/dist/decisions/extractors/java-commit-extractor.d.ts.map +1 -0
- package/dist/decisions/extractors/java-commit-extractor.js +248 -0
- package/dist/decisions/extractors/java-commit-extractor.js.map +1 -0
- package/dist/decisions/extractors/php-commit-extractor.d.ts +18 -0
- package/dist/decisions/extractors/php-commit-extractor.d.ts.map +1 -0
- package/dist/decisions/extractors/php-commit-extractor.js +280 -0
- package/dist/decisions/extractors/php-commit-extractor.js.map +1 -0
- package/dist/decisions/extractors/python-commit-extractor.d.ts +18 -0
- package/dist/decisions/extractors/python-commit-extractor.d.ts.map +1 -0
- package/dist/decisions/extractors/python-commit-extractor.js +248 -0
- package/dist/decisions/extractors/python-commit-extractor.js.map +1 -0
- package/dist/decisions/extractors/typescript-commit-extractor.d.ts +37 -0
- package/dist/decisions/extractors/typescript-commit-extractor.d.ts.map +1 -0
- package/dist/decisions/extractors/typescript-commit-extractor.js +229 -0
- package/dist/decisions/extractors/typescript-commit-extractor.js.map +1 -0
- package/dist/decisions/git/commit-parser.d.ts +58 -0
- package/dist/decisions/git/commit-parser.d.ts.map +1 -0
- package/dist/decisions/git/commit-parser.js +344 -0
- package/dist/decisions/git/commit-parser.js.map +1 -0
- package/dist/decisions/git/diff-analyzer.d.ts +30 -0
- package/dist/decisions/git/diff-analyzer.d.ts.map +1 -0
- package/dist/decisions/git/diff-analyzer.js +492 -0
- package/dist/decisions/git/diff-analyzer.js.map +1 -0
- package/dist/decisions/git/git-walker.d.ts +64 -0
- package/dist/decisions/git/git-walker.d.ts.map +1 -0
- package/dist/decisions/git/git-walker.js +441 -0
- package/dist/decisions/git/git-walker.js.map +1 -0
- package/dist/decisions/git/index.d.ts +11 -0
- package/dist/decisions/git/index.d.ts.map +1 -0
- package/dist/decisions/git/index.js +13 -0
- package/dist/decisions/git/index.js.map +1 -0
- package/dist/decisions/git/types.d.ts +223 -0
- package/dist/decisions/git/types.d.ts.map +1 -0
- package/dist/decisions/git/types.js +7 -0
- package/dist/decisions/git/types.js.map +1 -0
- package/dist/decisions/index.d.ts +27 -0
- package/dist/decisions/index.d.ts.map +1 -0
- package/dist/decisions/index.js +45 -0
- package/dist/decisions/index.js.map +1 -0
- package/dist/decisions/types.d.ts +530 -0
- package/dist/decisions/types.d.ts.map +1 -0
- package/dist/decisions/types.js +8 -0
- package/dist/decisions/types.js.map +1 -0
- package/dist/error-handling/error-handling-analyzer.d.ts +73 -0
- package/dist/error-handling/error-handling-analyzer.d.ts.map +1 -0
- package/dist/error-handling/error-handling-analyzer.js +706 -0
- package/dist/error-handling/error-handling-analyzer.js.map +1 -0
- package/dist/error-handling/index.d.ts +8 -0
- package/dist/error-handling/index.d.ts.map +1 -0
- package/dist/error-handling/index.js +8 -0
- package/dist/error-handling/index.js.map +1 -0
- package/dist/error-handling/types.d.ts +307 -0
- package/dist/error-handling/types.d.ts.map +1 -0
- package/dist/error-handling/types.js +7 -0
- package/dist/error-handling/types.js.map +1 -0
- package/dist/go/go-analyzer.d.ts +203 -0
- package/dist/go/go-analyzer.d.ts.map +1 -0
- package/dist/go/go-analyzer.js +509 -0
- package/dist/go/go-analyzer.js.map +1 -0
- package/dist/go/index.d.ts +7 -0
- package/dist/go/index.d.ts.map +1 -0
- package/dist/go/index.js +8 -0
- package/dist/go/index.js.map +1 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +85 -0
- package/dist/index.js.map +1 -1
- package/dist/lake/pattern-shard-store.d.ts +6 -0
- package/dist/lake/pattern-shard-store.d.ts.map +1 -1
- package/dist/lake/pattern-shard-store.js +6 -0
- package/dist/lake/pattern-shard-store.js.map +1 -1
- package/dist/module-coupling/coupling-analyzer.d.ts +73 -0
- package/dist/module-coupling/coupling-analyzer.d.ts.map +1 -0
- package/dist/module-coupling/coupling-analyzer.js +668 -0
- package/dist/module-coupling/coupling-analyzer.js.map +1 -0
- package/dist/module-coupling/index.d.ts +9 -0
- package/dist/module-coupling/index.d.ts.map +1 -0
- package/dist/module-coupling/index.js +9 -0
- package/dist/module-coupling/index.js.map +1 -0
- package/dist/module-coupling/types.d.ts +273 -0
- package/dist/module-coupling/types.d.ts.map +1 -0
- package/dist/module-coupling/types.js +8 -0
- package/dist/module-coupling/types.js.map +1 -0
- package/dist/parsers/tree-sitter/go-loader.d.ts +50 -0
- package/dist/parsers/tree-sitter/go-loader.d.ts.map +1 -0
- package/dist/parsers/tree-sitter/go-loader.js +161 -0
- package/dist/parsers/tree-sitter/go-loader.js.map +1 -0
- package/dist/parsers/tree-sitter/tree-sitter-go-parser.d.ts +250 -0
- package/dist/parsers/tree-sitter/tree-sitter-go-parser.d.ts.map +1 -0
- package/dist/parsers/tree-sitter/tree-sitter-go-parser.js +707 -0
- package/dist/parsers/tree-sitter/tree-sitter-go-parser.js.map +1 -0
- package/dist/parsers/types.d.ts +1 -1
- package/dist/parsers/types.d.ts.map +1 -1
- package/dist/patterns/adapters/index.d.ts +11 -0
- package/dist/patterns/adapters/index.d.ts.map +1 -0
- package/dist/patterns/adapters/index.js +11 -0
- package/dist/patterns/adapters/index.js.map +1 -0
- package/dist/patterns/adapters/pattern-store-adapter.d.ts +59 -0
- package/dist/patterns/adapters/pattern-store-adapter.d.ts.map +1 -0
- package/dist/patterns/adapters/pattern-store-adapter.js +468 -0
- package/dist/patterns/adapters/pattern-store-adapter.js.map +1 -0
- package/dist/patterns/adapters/service-factory.d.ts +40 -0
- package/dist/patterns/adapters/service-factory.d.ts.map +1 -0
- package/dist/patterns/adapters/service-factory.js +144 -0
- package/dist/patterns/adapters/service-factory.js.map +1 -0
- package/dist/patterns/errors.d.ts +32 -0
- package/dist/patterns/errors.d.ts.map +1 -0
- package/dist/patterns/errors.js +45 -0
- package/dist/patterns/errors.js.map +1 -0
- package/dist/patterns/impl/cached-repository.d.ts +79 -0
- package/dist/patterns/impl/cached-repository.d.ts.map +1 -0
- package/dist/patterns/impl/cached-repository.js +296 -0
- package/dist/patterns/impl/cached-repository.js.map +1 -0
- package/dist/patterns/impl/file-repository.d.ts +75 -0
- package/dist/patterns/impl/file-repository.d.ts.map +1 -0
- package/dist/patterns/impl/file-repository.js +507 -0
- package/dist/patterns/impl/file-repository.js.map +1 -0
- package/dist/patterns/impl/index.d.ts +16 -0
- package/dist/patterns/impl/index.d.ts.map +1 -0
- package/dist/patterns/impl/index.js +21 -0
- package/dist/patterns/impl/index.js.map +1 -0
- package/dist/patterns/impl/memory-repository.d.ts +56 -0
- package/dist/patterns/impl/memory-repository.d.ts.map +1 -0
- package/dist/patterns/impl/memory-repository.js +323 -0
- package/dist/patterns/impl/memory-repository.js.map +1 -0
- package/dist/patterns/impl/pattern-service.d.ts +52 -0
- package/dist/patterns/impl/pattern-service.d.ts.map +1 -0
- package/dist/patterns/impl/pattern-service.js +382 -0
- package/dist/patterns/impl/pattern-service.js.map +1 -0
- package/dist/patterns/impl/repository-factory.d.ts +44 -0
- package/dist/patterns/impl/repository-factory.d.ts.map +1 -0
- package/dist/patterns/impl/repository-factory.js +140 -0
- package/dist/patterns/impl/repository-factory.js.map +1 -0
- package/dist/patterns/impl/unified-file-repository.d.ts +111 -0
- package/dist/patterns/impl/unified-file-repository.d.ts.map +1 -0
- package/dist/patterns/impl/unified-file-repository.js +677 -0
- package/dist/patterns/impl/unified-file-repository.js.map +1 -0
- package/dist/patterns/index.d.ts +23 -0
- package/dist/patterns/index.d.ts.map +1 -0
- package/dist/patterns/index.js +41 -0
- package/dist/patterns/index.js.map +1 -0
- package/dist/patterns/repository.d.ts +241 -0
- package/dist/patterns/repository.d.ts.map +1 -0
- package/dist/patterns/repository.js +23 -0
- package/dist/patterns/repository.js.map +1 -0
- package/dist/patterns/service.d.ts +245 -0
- package/dist/patterns/service.d.ts.map +1 -0
- package/dist/patterns/service.js +25 -0
- package/dist/patterns/service.js.map +1 -0
- package/dist/patterns/types.d.ts +227 -0
- package/dist/patterns/types.d.ts.map +1 -0
- package/dist/patterns/types.js +117 -0
- package/dist/patterns/types.js.map +1 -0
- package/dist/simulation/approach-generator.d.ts +73 -0
- package/dist/simulation/approach-generator.d.ts.map +1 -0
- package/dist/simulation/approach-generator.js +371 -0
- package/dist/simulation/approach-generator.js.map +1 -0
- package/dist/simulation/index.d.ts +14 -0
- package/dist/simulation/index.d.ts.map +1 -0
- package/dist/simulation/index.js +19 -0
- package/dist/simulation/index.js.map +1 -0
- package/dist/simulation/language-strategies/csharp-strategies.d.ts +17 -0
- package/dist/simulation/language-strategies/csharp-strategies.d.ts.map +1 -0
- package/dist/simulation/language-strategies/csharp-strategies.js +118 -0
- package/dist/simulation/language-strategies/csharp-strategies.js.map +1 -0
- package/dist/simulation/language-strategies/index.d.ts +41 -0
- package/dist/simulation/language-strategies/index.d.ts.map +1 -0
- package/dist/simulation/language-strategies/index.js +92 -0
- package/dist/simulation/language-strategies/index.js.map +1 -0
- package/dist/simulation/language-strategies/java-strategies.d.ts +17 -0
- package/dist/simulation/language-strategies/java-strategies.d.ts.map +1 -0
- package/dist/simulation/language-strategies/java-strategies.js +119 -0
- package/dist/simulation/language-strategies/java-strategies.js.map +1 -0
- package/dist/simulation/language-strategies/php-strategies.d.ts +17 -0
- package/dist/simulation/language-strategies/php-strategies.d.ts.map +1 -0
- package/dist/simulation/language-strategies/php-strategies.js +129 -0
- package/dist/simulation/language-strategies/php-strategies.js.map +1 -0
- package/dist/simulation/language-strategies/python-strategies.d.ts +17 -0
- package/dist/simulation/language-strategies/python-strategies.d.ts.map +1 -0
- package/dist/simulation/language-strategies/python-strategies.js +208 -0
- package/dist/simulation/language-strategies/python-strategies.js.map +1 -0
- package/dist/simulation/language-strategies/types.d.ts +67 -0
- package/dist/simulation/language-strategies/types.d.ts.map +1 -0
- package/dist/simulation/language-strategies/types.js +23 -0
- package/dist/simulation/language-strategies/types.js.map +1 -0
- package/dist/simulation/language-strategies/typescript-strategies.d.ts +17 -0
- package/dist/simulation/language-strategies/typescript-strategies.d.ts.map +1 -0
- package/dist/simulation/language-strategies/typescript-strategies.js +251 -0
- package/dist/simulation/language-strategies/typescript-strategies.js.map +1 -0
- package/dist/simulation/scorers/friction-scorer.d.ts +45 -0
- package/dist/simulation/scorers/friction-scorer.d.ts.map +1 -0
- package/dist/simulation/scorers/friction-scorer.js +336 -0
- package/dist/simulation/scorers/friction-scorer.js.map +1 -0
- package/dist/simulation/scorers/impact-scorer.d.ts +56 -0
- package/dist/simulation/scorers/impact-scorer.d.ts.map +1 -0
- package/dist/simulation/scorers/impact-scorer.js +273 -0
- package/dist/simulation/scorers/impact-scorer.js.map +1 -0
- package/dist/simulation/scorers/index.d.ts +12 -0
- package/dist/simulation/scorers/index.d.ts.map +1 -0
- package/dist/simulation/scorers/index.js +12 -0
- package/dist/simulation/scorers/index.js.map +1 -0
- package/dist/simulation/scorers/pattern-alignment-scorer.d.ts +83 -0
- package/dist/simulation/scorers/pattern-alignment-scorer.d.ts.map +1 -0
- package/dist/simulation/scorers/pattern-alignment-scorer.js +367 -0
- package/dist/simulation/scorers/pattern-alignment-scorer.js.map +1 -0
- package/dist/simulation/scorers/security-scorer.d.ts +63 -0
- package/dist/simulation/scorers/security-scorer.d.ts.map +1 -0
- package/dist/simulation/scorers/security-scorer.js +346 -0
- package/dist/simulation/scorers/security-scorer.js.map +1 -0
- package/dist/simulation/simulation-engine.d.ts +89 -0
- package/dist/simulation/simulation-engine.d.ts.map +1 -0
- package/dist/simulation/simulation-engine.js +480 -0
- package/dist/simulation/simulation-engine.js.map +1 -0
- package/dist/simulation/types.d.ts +200 -0
- package/dist/simulation/types.d.ts.map +1 -0
- package/dist/simulation/types.js +23 -0
- package/dist/simulation/types.js.map +1 -0
- package/dist/speculative/approach-generator.d.ts +2 -0
- package/dist/speculative/approach-generator.d.ts.map +1 -0
- package/dist/speculative/approach-generator.js +2 -0
- package/dist/speculative/approach-generator.js.map +1 -0
- package/dist/speculative/templates/types.d.ts +133 -0
- package/dist/speculative/templates/types.d.ts.map +1 -0
- package/dist/speculative/templates/types.js +208 -0
- package/dist/speculative/templates/types.js.map +1 -0
- package/dist/speculative/types.d.ts +523 -0
- package/dist/speculative/types.d.ts.map +1 -0
- package/dist/speculative/types.js +71 -0
- package/dist/speculative/types.js.map +1 -0
- package/dist/store/pattern-store.d.ts +6 -0
- package/dist/store/pattern-store.d.ts.map +1 -1
- package/dist/store/pattern-store.js +6 -0
- package/dist/store/pattern-store.js.map +1 -1
- package/dist/test-topology/extractors/base-test-extractor.d.ts +89 -0
- package/dist/test-topology/extractors/base-test-extractor.d.ts.map +1 -0
- package/dist/test-topology/extractors/base-test-extractor.js +187 -0
- package/dist/test-topology/extractors/base-test-extractor.js.map +1 -0
- package/dist/test-topology/extractors/csharp-test-extractor.d.ts +23 -0
- package/dist/test-topology/extractors/csharp-test-extractor.d.ts.map +1 -0
- package/dist/test-topology/extractors/csharp-test-extractor.js +367 -0
- package/dist/test-topology/extractors/csharp-test-extractor.js.map +1 -0
- package/dist/test-topology/extractors/go-test-extractor.d.ts +33 -0
- package/dist/test-topology/extractors/go-test-extractor.d.ts.map +1 -0
- package/dist/test-topology/extractors/go-test-extractor.js +436 -0
- package/dist/test-topology/extractors/go-test-extractor.js.map +1 -0
- package/dist/test-topology/extractors/index.d.ts +13 -0
- package/dist/test-topology/extractors/index.d.ts.map +1 -0
- package/dist/test-topology/extractors/index.js +13 -0
- package/dist/test-topology/extractors/index.js.map +1 -0
- package/dist/test-topology/extractors/java-test-extractor.d.ts +20 -0
- package/dist/test-topology/extractors/java-test-extractor.d.ts.map +1 -0
- package/dist/test-topology/extractors/java-test-extractor.js +275 -0
- package/dist/test-topology/extractors/java-test-extractor.js.map +1 -0
- package/dist/test-topology/extractors/php-test-extractor.d.ts +24 -0
- package/dist/test-topology/extractors/php-test-extractor.d.ts.map +1 -0
- package/dist/test-topology/extractors/php-test-extractor.js +409 -0
- package/dist/test-topology/extractors/php-test-extractor.js.map +1 -0
- package/dist/test-topology/extractors/python-test-extractor.d.ts +23 -0
- package/dist/test-topology/extractors/python-test-extractor.d.ts.map +1 -0
- package/dist/test-topology/extractors/python-test-extractor.js +342 -0
- package/dist/test-topology/extractors/python-test-extractor.js.map +1 -0
- package/dist/test-topology/extractors/regex/csharp-test-regex.d.ts +51 -0
- package/dist/test-topology/extractors/regex/csharp-test-regex.d.ts.map +1 -0
- package/dist/test-topology/extractors/regex/csharp-test-regex.js +383 -0
- package/dist/test-topology/extractors/regex/csharp-test-regex.js.map +1 -0
- package/dist/test-topology/extractors/regex/go-test-regex.d.ts +62 -0
- package/dist/test-topology/extractors/regex/go-test-regex.d.ts.map +1 -0
- package/dist/test-topology/extractors/regex/go-test-regex.js +528 -0
- package/dist/test-topology/extractors/regex/go-test-regex.js.map +1 -0
- package/dist/test-topology/extractors/regex/index.d.ts +19 -0
- package/dist/test-topology/extractors/regex/index.d.ts.map +1 -0
- package/dist/test-topology/extractors/regex/index.js +47 -0
- package/dist/test-topology/extractors/regex/index.js.map +1 -0
- package/dist/test-topology/extractors/regex/java-test-regex.d.ts +50 -0
- package/dist/test-topology/extractors/regex/java-test-regex.d.ts.map +1 -0
- package/dist/test-topology/extractors/regex/java-test-regex.js +370 -0
- package/dist/test-topology/extractors/regex/java-test-regex.js.map +1 -0
- package/dist/test-topology/extractors/regex/php-test-regex.d.ts +56 -0
- package/dist/test-topology/extractors/regex/php-test-regex.d.ts.map +1 -0
- package/dist/test-topology/extractors/regex/php-test-regex.js +503 -0
- package/dist/test-topology/extractors/regex/php-test-regex.js.map +1 -0
- package/dist/test-topology/extractors/regex/python-test-regex.d.ts +57 -0
- package/dist/test-topology/extractors/regex/python-test-regex.d.ts.map +1 -0
- package/dist/test-topology/extractors/regex/python-test-regex.js +381 -0
- package/dist/test-topology/extractors/regex/python-test-regex.js.map +1 -0
- package/dist/test-topology/extractors/regex/typescript-test-regex.d.ts +60 -0
- package/dist/test-topology/extractors/regex/typescript-test-regex.d.ts.map +1 -0
- package/dist/test-topology/extractors/regex/typescript-test-regex.js +368 -0
- package/dist/test-topology/extractors/regex/typescript-test-regex.js.map +1 -0
- package/dist/test-topology/extractors/typescript-test-extractor.d.ts +24 -0
- package/dist/test-topology/extractors/typescript-test-extractor.d.ts.map +1 -0
- package/dist/test-topology/extractors/typescript-test-extractor.js +266 -0
- package/dist/test-topology/extractors/typescript-test-extractor.js.map +1 -0
- package/dist/test-topology/hybrid-test-topology-analyzer.d.ts +98 -0
- package/dist/test-topology/hybrid-test-topology-analyzer.d.ts.map +1 -0
- package/dist/test-topology/hybrid-test-topology-analyzer.js +556 -0
- package/dist/test-topology/hybrid-test-topology-analyzer.js.map +1 -0
- package/dist/test-topology/index.d.ts +16 -0
- package/dist/test-topology/index.d.ts.map +1 -0
- package/dist/test-topology/index.js +19 -0
- package/dist/test-topology/index.js.map +1 -0
- package/dist/test-topology/test-topology-analyzer.d.ts +85 -0
- package/dist/test-topology/test-topology-analyzer.d.ts.map +1 -0
- package/dist/test-topology/test-topology-analyzer.js +539 -0
- package/dist/test-topology/test-topology-analyzer.js.map +1 -0
- package/dist/test-topology/types.d.ts +300 -0
- package/dist/test-topology/types.d.ts.map +1 -0
- package/dist/test-topology/types.js +7 -0
- package/dist/test-topology/types.js.map +1 -0
- package/dist/unified-provider/matching/database-sql-matcher.d.ts +42 -0
- package/dist/unified-provider/matching/database-sql-matcher.d.ts.map +1 -0
- package/dist/unified-provider/matching/database-sql-matcher.js +282 -0
- package/dist/unified-provider/matching/database-sql-matcher.js.map +1 -0
- package/dist/unified-provider/matching/gorm-matcher.d.ts +41 -0
- package/dist/unified-provider/matching/gorm-matcher.d.ts.map +1 -0
- package/dist/unified-provider/matching/gorm-matcher.js +222 -0
- package/dist/unified-provider/matching/gorm-matcher.js.map +1 -0
- package/dist/unified-provider/matching/index.d.ts +3 -0
- package/dist/unified-provider/matching/index.d.ts.map +1 -1
- package/dist/unified-provider/matching/index.js +4 -0
- package/dist/unified-provider/matching/index.js.map +1 -1
- package/dist/unified-provider/matching/matcher-registry.d.ts.map +1 -1
- package/dist/unified-provider/matching/matcher-registry.js +7 -0
- package/dist/unified-provider/matching/matcher-registry.js.map +1 -1
- package/dist/unified-provider/matching/sqlx-matcher.d.ts +40 -0
- package/dist/unified-provider/matching/sqlx-matcher.d.ts.map +1 -0
- package/dist/unified-provider/matching/sqlx-matcher.js +214 -0
- package/dist/unified-provider/matching/sqlx-matcher.js.map +1 -0
- package/dist/unified-provider/normalization/go-normalizer.d.ts +62 -0
- package/dist/unified-provider/normalization/go-normalizer.d.ts.map +1 -0
- package/dist/unified-provider/normalization/go-normalizer.js +608 -0
- package/dist/unified-provider/normalization/go-normalizer.js.map +1 -0
- package/dist/unified-provider/normalization/index.d.ts +1 -0
- package/dist/unified-provider/normalization/index.d.ts.map +1 -1
- package/dist/unified-provider/normalization/index.js +6 -1
- package/dist/unified-provider/normalization/index.js.map +1 -1
- package/dist/unified-provider/types.d.ts +1 -1
- package/dist/unified-provider/types.d.ts.map +1 -1
- package/dist/wpf/extractors/binding-error-detector.d.ts +75 -0
- package/dist/wpf/extractors/binding-error-detector.d.ts.map +1 -0
- package/dist/wpf/extractors/binding-error-detector.js +290 -0
- package/dist/wpf/extractors/binding-error-detector.js.map +1 -0
- package/dist/wpf/extractors/code-behind-linker.d.ts +70 -0
- package/dist/wpf/extractors/code-behind-linker.d.ts.map +1 -0
- package/dist/wpf/extractors/code-behind-linker.js +172 -0
- package/dist/wpf/extractors/code-behind-linker.js.map +1 -0
- package/dist/wpf/extractors/dependency-property-extractor.d.ts +61 -0
- package/dist/wpf/extractors/dependency-property-extractor.d.ts.map +1 -0
- package/dist/wpf/extractors/dependency-property-extractor.js +201 -0
- package/dist/wpf/extractors/dependency-property-extractor.js.map +1 -0
- package/dist/wpf/extractors/regex/viewmodel-regex.d.ts +82 -0
- package/dist/wpf/extractors/regex/viewmodel-regex.d.ts.map +1 -0
- package/dist/wpf/extractors/regex/viewmodel-regex.js +412 -0
- package/dist/wpf/extractors/regex/viewmodel-regex.js.map +1 -0
- package/dist/wpf/extractors/regex/xaml-regex.d.ts +77 -0
- package/dist/wpf/extractors/regex/xaml-regex.d.ts.map +1 -0
- package/dist/wpf/extractors/regex/xaml-regex.js +353 -0
- package/dist/wpf/extractors/regex/xaml-regex.js.map +1 -0
- package/dist/wpf/extractors/resource-dictionary-parser.d.ts +103 -0
- package/dist/wpf/extractors/resource-dictionary-parser.d.ts.map +1 -0
- package/dist/wpf/extractors/resource-dictionary-parser.js +296 -0
- package/dist/wpf/extractors/resource-dictionary-parser.js.map +1 -0
- package/dist/wpf/extractors/value-converter-extractor.d.ts +128 -0
- package/dist/wpf/extractors/value-converter-extractor.d.ts.map +1 -0
- package/dist/wpf/extractors/value-converter-extractor.js +312 -0
- package/dist/wpf/extractors/value-converter-extractor.js.map +1 -0
- package/dist/wpf/extractors/viewmodel-hybrid-extractor.d.ts +104 -0
- package/dist/wpf/extractors/viewmodel-hybrid-extractor.d.ts.map +1 -0
- package/dist/wpf/extractors/viewmodel-hybrid-extractor.js +513 -0
- package/dist/wpf/extractors/viewmodel-hybrid-extractor.js.map +1 -0
- package/dist/wpf/extractors/xaml-hybrid-extractor.d.ts +98 -0
- package/dist/wpf/extractors/xaml-hybrid-extractor.d.ts.map +1 -0
- package/dist/wpf/extractors/xaml-hybrid-extractor.js +444 -0
- package/dist/wpf/extractors/xaml-hybrid-extractor.js.map +1 -0
- package/dist/wpf/index.d.ts +25 -0
- package/dist/wpf/index.d.ts.map +1 -0
- package/dist/wpf/index.js +31 -0
- package/dist/wpf/index.js.map +1 -0
- package/dist/wpf/integration/wpf-callgraph-adapter.d.ts +82 -0
- package/dist/wpf/integration/wpf-callgraph-adapter.d.ts.map +1 -0
- package/dist/wpf/integration/wpf-callgraph-adapter.js +311 -0
- package/dist/wpf/integration/wpf-callgraph-adapter.js.map +1 -0
- package/dist/wpf/integration/wpf-data-flow-tracer.d.ts +129 -0
- package/dist/wpf/integration/wpf-data-flow-tracer.d.ts.map +1 -0
- package/dist/wpf/integration/wpf-data-flow-tracer.js +367 -0
- package/dist/wpf/integration/wpf-data-flow-tracer.js.map +1 -0
- package/dist/wpf/linkers/datacontext-resolver.d.ts +66 -0
- package/dist/wpf/linkers/datacontext-resolver.d.ts.map +1 -0
- package/dist/wpf/linkers/datacontext-resolver.js +240 -0
- package/dist/wpf/linkers/datacontext-resolver.js.map +1 -0
- package/dist/wpf/linkers/viewmodel-linker.d.ts +71 -0
- package/dist/wpf/linkers/viewmodel-linker.d.ts.map +1 -0
- package/dist/wpf/linkers/viewmodel-linker.js +268 -0
- package/dist/wpf/linkers/viewmodel-linker.js.map +1 -0
- package/dist/wpf/types.d.ts +451 -0
- package/dist/wpf/types.d.ts.map +1 -0
- package/dist/wpf/types.js +8 -0
- package/dist/wpf/types.js.map +1 -0
- package/dist/wpf/wpf-analyzer.d.ts +114 -0
- package/dist/wpf/wpf-analyzer.d.ts.map +1 -0
- package/dist/wpf/wpf-analyzer.js +332 -0
- package/dist/wpf/wpf-analyzer.js.map +1 -0
- package/dist/wrappers/clustering/clusterer.d.ts +43 -0
- package/dist/wrappers/clustering/clusterer.d.ts.map +1 -0
- package/dist/wrappers/clustering/clusterer.js +374 -0
- package/dist/wrappers/clustering/clusterer.js.map +1 -0
- package/dist/wrappers/clustering/exclusions.d.ts +47 -0
- package/dist/wrappers/clustering/exclusions.d.ts.map +1 -0
- package/dist/wrappers/clustering/exclusions.js +318 -0
- package/dist/wrappers/clustering/exclusions.js.map +1 -0
- package/dist/wrappers/clustering/index.d.ts +6 -0
- package/dist/wrappers/clustering/index.d.ts.map +1 -0
- package/dist/wrappers/clustering/index.js +6 -0
- package/dist/wrappers/clustering/index.js.map +1 -0
- package/dist/wrappers/detection/detector.d.ts +69 -0
- package/dist/wrappers/detection/detector.d.ts.map +1 -0
- package/dist/wrappers/detection/detector.js +279 -0
- package/dist/wrappers/detection/detector.js.map +1 -0
- package/dist/wrappers/detection/index.d.ts +5 -0
- package/dist/wrappers/detection/index.d.ts.map +1 -0
- package/dist/wrappers/detection/index.js +5 -0
- package/dist/wrappers/detection/index.js.map +1 -0
- package/dist/wrappers/export/index.d.ts +5 -0
- package/dist/wrappers/export/index.d.ts.map +1 -0
- package/dist/wrappers/export/index.js +5 -0
- package/dist/wrappers/export/index.js.map +1 -0
- package/dist/wrappers/export/json.d.ts +127 -0
- package/dist/wrappers/export/json.d.ts.map +1 -0
- package/dist/wrappers/export/json.js +160 -0
- package/dist/wrappers/export/json.js.map +1 -0
- package/dist/wrappers/index.d.ts +56 -0
- package/dist/wrappers/index.d.ts.map +1 -0
- package/dist/wrappers/index.js +159 -0
- package/dist/wrappers/index.js.map +1 -0
- package/dist/wrappers/integration/adapter.d.ts +52 -0
- package/dist/wrappers/integration/adapter.d.ts.map +1 -0
- package/dist/wrappers/integration/adapter.js +210 -0
- package/dist/wrappers/integration/adapter.js.map +1 -0
- package/dist/wrappers/integration/index.d.ts +9 -0
- package/dist/wrappers/integration/index.d.ts.map +1 -0
- package/dist/wrappers/integration/index.js +12 -0
- package/dist/wrappers/integration/index.js.map +1 -0
- package/dist/wrappers/integration/pattern-adapter.d.ts +52 -0
- package/dist/wrappers/integration/pattern-adapter.d.ts.map +1 -0
- package/dist/wrappers/integration/pattern-adapter.js +192 -0
- package/dist/wrappers/integration/pattern-adapter.js.map +1 -0
- package/dist/wrappers/integration/scanner.d.ts +85 -0
- package/dist/wrappers/integration/scanner.d.ts.map +1 -0
- package/dist/wrappers/integration/scanner.js +367 -0
- package/dist/wrappers/integration/scanner.js.map +1 -0
- package/dist/wrappers/primitives/discovery.d.ts +57 -0
- package/dist/wrappers/primitives/discovery.d.ts.map +1 -0
- package/dist/wrappers/primitives/discovery.js +389 -0
- package/dist/wrappers/primitives/discovery.js.map +1 -0
- package/dist/wrappers/primitives/index.d.ts +6 -0
- package/dist/wrappers/primitives/index.d.ts.map +1 -0
- package/dist/wrappers/primitives/index.js +6 -0
- package/dist/wrappers/primitives/index.js.map +1 -0
- package/dist/wrappers/primitives/registry.d.ts +63 -0
- package/dist/wrappers/primitives/registry.d.ts.map +1 -0
- package/dist/wrappers/primitives/registry.js +447 -0
- package/dist/wrappers/primitives/registry.js.map +1 -0
- package/dist/wrappers/types.d.ts +137 -0
- package/dist/wrappers/types.d.ts.map +1 -0
- package/dist/wrappers/types.js +7 -0
- package/dist/wrappers/types.js.map +1 -0
- package/package.json +33 -18
- package/LICENSE +0 -21
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-file-repository.js","sourceRoot":"","sources":["../../../src/patterns/impl/unified-file-repository.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AActC,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,oBAAoB,EACpB,4BAA4B,EAC5B,yBAAyB,GAC1B,M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AAQ,GAAG,CAAC,CAAC;YAC9C,CAAC;YACD,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YAC7C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;gBAC9B,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,WAAW,GAAG,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC;QAED,iCAAiC;QACjC,IAAI,SAAS,GAAG,CAAC,CAAC;QAClB,KAAK,MAAM,QAAQ,IAAI,kBAAkB,EAAE,CAAC;YAC1C,MAAM,KAAK,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;YACnC,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,GAAG,CAAC;gBAAE,SAAS,EAAE,CAAC;QACpD,CAAC;QAED,OAAO;YACL,aAAa,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI;YACjC,UAAU,EAAE,UAA6C;YACzD,QAAQ;YACR,SAAS;SACV,CAAC;IACJ,CAAC;IAEO,iBAAiB;QACvB,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;QAC1E,CAAC;IACH,CAAC;CACF;AAED,+EAA+E;AAC/E,mBAAmB;AACnB,+EAA+E;AAE/E,MAAM,UAAU,kCAAkC,CAChD,SAA2C,EAAE;IAE7C,OAAO,IAAI,4BAA4B,CAAC,MAAM,CAAC,CAAC;AAClD,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Unified Pattern System
|
|
3
|
+
*
|
|
4
|
+
* This module provides the consolidated pattern system for Drift.
|
|
5
|
+
* It includes:
|
|
6
|
+
* - Unified Pattern type (single source of truth)
|
|
7
|
+
* - IPatternRepository interface (storage abstraction)
|
|
8
|
+
* - IPatternService interface (consumer API)
|
|
9
|
+
* - Multiple repository implementations (file, memory, cached)
|
|
10
|
+
*
|
|
11
|
+
* @module patterns
|
|
12
|
+
* @see PATTERN-SYSTEM-CONSOLIDATION.md
|
|
13
|
+
*/
|
|
14
|
+
export type { Pattern, PatternCategory, PatternStatus, ConfidenceLevel, Severity, DetectionMethod, PatternLocation, OutlierLocation, PatternMetadata, DetectorConfig, PatternSummary, CreatePatternInput, } from './types.js';
|
|
15
|
+
export { PATTERN_CATEGORIES, VALID_STATUS_TRANSITIONS, CONFIDENCE_THRESHOLDS, SEVERITY_ORDER, computeConfidenceLevel, toPatternSummary, createPattern, } from './types.js';
|
|
16
|
+
export type { IPatternRepository, PatternFilter, PatternSort, PatternPagination, PatternQueryOptions, PatternQueryResult, PatternRepositoryEventType, PatternRepositoryEventHandler, PatternRepositoryConfig, } from './repository.js';
|
|
17
|
+
export { DEFAULT_REPOSITORY_CONFIG } from './repository.js';
|
|
18
|
+
export type { IPatternService, PatternSystemStatus, CategorySummary, PatternWithExamples, CodeExample, ListOptions, PaginatedResult, SearchOptions, PatternServiceConfig, } from './service.js';
|
|
19
|
+
export { DEFAULT_SERVICE_CONFIG } from './service.js';
|
|
20
|
+
export { FilePatternRepository, PatternNotFoundError, InvalidStatusTransitionError, PatternAlreadyExistsError, UnifiedFilePatternRepository, createUnifiedFilePatternRepository, createPatternRepository, createPatternRepositorySync, detectStorageFormat, InMemoryPatternRepository, CachedPatternRepository, PatternService, createPatternService, } from './impl/index.js';
|
|
21
|
+
export type { UnifiedRepositoryConfig, StorageFormat, RepositoryFactoryConfig, } from './impl/index.js';
|
|
22
|
+
export { PatternStoreAdapter, createPatternStoreAdapter, createPatternServiceFromStore, } from './adapters/index.js';
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/patterns/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAMH,YAAY,EAEV,OAAO,EACP,eAAe,EACf,aAAa,EACb,eAAe,EACf,QAAQ,EACR,eAAe,EAGf,eAAe,EACf,eAAe,EAGf,eAAe,EACf,cAAc,EAGd,cAAc,EAGd,kBAAkB,GACnB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAEL,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACrB,cAAc,EAGd,sBAAsB,EACtB,gBAAgB,EAChB,aAAa,GACd,MAAM,YAAY,CAAC;AAMpB,YAAY,EAEV,kBAAkB,EAGlB,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAGlB,0BAA0B,EAC1B,6BAA6B,EAG7B,uBAAuB,GACxB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAM5D,YAAY,EAEV,eAAe,EAGf,mBAAmB,EACnB,eAAe,EAGf,mBAAmB,EACnB,WAAW,EAGX,WAAW,EACX,eAAe,EACf,aAAa,EAGb,oBAAoB,GACrB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAMtD,OAAO,EAEL,qBAAqB,EACrB,oBAAoB,EACpB,4BAA4B,EAC5B,yBAAyB,EAGzB,4BAA4B,EAC5B,kCAAkC,EAGlC,uBAAuB,EACvB,2BAA2B,EAC3B,mBAAmB,EAGnB,yBAAyB,EAGzB,uBAAuB,EAGvB,cAAc,EACd,oBAAoB,GACrB,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EACV,uBAAuB,EACvB,aAAa,EACb,uBAAuB,GACxB,MAAM,iBAAiB,CAAC;AAMzB,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Unified Pattern System
|
|
3
|
+
*
|
|
4
|
+
* This module provides the consolidated pattern system for Drift.
|
|
5
|
+
* It includes:
|
|
6
|
+
* - Unified Pattern type (single source of truth)
|
|
7
|
+
* - IPatternRepository interface (storage abstraction)
|
|
8
|
+
* - IPatternService interface (consumer API)
|
|
9
|
+
* - Multiple repository implementations (file, memory, cached)
|
|
10
|
+
*
|
|
11
|
+
* @module patterns
|
|
12
|
+
* @see PATTERN-SYSTEM-CONSOLIDATION.md
|
|
13
|
+
*/
|
|
14
|
+
export {
|
|
15
|
+
// Constants
|
|
16
|
+
PATTERN_CATEGORIES, VALID_STATUS_TRANSITIONS, CONFIDENCE_THRESHOLDS, SEVERITY_ORDER,
|
|
17
|
+
// Utility functions
|
|
18
|
+
computeConfidenceLevel, toPatternSummary, createPattern, } from './types.js';
|
|
19
|
+
export { DEFAULT_REPOSITORY_CONFIG } from './repository.js';
|
|
20
|
+
export { DEFAULT_SERVICE_CONFIG } from './service.js';
|
|
21
|
+
// ============================================================================
|
|
22
|
+
// Implementations
|
|
23
|
+
// ============================================================================
|
|
24
|
+
export {
|
|
25
|
+
// File repository (legacy - deprecated)
|
|
26
|
+
FilePatternRepository, PatternNotFoundError, InvalidStatusTransitionError, PatternAlreadyExistsError,
|
|
27
|
+
// Unified file repository (P3 - recommended)
|
|
28
|
+
UnifiedFilePatternRepository, createUnifiedFilePatternRepository,
|
|
29
|
+
// Repository factory (auto-detects format - recommended)
|
|
30
|
+
createPatternRepository, createPatternRepositorySync, detectStorageFormat,
|
|
31
|
+
// Memory repository
|
|
32
|
+
InMemoryPatternRepository,
|
|
33
|
+
// Cached repository
|
|
34
|
+
CachedPatternRepository,
|
|
35
|
+
// Pattern service
|
|
36
|
+
PatternService, createPatternService, } from './impl/index.js';
|
|
37
|
+
// ============================================================================
|
|
38
|
+
// Adapters (for backward compatibility)
|
|
39
|
+
// ============================================================================
|
|
40
|
+
export { PatternStoreAdapter, createPatternStoreAdapter, createPatternServiceFromStore, } from './adapters/index.js';
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/patterns/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AA8BH,OAAO;AACL,YAAY;AACZ,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACrB,cAAc;AAEd,oBAAoB;AACpB,sBAAsB,EACtB,gBAAgB,EAChB,aAAa,GACd,MAAM,YAAY,CAAC;AAyBpB,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AA2B5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEtD,+EAA+E;AAC/E,kBAAkB;AAClB,+EAA+E;AAE/E,OAAO;AACL,wCAAwC;AACxC,qBAAqB,EACrB,oBAAoB,EACpB,4BAA4B,EAC5B,yBAAyB;AAEzB,6CAA6C;AAC7C,4BAA4B,EAC5B,kCAAkC;AAElC,yDAAyD;AACzD,uBAAuB,EACvB,2BAA2B,EAC3B,mBAAmB;AAEnB,oBAAoB;AACpB,yBAAyB;AAEzB,oBAAoB;AACpB,uBAAuB;AAEvB,kBAAkB;AAClB,cAAc,EACd,oBAAoB,GACrB,MAAM,iBAAiB,CAAC;AAQzB,+EAA+E;AAC/E,wCAAwC;AACxC,+EAA+E;AAE/E,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pattern Repository Interface
|
|
3
|
+
*
|
|
4
|
+
* Defines the storage abstraction layer for patterns. All pattern storage
|
|
5
|
+
* implementations must implement this interface, enabling:
|
|
6
|
+
* - Swappable storage backends (file, sharded, in-memory, etc.)
|
|
7
|
+
* - Consistent API for all consumers
|
|
8
|
+
* - Easy testing with mock implementations
|
|
9
|
+
* - Caching decorators
|
|
10
|
+
*
|
|
11
|
+
* @module patterns/repository
|
|
12
|
+
* @see PATTERN-SYSTEM-CONSOLIDATION.md
|
|
13
|
+
*/
|
|
14
|
+
import type { Pattern, PatternCategory, PatternStatus, ConfidenceLevel, Severity, PatternSummary } from './types.js';
|
|
15
|
+
/**
|
|
16
|
+
* Filter options for pattern queries
|
|
17
|
+
*/
|
|
18
|
+
export interface PatternFilter {
|
|
19
|
+
/** Filter by pattern IDs */
|
|
20
|
+
ids?: string[] | undefined;
|
|
21
|
+
/** Filter by categories */
|
|
22
|
+
categories?: PatternCategory[] | undefined;
|
|
23
|
+
/** Filter by statuses */
|
|
24
|
+
statuses?: PatternStatus[] | undefined;
|
|
25
|
+
/** Filter by minimum confidence score */
|
|
26
|
+
minConfidence?: number | undefined;
|
|
27
|
+
/** Filter by maximum confidence score */
|
|
28
|
+
maxConfidence?: number | undefined;
|
|
29
|
+
/** Filter by confidence levels */
|
|
30
|
+
confidenceLevels?: ConfidenceLevel[] | undefined;
|
|
31
|
+
/** Filter by severities */
|
|
32
|
+
severities?: Severity[] | undefined;
|
|
33
|
+
/** Filter by files (patterns that have locations in any of these files) */
|
|
34
|
+
files?: string[] | undefined;
|
|
35
|
+
/** Filter patterns with outliers */
|
|
36
|
+
hasOutliers?: boolean | undefined;
|
|
37
|
+
/** Filter by tags */
|
|
38
|
+
tags?: string[] | undefined;
|
|
39
|
+
/** Search in name and description */
|
|
40
|
+
search?: string | undefined;
|
|
41
|
+
/** Filter by date range (firstSeen after) */
|
|
42
|
+
createdAfter?: Date | undefined;
|
|
43
|
+
/** Filter by date range (firstSeen before) */
|
|
44
|
+
createdBefore?: Date | undefined;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Sort options for pattern queries
|
|
48
|
+
*/
|
|
49
|
+
export interface PatternSort {
|
|
50
|
+
/** Field to sort by */
|
|
51
|
+
field: 'name' | 'confidence' | 'severity' | 'firstSeen' | 'lastSeen' | 'locationCount';
|
|
52
|
+
/** Sort direction */
|
|
53
|
+
direction: 'asc' | 'desc';
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Pagination options
|
|
57
|
+
*/
|
|
58
|
+
export interface PatternPagination {
|
|
59
|
+
/** Number of results to skip */
|
|
60
|
+
offset: number;
|
|
61
|
+
/** Maximum number of results to return */
|
|
62
|
+
limit: number;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Complete query options
|
|
66
|
+
*/
|
|
67
|
+
export interface PatternQueryOptions {
|
|
68
|
+
/** Filter criteria */
|
|
69
|
+
filter?: PatternFilter | undefined;
|
|
70
|
+
/** Sort options */
|
|
71
|
+
sort?: PatternSort | undefined;
|
|
72
|
+
/** Pagination options */
|
|
73
|
+
pagination?: PatternPagination | undefined;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Result of a pattern query
|
|
77
|
+
*/
|
|
78
|
+
export interface PatternQueryResult {
|
|
79
|
+
/** Matching patterns */
|
|
80
|
+
patterns: Pattern[];
|
|
81
|
+
/** Total count (before pagination) */
|
|
82
|
+
total: number;
|
|
83
|
+
/** Whether there are more results */
|
|
84
|
+
hasMore: boolean;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Pattern repository event types
|
|
88
|
+
*/
|
|
89
|
+
export type PatternRepositoryEventType = 'pattern:added' | 'pattern:updated' | 'pattern:deleted' | 'pattern:approved' | 'pattern:ignored' | 'patterns:loaded' | 'patterns:saved';
|
|
90
|
+
/**
|
|
91
|
+
* Pattern repository event handler
|
|
92
|
+
*/
|
|
93
|
+
export type PatternRepositoryEventHandler = (pattern?: Pattern, metadata?: Record<string, unknown>) => void;
|
|
94
|
+
/**
|
|
95
|
+
* Pattern Repository Interface
|
|
96
|
+
*
|
|
97
|
+
* Defines the contract for pattern storage implementations.
|
|
98
|
+
* All storage backends (file, sharded, in-memory, cached) must implement this interface.
|
|
99
|
+
*/
|
|
100
|
+
export interface IPatternRepository {
|
|
101
|
+
/**
|
|
102
|
+
* Initialize the repository.
|
|
103
|
+
* Creates necessary directories/structures and loads existing data.
|
|
104
|
+
*/
|
|
105
|
+
initialize(): Promise<void>;
|
|
106
|
+
/**
|
|
107
|
+
* Close the repository and release resources.
|
|
108
|
+
*/
|
|
109
|
+
close(): Promise<void>;
|
|
110
|
+
/**
|
|
111
|
+
* Add a new pattern to the repository.
|
|
112
|
+
* @param pattern The pattern to add
|
|
113
|
+
* @throws If pattern with same ID already exists
|
|
114
|
+
*/
|
|
115
|
+
add(pattern: Pattern): Promise<void>;
|
|
116
|
+
/**
|
|
117
|
+
* Add multiple patterns to the repository.
|
|
118
|
+
* @param patterns The patterns to add
|
|
119
|
+
*/
|
|
120
|
+
addMany(patterns: Pattern[]): Promise<void>;
|
|
121
|
+
/**
|
|
122
|
+
* Get a pattern by ID.
|
|
123
|
+
* @param id The pattern ID
|
|
124
|
+
* @returns The pattern or null if not found
|
|
125
|
+
*/
|
|
126
|
+
get(id: string): Promise<Pattern | null>;
|
|
127
|
+
/**
|
|
128
|
+
* Update an existing pattern.
|
|
129
|
+
* @param id The pattern ID
|
|
130
|
+
* @param updates Partial pattern updates
|
|
131
|
+
* @returns The updated pattern
|
|
132
|
+
* @throws If pattern not found
|
|
133
|
+
*/
|
|
134
|
+
update(id: string, updates: Partial<Pattern>): Promise<Pattern>;
|
|
135
|
+
/**
|
|
136
|
+
* Delete a pattern by ID.
|
|
137
|
+
* @param id The pattern ID
|
|
138
|
+
* @returns True if deleted, false if not found
|
|
139
|
+
*/
|
|
140
|
+
delete(id: string): Promise<boolean>;
|
|
141
|
+
/**
|
|
142
|
+
* Query patterns with filtering, sorting, and pagination.
|
|
143
|
+
* @param options Query options
|
|
144
|
+
* @returns Query result with patterns and metadata
|
|
145
|
+
*/
|
|
146
|
+
query(options: PatternQueryOptions): Promise<PatternQueryResult>;
|
|
147
|
+
/**
|
|
148
|
+
* Get all patterns in a category.
|
|
149
|
+
* @param category The category to filter by
|
|
150
|
+
* @returns Patterns in the category
|
|
151
|
+
*/
|
|
152
|
+
getByCategory(category: PatternCategory): Promise<Pattern[]>;
|
|
153
|
+
/**
|
|
154
|
+
* Get all patterns with a specific status.
|
|
155
|
+
* @param status The status to filter by
|
|
156
|
+
* @returns Patterns with the status
|
|
157
|
+
*/
|
|
158
|
+
getByStatus(status: PatternStatus): Promise<Pattern[]>;
|
|
159
|
+
/**
|
|
160
|
+
* Get all patterns that have locations in a specific file.
|
|
161
|
+
* @param file The file path to filter by
|
|
162
|
+
* @returns Patterns with locations in the file
|
|
163
|
+
*/
|
|
164
|
+
getByFile(file: string): Promise<Pattern[]>;
|
|
165
|
+
/**
|
|
166
|
+
* Get all patterns.
|
|
167
|
+
* @returns All patterns in the repository
|
|
168
|
+
*/
|
|
169
|
+
getAll(): Promise<Pattern[]>;
|
|
170
|
+
/**
|
|
171
|
+
* Count patterns matching a filter.
|
|
172
|
+
* @param filter Optional filter criteria
|
|
173
|
+
* @returns Count of matching patterns
|
|
174
|
+
*/
|
|
175
|
+
count(filter?: PatternFilter): Promise<number>;
|
|
176
|
+
/**
|
|
177
|
+
* Approve a pattern.
|
|
178
|
+
* @param id The pattern ID
|
|
179
|
+
* @param approvedBy Optional user who approved
|
|
180
|
+
* @returns The updated pattern
|
|
181
|
+
* @throws If pattern not found or invalid transition
|
|
182
|
+
*/
|
|
183
|
+
approve(id: string, approvedBy?: string): Promise<Pattern>;
|
|
184
|
+
/**
|
|
185
|
+
* Ignore a pattern.
|
|
186
|
+
* @param id The pattern ID
|
|
187
|
+
* @returns The updated pattern
|
|
188
|
+
* @throws If pattern not found or invalid transition
|
|
189
|
+
*/
|
|
190
|
+
ignore(id: string): Promise<Pattern>;
|
|
191
|
+
/**
|
|
192
|
+
* Save all pending changes to persistent storage.
|
|
193
|
+
*/
|
|
194
|
+
saveAll(): Promise<void>;
|
|
195
|
+
/**
|
|
196
|
+
* Clear all patterns from the repository.
|
|
197
|
+
*/
|
|
198
|
+
clear(): Promise<void>;
|
|
199
|
+
/**
|
|
200
|
+
* Subscribe to repository events.
|
|
201
|
+
* @param event The event type
|
|
202
|
+
* @param handler The event handler
|
|
203
|
+
*/
|
|
204
|
+
on(event: PatternRepositoryEventType, handler: PatternRepositoryEventHandler): void;
|
|
205
|
+
/**
|
|
206
|
+
* Unsubscribe from repository events.
|
|
207
|
+
* @param event The event type
|
|
208
|
+
* @param handler The event handler
|
|
209
|
+
*/
|
|
210
|
+
off(event: PatternRepositoryEventType, handler: PatternRepositoryEventHandler): void;
|
|
211
|
+
/**
|
|
212
|
+
* Check if a pattern exists.
|
|
213
|
+
* @param id The pattern ID
|
|
214
|
+
* @returns True if exists
|
|
215
|
+
*/
|
|
216
|
+
exists(id: string): Promise<boolean>;
|
|
217
|
+
/**
|
|
218
|
+
* Get pattern summaries (lightweight listing).
|
|
219
|
+
* @param options Query options
|
|
220
|
+
* @returns Pattern summaries
|
|
221
|
+
*/
|
|
222
|
+
getSummaries(options?: PatternQueryOptions): Promise<PatternSummary[]>;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Base configuration for pattern repositories
|
|
226
|
+
*/
|
|
227
|
+
export interface PatternRepositoryConfig {
|
|
228
|
+
/** Root directory for storage */
|
|
229
|
+
rootDir: string;
|
|
230
|
+
/** Enable auto-save on changes */
|
|
231
|
+
autoSave?: boolean;
|
|
232
|
+
/** Auto-save debounce delay in milliseconds */
|
|
233
|
+
autoSaveDelayMs?: number;
|
|
234
|
+
/** Enable schema validation */
|
|
235
|
+
validateSchema?: boolean;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Default repository configuration
|
|
239
|
+
*/
|
|
240
|
+
export declare const DEFAULT_REPOSITORY_CONFIG: Required<PatternRepositoryConfig>;
|
|
241
|
+
//# sourceMappingURL=repository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/patterns/repository.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EACV,OAAO,EACP,eAAe,EACf,aAAa,EACb,eAAe,EACf,QAAQ,EACR,cAAc,EACf,MAAM,YAAY,CAAC;AAMpB;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,4BAA4B;IAC5B,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EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAErC;;;;OAIG;IACH,YAAY,CAAC,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;CACxE;AAMD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,iCAAiC;IACjC,OAAO,EAAE,MAAM,CAAC;IAEhB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,+CAA+C;IAC/C,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,+BAA+B;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,uBAAuB,CAKvE,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pattern Repository Interface
|
|
3
|
+
*
|
|
4
|
+
* Defines the storage abstraction layer for patterns. All pattern storage
|
|
5
|
+
* implementations must implement this interface, enabling:
|
|
6
|
+
* - Swappable storage backends (file, sharded, in-memory, etc.)
|
|
7
|
+
* - Consistent API for all consumers
|
|
8
|
+
* - Easy testing with mock implementations
|
|
9
|
+
* - Caching decorators
|
|
10
|
+
*
|
|
11
|
+
* @module patterns/repository
|
|
12
|
+
* @see PATTERN-SYSTEM-CONSOLIDATION.md
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Default repository configuration
|
|
16
|
+
*/
|
|
17
|
+
export const DEFAULT_REPOSITORY_CONFIG = {
|
|
18
|
+
rootDir: '.',
|
|
19
|
+
autoSave: true,
|
|
20
|
+
autoSaveDelayMs: 1000,
|
|
21
|
+
validateSchema: true,
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=repository.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repository.js","sourceRoot":"","sources":["../../src/patterns/repository.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAgUH;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAsC;IAC1E,OAAO,EAAE,GAAG;IACZ,QAAQ,EAAE,IAAI;IACd,eAAe,EAAE,IAAI;IACrB,cAAc,EAAE,IAAI;CACrB,CAAC"}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pattern Service Interface
|
|
3
|
+
*
|
|
4
|
+
* Defines the consumer-facing API for pattern operations. This is the
|
|
5
|
+
* recommended interface for all consumers (MCP tools, CLI, Dashboard).
|
|
6
|
+
*
|
|
7
|
+
* The service layer provides:
|
|
8
|
+
* - Higher-level operations than the repository
|
|
9
|
+
* - Business logic (validation, enrichment)
|
|
10
|
+
* - Caching integration
|
|
11
|
+
* - Metrics collection
|
|
12
|
+
*
|
|
13
|
+
* @module patterns/service
|
|
14
|
+
* @see PATTERN-SYSTEM-CONSOLIDATION.md
|
|
15
|
+
*/
|
|
16
|
+
import type { Pattern, PatternCategory, PatternStatus, ConfidenceLevel, PatternSummary } from './types.js';
|
|
17
|
+
import type { PatternQueryOptions, PatternQueryResult } from './repository.js';
|
|
18
|
+
/**
|
|
19
|
+
* Overall pattern system status
|
|
20
|
+
*/
|
|
21
|
+
export interface PatternSystemStatus {
|
|
22
|
+
/** Total number of patterns */
|
|
23
|
+
totalPatterns: number;
|
|
24
|
+
/** Patterns by status */
|
|
25
|
+
byStatus: Record<PatternStatus, number>;
|
|
26
|
+
/** Patterns by category */
|
|
27
|
+
byCategory: Record<PatternCategory, number>;
|
|
28
|
+
/** Patterns by confidence level */
|
|
29
|
+
byConfidence: Record<ConfidenceLevel, number>;
|
|
30
|
+
/** Last scan timestamp */
|
|
31
|
+
lastScanAt: Date | null;
|
|
32
|
+
/** Overall health score (0-100) */
|
|
33
|
+
healthScore: number;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Category summary for exploration
|
|
37
|
+
*/
|
|
38
|
+
export interface CategorySummary {
|
|
39
|
+
/** Category name */
|
|
40
|
+
category: PatternCategory;
|
|
41
|
+
/** Total patterns in category */
|
|
42
|
+
count: number;
|
|
43
|
+
/** Approved patterns */
|
|
44
|
+
approvedCount: number;
|
|
45
|
+
/** Discovered patterns */
|
|
46
|
+
discoveredCount: number;
|
|
47
|
+
/** High confidence patterns */
|
|
48
|
+
highConfidenceCount: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Code example from a pattern location
|
|
52
|
+
*/
|
|
53
|
+
export interface CodeExample {
|
|
54
|
+
/** File path */
|
|
55
|
+
file: string;
|
|
56
|
+
/** Start line */
|
|
57
|
+
startLine: number;
|
|
58
|
+
/** End line */
|
|
59
|
+
endLine: number;
|
|
60
|
+
/** Code content */
|
|
61
|
+
code: string;
|
|
62
|
+
/** Programming language */
|
|
63
|
+
language: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Pattern with enriched code examples
|
|
67
|
+
*/
|
|
68
|
+
export interface PatternWithExamples extends Pattern {
|
|
69
|
+
/** Code examples from pattern locations */
|
|
70
|
+
codeExamples: CodeExample[];
|
|
71
|
+
/** Related patterns */
|
|
72
|
+
relatedPatterns: PatternSummary[];
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Options for listing patterns
|
|
76
|
+
*/
|
|
77
|
+
export interface ListOptions {
|
|
78
|
+
/** Number of results to skip */
|
|
79
|
+
offset?: number;
|
|
80
|
+
/** Maximum number of results */
|
|
81
|
+
limit?: number;
|
|
82
|
+
/** Sort field */
|
|
83
|
+
sortBy?: 'name' | 'confidence' | 'severity' | 'firstSeen' | 'lastSeen' | 'locationCount';
|
|
84
|
+
/** Sort direction */
|
|
85
|
+
sortDirection?: 'asc' | 'desc';
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Paginated result
|
|
89
|
+
*/
|
|
90
|
+
export interface PaginatedResult<T> {
|
|
91
|
+
/** Items in this page */
|
|
92
|
+
items: T[];
|
|
93
|
+
/** Total count */
|
|
94
|
+
total: number;
|
|
95
|
+
/** Whether there are more results */
|
|
96
|
+
hasMore: boolean;
|
|
97
|
+
/** Current offset */
|
|
98
|
+
offset: number;
|
|
99
|
+
/** Current limit */
|
|
100
|
+
limit: number;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Search options
|
|
104
|
+
*/
|
|
105
|
+
export interface SearchOptions {
|
|
106
|
+
/** Categories to search in */
|
|
107
|
+
categories?: PatternCategory[];
|
|
108
|
+
/** Statuses to include */
|
|
109
|
+
statuses?: PatternStatus[];
|
|
110
|
+
/** Minimum confidence */
|
|
111
|
+
minConfidence?: number;
|
|
112
|
+
/** Maximum results */
|
|
113
|
+
limit?: number;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Pattern Service Interface
|
|
117
|
+
*
|
|
118
|
+
* High-level API for pattern operations. All consumers should use this
|
|
119
|
+
* interface instead of directly accessing the repository.
|
|
120
|
+
*/
|
|
121
|
+
export interface IPatternService {
|
|
122
|
+
/**
|
|
123
|
+
* Get overall pattern system status.
|
|
124
|
+
* Optimized for instant response.
|
|
125
|
+
*/
|
|
126
|
+
getStatus(): Promise<PatternSystemStatus>;
|
|
127
|
+
/**
|
|
128
|
+
* Get category summaries.
|
|
129
|
+
* Optimized for instant response.
|
|
130
|
+
*/
|
|
131
|
+
getCategories(): Promise<CategorySummary[]>;
|
|
132
|
+
/**
|
|
133
|
+
* List patterns with pagination.
|
|
134
|
+
* @param options List options
|
|
135
|
+
*/
|
|
136
|
+
listPatterns(options?: ListOptions): Promise<PaginatedResult<PatternSummary>>;
|
|
137
|
+
/**
|
|
138
|
+
* List patterns in a category.
|
|
139
|
+
* @param category The category
|
|
140
|
+
* @param options List options
|
|
141
|
+
*/
|
|
142
|
+
listByCategory(category: PatternCategory, options?: ListOptions): Promise<PaginatedResult<PatternSummary>>;
|
|
143
|
+
/**
|
|
144
|
+
* List patterns with a specific status.
|
|
145
|
+
* @param status The status
|
|
146
|
+
* @param options List options
|
|
147
|
+
*/
|
|
148
|
+
listByStatus(status: PatternStatus, options?: ListOptions): Promise<PaginatedResult<PatternSummary>>;
|
|
149
|
+
/**
|
|
150
|
+
* Get a pattern by ID.
|
|
151
|
+
* @param id The pattern ID
|
|
152
|
+
*/
|
|
153
|
+
getPattern(id: string): Promise<Pattern | null>;
|
|
154
|
+
/**
|
|
155
|
+
* Get a pattern with code examples.
|
|
156
|
+
* @param id The pattern ID
|
|
157
|
+
* @param maxExamples Maximum examples to include
|
|
158
|
+
*/
|
|
159
|
+
getPatternWithExamples(id: string, maxExamples?: number): Promise<PatternWithExamples | null>;
|
|
160
|
+
/**
|
|
161
|
+
* Get patterns in a specific file.
|
|
162
|
+
* @param file The file path
|
|
163
|
+
*/
|
|
164
|
+
getPatternsByFile(file: string): Promise<Pattern[]>;
|
|
165
|
+
/**
|
|
166
|
+
* Approve a pattern.
|
|
167
|
+
* @param id The pattern ID
|
|
168
|
+
* @param approvedBy Optional user who approved
|
|
169
|
+
*/
|
|
170
|
+
approvePattern(id: string, approvedBy?: string): Promise<Pattern>;
|
|
171
|
+
/**
|
|
172
|
+
* Ignore a pattern.
|
|
173
|
+
* @param id The pattern ID
|
|
174
|
+
*/
|
|
175
|
+
ignorePattern(id: string): Promise<Pattern>;
|
|
176
|
+
/**
|
|
177
|
+
* Approve multiple patterns.
|
|
178
|
+
* @param ids The pattern IDs
|
|
179
|
+
* @param approvedBy Optional user who approved
|
|
180
|
+
*/
|
|
181
|
+
approveMany(ids: string[], approvedBy?: string): Promise<Pattern[]>;
|
|
182
|
+
/**
|
|
183
|
+
* Ignore multiple patterns.
|
|
184
|
+
* @param ids The pattern IDs
|
|
185
|
+
*/
|
|
186
|
+
ignoreMany(ids: string[]): Promise<Pattern[]>;
|
|
187
|
+
/**
|
|
188
|
+
* Search patterns by name/description.
|
|
189
|
+
* @param query Search query
|
|
190
|
+
* @param options Search options
|
|
191
|
+
*/
|
|
192
|
+
search(query: string, options?: SearchOptions): Promise<PatternSummary[]>;
|
|
193
|
+
/**
|
|
194
|
+
* Execute a custom query.
|
|
195
|
+
* @param options Query options
|
|
196
|
+
*/
|
|
197
|
+
query(options: PatternQueryOptions): Promise<PatternQueryResult>;
|
|
198
|
+
/**
|
|
199
|
+
* Add a new pattern.
|
|
200
|
+
* @param pattern The pattern to add
|
|
201
|
+
*/
|
|
202
|
+
addPattern(pattern: Pattern): Promise<void>;
|
|
203
|
+
/**
|
|
204
|
+
* Add multiple patterns.
|
|
205
|
+
* @param patterns The patterns to add
|
|
206
|
+
*/
|
|
207
|
+
addPatterns(patterns: Pattern[]): Promise<void>;
|
|
208
|
+
/**
|
|
209
|
+
* Update an existing pattern.
|
|
210
|
+
* @param id The pattern ID
|
|
211
|
+
* @param updates Partial pattern updates
|
|
212
|
+
*/
|
|
213
|
+
updatePattern(id: string, updates: Partial<Pattern>): Promise<Pattern>;
|
|
214
|
+
/**
|
|
215
|
+
* Delete a pattern.
|
|
216
|
+
* @param id The pattern ID
|
|
217
|
+
*/
|
|
218
|
+
deletePattern(id: string): Promise<boolean>;
|
|
219
|
+
/**
|
|
220
|
+
* Save all pending changes.
|
|
221
|
+
*/
|
|
222
|
+
save(): Promise<void>;
|
|
223
|
+
/**
|
|
224
|
+
* Clear all patterns.
|
|
225
|
+
*/
|
|
226
|
+
clear(): Promise<void>;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Pattern service configuration
|
|
230
|
+
*/
|
|
231
|
+
export interface PatternServiceConfig {
|
|
232
|
+
/** Enable caching */
|
|
233
|
+
enableCache?: boolean;
|
|
234
|
+
/** Cache TTL in milliseconds */
|
|
235
|
+
cacheTtlMs?: number;
|
|
236
|
+
/** Enable metrics collection */
|
|
237
|
+
enableMetrics?: boolean;
|
|
238
|
+
/** Context lines for code examples */
|
|
239
|
+
codeExampleContextLines?: number;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Default service configuration
|
|
243
|
+
*/
|
|
244
|
+
export declare const DEFAULT_SERVICE_CONFIG: Required<PatternServiceConfig>;
|
|
245
|
+
//# sourceMappingURL=service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/patterns/service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,OAAO,EACP,eAAe,EACf,aAAa,EACb,eAAe,EACf,cAAc,EACf,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAM/E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,+BAA+B;IAC/B,aAAa,EAAE,MAAM,CAAC;IAEtB,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAExC,2BAA2B;IAC3B,UAAU,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IAE5C,mCAAmC;IACnC,YAAY,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IAE9C,0BAA0B;IAC1B,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IAExB,mCAAmC;IACnC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,oBAAoB;IACpB,QAAQ,EAAE,eAAe,CAAC;IAE1B,iCAAiC;IACjC,KAAK,EAAE,MAAM,CAAC;IAEd,wBAAwB;IACxB,aAAa,EAAE,MAAM,CAAC;IAEtB,0BAA0B;IAC1B,eAAe,EAAE,MAAM,CAAC;IAExB,+BAA+B;IAC/B,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAMD;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,gBAAgB;IAChB,IAAI,EAAE,MAAM,CAAC;IAEb,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAC;IAElB,eAAe;IACf,OAAO,EAAE,MAAM,CAAC;IAEhB,mBAAmB;I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