@lunora/do 1.0.0-alpha.15 → 1.0.0-alpha.150
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/LICENSE.md +6 -0
- package/README.md +9 -0
- package/dist/index.d.mts +4918 -6091
- package/dist/index.d.ts +4918 -6091
- package/dist/index.mjs +1 -40
- package/dist/packem_shared/ROOT_DO_SIZE_WARN_BYTES-DuRkVQ2t.mjs +15 -0
- package/dist/packem_shared/SESSION_DO_TTL_DEFAULT-BbU25BWj.mjs +1 -0
- package/dist/packem_shared/SHARD_REGISTRY_DO_NAME-DvxEa7qM.mjs +1 -0
- package/dist/packem_shared/constant-time-equal-BRh9yUCr.mjs +1 -0
- package/dist/packem_shared/json-response-0Bq2ky0N.mjs +1 -0
- package/dist/packem_shared/serveRelationFanout-DcSjzAZv.mjs +1 -0
- package/package.json +5 -2
- package/dist/packem_shared/ADMIN_FUNCTIONS-fMl1vyt1.mjs +0 -355
- package/dist/packem_shared/AGGREGATE_SQL_FUNCTION-CFk6adSu.mjs +0 -54
- package/dist/packem_shared/AUTH_METRICS_BUCKETS_TABLE-CiHHYeJi.mjs +0 -84
- package/dist/packem_shared/CDC_LOG_TABLE-DSycmnDf.mjs +0 -107
- package/dist/packem_shared/ConflictError-C0STs6bU.mjs +0 -13
- package/dist/packem_shared/CountRlsUnsupportedError-28ZvvwKS.mjs +0 -133
- package/dist/packem_shared/DATA_MIGRATION_STATE_TABLE-PTtTiQ7U.mjs +0 -237
- package/dist/packem_shared/DEFAULT_MAX_RELATION_KEYS-DU-Y4-LJ.mjs +0 -209
- package/dist/packem_shared/FUNCTION_METRICS_BUCKETS_TABLE-UDNVD7FS.mjs +0 -248
- package/dist/packem_shared/LogBuffer-B_Ezju_N.mjs +0 -37
- package/dist/packem_shared/MAIL_RETENTION-CPpgl-dX.mjs +0 -104
- package/dist/packem_shared/MAX_SQL_ROWS-dDcFE1YZ.mjs +0 -29
- package/dist/packem_shared/MIN_ADMIN_TOKEN_LENGTH-CCAvoFlr.mjs +0 -1
- package/dist/packem_shared/NotFoundError-CMuMZt81.mjs +0 -10
- package/dist/packem_shared/NotUniqueError-BXn2j5vu.mjs +0 -1835
- package/dist/packem_shared/RANK_TIEBREAK-CXhdcA1o.mjs +0 -91
- package/dist/packem_shared/RLS_UNWRAP_SYMBOL-EtGQdC9d.mjs +0 -132
- package/dist/packem_shared/ROOT_DO_SIZE_WARN_BYTES-CEVhBec2.mjs +0 -6049
- package/dist/packem_shared/ReactiveCache-BYlSGY0N.mjs +0 -232
- package/dist/packem_shared/SCAN_DEP-DLJF8dsj.mjs +0 -19
- package/dist/packem_shared/SESSION_DO_TTL_DEFAULT-ilPZsVwu.mjs +0 -180
- package/dist/packem_shared/SHARD_REGISTRY_DO_NAME-BsAbi5Mn.mjs +0 -146
- package/dist/packem_shared/aggregateTableName-CxNqY1Sl.mjs +0 -64
- package/dist/packem_shared/applyOnDelete-BQ-8ZlZ1.mjs +0 -175
- package/dist/packem_shared/applySelect-BvZdFUBT.mjs +0 -101
- package/dist/packem_shared/armRestore-BJk53Ro8.mjs +0 -55
- package/dist/packem_shared/backfillAggregateIndexes-BZsOqDXP.mjs +0 -81
- package/dist/packem_shared/buildFtsMatch-BLEMawrp.mjs +0 -38
- package/dist/packem_shared/compileWhereSql-CXrhFA3G.mjs +0 -127
- package/dist/packem_shared/createSystemReader-8CzSZP9V.mjs +0 -80
- package/dist/packem_shared/ctx-db-idempotency-BdcNpvY4.mjs +0 -108
- package/dist/packem_shared/ctx-db-shapes-BQapRFjB.mjs +0 -53
- package/dist/packem_shared/diffExternalSource-Cx9HUPJj.mjs +0 -44
- package/dist/packem_shared/do-exec-5eQy5cEi.mjs +0 -12
- package/dist/packem_shared/do-sql-BCHCWtrD.mjs +0 -87
- package/dist/packem_shared/exportShardRows-DZEhUeyI.mjs +0 -156
- package/dist/packem_shared/hasTrigger-5N6_Fx0A.mjs +0 -20
- package/dist/packem_shared/isSourceDue-BMTJv65e.mjs +0 -40
- package/dist/packem_shared/materializeExternalRows-uKBx9H0s.mjs +0 -23
- package/dist/packem_shared/renderSql-D6eUcn2N.mjs +0 -16
- package/dist/packem_shared/runShardMigrations-nIwoQeOK.mjs +0 -105
- package/dist/packem_shared/security-audit-CucgBice.mjs +0 -158
- package/dist/packem_shared/serialize-sql-BlRUoiQe.mjs +0 -14
- package/dist/packem_shared/serveRelationFanout-EZLD9-O3.mjs +0 -24
- package/dist/packem_shared/stableStringify-MydiuScU.mjs +0 -40
- package/dist/packem_shared/subscription-delivery-Z6nXHvQN.mjs +0 -340
- 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,15 @@ 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, so pair it with a client that names the table explicitly. Projects
|
|
87
|
+
generated by `lunora codegen` route this hook to `recordChangedTable` and get
|
|
88
|
+
server-side re-execution instead.
|
|
89
|
+
|
|
81
90
|
> This README covers the basics. For the full API, options, and guides, see the **[documentation](https://lunora.sh/docs/api/do)**.
|
|
82
91
|
|
|
83
92
|
## Related
|