@lunora/server 1.0.0-alpha.233 → 1.0.0-alpha.235

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.d.mts CHANGED
@@ -1834,6 +1834,11 @@ interface UpsertManyArgs {
1834
1834
  * mutate — a row in an unrelated table (IDOR). Writers that ignore the second
1835
1835
  * argument keep their previous global behaviour; the scoping is opt-in via this
1836
1836
  * forwarded name.
1837
+ *
1838
+ * Cost: on a `.global()` table, `ctx.db.<table>.get(id)` probes only `tableName`.
1839
+ * The unscoped `ctx.db.get(id)` cannot name its table, so it probes every global
1840
+ * table for the id in parallel on each call. Use the table accessor for by-id
1841
+ * reads of `.global()` rows.
1837
1842
  */
1838
1843
  declare const bindTableFacade: (writer: FacadeWriterLike, tableName: string) => FacadeEntry;
1839
1844
  /** The kitcn-style `ctx.orm` namespace over a per-table facade map. */
package/dist/index.d.ts CHANGED
@@ -1834,6 +1834,11 @@ interface UpsertManyArgs {
1834
1834
  * mutate — a row in an unrelated table (IDOR). Writers that ignore the second
1835
1835
  * argument keep their previous global behaviour; the scoping is opt-in via this
1836
1836
  * forwarded name.
1837
+ *
1838
+ * Cost: on a `.global()` table, `ctx.db.<table>.get(id)` probes only `tableName`.
1839
+ * The unscoped `ctx.db.get(id)` cannot name its table, so it probes every global
1840
+ * table for the id in parallel on each call. Use the table accessor for by-id
1841
+ * reads of `.global()` rows.
1837
1842
  */
1838
1843
  declare const bindTableFacade: (writer: FacadeWriterLike, tableName: string) => FacadeEntry;
1839
1844
  /** The kitcn-style `ctx.orm` namespace over a per-table facade map. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/server",
3
- "version": "1.0.0-alpha.233",
3
+ "version": "1.0.0-alpha.235",
4
4
  "description": "Server primitives for Lunora: defineSchema, defineTable, query, mutation, and action",
5
5
  "keywords": [
6
6
  "backend",
@@ -71,9 +71,9 @@
71
71
  },
72
72
  "dependencies": {
73
73
  "@lunora/errors": ">=1.0.0-alpha.51 <2.0.0-0",
74
- "@lunora/scheduler": "1.0.0-alpha.147",
75
- "@lunora/shard-engine": "1.0.0-alpha.154",
76
- "@lunora/values": "1.0.0-alpha.78",
74
+ "@lunora/scheduler": "1.0.0-alpha.148",
75
+ "@lunora/shard-engine": "1.0.0-alpha.156",
76
+ "@lunora/values": "1.0.0-alpha.79",
77
77
  "@lunora/wire": "1.0.0-alpha.2",
78
78
  "drizzle-orm": "1.0.0-rc.5",
79
79
  "hono": "^4.13.13"