@goodbones/core 0.1.0-beta.10 → 0.1.0-beta.12

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.
Files changed (119) hide show
  1. package/build/dts/core/structure.d.ts.map +1 -1
  2. package/build/dts/domain/architecture-config.d.ts +3 -310
  3. package/build/dts/domain/architecture-config.d.ts.map +1 -1
  4. package/build/dts/domain/snapshot.d.ts +150 -18
  5. package/build/dts/domain/snapshot.d.ts.map +1 -1
  6. package/build/dts/index.d.ts +11 -14
  7. package/build/dts/index.d.ts.map +1 -1
  8. package/build/dts/infrastructure/file-system-fake.d.ts.map +1 -1
  9. package/build/dts/infrastructure/file-system-live.d.ts.map +1 -1
  10. package/build/dts/infrastructure/walk.d.ts +6 -1
  11. package/build/dts/infrastructure/walk.d.ts.map +1 -1
  12. package/build/dts/load/extension.d.ts +33 -0
  13. package/build/dts/load/extension.d.ts.map +1 -0
  14. package/build/dts/load/policy.d.ts +4 -10
  15. package/build/dts/load/policy.d.ts.map +1 -1
  16. package/build/dts/manifest/compile.d.ts +7 -2
  17. package/build/dts/manifest/compile.d.ts.map +1 -1
  18. package/build/dts/manifest/extension.d.ts +8 -0
  19. package/build/dts/manifest/extension.d.ts.map +1 -0
  20. package/build/dts/manifest/glob.d.ts +1 -0
  21. package/build/dts/manifest/glob.d.ts.map +1 -1
  22. package/build/dts/manifest/json-schema.d.ts +6 -2
  23. package/build/dts/manifest/json-schema.d.ts.map +1 -1
  24. package/build/dts/manifest/manifest.d.ts +7 -362
  25. package/build/dts/manifest/manifest.d.ts.map +1 -1
  26. package/build/dts/ports/file-system.d.ts +1 -0
  27. package/build/dts/ports/file-system.d.ts.map +1 -1
  28. package/build/dts/testing.d.ts +0 -1
  29. package/build/dts/testing.d.ts.map +1 -1
  30. package/build/esm/core/structure.js +1 -1
  31. package/build/esm/core/structure.js.map +1 -1
  32. package/build/esm/domain/architecture-config.js +3 -136
  33. package/build/esm/domain/architecture-config.js.map +1 -1
  34. package/build/esm/domain/snapshot.js +55 -15
  35. package/build/esm/domain/snapshot.js.map +1 -1
  36. package/build/esm/index.js +16 -10
  37. package/build/esm/index.js.map +1 -1
  38. package/build/esm/infrastructure/file-system-fake.js +10 -0
  39. package/build/esm/infrastructure/file-system-fake.js.map +1 -1
  40. package/build/esm/infrastructure/file-system-live.js +9 -1
  41. package/build/esm/infrastructure/file-system-live.js.map +1 -1
  42. package/build/esm/infrastructure/walk.js +50 -4
  43. package/build/esm/infrastructure/walk.js.map +1 -1
  44. package/build/esm/load/extension.js +2 -0
  45. package/build/esm/load/extension.js.map +1 -0
  46. package/build/esm/load/policy.js +43 -116
  47. package/build/esm/load/policy.js.map +1 -1
  48. package/build/esm/manifest/compile.js +3 -182
  49. package/build/esm/manifest/compile.js.map +1 -1
  50. package/build/esm/manifest/extension.js +2 -0
  51. package/build/esm/manifest/extension.js.map +1 -0
  52. package/build/esm/manifest/glob.js +3 -0
  53. package/build/esm/manifest/glob.js.map +1 -1
  54. package/build/esm/manifest/json-schema.js +45 -11
  55. package/build/esm/manifest/json-schema.js.map +1 -1
  56. package/build/esm/manifest/manifest.js +56 -172
  57. package/build/esm/manifest/manifest.js.map +1 -1
  58. package/build/esm/testing.js +0 -1
  59. package/build/esm/testing.js.map +1 -1
  60. package/package.json +1 -1
  61. package/schema/architecture-node.schema.json +0 -887
  62. package/schema/architecture.schema.json +3264 -1591
  63. package/schema/conformance.schema.json +291 -47
  64. package/src/core/structure.ts +5 -3
  65. package/src/domain/architecture-config.ts +3 -180
  66. package/src/domain/snapshot.ts +125 -25
  67. package/src/index.ts +51 -78
  68. package/src/infrastructure/file-system-fake.ts +12 -0
  69. package/src/infrastructure/file-system-live.ts +8 -1
  70. package/src/infrastructure/walk.ts +58 -3
  71. package/src/load/extension.ts +66 -0
  72. package/src/load/policy.ts +60 -175
  73. package/src/manifest/compile.ts +2 -213
  74. package/src/manifest/extension.ts +41 -0
  75. package/src/manifest/glob.ts +5 -0
  76. package/src/manifest/json-schema.ts +53 -11
  77. package/src/manifest/manifest.ts +82 -214
  78. package/src/ports/file-system.ts +3 -0
  79. package/src/testing.ts +0 -1
  80. package/build/dts/core/campaigns.d.ts +0 -141
  81. package/build/dts/core/campaigns.d.ts.map +0 -1
  82. package/build/dts/core/ledger.d.ts +0 -61
  83. package/build/dts/core/ledger.d.ts.map +0 -1
  84. package/build/dts/domain/report.d.ts +0 -16
  85. package/build/dts/domain/report.d.ts.map +0 -1
  86. package/build/dts/infrastructure/campaign-functions.d.ts +0 -7
  87. package/build/dts/infrastructure/campaign-functions.d.ts.map +0 -1
  88. package/build/dts/infrastructure/report-source-fake.d.ts +0 -4
  89. package/build/dts/infrastructure/report-source-fake.d.ts.map +0 -1
  90. package/build/dts/infrastructure/report-source-live.d.ts +0 -3
  91. package/build/dts/infrastructure/report-source-live.d.ts.map +0 -1
  92. package/build/dts/ports/campaign-predicate.d.ts +0 -24
  93. package/build/dts/ports/campaign-predicate.d.ts.map +0 -1
  94. package/build/dts/ports/report-source.d.ts +0 -14
  95. package/build/dts/ports/report-source.d.ts.map +0 -1
  96. package/build/esm/core/campaigns.js +0 -778
  97. package/build/esm/core/campaigns.js.map +0 -1
  98. package/build/esm/core/ledger.js +0 -171
  99. package/build/esm/core/ledger.js.map +0 -1
  100. package/build/esm/domain/report.js +0 -168
  101. package/build/esm/domain/report.js.map +0 -1
  102. package/build/esm/infrastructure/campaign-functions.js +0 -67
  103. package/build/esm/infrastructure/campaign-functions.js.map +0 -1
  104. package/build/esm/infrastructure/report-source-fake.js +0 -6
  105. package/build/esm/infrastructure/report-source-fake.js.map +0 -1
  106. package/build/esm/infrastructure/report-source-live.js +0 -165
  107. package/build/esm/infrastructure/report-source-live.js.map +0 -1
  108. package/build/esm/ports/campaign-predicate.js +0 -2
  109. package/build/esm/ports/campaign-predicate.js.map +0 -1
  110. package/build/esm/ports/report-source.js +0 -7
  111. package/build/esm/ports/report-source.js.map +0 -1
  112. package/src/core/campaigns.ts +0 -1056
  113. package/src/core/ledger.ts +0 -242
  114. package/src/domain/report.ts +0 -203
  115. package/src/infrastructure/campaign-functions.ts +0 -98
  116. package/src/infrastructure/report-source-fake.ts +0 -10
  117. package/src/infrastructure/report-source-live.ts +0 -192
  118. package/src/ports/campaign-predicate.ts +0 -30
  119. package/src/ports/report-source.ts +0 -35
