no-mistakes 0.79.0 → 0.80.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "no-mistakes",
3
- "version": "0.79.0",
3
+ "version": "0.80.0",
4
4
  "description": "Deterministic impact maps, test plans, Playwright coverage, and repository checks for coding agents",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -45,9 +45,9 @@
45
45
  "access": "public"
46
46
  },
47
47
  "optionalDependencies": {
48
- "no-mistakes-darwin-arm64": "0.79.0",
49
- "no-mistakes-linux-arm64-gnu": "0.79.0",
50
- "no-mistakes-linux-x64-gnu": "0.79.0",
51
- "no-mistakes-win32-x64-msvc": "0.79.0"
48
+ "no-mistakes-darwin-arm64": "0.80.0",
49
+ "no-mistakes-linux-arm64-gnu": "0.80.0",
50
+ "no-mistakes-linux-x64-gnu": "0.80.0",
51
+ "no-mistakes-win32-x64-msvc": "0.80.0"
52
52
  }
53
53
  }
@@ -1,3 +1,4 @@
1
+ import type { PostgresSqlWrapper } from "./postgres-wrapper-types";
1
2
  import type {
2
3
  PostgresSqlExpression,
3
4
  PostgresSqlIdentifier,
@@ -11,6 +12,8 @@ export interface PostgresSqlFunctionArgument {
11
12
  default: PostgresSqlExpression | null;
12
13
  }
13
14
  export interface PostgresSqlFunction {
15
+ /** Non-executing declaration; opaque bodies have incomplete child facts. */
16
+ wrapper: PostgresSqlWrapper;
14
17
  name: PostgresSqlName;
15
18
  arguments: PostgresSqlFunctionArgument[];
16
19
  returnType: PostgresSqlType | null;
@@ -1,3 +1,5 @@
1
+ import type { PostgresSqlWrapper } from "./postgres-wrapper-types";
2
+ export type * from "./postgres-wrapper-types";
1
3
  import type { PostgresSqlFunction } from "./postgres-function-types";
2
4
  import type { PostgresSqlComment, PostgresSqlAlterIndex } from "./postgres-metadata-types";
3
5
  export type * from "./postgres-metadata-types";
@@ -160,6 +162,7 @@ export interface PostgresSqlTrigger {
160
162
  export type PostgresSqlStatementKind =
161
163
  | { kind: "comment"; comment: PostgresSqlComment }
162
164
  | { kind: "alterIndex"; index: PostgresSqlAlterIndex }
165
+ | { kind: "wrapper"; wrapper: PostgresSqlWrapper }
163
166
  | { kind: "insert"; insert: PostgresSqlInsert }
164
167
  | { kind: "select"; query: PostgresSqlQuery }
165
168
  | {
@@ -0,0 +1,16 @@
1
+ import type {
2
+ PostgresSqlDiagnostic,
3
+ PostgresSqlSpan,
4
+ PostgresSqlStatement,
5
+ } from "./postgres-source-types";
6
+ export type PostgresSqlExecution = "nonExecuting" | "executesForAnalysis" | "unknown";
7
+ export type PostgresSqlWrapperKind = "explain" | "prepare" | "functionDeclaration";
8
+ /** Ordered child source occurrences inherit the enclosing execution context. */
9
+ export interface PostgresSqlWrapper {
10
+ wrapperKind: PostgresSqlWrapperKind;
11
+ execution: PostgresSqlExecution;
12
+ statements: PostgresSqlStatement[];
13
+ span: PostgresSqlSpan | null;
14
+ complete: boolean;
15
+ diagnostics: PostgresSqlDiagnostic[];
16
+ }