Skip to content

Commit db0a766

Browse files
committed
refactor(driver-sql): regenerate the split after the leaf header change
Output of `node scripts/codemod-split-sql-driver.mjs --write` on sql-driver.ts at origin/main b391feb (input sha256 e73b1ce952e1), unedited. Only sql-driver-top-level.ts's header changes; output tree sha256 5187eba96f64, the same on two runs. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ihL2gLghEqeDKTbDTC7Zd
1 parent a5515ac commit db0a766

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

‎packages/drivers/driver-sql/src/sql-driver-top-level.ts‎

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.
22

3-
/**
4-
* [#29520 codemod] The top-level declarations ahead of `SqlDriver` in
5-
* `sql-driver.ts` that moved out whole by
6-
* `scripts/codemod-split-sql-driver.mjs` (lever (b) of ruling 6591753301).
7-
*
8-
* A MOVE, not a redesign: each declaration below is its `sql-driver.ts` text
9-
* exactly, with the comments above it, in the order it stood there. A LEAF:
10-
* it imports neither `sql-driver.ts` nor any `sql-driver-*` module, so it is
11-
* evaluated before the class and forms no cycle with it. `sql-driver.ts`
12-
* re-exports, by name, every declaration here it exported before, so every
13-
* importer of `./sql-driver.js` reads what it read.
14-
*/
3+
// [#29520 codemod] The top-level declarations ahead of `SqlDriver` in
4+
// `sql-driver.ts` that moved out whole by
5+
// `scripts/codemod-split-sql-driver.mjs` (lever (b) of ruling 6591753301).
6+
//
7+
// A MOVE, not a redesign: each declaration below is its `sql-driver.ts` text
8+
// exactly, with the comments above it, in the order it stood there. A LEAF:
9+
// it imports neither `sql-driver.ts` nor any `sql-driver-*` module, so it is
10+
// evaluated before the class and forms no cycle with it. `sql-driver.ts`
11+
// re-exports, by name, every declaration here it exported before, so every
12+
// importer of `./sql-driver.js` reads what it read.
1513

1614
import { AggregationFunction, NUMERIC_VALUE_TYPES, isAcceptedFilterComparand, isMultiValueField, isNowDefaultToken } from '@objectstack/spec/data';
1715
import type { SchemaMode, FilterVerdict as SharedFilterVerdict, ValueShapeFieldDef } from '@objectstack/spec/data';

0 commit comments

Comments
 (0)