@lunora/do 1.0.0-alpha.21 → 1.0.0-alpha.210

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.
Files changed (61) hide show
  1. package/LICENSE.md +6 -0
  2. package/README.md +11 -0
  3. package/dist/index.d.mts +5462 -6122
  4. package/dist/index.d.ts +5462 -6122
  5. package/dist/index.mjs +1 -40
  6. package/dist/packem_shared/MERGED_ROLES-C4RToZ16.mjs +1 -0
  7. package/dist/packem_shared/ROOT_DO_SIZE_WARN_BYTES-CSbiLETw.mjs +15 -0
  8. package/dist/packem_shared/SESSION_DO_TTL_DEFAULT-DSvTwRjc.mjs +1 -0
  9. package/dist/packem_shared/SHARD_REGISTRY_DO_NAME-DRIFt2FK.mjs +1 -0
  10. package/dist/packem_shared/constant-time-equal-BRh9yUCr.mjs +1 -0
  11. package/dist/packem_shared/createStableIdFactory-CAEDEee5.mjs +1 -0
  12. package/dist/packem_shared/json-response-0Bq2ky0N.mjs +1 -0
  13. package/dist/packem_shared/serveRelationFanout-DcSjzAZv.mjs +1 -0
  14. package/package.json +8 -3
  15. package/dist/packem_shared/ADMIN_FUNCTIONS-DSUQ5fX9.mjs +0 -359
  16. package/dist/packem_shared/AGGREGATE_SQL_FUNCTION-CFk6adSu.mjs +0 -54
  17. package/dist/packem_shared/AUTH_METRICS_BUCKETS_TABLE-CiHHYeJi.mjs +0 -84
  18. package/dist/packem_shared/CDC_LOG_TABLE-DSycmnDf.mjs +0 -107
  19. package/dist/packem_shared/ConflictError-C0STs6bU.mjs +0 -13
  20. package/dist/packem_shared/CountRlsUnsupportedError-28ZvvwKS.mjs +0 -133
  21. package/dist/packem_shared/DATA_MIGRATION_STATE_TABLE-DfPxn8I0.mjs +0 -241
  22. package/dist/packem_shared/DEFAULT_MAX_RELATION_KEYS-DU-Y4-LJ.mjs +0 -209
  23. package/dist/packem_shared/FUNCTION_METRICS_BUCKETS_TABLE-UDNVD7FS.mjs +0 -248
  24. package/dist/packem_shared/LogBuffer-B_Ezju_N.mjs +0 -37
  25. package/dist/packem_shared/MAIL_RETENTION-CPpgl-dX.mjs +0 -104
  26. package/dist/packem_shared/MAX_SQL_ROWS-dDcFE1YZ.mjs +0 -29
  27. package/dist/packem_shared/MIN_ADMIN_TOKEN_LENGTH-CCAvoFlr.mjs +0 -1
  28. package/dist/packem_shared/NotFoundError-CMuMZt81.mjs +0 -10
  29. package/dist/packem_shared/NotUniqueError-Do5h_jiW.mjs +0 -1835
  30. package/dist/packem_shared/RANK_TIEBREAK-CXhdcA1o.mjs +0 -91
  31. package/dist/packem_shared/RLS_UNWRAP_SYMBOL-EtGQdC9d.mjs +0 -132
  32. package/dist/packem_shared/ROOT_DO_SIZE_WARN_BYTES-BfPNp3Jh.mjs +0 -6151
  33. package/dist/packem_shared/ReactiveCache-BYlSGY0N.mjs +0 -232
  34. package/dist/packem_shared/SCAN_DEP-DLJF8dsj.mjs +0 -19
  35. package/dist/packem_shared/SESSION_DO_TTL_DEFAULT-ilPZsVwu.mjs +0 -180
  36. package/dist/packem_shared/SHARD_REGISTRY_DO_NAME-BsAbi5Mn.mjs +0 -146
  37. package/dist/packem_shared/aggregateTableName-CxNqY1Sl.mjs +0 -64
  38. package/dist/packem_shared/applyOnDelete-BQ-8ZlZ1.mjs +0 -175
  39. package/dist/packem_shared/applySelect-BvZdFUBT.mjs +0 -101
  40. package/dist/packem_shared/armRestore-BJk53Ro8.mjs +0 -55
  41. package/dist/packem_shared/backfillAggregateIndexes-BZsOqDXP.mjs +0 -81
  42. package/dist/packem_shared/buildFtsMatch-BLEMawrp.mjs +0 -38
  43. package/dist/packem_shared/compileWhereSql-MW_Lk8nJ.mjs +0 -128
  44. package/dist/packem_shared/createSystemReader-8CzSZP9V.mjs +0 -80
  45. package/dist/packem_shared/ctx-db-idempotency-BdcNpvY4.mjs +0 -108
  46. package/dist/packem_shared/ctx-db-shapes-0RaIOy7J.mjs +0 -53
  47. package/dist/packem_shared/diffExternalSource-Cx9HUPJj.mjs +0 -44
  48. package/dist/packem_shared/do-exec-5eQy5cEi.mjs +0 -12
  49. package/dist/packem_shared/do-sql-BCHCWtrD.mjs +0 -87
  50. package/dist/packem_shared/exportShardRows-DZEhUeyI.mjs +0 -156
  51. package/dist/packem_shared/hasTrigger-5N6_Fx0A.mjs +0 -20
  52. package/dist/packem_shared/isSourceDue-9mJRJ9Ld.mjs +0 -40
  53. package/dist/packem_shared/materializeExternalRows-Bj6EXy50.mjs +0 -23
  54. package/dist/packem_shared/renderSql-D6eUcn2N.mjs +0 -16
  55. package/dist/packem_shared/runShardMigrations-nIwoQeOK.mjs +0 -105
  56. package/dist/packem_shared/security-audit-CucgBice.mjs +0 -158
  57. package/dist/packem_shared/serialize-sql-BlRUoiQe.mjs +0 -14
  58. package/dist/packem_shared/serveRelationFanout-C5axmGDj.mjs +0 -24
  59. package/dist/packem_shared/stableStringify-MydiuScU.mjs +0 -40
  60. package/dist/packem_shared/subscription-delivery-CK8qga-k.mjs +0 -347
  61. package/dist/packem_shared/subscriptionListDeltas-BxygQlXT.mjs +0 -1
