@lunora/shard-engine 1.0.0-alpha.215 → 1.0.0-alpha.216
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/packem_shared/{sql-engine.d-CMrMcDfK.d.mts → sql-engine.d-DW_YQjTa.d.mts} +2 -0
- package/dist/packem_shared/{sql-engine.d-CMrMcDfK.d.ts → sql-engine.d-DW_YQjTa.d.ts} +2 -0
- package/dist/sql.d.mts +1 -1
- package/dist/sql.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DatabaseWriterLike, d as SchemaLike, T as TriggerContextLike, e as TriggerEventLike, f as TriggerOpLike, g as TriggerTimingLike, S as SqlExec, h as SearchIndexDefinitionLike, W as WhereInput, i as RestrictableQueryOptions, j as SchedulerLike, A as AggregateIndexDefinitionLike, k as AggregateOp, l as RankIndexDefinitionLike, M as MutationDelta, m as TableDefinitionLike, n as RankDirection, o as RankPageRowKey, p as RankPageOptions, C as ColumnMetaLike, q as SortDirection, P as PatchWriteOptions, O as OrderKey, r as OrderByInput, V as ValidatorLike, K as KeyRange, s as RelationEdge, t as RelatedStart, u as RelatedOptions, v as RelatedPage, w as KeyedRelationDefinitionLike, Q as QueryArgs, x as QueryPage, y as ServerDefaultContextLike, z as ResolveWithOptions, B as SocketAttachment, E as ResolvedShape, F as ShapeSubscriptionQuery, G as ShardSocketLike, H as SubscriptionIdentity, I as TransactionLimits, a as SqlCursor, J as IndexKeyEntry } from "./packem_shared/sql-engine.d-
|
|
2
|
-
export { type L as AggregateOptions, type N as AggregateResult, type U as BroadcastDelta, type X as CacheEntry, type Y as Clock, Z as CompanionMemo, type _ as CountArgs, type $ as CrossShardCountArgs, type a0 as CrossShardReadArgs, type a1 as CtxDbOptions, a2 as DEFAULT_TRANSACTION_LIMITS, type a3 as FanOutBudget, type a4 as FieldOperators, type a5 as GeoFilterBuilderLike, type a6 as GeoIndexDefinitionLike, type a7 as GeoScoredDocument, type a8 as GroupByEntry, type a9 as GroupByOptions, type aa as GuardableSchema, type ab as IdGenerator, type ac as IndexDefinitionLike, type ad as IndexRangeBuilderLike, type ae as KeyedRelationWriteInfo, type af as LifecycleDispatchInfo, type ag as LifecycleEvent, type ah as NestedWith, ai as NotUniqueError, type aj as NullPlacement, type ak as OnDeleteActionLike, type al as PaginationOptions, type am as PatchVerifier, type an as QueryPlan, ao as RELATION_EXISTS_KEY, type R as RangeOperandType, type ap as RankBeforeOptions, type aq as RankBeforeResult, type ar as RankOptions, type as as RankPage, type at as RankPageRow, type au as RankResult, type av as RankSortKeyLike, aw as ReactiveCache, type ax as ReactiveCacheOptions, type ay as ReadHook, type az as RelatedDirection, type aA as RelatedNode, type aB as RelatedStartReference, type aC as RelationDefinitionLike, type aD as RelationWriteInfo, type aE as RelationWriteMap, type c as RenderedSql, type aF as ResolveWithResult, type aG as RpcRequest, type aH as SchedulableWorkflowReferenceLike, type aI as ScheduledFunctionDoc, type aJ as ScoredDocument, type aK as SearchFilterBuilderLike, type aL as SearchScoredDocument, type aM as ShardRankPageResult, type b as SqlEngine, type aN as StorageMetadata, type aO as SubscriptionEnvelope, type aP as SubscriptionQuery, type aQ as SystemDatabaseReader, type aR as SystemDoc, type aS as SystemQuery, type aT as SystemReaderOptions, type aU as SystemReaderSchedulerLike, type aV as SystemReaderStorageLike, type aW as SystemTableName, type aX as TableReaderLike, type aY as ThroughRelationWriteInfo, type aZ as TransactionHeadroom, a_ as TransactionHeadroomTracker, type a$ as TransactionLimitKind, type b0 as TransactionLimitWarning, type b1 as TriggerDefinitionLike, b2 as WORKERD_SQLITE_LIMITS, type b3 as WithInput, type b4 as WriteEvent, type b5 as WriteHook, b6 as assertNoExplicitUndefined, b7 as assertStorableRowId, b8 as assertValidClientId, b9 as buildIndexRange, ba as clearCompanionSignatures, bb as createShardCtxDb, bc as createSystemReader, bd as describeRelationWrites, be as indexKeysForRow, bf as keysTouchRanges, bg as normalizeIdStructurally, bh as reactiveCacheKey, bi as stripReservedPatchFields } from "./packem_shared/sql-engine.d-
|
|
1
|
+
import { D as DatabaseWriterLike, d as SchemaLike, T as TriggerContextLike, e as TriggerEventLike, f as TriggerOpLike, g as TriggerTimingLike, S as SqlExec, h as SearchIndexDefinitionLike, W as WhereInput, i as RestrictableQueryOptions, j as SchedulerLike, A as AggregateIndexDefinitionLike, k as AggregateOp, l as RankIndexDefinitionLike, M as MutationDelta, m as TableDefinitionLike, n as RankDirection, o as RankPageRowKey, p as RankPageOptions, C as ColumnMetaLike, q as SortDirection, P as PatchWriteOptions, O as OrderKey, r as OrderByInput, V as ValidatorLike, K as KeyRange, s as RelationEdge, t as RelatedStart, u as RelatedOptions, v as RelatedPage, w as KeyedRelationDefinitionLike, Q as QueryArgs, x as QueryPage, y as ServerDefaultContextLike, z as ResolveWithOptions, B as SocketAttachment, E as ResolvedShape, F as ShapeSubscriptionQuery, G as ShardSocketLike, H as SubscriptionIdentity, I as TransactionLimits, a as SqlCursor, J as IndexKeyEntry } from "./packem_shared/sql-engine.d-DW_YQjTa.mjs";
|
|
2
|
+
export { type L as AggregateOptions, type N as AggregateResult, type U as BroadcastDelta, type X as CacheEntry, type Y as Clock, Z as CompanionMemo, type _ as CountArgs, type $ as CrossShardCountArgs, type a0 as CrossShardReadArgs, type a1 as CtxDbOptions, a2 as DEFAULT_TRANSACTION_LIMITS, type a3 as FanOutBudget, type a4 as FieldOperators, type a5 as GeoFilterBuilderLike, type a6 as GeoIndexDefinitionLike, type a7 as GeoScoredDocument, type a8 as GroupByEntry, type a9 as GroupByOptions, type aa as GuardableSchema, type ab as IdGenerator, type ac as IndexDefinitionLike, type ad as IndexRangeBuilderLike, type ae as KeyedRelationWriteInfo, type af as LifecycleDispatchInfo, type ag as LifecycleEvent, type ah as NestedWith, ai as NotUniqueError, type aj as NullPlacement, type ak as OnDeleteActionLike, type al as PaginationOptions, type am as PatchVerifier, type an as QueryPlan, ao as RELATION_EXISTS_KEY, type R as RangeOperandType, type ap as RankBeforeOptions, type aq as RankBeforeResult, type ar as RankOptions, type as as RankPage, type at as RankPageRow, type au as RankResult, type av as RankSortKeyLike, aw as ReactiveCache, type ax as ReactiveCacheOptions, type ay as ReadHook, type az as RelatedDirection, type aA as RelatedNode, type aB as RelatedStartReference, type aC as RelationDefinitionLike, type aD as RelationWriteInfo, type aE as RelationWriteMap, type c as RenderedSql, type aF as ResolveWithResult, type aG as RpcRequest, type aH as SchedulableWorkflowReferenceLike, type aI as ScheduledFunctionDoc, type aJ as ScoredDocument, type aK as SearchFilterBuilderLike, type aL as SearchScoredDocument, type aM as ShardRankPageResult, type b as SqlEngine, type aN as StorageMetadata, type aO as SubscriptionEnvelope, type aP as SubscriptionQuery, type aQ as SystemDatabaseReader, type aR as SystemDoc, type aS as SystemQuery, type aT as SystemReaderOptions, type aU as SystemReaderSchedulerLike, type aV as SystemReaderStorageLike, type aW as SystemTableName, type aX as TableReaderLike, type aY as ThroughRelationWriteInfo, type aZ as TransactionHeadroom, a_ as TransactionHeadroomTracker, type a$ as TransactionLimitKind, type b0 as TransactionLimitWarning, type b1 as TriggerDefinitionLike, b2 as WORKERD_SQLITE_LIMITS, type b3 as WithInput, type b4 as WriteEvent, type b5 as WriteHook, b6 as assertNoExplicitUndefined, b7 as assertStorableRowId, b8 as assertValidClientId, b9 as buildIndexRange, ba as clearCompanionSignatures, bb as createShardCtxDb, bc as createSystemReader, bd as describeRelationWrites, be as indexKeysForRow, bf as keysTouchRanges, bg as normalizeIdStructurally, bh as reactiveCacheKey, bi as stripReservedPatchFields } from "./packem_shared/sql-engine.d-DW_YQjTa.mjs";
|
|
3
3
|
import { LunoraError } from '@lunora/errors';
|
|
4
4
|
import { R2BucketLike, ShardHost, SocketHost, SocketHandle } from '@lunora/platform';
|
|
5
5
|
export { stableStringify, stableWireKey } from '@lunora/wire';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DatabaseWriterLike, d as SchemaLike, T as TriggerContextLike, e as TriggerEventLike, f as TriggerOpLike, g as TriggerTimingLike, S as SqlExec, h as SearchIndexDefinitionLike, W as WhereInput, i as RestrictableQueryOptions, j as SchedulerLike, A as AggregateIndexDefinitionLike, k as AggregateOp, l as RankIndexDefinitionLike, M as MutationDelta, m as TableDefinitionLike, n as RankDirection, o as RankPageRowKey, p as RankPageOptions, C as ColumnMetaLike, q as SortDirection, P as PatchWriteOptions, O as OrderKey, r as OrderByInput, V as ValidatorLike, K as KeyRange, s as RelationEdge, t as RelatedStart, u as RelatedOptions, v as RelatedPage, w as KeyedRelationDefinitionLike, Q as QueryArgs, x as QueryPage, y as ServerDefaultContextLike, z as ResolveWithOptions, B as SocketAttachment, E as ResolvedShape, F as ShapeSubscriptionQuery, G as ShardSocketLike, H as SubscriptionIdentity, I as TransactionLimits, a as SqlCursor, J as IndexKeyEntry } from "./packem_shared/sql-engine.d-
|
|
2
|
-
export { type L as AggregateOptions, type N as AggregateResult, type U as BroadcastDelta, type X as CacheEntry, type Y as Clock, Z as CompanionMemo, type _ as CountArgs, type $ as CrossShardCountArgs, type a0 as CrossShardReadArgs, type a1 as CtxDbOptions, a2 as DEFAULT_TRANSACTION_LIMITS, type a3 as FanOutBudget, type a4 as FieldOperators, type a5 as GeoFilterBuilderLike, type a6 as GeoIndexDefinitionLike, type a7 as GeoScoredDocument, type a8 as GroupByEntry, type a9 as GroupByOptions, type aa as GuardableSchema, type ab as IdGenerator, type ac as IndexDefinitionLike, type ad as IndexRangeBuilderLike, type ae as KeyedRelationWriteInfo, type af as LifecycleDispatchInfo, type ag as LifecycleEvent, type ah as NestedWith, ai as NotUniqueError, type aj as NullPlacement, type ak as OnDeleteActionLike, type al as PaginationOptions, type am as PatchVerifier, type an as QueryPlan, ao as RELATION_EXISTS_KEY, type R as RangeOperandType, type ap as RankBeforeOptions, type aq as RankBeforeResult, type ar as RankOptions, type as as RankPage, type at as RankPageRow, type au as RankResult, type av as RankSortKeyLike, aw as ReactiveCache, type ax as ReactiveCacheOptions, type ay as ReadHook, type az as RelatedDirection, type aA as RelatedNode, type aB as RelatedStartReference, type aC as RelationDefinitionLike, type aD as RelationWriteInfo, type aE as RelationWriteMap, type c as RenderedSql, type aF as ResolveWithResult, type aG as RpcRequest, type aH as SchedulableWorkflowReferenceLike, type aI as ScheduledFunctionDoc, type aJ as ScoredDocument, type aK as SearchFilterBuilderLike, type aL as SearchScoredDocument, type aM as ShardRankPageResult, type b as SqlEngine, type aN as StorageMetadata, type aO as SubscriptionEnvelope, type aP as SubscriptionQuery, type aQ as SystemDatabaseReader, type aR as SystemDoc, type aS as SystemQuery, type aT as SystemReaderOptions, type aU as SystemReaderSchedulerLike, type aV as SystemReaderStorageLike, type aW as SystemTableName, type aX as TableReaderLike, type aY as ThroughRelationWriteInfo, type aZ as TransactionHeadroom, a_ as TransactionHeadroomTracker, type a$ as TransactionLimitKind, type b0 as TransactionLimitWarning, type b1 as TriggerDefinitionLike, b2 as WORKERD_SQLITE_LIMITS, type b3 as WithInput, type b4 as WriteEvent, type b5 as WriteHook, b6 as assertNoExplicitUndefined, b7 as assertStorableRowId, b8 as assertValidClientId, b9 as buildIndexRange, ba as clearCompanionSignatures, bb as createShardCtxDb, bc as createSystemReader, bd as describeRelationWrites, be as indexKeysForRow, bf as keysTouchRanges, bg as normalizeIdStructurally, bh as reactiveCacheKey, bi as stripReservedPatchFields } from "./packem_shared/sql-engine.d-
|
|
1
|
+
import { D as DatabaseWriterLike, d as SchemaLike, T as TriggerContextLike, e as TriggerEventLike, f as TriggerOpLike, g as TriggerTimingLike, S as SqlExec, h as SearchIndexDefinitionLike, W as WhereInput, i as RestrictableQueryOptions, j as SchedulerLike, A as AggregateIndexDefinitionLike, k as AggregateOp, l as RankIndexDefinitionLike, M as MutationDelta, m as TableDefinitionLike, n as RankDirection, o as RankPageRowKey, p as RankPageOptions, C as ColumnMetaLike, q as SortDirection, P as PatchWriteOptions, O as OrderKey, r as OrderByInput, V as ValidatorLike, K as KeyRange, s as RelationEdge, t as RelatedStart, u as RelatedOptions, v as RelatedPage, w as KeyedRelationDefinitionLike, Q as QueryArgs, x as QueryPage, y as ServerDefaultContextLike, z as ResolveWithOptions, B as SocketAttachment, E as ResolvedShape, F as ShapeSubscriptionQuery, G as ShardSocketLike, H as SubscriptionIdentity, I as TransactionLimits, a as SqlCursor, J as IndexKeyEntry } from "./packem_shared/sql-engine.d-DW_YQjTa.js";
|
|
2
|
+
export { type L as AggregateOptions, type N as AggregateResult, type U as BroadcastDelta, type X as CacheEntry, type Y as Clock, Z as CompanionMemo, type _ as CountArgs, type $ as CrossShardCountArgs, type a0 as CrossShardReadArgs, type a1 as CtxDbOptions, a2 as DEFAULT_TRANSACTION_LIMITS, type a3 as FanOutBudget, type a4 as FieldOperators, type a5 as GeoFilterBuilderLike, type a6 as GeoIndexDefinitionLike, type a7 as GeoScoredDocument, type a8 as GroupByEntry, type a9 as GroupByOptions, type aa as GuardableSchema, type ab as IdGenerator, type ac as IndexDefinitionLike, type ad as IndexRangeBuilderLike, type ae as KeyedRelationWriteInfo, type af as LifecycleDispatchInfo, type ag as LifecycleEvent, type ah as NestedWith, ai as NotUniqueError, type aj as NullPlacement, type ak as OnDeleteActionLike, type al as PaginationOptions, type am as PatchVerifier, type an as QueryPlan, ao as RELATION_EXISTS_KEY, type R as RangeOperandType, type ap as RankBeforeOptions, type aq as RankBeforeResult, type ar as RankOptions, type as as RankPage, type at as RankPageRow, type au as RankResult, type av as RankSortKeyLike, aw as ReactiveCache, type ax as ReactiveCacheOptions, type ay as ReadHook, type az as RelatedDirection, type aA as RelatedNode, type aB as RelatedStartReference, type aC as RelationDefinitionLike, type aD as RelationWriteInfo, type aE as RelationWriteMap, type c as RenderedSql, type aF as ResolveWithResult, type aG as RpcRequest, type aH as SchedulableWorkflowReferenceLike, type aI as ScheduledFunctionDoc, type aJ as ScoredDocument, type aK as SearchFilterBuilderLike, type aL as SearchScoredDocument, type aM as ShardRankPageResult, type b as SqlEngine, type aN as StorageMetadata, type aO as SubscriptionEnvelope, type aP as SubscriptionQuery, type aQ as SystemDatabaseReader, type aR as SystemDoc, type aS as SystemQuery, type aT as SystemReaderOptions, type aU as SystemReaderSchedulerLike, type aV as SystemReaderStorageLike, type aW as SystemTableName, type aX as TableReaderLike, type aY as ThroughRelationWriteInfo, type aZ as TransactionHeadroom, a_ as TransactionHeadroomTracker, type a$ as TransactionLimitKind, type b0 as TransactionLimitWarning, type b1 as TriggerDefinitionLike, b2 as WORKERD_SQLITE_LIMITS, type b3 as WithInput, type b4 as WriteEvent, type b5 as WriteHook, b6 as assertNoExplicitUndefined, b7 as assertStorableRowId, b8 as assertValidClientId, b9 as buildIndexRange, ba as clearCompanionSignatures, bb as createShardCtxDb, bc as createSystemReader, bd as describeRelationWrites, be as indexKeysForRow, bf as keysTouchRanges, bg as normalizeIdStructurally, bh as reactiveCacheKey, bi as stripReservedPatchFields } from "./packem_shared/sql-engine.d-DW_YQjTa.js";
|
|
3
3
|
import { LunoraError } from '@lunora/errors';
|
|
4
4
|
import { R2BucketLike, ShardHost, SocketHost, SocketHandle } from '@lunora/platform';
|
|
5
5
|
export { stableStringify, stableWireKey } from '@lunora/wire';
|
|
@@ -178,6 +178,8 @@ interface SocketAttachment {
|
|
|
178
178
|
shapes?: Record<string, ShapeSubscriptionQuery>;
|
|
179
179
|
socketFunction?: string;
|
|
180
180
|
socketPath?: string;
|
|
181
|
+
subResults?: Record<string, string>;
|
|
182
|
+
subResultsSalt?: string;
|
|
181
183
|
subs: Record<string, SubscriptionQuery>;
|
|
182
184
|
subTables?: Record<string, string[]>;
|
|
183
185
|
userId?: string;
|
|
@@ -178,6 +178,8 @@ interface SocketAttachment {
|
|
|
178
178
|
shapes?: Record<string, ShapeSubscriptionQuery>;
|
|
179
179
|
socketFunction?: string;
|
|
180
180
|
socketPath?: string;
|
|
181
|
+
subResults?: Record<string, string>;
|
|
182
|
+
subResultsSalt?: string;
|
|
181
183
|
subs: Record<string, SubscriptionQuery>;
|
|
182
184
|
subTables?: Record<string, string[]>;
|
|
183
185
|
userId?: string;
|
package/dist/sql.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SQL, Name } from 'drizzle-orm';
|
|
2
|
-
import { S as SqlExec, a as SqlCursor, R as RangeOperandType, W as WhereInput, b as SqlEngine, c as RenderedSql } from "./packem_shared/sql-engine.d-
|
|
2
|
+
import { S as SqlExec, a as SqlCursor, R as RangeOperandType, W as WhereInput, b as SqlEngine, c as RenderedSql } from "./packem_shared/sql-engine.d-DW_YQjTa.mjs";
|
|
3
3
|
import '@lunora/errors';
|
|
4
4
|
declare const runDrizzle: <Row = Record<string, unknown>>(exec: SqlExec, query: SQL) => SqlCursor<Row>;
|
|
5
5
|
interface WhereFragments<T> {
|
package/dist/sql.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SQL, Name } from 'drizzle-orm';
|
|
2
|
-
import { S as SqlExec, a as SqlCursor, R as RangeOperandType, W as WhereInput, b as SqlEngine, c as RenderedSql } from "./packem_shared/sql-engine.d-
|
|
2
|
+
import { S as SqlExec, a as SqlCursor, R as RangeOperandType, W as WhereInput, b as SqlEngine, c as RenderedSql } from "./packem_shared/sql-engine.d-DW_YQjTa.js";
|
|
3
3
|
import '@lunora/errors';
|
|
4
4
|
declare const runDrizzle: <Row = Record<string, unknown>>(exec: SqlExec, query: SQL) => SqlCursor<Row>;
|
|
5
5
|
interface WhereFragments<T> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunora/shard-engine",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.216",
|
|
4
4
|
"description": "Host-neutral reactive engine for Lunora: per-shard state, OCC, CDC, reactive subscriptions, and the poke protocol. Consumes @lunora/platform host contracts and can be mounted on any platform host.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|