ax 0.2.1 → 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.
@@ -0,0 +1,22 @@
1
+ import type { components } from "./types.gen";
2
+ import { BUILT_AGAINST } from "./version";
3
+ export type AuditScanResult = components["schemas"]["AuditScanResult"];
4
+ export type AuditScoreResult = components["schemas"]["AuditScoreResult"];
5
+ export type AuditCheck = components["schemas"]["AuditCheck"];
6
+ export type AuditLayer = components["schemas"]["AuditLayer"];
7
+ export type AuditTopFix = AuditScanResult["topFixes"][number];
8
+ export type JourneyRun = components["schemas"]["JourneyRun"];
9
+ export type JourneyCappedRun = components["schemas"]["JourneyCappedRun"];
10
+ export type JourneyRunDetail = components["schemas"]["JourneyRunDetail"];
11
+ export type JourneyRunResult = components["schemas"]["JourneyRunResult"];
12
+ export type JourneyTrajectoryStep = components["schemas"]["JourneyTrajectoryStep"];
13
+ export { BUILT_AGAINST };
14
+ /**
15
+ * True when the server reports a newer contract (major or minor) than the one
16
+ * this build was generated against. Patch drift is spec-prose only - silent.
17
+ */
18
+ export declare function isNewerContract(payloadVersion: string | undefined): boolean;
19
+ /** One stderr line per process when the server's contract is newer than ours. */
20
+ export declare function warnOnNewerContract(payloadVersion: string | undefined): void;
21
+ /** Test hook: reset the once-per-process warning latch. */
22
+ export declare function resetContractWarning(): void;