no-mistakes 0.106.0 → 0.107.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.106.0",
3
+ "version": "0.107.0",
4
4
  "description": "Deterministic impact maps, test plans, Playwright coverage, and repository checks for coding agents",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -66,9 +66,9 @@
66
66
  }
67
67
  },
68
68
  "optionalDependencies": {
69
- "no-mistakes-darwin-arm64": "0.106.0",
70
- "no-mistakes-linux-arm64-gnu": "0.106.0",
71
- "no-mistakes-linux-x64-gnu": "0.106.0",
72
- "no-mistakes-win32-x64-msvc": "0.106.0"
69
+ "no-mistakes-darwin-arm64": "0.107.0",
70
+ "no-mistakes-linux-arm64-gnu": "0.107.0",
71
+ "no-mistakes-linux-x64-gnu": "0.107.0",
72
+ "no-mistakes-win32-x64-msvc": "0.107.0"
73
73
  }
74
74
  }
@@ -0,0 +1,29 @@
1
+ import type { Effort, Unanalyzable } from "./traversal-types";
2
+
3
+ export type PostgresViewBoundMode = "bounded" | "unbounded";
4
+
5
+ /** An application assertion that each selected key has bounded fan-out. */
6
+ export interface PostgresColumnBound {
7
+ reason: string;
8
+ }
9
+
10
+ /** Configuration for the `postgres-bounded-statements` check rule. */
11
+ export interface PostgresBoundedStatementsOptions {
12
+ schemaCatalogPath: string;
13
+ include?: string[];
14
+ exclude?: string[];
15
+ sqlInclude?: string[];
16
+ importSpecifier?: string;
17
+ executorNames?: string[];
18
+ executorFactoryNames?: string[];
19
+ executorTypeNames?: string[];
20
+ trustedSqlTags?: { module: string; name: string }[];
21
+ statements?: ("select" | "update" | "delete")[];
22
+ allow?: { object: string; reason: string }[];
23
+ viewBounds?: Record<string, PostgresViewBoundMode>;
24
+ /** Catalog `table.column` names, each with a nonempty reason. */
25
+ columnBounds?: Record<string, PostgresColumnBound>;
26
+ effort?: Effort;
27
+ unanalyzable?: Unanalyzable;
28
+ unanalyzableSql?: Unanalyzable;
29
+ }
@@ -9,6 +9,7 @@ export interface PostgresNoUnboundedSqlIdentifierOptions {
9
9
  executorFactoryNames?: string[];
10
10
  executorTypeNames?: string[];
11
11
  trustedSqlTags?: { module: string; name: string }[];
12
+ finiteDomainAssertions?: { name: string; argument: number }[];
12
13
  effort?: Effort;
13
14
  unanalyzable?: Unanalyzable;
14
15
  unanalyzableSql?: Unanalyzable;
package/types.d.ts CHANGED
@@ -30,3 +30,4 @@ export type * from "./lint-suppression-types";
30
30
 
31
31
  export type * from "./production-exports-test-only-types";
32
32
  export type * from "./test-no-live-repository-scan-types";
33
+ export type * from "./postgres-bounded-statements-types";