@lunora/sql-store 1.0.0-alpha.63 → 1.0.0-alpha.65
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/dialect.d.mts +1 -1
- package/dist/dialect.d.ts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +3 -3
package/dist/dialect.d.mts
CHANGED
|
@@ -93,7 +93,7 @@ interface SqlDialect {
|
|
|
93
93
|
/**
|
|
94
94
|
* Optional: the key-prefix length an indexed column of this `kind` needs.
|
|
95
95
|
* MySQL/InnoDB can't index a `TEXT`/`LONGTEXT`/`BLOB` column without a prefix
|
|
96
|
-
* (the store appends `(
|
|
96
|
+
* (the store appends `(<n>)` to the column reference); SQLite/Postgres index
|
|
97
97
|
* text columns directly and omit this hook (or return `undefined`). `kind` is
|
|
98
98
|
* the column's effective validator kind.
|
|
99
99
|
*/
|
package/dist/dialect.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ interface SqlDialect {
|
|
|
93
93
|
/**
|
|
94
94
|
* Optional: the key-prefix length an indexed column of this `kind` needs.
|
|
95
95
|
* MySQL/InnoDB can't index a `TEXT`/`LONGTEXT`/`BLOB` column without a prefix
|
|
96
|
-
* (the store appends `(
|
|
96
|
+
* (the store appends `(<n>)` to the column reference); SQLite/Postgres index
|
|
97
97
|
* text columns directly and omit this hook (or return `undefined`). `kind` is
|
|
98
98
|
* the column's effective validator kind.
|
|
99
99
|
*/
|
package/dist/index.d.mts
CHANGED
|
@@ -111,7 +111,7 @@ interface SqlCtxDbOptions {
|
|
|
111
111
|
}
|
|
112
112
|
declare const runSqlGlobalTableMigrations: (exec: SqlCtxExec, schema: SchemaLike, dialect: SqlDialect) => Promise<void>;
|
|
113
113
|
/**
|
|
114
|
-
* Materialize the `__agg_
|
|
114
|
+
* Materialize the `__agg_<index>` companion tables for every declared
|
|
115
115
|
* `aggregateIndex` on a global table. Global tables in Lunora ship their own
|
|
116
116
|
* DDL — counter tables are opt-in so production hosts can decide where they
|
|
117
117
|
* live. Tests and dev hosts can call this once after their schema migration to
|
|
@@ -121,7 +121,7 @@ declare const runSqlGlobalTableMigrations: (exec: SqlCtxExec, schema: SchemaLike
|
|
|
121
121
|
*/
|
|
122
122
|
declare const runSqlAggregateMigrations: (exec: SqlCtxExec, schema: SchemaLike, dialect: SqlDialect) => Promise<void>;
|
|
123
123
|
/**
|
|
124
|
-
* Materialize the `__rank_
|
|
124
|
+
* Materialize the `__rank_<index>` companion tables for every declared
|
|
125
125
|
* `rankIndex` on a global table. Mirrors `runSqlAggregateMigrations` — same
|
|
126
126
|
* opt-in pattern so production hosts decide whether to spend the DDL.
|
|
127
127
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -111,7 +111,7 @@ interface SqlCtxDbOptions {
|
|
|
111
111
|
}
|
|
112
112
|
declare const runSqlGlobalTableMigrations: (exec: SqlCtxExec, schema: SchemaLike, dialect: SqlDialect) => Promise<void>;
|
|
113
113
|
/**
|
|
114
|
-
* Materialize the `__agg_
|
|
114
|
+
* Materialize the `__agg_<index>` companion tables for every declared
|
|
115
115
|
* `aggregateIndex` on a global table. Global tables in Lunora ship their own
|
|
116
116
|
* DDL — counter tables are opt-in so production hosts can decide where they
|
|
117
117
|
* live. Tests and dev hosts can call this once after their schema migration to
|
|
@@ -121,7 +121,7 @@ declare const runSqlGlobalTableMigrations: (exec: SqlCtxExec, schema: SchemaLike
|
|
|
121
121
|
*/
|
|
122
122
|
declare const runSqlAggregateMigrations: (exec: SqlCtxExec, schema: SchemaLike, dialect: SqlDialect) => Promise<void>;
|
|
123
123
|
/**
|
|
124
|
-
* Materialize the `__rank_
|
|
124
|
+
* Materialize the `__rank_<index>` companion tables for every declared
|
|
125
125
|
* `rankIndex` on a global table. Mirrors `runSqlAggregateMigrations` — same
|
|
126
126
|
* opt-in pattern so production hosts decide whether to spend the DDL.
|
|
127
127
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunora/sql-store",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.65",
|
|
4
4
|
"description": "Internal dialect-parameterized SQL store core for Lunora .global() backends (D1, PlanetScale)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@lunora/errors": "1.0.0-alpha.
|
|
54
|
-
"@lunora/shard-engine": "1.0.0-alpha.
|
|
53
|
+
"@lunora/errors": "1.0.0-alpha.14",
|
|
54
|
+
"@lunora/shard-engine": "1.0.0-alpha.11",
|
|
55
55
|
"drizzle-orm": "^0.45.2"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|