@lunora/do 1.0.0-alpha.72 → 1.0.0-alpha.74

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
@@ -1,5 +1,5 @@
1
1
  import { SchemaLike, DatabaseWriterLike, CrossShardReadArgs, CdcChange, FilterClause, ExportRow, MigrationDirection, ReactiveCache, ReactiveCacheOptions, ShardSocketLike, TransactionHeadroomTracker, LifecycleDispatchInfo, MigrationRunResult, TableIndexInfo, ColumnMeta, AdvisoryFinding, AdvisorProcedure, RlsPoliciesResult, MaskPoliciesResult, StorageRulesResult, StudioFeaturesResult, FlagsResult, SubscriptionIdentity, QueuesResult, WorkflowsResult, ImportShardResult, ShardRankPageResult, SubscriptionQuery, ShapeSubscriptionQuery, MutationDelta, KeyRange, ResolvedShape, ShapeRow, TtlSweepSpec, TransactionLimits, IndexKeyEntry, SqlExec } from '@lunora/shard-engine';
2
- export { ADMIN_FUNCTIONS, ADMIN_FUNCTION_PREFIX, AGGREGATE_SQL_FUNCTION, type AdvisorProcedure, type AdvisorProceduresResult, type AdvisoriesResult, type AdvisoryFinding, type AggregateIndexDefinitionLike, type AggregateOp, type AggregateOptions, type AggregateResult, type AggregateTally, type ApplyOnDeleteOptions, type AuditEntry, type AuditLogResult, type BroadcastDelta, CDC_LOG_TABLE, type CacheEntry, type CapturedMailRow, type CdcChange, type Clock, type ColumnMeta, type ColumnMetaLike, ConflictError, type CountArgs, CountRlsUnsupportedError, type CtxDbOptions, DATA_MIGRATION_STATE_TABLE, DEFAULT_MAX_RELATION_KEYS, type DataMigrationDocument, type DataMigrationLike, type DataMigrationTransform, type DatabaseWriterLike, type DependencyTracker, type DeployInfo, type ExportRow, type ExportShardAdminArgs, type ExportShardArgs, type ExternalSourceDiffResult, type ExternalSourceLike, FLAGS_FUNCTION_PREFIX, type FacetColumnOptions, type FacetColumnResult, type FacetValue, type FieldOperators, type FlagEvaluation, type FlagsResult, type FunctionCallStat, type FunctionStatsResult, GEO_DEFAULT_PRECISION, type GeoBoundingBox, type GeoFilterBuilderLike, type GeoIndexDefinitionLike, type GeoPoint, type GroupByEntry, type GroupByOptions, type IdGenerator, type ImportError, type ImportShardAdminArgs, type ImportShardArgs, type ImportShardResult, type IncrementalMaterializeResult, type IndexDefinitionLike, type IndexKeyEntry, type IndexRangeBuilderLike, type KeyRange, MAIL_RETENTION, MAIL_TABLE, MAX_SQL_ROWS, type MaskColumnMetadata, type MaskPoliciesResult, type MaterializeResult, type MigrationDirection, type MigrationRunResult, type MigrationStatus, type MigrationStatusRow, type MutationDelta, type NestedWith, NotFoundError, NotUniqueError, type OnDeleteActionLike, type OrderByInput, type OrderKey, type PaginationOptions, type PitrBookmarkResult, type PitrRestoreArgs, type PitrRestoreResult, type PitrStorage, type QueryArgs, type QueryPage, type QueueMetadata, type QueuesResult, RANK_TIEBREAK, RELATION_FUNCTION_PREFIX, RLS_UNWRAP_SYMBOL, type RankDirection, type RankIndexDefinitionLike, type RankOptions, type RankPage, type RankPageOptions, type RankPageRow, type RankPageRowKey, type RankResult, type RankSortKeyLike, ReactiveCache, type ReactiveCacheOptions, type ReadHook, type ReadTablePageOptions, type RecordMailInput, type RelationDefinitionLike, type RenderedSql, type ResolveRelationPredicatesOptions, type ResolveWithOptions, type RestrictableQueryOptions, type RlsPoliciesResult, type RlsPolicyMetadata, RlsRequiredError, type RlsRoleMetadata, type RpcRequest, type RunDataMigrationOptions, type RunTriggersOptions, SCAN_DEP, type SchedulableWorkflowReferenceLike, type ScheduledFunctionDoc, type SchedulerLike, type SchemaLike, type SearchFilterBuilderLike, type SearchIndexDefinitionLike, type SelectMatchingIdsOptions, type ServerDefaultContextLike, type SettingEntry, type SettingKind, type SettingsResult, type ShapeSubscriptionQuery, type ShardRankPageResult, type SocketAttachment, type SortDirection, type SourceClientLike, type SourceCursorLike, type SourceRefresh, type SqlConsoleResult, type SqlCursor, type SqlEngine, type SqlExec, type StorageRuleMetadata, type StorageRulesResult, type StudioFeaturesResult, type SubscriptionEnvelope, type SubscriptionQuery, type SystemDatabaseReader, type SystemDoc, type SystemQuery, type SystemReaderOptions, type SystemReaderSchedulerLike, type SystemReaderStorageLike, type SystemTableName, type TableColumnsResult, type TableDefinitionLike, type TableIndexInfo, type TableIndexesResult, type TableInfo, type TablePage, type TableReaderLike, type TablesColumnsResult, type TransactionHeadroomTracker, type TransactionSqlLike, type TriggerContextLike, type TriggerDefinitionLike, type TriggerEventLike, type TriggerOpLike, type TriggerTimingLike, type TtlSweepSpec, type ValidatorLike, type WhereInput, type WhereSqlStrategy, type WithInput, type WorkflowMetadata, type WorkflowsResult, type WriteEvent, type WriteHook, aggregateSqlFunction, aggregateTableName, applyCdcChanges, applyOnDelete, applySelect, armRestore, assertFlatPredicate, assertReadonly, assertShapeShardable, assertValidClientId, backfillAggregateIndexes, backfillRankIndexes, backfillSearchIndexes, boundingBoxCenter, boundingBoxGeohashes, buildSeekWhere, clearCapturedMail, coerceAggregateNumber, compileWhereSql, containsRelationPredicate, coveringGeohashes, createDependencyTracker, createReadFootprint, createShardCtxDb, createSystemReader, decodeCursor, depKey, diffExternalSource, encodeAggregateKey, encodeCursor, encodeGeohash, encodePartitionKey, ensureMailTable, exportShardRows, exportShardTable, facetColumn, fanOutScalarCounts, foldAggregateTally, guardWriter, hasTrigger, haversineMeters, importShardRows, isRelationPredicate, isSoftDeleted, isSourceDue, liftSourceId, listTables, matchesRankStaticWhere, matchesStaticWhere, materializeExternalRows, materializeExternalRowsIncremental, mergeWhere, normalizeCountArgument, normalizeIdStructurally, normalizeOrderKeys, parseExportShardArgs, parseImportShardArgs, planAggregateLookup, pointInBoundingBox, pullExternalSourceIncrementalTick, pullExternalSourceTick, rankTableName, reactiveCacheKey, readAggregateValue, readBookmark, readCapturedMail, readCdcChanges, readExternalSourceBaseline, readMigrationStatus, readTablePage, recordCapturedMail, renderSql, resolveRankPartition, resolveRelationPredicates, resolveWith, runDataMigration, runExternalSourceTick, runReadonlySql, runRowValidators, runShardMigrations, runTriggers, selectExpiredIds, selectExportTables, selectIndexForAggregate, selectIndexForCount, selectIndexForGroupBy, selectMatchingIds, softDeleteScope, sortColumnName, stableStringify, stableWireKey, subscriptionListDeltas, throwingScheduler, trimCdcChanges, validateImportRow } from '@lunora/shard-engine';
2
+ export { type AdvisorProcedure, type AdvisoryFinding, type AggregateIndexDefinitionLike, type DataMigrationLike, type DatabaseWriterLike, type ExportRow, type ExternalSourceLike, type FlagsResult, type ImportShardResult, type KeyRange, type MaskPoliciesResult, type MigrationRunResult, type MutationDelta, type QueuesResult, type RankIndexDefinitionLike, type RlsPoliciesResult, type SchedulerLike, type SchemaLike, type ShardRankPageResult, type SourceClientLike, type SqlExec, type StorageRulesResult, type StudioFeaturesResult, type SystemReaderStorageLike, type TransactionHeadroomTracker, type ValidatorLike, type WhereInput, type WorkflowsResult, type WriteHook, applyCdcChanges, assertShapeShardable, createReadFootprint, createShardCtxDb, exportShardRows, importShardRows, isSourceDue, pullExternalSourceIncrementalTick, pullExternalSourceTick, runDataMigration, runShardMigrations, subscriptionListDeltas } from '@lunora/shard-engine';
3
3
  import { DatabaseInstrumentation, MetricHistoryOptions, LogEventInput, ContextLogLevel, TraceAnchor, ContextTracer, ContextFetch, ContextMetrics } from '@lunora/observability';