package/LICENSE.md CHANGED
@@ -103,3 +103,9 @@ Unless required by applicable law or agreed to in writing, software distributed
103
103
  under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
104
104
  CONDITIONS OF ANY KIND, either express or implied. See the License for the
105
105
  specific language governing permissions and limitations under the License.
106
+
107
+ <!-- DEPENDENCIES -->
108
+ <!-- /DEPENDENCIES -->
109
+
110
+ <!-- TYPE_DEPENDENCIES -->
111
+ <!-- /TYPE_DEPENDENCIES -->
package/README.md CHANGED
@@ -78,6 +78,17 @@ export class MyShard extends ShardDO {
78
78
  }
79
79
  ```
80
80
 
81
+ `broadcastDelta` is the raw-delta fan-out for a shard like this one, which has
82
+ no `executeSubscription` override and so cannot re-run a subscriber's query. It
83
+ delivers to sockets whose registered subscription carries a `table` string equal
84
+ to `delta.table` — an exact match, with no table-dependency analysis behind it.
85
+ `@lunora/client` has no table name to register there and sends the function path
86
+ instead, and so does every non-JS SDK — their `subscribe` methods do not expose
87
+ the field at all. So no client shipped here reaches a delta stamped with a real
88
+ table name; addressing one means building the subscribe frame by hand. Projects
89
+ generated by `lunora codegen` route this hook to `recordChangedTable` and get
90
+ server-side re-execution instead, which is the path to prefer.
91
+
81
92
  > This README covers the basics. For the full API, options, and guides, see the **[documentation](https://lunora.sh/docs/api/do)**.
82
93
 
83
94
  ## Related