@lunora/do 1.0.0-alpha.16 → 1.0.0-alpha.161

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 (59) hide show
  1. package/LICENSE.md +6 -0
  2. package/README.md +11 -0
  3. package/dist/index.d.mts +5131 -6091
  4. package/dist/index.d.ts +5131 -6091
  5. package/dist/index.mjs +1 -40
  6. package/dist/packem_shared/ROOT_DO_SIZE_WARN_BYTES-CkrDe5gd.mjs +15 -0
  7. package/dist/packem_shared/SESSION_DO_TTL_DEFAULT-BbU25BWj.mjs +1 -0
  8. package/dist/packem_shared/SHARD_REGISTRY_DO_NAME-DvxEa7qM.mjs +1 -0
  9. package/dist/packem_shared/constant-time-equal-BRh9yUCr.mjs +1 -0
  10. package/dist/packem_shared/json-response-0Bq2ky0N.mjs +1 -0
  11. package/dist/packem_shared/serveRelationFanout-DcSjzAZv.mjs +1 -0
  12. package/package.json +5 -2
  13. package/dist/packem_shared/ADMIN_FUNCTIONS-fMl1vyt1.mjs +0 -355
  14. package/dist/packem_shared/AGGREGATE_SQL_FUNCTION-CFk6adSu.mjs +0 -54
  15. package/dist/packem_shared/AUTH_METRICS_BUCKETS_TABLE-CiHHYeJi.mjs +0 -84
  16. package/dist/packem_shared/CDC_LOG_TABLE-DSycmnDf.mjs +0 -107
  17. package/dist/packem_shared/ConflictError-C0STs6bU.mjs +0 -13
  18. package/dist/packem_shared/CountRlsUnsupportedError-28ZvvwKS.mjs +0 -133
  19. package/dist/packem_shared/DATA_MIGRATION_STATE_TABLE-DfPxn8I0.mjs +0 -241
  20. package/dist/packem_shared/DEFAULT_MAX_RELATION_KEYS-DU-Y4-LJ.mjs +0 -209
  21. package/dist/packem_shared/FUNCTION_METRICS_BUCKETS_TABLE-UDNVD7FS.mjs +0 -248
  22. package/dist/packem_shared/LogBuffer-B_Ezju_N.mjs +0 -37
  23. package/dist/packem_shared/MAIL_RETENTION-CPpgl-dX.mjs +0 -104
  24. package/dist/packem_shared/MAX_SQL_ROWS-dDcFE1YZ.mjs +0 -29
  25. package/dist/packem_shared/MIN_ADMIN_TOKEN_LENGTH-CCAvoFlr.mjs +0 -1
  26. package/dist/packem_shared/NotFoundError-CMuMZt81.mjs +0 -10
  27. package/dist/packem_shared/NotUniqueError-BXn2j5vu.mjs +0 -1835
  28. package/dist/packem_shared/RANK_TIEBREAK-CXhdcA1o.mjs +0 -91
  29. package/dist/packem_shared/RLS_UNWRAP_SYMBOL-EtGQdC9d.mjs +0 -132
  30. package/dist/packem_shared/ROOT_DO_SIZE_WARN_BYTES-CtTkRXH0.mjs +0 -6049
  31. package/dist/packem_shared/ReactiveCache-BYlSGY0N.mjs +0 -232
  32. package/dist/packem_shared/SCAN_DEP-DLJF8dsj.mjs +0 -19
  33. package/dist/packem_shared/SESSION_DO_TTL_DEFAULT-ilPZsVwu.mjs +0 -180
  34. package/dist/packem_shared/SHARD_REGISTRY_DO_NAME-BsAbi5Mn.mjs +0 -146
  35. package/dist/packem_shared/aggregateTableName-CxNqY1Sl.mjs +0 -64
  36. package/dist/packem_shared/applyOnDelete-BQ-8ZlZ1.mjs +0 -175
  37. package/dist/packem_shared/applySelect-BvZdFUBT.mjs +0 -101
  38. package/dist/packem_shared/armRestore-BJk53Ro8.mjs +0 -55
  39. package/dist/packem_shared/backfillAggregateIndexes-BZsOqDXP.mjs +0 -81
  40. package/dist/packem_shared/buildFtsMatch-BLEMawrp.mjs +0 -38
  41. package/dist/packem_shared/compileWhereSql-CXrhFA3G.mjs +0 -127
  42. package/dist/packem_shared/createSystemReader-8CzSZP9V.mjs +0 -80
  43. package/dist/packem_shared/ctx-db-idempotency-BdcNpvY4.mjs +0 -108
  44. package/dist/packem_shared/ctx-db-shapes-BQapRFjB.mjs +0 -53
  45. package/dist/packem_shared/diffExternalSource-Cx9HUPJj.mjs +0 -44
  46. package/dist/packem_shared/do-exec-5eQy5cEi.mjs +0 -12
  47. package/dist/packem_shared/do-sql-BCHCWtrD.mjs +0 -87
  48. package/dist/packem_shared/exportShardRows-DZEhUeyI.mjs +0 -156
  49. package/dist/packem_shared/hasTrigger-5N6_Fx0A.mjs +0 -20
  50. package/dist/packem_shared/isSourceDue-BMTJv65e.mjs +0 -40
  51. package/dist/packem_shared/materializeExternalRows-uKBx9H0s.mjs +0 -23
  52. package/dist/packem_shared/renderSql-D6eUcn2N.mjs +0 -16
  53. package/dist/packem_shared/runShardMigrations-nIwoQeOK.mjs +0 -105
  54. package/dist/packem_shared/security-audit-CucgBice.mjs +0 -158
  55. package/dist/packem_shared/serialize-sql-BlRUoiQe.mjs +0 -14
  56. package/dist/packem_shared/serveRelationFanout-EZLD9-O3.mjs +0 -24
  57. package/dist/packem_shared/stableStringify-MydiuScU.mjs +0 -40
  58. package/dist/packem_shared/subscription-delivery-Z6nXHvQN.mjs +0 -340
  59. package/dist/packem_shared/subscriptionListDeltas-CXwfoEE_.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