@dbsp/core 6.1.2 → 6.2.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/index.js CHANGED
@@ -121,7 +121,7 @@ import {
121
121
  wMax,
122
122
  wMin,
123
123
  wSum
124
- } from "./chunk-RIQOPLZ5.js";
124
+ } from "./chunk-64RIEJGN.js";
125
125
 
126
126
  // src/index.ts
127
127
  import { AmbiguousIncludeError } from "@dbsp/types";
@@ -311,14 +311,20 @@ declare function getRelationalReadPlan(intent: QueryIntent, queryLocalSource?: b
311
311
  /** One traversal, with one shared allocator and no reconstruction of ancestor name sets. */
312
312
  declare function resolveSelectWhere(where: WhereIntent | undefined, root: ResolvedRange, visible: readonly ResolvedRange[], allocator: RangeAllocator, model: ModelIR | undefined, initialAliasCount?: number, additionalOuterRanges?: readonly ResolvedRange[]): ResolvedCondition | undefined;
313
313
 
314
- /** Called during planning or once after legacy boundary validation. Never by SQL emission. */
314
+ /**
315
+ * Called during planning or once after legacy boundary validation. Never by SQL emission.
316
+ * Returns the execution and the intent the adapter compiles, which holds per-occurrence copies.
317
+ */
315
318
  declare function resolveReportIncludes(intent: QueryIntent, decisions: readonly PlanDecision[], model: ModelIR | undefined, options?: {
316
319
  defaultFilters?: Readonly<Record<string, WhereIntent>>;
317
320
  skipRootDefaultFilter?: boolean;
318
321
  whereReservedNames?: readonly string[];
319
322
  defaultPk?: string;
320
323
  deriveFk?: (table: string, pk: string) => string;
321
- }): SelectExecution;
324
+ }): {
325
+ readonly execution: SelectExecution;
326
+ readonly intent: QueryIntent;
327
+ };
322
328
  /** Include decisions retain observations only; resolved authority belongs to execution. */
323
329
  declare function observeIncludeDecisions(decisions: readonly PlanDecision[]): readonly PlanDecision[];
324
330
 
package/dist/internal.js CHANGED
@@ -118,7 +118,7 @@ import {
118
118
  validateSchemaIndexOptions,
119
119
  validateTransitionRelationalInvariants,
120
120
  validateTypeName
121
- } from "./chunk-RIQOPLZ5.js";
121
+ } from "./chunk-64RIEJGN.js";
122
122
 
123
123
  // src/transition/destructive-authority.ts
124
124
  import { sameLedgerAddress } from "@dbsp/types";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbsp/core",
3
- "version": "6.1.2",
3
+ "version": "6.2.0",
4
4
  "description": "Intent-first semantic query planner for databases — declare WHAT to fetch, the planner decides HOW",
5
5
  "author": "Olivier Orabona <oorabona@users.noreply.github.com>",
6
6
  "license": "MIT",
@@ -45,8 +45,8 @@
45
45
  "dist"
46
46
  ],
47
47
  "dependencies": {
48
- "@dbsp/nql": "^2.0.2",
49
- "@dbsp/types": "^6.1.1",
48
+ "@dbsp/nql": "^2.0.3",
49
+ "@dbsp/types": "^6.2.0",
50
50
  "valibot": "^1.4.2"
51
51
  },
52
52
  "devDependencies": {