@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
package/dist/internal.d.ts
CHANGED
|
@@ -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
|
-
/**
|
|
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
|
-
}):
|
|
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-
|
|
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.
|
|
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.
|
|
49
|
-
"@dbsp/types": "^6.
|
|
48
|
+
"@dbsp/nql": "^2.0.3",
|
|
49
|
+
"@dbsp/types": "^6.2.0",
|
|
50
50
|
"valibot": "^1.4.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|