4
4
  import { DrizzleSqliteDODatabase } from 'drizzle-orm/durable-sqlite';
5
5
  export { type ShardPlatform, type WorkerPlatform, type WorkerPlatformOptions, createShardAlarms, createShardDirectory, createShardHost, createShardKvStore, createShardPlatform, createSocketHost, createWorkerPlatform } from '@lunora/platform-cloudflare';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { SchemaLike, DatabaseWriterLike, CrossShardReadArgs, CdcChange, FilterClause, ExportRow, MigrationDirection, ReactiveCache, ReactiveCacheOptions, ShardSocketLike, TransactionHeadroomTracker, LifecycleDispatchInfo, MigrationRunResult, TableIndexInfo, ColumnMeta, AdvisoryFinding, AdvisorProcedure, RlsPoliciesResult, MaskPoliciesResult, StorageRulesResult, StudioFeaturesResult, FlagsResult, SubscriptionIdentity, QueuesResult, WorkflowsResult, ImportShardResult, ShardRankPageResult, SubscriptionQuery, ShapeSubscriptionQuery, MutationDelta, KeyRange, ResolvedShape, ShapeRow, TtlSweepSpec, TransactionLimits, IndexKeyEntry, SqlExec } from '@lunora/shard-engine';
2
- export { ADMIN_FUNCTIONS, ADMIN_FUNCTION_PREFIX, AGGREGATE_SQL_FUNCTION, type AdvisorProcedure, type AdvisorProceduresResult, type AdvisoriesResult, type AdvisoryFinding, type AggregateIndexDefinitionLike, type AggregateOp, type AggregateOptions, type AggregateResult, type AggregateTally, type ApplyOnDeleteOptions, type AuditEntry, type AuditLogResult, type BroadcastDelta, CDC_LOG_TABLE, type CacheEntry, type CapturedMailRow, type CdcChange, type Clock, type ColumnMeta, type ColumnMetaLike, ConflictError, type CountArgs, CountRlsUnsupportedError, type CtxDbOptions, DATA_MIGRATION_STATE_TABLE, DEFAULT_MAX_RELATION_KEYS, type DataMigrationDocument, type DataMigrationLike, type DataMigrationTransform, type DatabaseWriterLike, type DependencyTracker, type DeployInfo, type ExportRow, type ExportShardAdminArgs, type ExportShardArgs, type ExternalSourceDiffResult, type ExternalSourceLike, FLAGS_FUNCTION_PREFIX, type FacetColumnOptions, type FacetColumnResult, type FacetValue, type FieldOperators, type FlagEvaluation, type FlagsResult, type FunctionCallStat, type FunctionStatsResult, GEO_DEFAULT_PRECISION, type GeoBoundingBox, type GeoFilterBuilderLike, type GeoIndexDefinitionLike, type GeoPoint, type GroupByEntry, type GroupByOptions, type IdGenerator, type ImportError, type ImportShardAdminArgs, type ImportShardArgs, type ImportShardResult, type IncrementalMaterializeResult, type IndexDefinitionLike, type IndexKeyEntry, type IndexRangeBuilderLike, type KeyRange, MAIL_RETENTION, MAIL_TABLE, MAX_SQL_ROWS, type MaskColumnMetadata, type MaskPoliciesResult, type MaterializeResult, type MigrationDirection, type MigrationRunResult, type MigrationStatus, type MigrationStatusRow, type MutationDelta, type NestedWith, NotFoundError, NotUniqueError, type OnDeleteActionLike, type OrderByInput, type OrderKey, type PaginationOptions, type PitrBookmarkResult, type PitrRestoreArgs, type PitrRestoreResult, type PitrStorage, type QueryArgs, type QueryPage, type QueueMetadata, type QueuesResult, RANK_TIEBREAK, RELATION_FUNCTION_PREFIX, RLS_UNWRAP_SYMBOL, type RankDirection, type RankIndexDefinitionLike, type RankOptions, type RankPage, type RankPageOptions, type RankPageRow, type RankPageRowKey, type RankResult, type RankSortKeyLike, ReactiveCache, type ReactiveCacheOptions, type ReadHook, type ReadTablePageOptions, type RecordMailInput, type RelationDefinitionLike, type RenderedSql, type ResolveRelationPredicatesOptions, type ResolveWithOptions, type RestrictableQueryOptions, type RlsPoliciesResult, type RlsPolicyMetadata, RlsRequiredError, type RlsRoleMetadata, type RpcRequest, type RunDataMigrationOptions, type RunTriggersOptions, SCAN_DEP, type SchedulableWorkflowReferenceLike, type ScheduledFunctionDoc, type SchedulerLike, type SchemaLike, type SearchFilterBuilderLike, type SearchIndexDefinitionLike, type SelectMatchingIdsOptions, type ServerDefaultContextLike, type SettingEntry, type SettingKind, type SettingsResult, type ShapeSubscriptionQuery, type ShardRankPageResult, type SocketAttachment, type SortDirection, type SourceClientLike, type SourceCursorLike, type SourceRefresh, type SqlConsoleResult, type SqlCursor, type SqlEngine, type SqlExec, type StorageRuleMetadata, type StorageRulesResult, type StudioFeaturesResult, type SubscriptionEnvelope, type SubscriptionQuery, type SystemDatabaseReader, type SystemDoc, type SystemQuery, type SystemReaderOptions, type SystemReaderSchedulerLike, type SystemReaderStorageLike, type SystemTableName, type TableColumnsResult, type TableDefinitionLike, type TableIndexInfo, type TableIndexesResult, type TableInfo, type TablePage, type TableReaderLike, type TablesColumnsResult, type TransactionHeadroomTracker, type TransactionSqlLike, type TriggerContextLike, type TriggerDefinitionLike, type TriggerEventLike, type TriggerOpLike, type TriggerTimingLike, type TtlSweepSpec, type ValidatorLike, type WhereInput, type WhereSqlStrategy, type WithInput, type WorkflowMetadata, type WorkflowsResult, type WriteEvent, type WriteHook, aggregateSqlFunction, aggregateTableName, applyCdcChanges, applyOnDelete, applySelect, armRestore, assertFlatPredicate, assertReadonly, assertShapeShardable, assertValidClientId, backfillAggregateIndexes, backfillRankIndexes, backfillSearchIndexes, boundingBoxCenter, boundingBoxGeohashes, buildSeekWhere, clearCapturedMail, coerceAggregateNumber, compileWhereSql, containsRelationPredicate, coveringGeohashes, createDependencyTracker, createReadFootprint, createShardCtxDb, createSystemReader, decodeCursor, depKey, diffExternalSource, encodeAggregateKey, encodeCursor, encodeGeohash, encodePartitionKey, ensureMailTable, exportShardRows, exportShardTable, facetColumn, fanOutScalarCounts, foldAggregateTally, guardWriter, hasTrigger, haversineMeters, importShardRows, isRelationPredicate, isSoftDeleted, isSourceDue, liftSourceId, listTables, matchesRankStaticWhere, matchesStaticWhere, materializeExternalRows, materializeExternalRowsIncremental, mergeWhere, normalizeCountArgument, normalizeIdStructurally, normalizeOrderKeys, parseExportShardArgs, parseImportShardArgs, planAggregateLookup, pointInBoundingBox, pullExternalSourceIncrementalTick, pullExternalSourceTick, rankTableName, reactiveCacheKey, readAggregateValue, readBookmark, readCapturedMail, readCdcChanges, readExternalSourceBaseline, readMigrationStatus, readTablePage, recordCapturedMail, renderSql, resolveRankPartition, resolveRelationPredicates, resolveWith, runDataMigration, runExternalSourceTick, runReadonlySql, runRowValidators, runShardMigrations, runTriggers, selectExpiredIds, selectExportTables, selectIndexForAggregate, selectIndexForCount, selectIndexForGroupBy, selectMatchingIds, softDeleteScope, sortColumnName, stableStringify, stableWireKey, subscriptionListDeltas, throwingScheduler, trimCdcChanges, validateImportRow } from '@lunora/shard-engine';
2
+ export { type AdvisorProcedure, type AdvisoryFinding, type AggregateIndexDefinitionLike, type DataMigrationLike, type DatabaseWriterLike, type ExportRow, type ExternalSourceLike, type FlagsResult, type ImportShardResult, type KeyRange, type MaskPoliciesResult, type MigrationRunResult, type MutationDelta, type QueuesResult, type RankIndexDefinitionLike, type RlsPoliciesResult, type SchedulerLike, type SchemaLike, type ShardRankPageResult, type SourceClientLike, type SqlExec, type StorageRulesResult, type StudioFeaturesResult, type SystemReaderStorageLike, type TransactionHeadroomTracker, type ValidatorLike, type WhereInput, type WorkflowsResult, type WriteHook, applyCdcChanges, assertShapeShardable, createReadFootprint, createShardCtxDb, exportShardRows, importShardRows, isSourceDue, pullExternalSourceIncrementalTick, pullExternalSourceTick, runDataMigration, runShardMigrations, subscriptionListDeltas } from '@lunora/shard-engine';
3
3
  import { DatabaseInstrumentation, MetricHistoryOptions, LogEventInput, ContextLogLevel, TraceAnchor, ContextTracer, ContextFetch, ContextMetrics } from '@lunora/observability';