@@ -1,61 +0,0 @@
1
- import * as Result from "effect/Result";
2
- import * as Schema from "effect/Schema";
3
- import type { CampaignUnit } from "../domain/architecture-config.js";
4
- import type { Violation } from "../domain/violation.js";
5
- declare const Regression: Schema.Struct<{
6
- readonly at: Schema.String;
7
- readonly by: Schema.String;
8
- readonly delta: Schema.Finite;
9
- readonly reason: Schema.String;
10
- readonly entries: Schema.$Array<Schema.String>;
11
- }>;
12
- export declare const Ledger: Schema.Struct<{
13
- readonly version: Schema.Literal<1>;
14
- readonly id: Schema.String;
15
- readonly created: Schema.String;
16
- readonly initial: Schema.Finite;
17
- readonly fixed: Schema.Finite;
18
- readonly lastProgress: Schema.String;
19
- readonly regressions: Schema.$Array<Schema.Struct<{
20
- readonly at: Schema.String;
21
- readonly by: Schema.String;
22
- readonly delta: Schema.Finite;
23
- readonly reason: Schema.String;
24
- readonly entries: Schema.$Array<Schema.String>;
25
- }>>;
26
- readonly entries: Schema.$Array<Schema.String>;
27
- }>;
28
- export type Ledger = typeof Ledger.Type;
29
- export type Regression = typeof Regression.Type;
30
- export declare const EMPTY_LEDGER: (id: string, now: number) => Ledger;
31
- export declare const decodeLedger: (raw: unknown) => Result.Result<Ledger, string>;
32
- export declare const serializeLedger: (ledger: Ledger) => string;
33
- export declare const entryOf: (violation: Violation) => string;
34
- export declare const ledgerArithmeticHolds: (ledger: Ledger) => boolean;
35
- export type Reconciliation = {
36
- readonly ledgered: ReadonlyArray<Violation>;
37
- readonly unrecorded: ReadonlyArray<Violation>;
38
- readonly stale: ReadonlyArray<string>;
39
- readonly drifted: ReadonlyArray<{
40
- readonly from: string;
41
- readonly to: string;
42
- }>;
43
- };
44
- export declare const reconcile: (ledger: Ledger, hits: Iterable<Violation>, unit: CampaignUnit) => Reconciliation;
45
- export declare const staleEntriesOf: (ledger: Ledger, hits: Iterable<Violation>, unit: CampaignUnit) => ReadonlyArray<string>;
46
- export declare const newEntriesOf: (ledger: Ledger, hits: Iterable<Violation>, unit: CampaignUnit) => ReadonlyArray<string>;
47
- export declare const ledgerOf: (id: string, hits: Iterable<Violation>, now: number) => Ledger;
48
- export declare const pruned: (ledger: Ledger, hits: Iterable<Violation>, unit: CampaignUnit, now: number) => Ledger;
49
- export type RegressionRecord = {
50
- readonly at: number;
51
- readonly by: string;
52
- readonly reason: string;
53
- };
54
- export declare const allowed: (ledger: Ledger, entries: Iterable<string>, record: RegressionRecord) => Ledger;
55
- export declare const progressOf: (ledger: Ledger) => number;
56
- export declare const isComplete: (ledger: Ledger) => boolean;
57
- export declare const isStalled: (rule: {
58
- readonly staleAfter: number;
59
- }, ledger: Ledger, now: number) => boolean;
60
- export {};
61
- //# sourceMappingURL=ledger.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ledger.d.ts","sourceRoot":"","sources":["../../../src/core/ledger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAiBxD,QAAA,MAAM,UAAU;;;;;;EAMd,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;EAajB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC,IAAI,CAAC;AACxC,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,IAAI,CAAC;AAIhD,eAAO,MAAM,YAAY,OAAQ,MAAM,OAAO,MAAM,KAAG,MAYtD,CAAC;AAMF,eAAO,MAAM,YAAY,QAAS,OAAO,KAAG,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAKvE,CAAC;AAEF,eAAO,MAAM,eAAe,WAAY,MAAM,KAAG,MAAgD,CAAC;AAGlG,eAAO,MAAM,OAAO,cAAe,SAAS,KAAG,MACyC,CAAC;AAKzF,eAAO,MAAM,qBAAqB,WAAY,MAAM,KAAG,OACQ,CAAC;AAMhE,MAAM,MAAM,cAAc,GAAG;IAE3B,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAE5C,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAE9C,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAGtC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACjF,CAAC;AAEF,eAAO,MAAM,SAAS,WACZ,MAAM,QACR,QAAQ,CAAC,SAAS,CAAC,QACnB,YAAY,KACjB,cA0CF,CAAC;AAEF,eAAO,MAAM,cAAc,WACjB,MAAM,QACR,QAAQ,CAAC,SAAS,CAAC,QACnB,YAAY,KACjB,aAAa,CAAC,MAAM,CAAwC,CAAC;AAEhE,eAAO,MAAM,YAAY,WACf,MAAM,QACR,QAAQ,CAAC,SAAS,CAAC,QACnB,YAAY,KACjB,aAAa,CAAC,MAAM,CAA0D,CAAC;AAKlF,eAAO,MAAM,QAAQ,OAAQ,MAAM,QAAQ,QAAQ,CAAC,SAAS,CAAC,OAAO,MAAM,KAAG,MAG7E,CAAC;AAKF,eAAO,MAAM,MAAM,WACT,MAAM,QACR,QAAQ,CAAC,SAAS,CAAC,QACnB,YAAY,OACb,MAAM,KACV,MAeF,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB,CAAC;AAKF,eAAO,MAAM,OAAO,WACV,MAAM,WACL,QAAQ,CAAC,MAAM,CAAC,UACjB,gBAAgB,KACvB,MAkBF,CAAC;AAIF,eAAO,MAAM,UAAU,WAAY,MAAM,KAAG,MAG3C,CAAC;AAEF,eAAO,MAAM,UAAU,WAAY,MAAM,KAAG,OAAsC,CAAC;AAEnF,eAAO,MAAM,SAAS,SACd;IAAE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;CAAE,UAC7B,MAAM,OACT,MAAM,KACV,OAAyF,CAAC"}
@@ -1,16 +0,0 @@
1
- export type Diagnostic = {
2
- readonly file: string;
3
- readonly line: number;
4
- readonly column: number;
5
- readonly code: string;
6
- readonly message: string;
7
- };
8
- export type ReportFormat = "tsc" | "eslint" | "oxlint" | "regex";
9
- export type ParseReportOptions = {
10
- readonly repoRoot: string;
11
- readonly pattern?: string | undefined;
12
- };
13
- export declare const parseReport: (format: ReportFormat, text: string, options: ParseReportOptions) => ReadonlyArray<Diagnostic>;
14
- export declare const uniqueDiagnostics: (diagnostics: Iterable<Diagnostic>) => ReadonlyArray<Diagnostic>;
15
- export declare const indexByFile: (diagnostics: Iterable<Diagnostic>) => ReadonlyMap<string, ReadonlyArray<Diagnostic>>;
16
- //# sourceMappingURL=report.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../src/domain/report.ts"],"names":[],"mappings":"AAOA,MAAM,MAAM,UAAU,GAAG;IAEvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAGxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEjE,MAAM,MAAM,kBAAkB,GAAG;IAE/B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAI1B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AA+HF,eAAO,MAAM,WAAW,WACd,YAAY,QACd,MAAM,WACH,kBAAkB,KAC1B,aAAa,CAAC,UAAU,CAW1B,CAAC;AAOF,eAAO,MAAM,iBAAiB,gBAAiB,QAAQ,CAAC,UAAU,CAAC,KAAG,aAAa,CAAC,UAAU,CAU7F,CAAC;AAIF,eAAO,MAAM,WAAW,gBACT,QAAQ,CAAC,UAAU,CAAC,KAChC,WAAW,CAAC,MAAM,EAAE,aAAa,CAAC,UAAU,CAAC,CAQ/C,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { CampaignPredicate } from "../ports/campaign-predicate.js";
2
- export type LoadedCampaignFunctions = {
3
- readonly functions: ReadonlyMap<string, CampaignPredicate>;
4
- readonly manifest: unknown;
5
- };
6
- export declare const loadCampaignFunctions: (manifestPath: string, rawManifest: unknown) => Promise<LoadedCampaignFunctions>;
7
- //# sourceMappingURL=campaign-functions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"campaign-functions.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/campaign-functions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAcxE,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,CAAC,SAAS,EAAE,WAAW,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IAE3D,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;CAC5B,CAAC;AAWF,eAAO,MAAM,qBAAqB,iBAClB,MAAM,eACP,OAAO,KACnB,OAAO,CAAC,uBAAuB,CA6DjC,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Diagnostic } from "../domain/report.js";
2
- import type { ReportSource } from "../ports/report-source.js";
3
- export declare const makeReportSourceFake: (staged: Readonly<Record<string, ReadonlyArray<Omit<Diagnostic, "file">>>>) => ReportSource;
4
- //# sourceMappingURL=report-source-fake.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"report-source-fake.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/report-source-fake.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAI9D,eAAO,MAAM,oBAAoB,WACvB,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,KACxE,YAED,CAAC"}
@@ -1,3 +0,0 @@
1
- import { type ReportSource } from "../ports/report-source.js";
2
- export declare const makeReportSourceLive: (repoRoot: string) => ReportSource;
3
- //# sourceMappingURL=report-source-live.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"report-source-live.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/report-source-live.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,YAAY,EAAoC,MAAM,2BAA2B,CAAC;AAoHhG,eAAO,MAAM,oBAAoB,aAAc,MAAM,KAAG,YAoEvD,CAAC"}
@@ -1,24 +0,0 @@
1
- import type { SourceFacts } from "../domain/facts.js";
2
- import type { SyntaxTree } from "./syntax-matcher.js";
3
- export type Range = {
4
- readonly start: {
5
- readonly line: number;
6
- readonly column: number;
7
- };
8
- readonly end: {
9
- readonly line: number;
10
- readonly column: number;
11
- };
12
- };
13
- export type CampaignPredicateInput = {
14
- readonly file: string;
15
- readonly text: string;
16
- readonly facts: SourceFacts;
17
- readonly syntax: SyntaxTree | null;
18
- };
19
- export type CampaignSubject = {
20
- readonly subject: string;
21
- readonly range?: Range;
22
- };
23
- export type CampaignPredicate = (input: CampaignPredicateInput) => boolean | ReadonlyArray<CampaignSubject>;
24
- //# sourceMappingURL=campaign-predicate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"campaign-predicate.d.ts","sourceRoot":"","sources":["../../../src/ports/campaign-predicate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAUtD,MAAM,MAAM,KAAK,GAAG;IAElB,QAAQ,CAAC,KAAK,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACnE,QAAQ,CAAC,GAAG,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CAClE,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;IAE5B,QAAQ,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAEnF,MAAM,MAAM,iBAAiB,GAAG,CAC9B,KAAK,EAAE,sBAAsB,KAC1B,OAAO,GAAG,aAAa,CAAC,eAAe,CAAC,CAAC"}
@@ -1,14 +0,0 @@
1
- import type { Diagnostic, ReportFormat } from "../domain/report.js";
2
- export type ReportSpec = {
3
- readonly command?: string | ReadonlyArray<string> | undefined;
4
- readonly file?: string | ReadonlyArray<string> | undefined;
5
- readonly format: ReportFormat;
6
- readonly pattern?: string | undefined;
7
- };
8
- export declare const reportSourcesOf: (spec: ReportSpec) => ReadonlyArray<string>;
9
- export type ReportSource = {
10
- readonly diagnosticsOf: (spec: ReportSpec, file: string) => ReadonlyArray<Diagnostic>;
11
- readonly read?: ((spec: ReportSpec) => Promise<void>) | undefined;
12
- };
13
- export declare const NO_REPORTS: ReportSource;
14
- //# sourceMappingURL=report-source.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"report-source.d.ts","sourceRoot":"","sources":["../../../src/ports/report-source.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAKpE,MAAM,MAAM,UAAU,GAAG;IACvB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC9D,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC3D,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAE9B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AAGF,eAAO,MAAM,eAAe,SAAU,UAAU,KAAG,aAAa,CAAC,MAAM,CAGtE,CAAC;AAYF,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,aAAa,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,aAAa,CAAC,UAAU,CAAC,CAAC;IACtF,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,UAAU,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,SAAS,CAAC;CACnE,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,YAA0C,CAAC"}