4
4
  import { DrizzleSqliteDODatabase } from 'drizzle-orm/durable-sqlite';
5
5
  export { type ShardPlatform, type WorkerPlatform, type WorkerPlatformOptions, createShardAlarms, createShardDirectory, createShardHost, createShardKvStore, createShardPlatform, createSocketHost, createWorkerPlatform } from '@lunora/platform-cloudflare';
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- import{serveRelationFanout as a}from"./packem_shared/serveRelationFanout-D8DPvuQt.mjs";import{SESSION_DO_TTL_DEFAULT as o,SessionDO as l}from"./packem_shared/SESSION_DO_TTL_DEFAULT-Dan63qLN.mjs";import{ROOT_DO_SIZE_WARN_BYTES as i,ROOT_SHARD_NAME as s,ShardDO as c}from"./packem_shared/ROOT_DO_SIZE_WARN_BYTES-Czm_27y_.mjs";import{SHARD_REGISTRY_DO_NAME as S,ShardRegistryDO as g}from"./packem_shared/SHARD_REGISTRY_DO_NAME-tOQVzDCB.mjs";import{createShardAlarms as R,createShardDirectory as E,createShardHost as h,createShardKvStore as A,createShardPlatform as T,createSocketHost as p,createWorkerPlatform as I}from"@lunora/platform-cloudflare";import{ADMIN_FUNCTIONS as m,ADMIN_FUNCTION_PREFIX as C,AGGREGATE_SQL_FUNCTION as N,CDC_LOG_TABLE as x,ConflictError as O,CountRlsUnsupportedError as D,DATA_MIGRATION_STATE_TABLE as f,DEFAULT_MAX_RELATION_KEYS as F,FLAGS_FUNCTION_PREFIX as b,GEO_DEFAULT_PRECISION as y,MAIL_RETENTION as L,MAIL_TABLE as M,MAX_SQL_ROWS as k,NotFoundError as P,NotUniqueError as B,RANK_TIEBREAK as G,RELATION_FUNCTION_PREFIX as W,RLS_UNWRAP_SYMBOL as U,ReactiveCache as v,RlsRequiredError as K,SCAN_DEP as w,aggregateSqlFunction as q,aggregateTableName as z,applyCdcChanges as X,applyOnDelete as H,applySelect as Y,armRestore as V,assertFlatPredicate as Q,assertReadonly as Z,assertShapeShardable as j,assertValidClientId as J,backfillAggregateIndexes as $,backfillRankIndexes as ee,backfillSearchIndexes as re,boundingBoxCenter as ae,boundingBoxGeohashes as te,buildSeekWhere as oe,clearCapturedMail as le,coerceAggregateNumber as ne,compileWhereSql as ie,containsRelationPredicate as se,coveringGeohashes as ce,createDependencyTracker as de,createReadFootprint as Se,createShardCtxDb as ge,createSystemReader as ue,decodeCursor as Re,depKey as Ee,diffExternalSource as he,encodeAggregateKey as Ae,encodeCursor as Te,encodeGeohash as pe,encodePartitionKey as Ie,ensureMailTable as _e,exportShardRows as me,exportShardTable as Ce,facetColumn as Ne,fanOutScalarCounts as xe,foldAggregateTally as Oe,guardWriter as De,hasTrigger as fe,haversineMeters as Fe,importShardRows as be,isRelationPredicate as ye,isSoftDeleted as Le,isSourceDue as Me,liftSourceId as ke,listTables as Pe,matchesRankStaticWhere as Be,matchesStaticWhere as Ge,materializeExternalRows as We,materializeExternalRowsIncremental as Ue,mergeWhere as ve,normalizeCountArgument as Ke,normalizeIdStructurally as we,normalizeOrderKeys as qe,parseExportShardArgs as ze,parseImportShardArgs as Xe,planAggregateLookup as He,pointInBoundingBox as Ye,pullExternalSourceIncrementalTick as Ve,pullExternalSourceTick as Qe,rankTableName as Ze,reactiveCacheKey as je,readAggregateValue as Je,readBookmark as $e,readCapturedMail as er,readCdcChanges as rr,readExternalSourceBaseline as ar,readMigrationStatus as tr,readTablePage as or,recordCapturedMail as lr,renderSql as nr,resolveRankPartition as ir,resolveRelationPredicates as sr,resolveWith as cr,runDataMigration as dr,runExternalSourceTick as Sr,runReadonlySql as gr,runRowValidators as ur,runShardMigrations as Rr,runTriggers as Er,selectExpiredIds as hr,selectExportTables as Ar,selectIndexForAggregate as Tr,selectIndexForCount as pr,selectIndexForGroupBy as Ir,selectMatchingIds as _r,softDeleteScope as mr,sortColumnName as Cr,stableStringify as Nr,stableWireKey as xr,subscriptionListDeltas as Or,throwingScheduler as Dr,trimCdcChanges as fr,validateImportRow as Fr}from"@lunora/shard-engine";export{m as ADMIN_FUNCTIONS,C as ADMIN_FUNCTION_PREFIX,N as AGGREGATE_SQL_FUNCTION,x as CDC_LOG_TABLE,O as ConflictError,D as CountRlsUnsupportedError,f as DATA_MIGRATION_STATE_TABLE,F as DEFAULT_MAX_RELATION_KEYS,b as FLAGS_FUNCTION_PREFIX,y as GEO_DEFAULT_PRECISION,L as MAIL_RETENTION,M as MAIL_TABLE,k as MAX_SQL_ROWS,P as NotFoundError,B as NotUniqueError,G as RANK_TIEBREAK,W as RELATION_FUNCTION_PREFIX,U as RLS_UNWRAP_SYMBOL,i as ROOT_DO_SIZE_WARN_BYTES,s as ROOT_SHARD_NAME,v as ReactiveCache,K as RlsRequiredError,w as SCAN_DEP,o as SESSION_DO_TTL_DEFAULT,S as SHARD_REGISTRY_DO_NAME,l as SessionDO,c as ShardDO,g as ShardRegistryDO,q as aggregateSqlFunction,z as aggregateTableName,X as applyCdcChanges,H as applyOnDelete,Y as applySelect,V as armRestore,Q as assertFlatPredicate,Z as assertReadonly,j as assertShapeShardable,J as assertValidClientId,$ as backfillAggregateIndexes,ee as backfillRankIndexes,re as backfillSearchIndexes,ae as boundingBoxCenter,te as boundingBoxGeohashes,oe as buildSeekWhere,le as clearCapturedMail,ne as coerceAggregateNumber,ie as compileWhereSql,se as containsRelationPredicate,ce as coveringGeohashes,de as createDependencyTracker,Se as createReadFootprint,R as createShardAlarms,ge as createShardCtxDb,E as createShardDirectory,h as createShardHost,A as createShardKvStore,T as createShardPlatform,p as createSocketHost,ue as createSystemReader,I as createWorkerPlatform,Re as decodeCursor,Ee as depKey,he as diffExternalSource,Ae as encodeAggregateKey,Te as encodeCursor,pe as encodeGeohash,Ie as encodePartitionKey,_e as ensureMailTable,me as exportShardRows,Ce as exportShardTable,Ne as facetColumn,xe as fanOutScalarCounts,Oe as foldAggregateTally,De as guardWriter,fe as hasTrigger,Fe as haversineMeters,be as importShardRows,ye as isRelationPredicate,Le as isSoftDeleted,Me as isSourceDue,ke as liftSourceId,Pe as listTables,Be as matchesRankStaticWhere,Ge as matchesStaticWhere,We as materializeExternalRows,Ue as materializeExternalRowsIncremental,ve as mergeWhere,Ke as normalizeCountArgument,we as normalizeIdStructurally,qe as normalizeOrderKeys,ze as parseExportShardArgs,Xe as parseImportShardArgs,He as planAggregateLookup,Ye as pointInBoundingBox,Ve as pullExternalSourceIncrementalTick,Qe as pullExternalSourceTick,Ze as rankTableName,je as reactiveCacheKey,Je as readAggregateValue,$e as readBookmark,er as readCapturedMail,rr as readCdcChanges,ar as readExternalSourceBaseline,tr as readMigrationStatus,or as readTablePage,lr as recordCapturedMail,nr as renderSql,ir as resolveRankPartition,sr as resolveRelationPredicates,cr as resolveWith,dr as runDataMigration,Sr as runExternalSourceTick,gr as runReadonlySql,ur as runRowValidators,Rr as runShardMigrations,Er as runTriggers,hr as selectExpiredIds,Ar as selectExportTables,Tr as selectIndexForAggregate,pr as selectIndexForCount,Ir as selectIndexForGroupBy,_r as selectMatchingIds,a as serveRelationFanout,mr as softDeleteScope,Cr as sortColumnName,Nr as stableStringify,xr as stableWireKey,Or as subscriptionListDeltas,Dr as throwingScheduler,fr as trimCdcChanges,Fr as validateImportRow};
1
+ import{serveRelationFanout as a}from"./packem_shared/serveRelationFanout-D8DPvuQt.mjs";import{SESSION_DO_TTL_DEFAULT as o,SessionDO as S}from"./packem_shared/SESSION_DO_TTL_DEFAULT-Dan63qLN.mjs";import{ROOT_DO_SIZE_WARN_BYTES as s,ROOT_SHARD_NAME as i,ShardDO as p}from"./packem_shared/ROOT_DO_SIZE_WARN_BYTES-Czm_27y_.mjs";import{SHARD_REGISTRY_DO_NAME as h,ShardRegistryDO as l}from"./packem_shared/SHARD_REGISTRY_DO_NAME-tOQVzDCB.mjs";import{createShardAlarms as D,createShardDirectory as R,createShardHost as _,createShardKvStore as m,createShardPlatform as O,createSocketHost as u,createWorkerPlatform as x}from"@lunora/platform-cloudflare";import{applyCdcChanges as T,assertShapeShardable as f,createReadFootprint as A,createShardCtxDb as g,exportShardRows as k,importShardRows as H,isSourceDue as I,pullExternalSourceIncrementalTick as M,pullExternalSourceTick as N,runDataMigration as b,runShardMigrations as y,subscriptionListDeltas as C}from"@lunora/shard-engine";export{s as ROOT_DO_SIZE_WARN_BYTES,i as ROOT_SHARD_NAME,o as SESSION_DO_TTL_DEFAULT,h as SHARD_REGISTRY_DO_NAME,S as SessionDO,p as ShardDO,l as ShardRegistryDO,T as applyCdcChanges,f as assertShapeShardable,A as createReadFootprint,D as createShardAlarms,g as createShardCtxDb,R as createShardDirectory,_ as createShardHost,m as createShardKvStore,O as createShardPlatform,u as createSocketHost,x as createWorkerPlatform,k as exportShardRows,H as importShardRows,I as isSourceDue,M as pullExternalSourceIncrementalTick,N as pullExternalSourceTick,b as runDataMigration,y as runShardMigrations,a as serveRelationFanout,C as subscriptionListDeltas};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/do",
3
- "version": "1.0.0-alpha.72",
3
+ "version": "1.0.0-alpha.74",
4
4
  "description": "Lunora Durable Objects: ShardDO (SQLite, OCC, hibernated WebSocket subscriptions) and SessionDO",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -47,10 +47,10 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@lunora/errors": "1.0.0-alpha.16",
50
- "@lunora/observability": "1.0.0-alpha.14",
51
- "@lunora/platform": "1.0.0-alpha.6",
52
- "@lunora/platform-cloudflare": "1.0.0-alpha.9",
53
- "@lunora/shard-engine": "1.0.0-alpha.15",
50
+ "@lunora/observability": "1.0.0-alpha.15",
51
+ "@lunora/platform": "1.0.0-alpha.7",
52
+ "@lunora/platform-cloudflare": "1.0.0-alpha.10",
53
+ "@lunora/shard-engine": "1.0.0-alpha.16",
54
54
  "drizzle-orm": "^0.45.2"
55
55
  },
56
56
  "engines": {