@supalive/core 1.11.0 → 1.12.0

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 (43) hide show
  1. package/dist/index-DDDAcnJj.d.ts +2208 -0
  2. package/dist/index-DDDAcnJj.d.ts.map +1 -0
  3. package/dist/mysql-DF8eJO-v.d.ts +113 -0
  4. package/dist/mysql-DF8eJO-v.d.ts.map +1 -0
  5. package/dist/mysql-XUkTkefP.js +610 -0
  6. package/dist/mysql-XUkTkefP.js.map +1 -0
  7. package/dist/overlap-checker-BdNoCPtA.js +259 -0
  8. package/dist/overlap-checker-BdNoCPtA.js.map +1 -0
  9. package/dist/postgres-C7CHroi9.js +865 -0
  10. package/dist/postgres-C7CHroi9.js.map +1 -0
  11. package/dist/postgres-EXjuHMUi.d.ts +117 -0
  12. package/dist/postgres-EXjuHMUi.d.ts.map +1 -0
  13. package/dist/query-Bpw8wO6L.js +730 -0
  14. package/dist/query-Bpw8wO6L.js.map +1 -0
  15. package/dist/realtime_db-e3TztUUT.js +272 -0
  16. package/dist/realtime_db-e3TztUUT.js.map +1 -0
  17. package/dist/schema-CWdfWuIj.js +105 -0
  18. package/dist/schema-CWdfWuIj.js.map +1 -0
  19. package/dist/src/client/index.d.ts +1 -1
  20. package/dist/src/client/index.js +4 -4
  21. package/dist/src/exports/mysql.d.ts +1 -1
  22. package/dist/src/exports/mysql.js +1 -1
  23. package/dist/src/exports/postgres.d.ts +1 -1
  24. package/dist/src/exports/postgres.js +1 -1
  25. package/dist/src/exports/procedure.d.ts +1 -1
  26. package/dist/src/exports/procedure.js +3 -2
  27. package/dist/src/exports/procedure.js.map +1 -1
  28. package/dist/src/exports/schema-sql.d.ts +1 -1
  29. package/dist/src/exports/schema-sql.js +2 -2
  30. package/dist/src/exports/server.d.ts +4 -4
  31. package/dist/src/exports/server.js +3 -3
  32. package/dist/src/exports/sub-manager-worker-entry.js +1 -1
  33. package/dist/src/exports/types.d.ts +2 -2
  34. package/dist/src/exports/types.js +1 -1
  35. package/dist/sub-worker-dispatch-Cl-XnBwq.js +810 -0
  36. package/dist/sub-worker-dispatch-Cl-XnBwq.js.map +1 -0
  37. package/dist/table-id-x9y1eHUr.js +91 -0
  38. package/dist/table-id-x9y1eHUr.js.map +1 -0
  39. package/dist/types_db-CmxFWgU3.js +171 -0
  40. package/dist/types_db-CmxFWgU3.js.map +1 -0
  41. package/dist/types_server-BF5Y0s__.d.ts +521 -0
  42. package/dist/types_server-BF5Y0s__.d.ts.map +1 -0
  43. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  import { i as createQueryBuilder, r as createMutationBuilder, t as createActionBuilder } from "../../procedure-DPgXC2Cm.js";
2
2
  import { n as getContextRegistry, r as router } from "../../router-CiWYeWUR.js";
3
- import { o as matchesPredicate } from "../../query-ur-jCtVr.js";
4
- import { n as defineSchema, t as defineComputedField } from "../../schema-Dd7u0A1L.js";
3
+ import { o as matchesPredicate } from "../../query-Bpw8wO6L.js";
4
+ import { n as defineSchema, t as defineComputedField } from "../../schema-CWdfWuIj.js";
5
5
  import { r as supaliveStringify } from "../../helper-wGbzz6zo.js";
6
- import { C as normalizeIdToBytes, S as bytesFromJson, _ as RawRangeReadSchema, a as DEFAULT_RETRY, b as WriteEntrySchema, c as OccAbortError, d as PointReadSchema, f as PredicateSchema, g as RawPointReadSchema, h as RangeReadSchema, i as CompareOperatorSchema, l as OccConflictError, m as QueryCacheMetadataSchema, n as BigIntSchema, o as LeafPredicateSchema, p as QueryCacheEntrySchema, r as CachedPgMetadataSchema, s as NO_RETRY, t as AndPredicateSchema, u as OrPredicateSchema, v as RawReadEntrySchema, w as normalizeToBytes, x as WriteOpSchema, y as ReadEntrySchema } from "../../types_db-B039N8Em.js";
6
+ import { C as normalizeIdToBytes, S as bytesFromJson, _ as RawRangeReadSchema, a as DEFAULT_RETRY, b as WriteEntrySchema, c as OccAbortError, d as PointReadSchema, f as PredicateSchema, g as RawPointReadSchema, h as RangeReadSchema, i as CompareOperatorSchema, l as OccConflictError, m as QueryCacheMetadataSchema, n as BigIntSchema, o as LeafPredicateSchema, p as QueryCacheEntrySchema, r as CachedPgMetadataSchema, s as NO_RETRY, t as AndPredicateSchema, u as OrPredicateSchema, v as RawReadEntrySchema, w as normalizeToBytes, x as WriteOpSchema, y as ReadEntrySchema } from "../../types_db-CmxFWgU3.js";
7
7
  import { l as ServerMessageSchema } from "../../types_client_rpc-CIsjQQGG.js";
8
- import { a as TxContext, i as DbWriter, n as sleep, r as DbReader, t as SupaliveDb } from "../../realtime_db-DiYQbfeA.js";
8
+ import { a as TxContext, i as DbWriter, n as sleep, r as DbReader, t as SupaliveDb } from "../../realtime_db-e3TztUUT.js";
9
9
  import { sha1 } from "hash-wasm";
10
10
  //#region src/db/query_definition.ts
11
11
  const _globalDefs = /* @__PURE__ */ new Map();
@@ -1,2 +1,2 @@
1
- import { t as MySqlDatabase } from "../../mysql-BXy4mk-9.js";
1
+ import { t as MySqlDatabase } from "../../mysql-DF8eJO-v.js";
2
2
  export { MySqlDatabase };
@@ -1,2 +1,2 @@
1
- import { t as MySqlDatabase } from "../../mysql-D-PGYc1L.js";
1
+ import { t as MySqlDatabase } from "../../mysql-XUkTkefP.js";
2
2
  export { MySqlDatabase };
@@ -1,2 +1,2 @@
1
- import { t as PgDatabase } from "../../postgres-CapFFTTn.js";
1
+ import { t as PgDatabase } from "../../postgres-EXjuHMUi.js";
2
2
  export { PgDatabase };
@@ -1,2 +1,2 @@
1
- import { t as PgDatabase } from "../../postgres-Cn9vTBX7.js";
1
+ import { t as PgDatabase } from "../../postgres-C7CHroi9.js";
2
2
  export { PgDatabase };
@@ -1,4 +1,4 @@
1
- import { $ as ProcedureNames, An as ReturnQuery, At as patchZod$1, Bn as tableNameToId, Cn as InsertData, Ct as QueryFn, Dn as Prettify, Dt as createJobBuilder, En as OverrideField, Et as createActionBuilder, Fn as StoredSchemaColumnsOptions, In as defineComputedField, J as ActionProcedures, Ln as defineSchema, Mn as SchemaColumnMapping, Nn as SchemaColumnsOptions, On as QueryArgs, Ot as createMutationBuilder, Pn as SchemaDefinition, Q as MutationProcedures, Rn as schemaRegistry, Sn as InferSchema, St as QueryCtx, Tn as MutationArgs, Tt as TypeOf, Vn as trackSchema, X as ContextRegistry, Y as AppRouter, Z as JobProcedures, _n as ComputedField, _t as MutationCtx, an as OrderDirection, at as router, bn as DefineSchemaConfig, bt as OutputOf, cn as buildPredicateSql, ct as ActionFn, dn as jsonPathExtract, dt as ContextOf, en as IdAndCommitTs, et as PublicProcedures, fn as matchesPredicate, ft as JobConfig, gn as ComputedDataType, gt as MutationConfig, hn as ComputedCodec, ht as JobProcedure, in as OrderByOptions, it as getContextRegistry, jn as SchemaCodecs, jt as z$1, kn as ReturnLiveQuery, kt as createQueryBuilder, ln as jsonContains, lt as ActionProcedure, mn as ColumnCodec, mt as JobFn, nn as JsonHasKeyMultiOptions, nt as RegisteredProcedure, on as PaginationClause, ot as ActionConfig, pn as ActionArgs, pt as JobCtx, rn as JsonOpOptions, rt as Router, sn as QueryBuilder, st as ActionCtx, tn as JsonContainsOptions, tt as QueryProcedures, un as jsonPathExists, ut as AnyProcedure, vn as ComputedFieldConfig, vt as MutationFn, wn as Model, wt as QueryProcedure, xn as IndexDefinition, xt as QueryConfig, yn as DeclarativeIndex, yt as MutationProcedure, zn as shouldTrackSchema } from "../../index-C_Zew1wH.js";
1
+ import { $ as ProcedureNames, An as ReturnQuery, At as patchZod$1, Bn as trackSchema, Cn as InsertData, Ct as QueryFn, Dn as Prettify, Dt as createJobBuilder, En as OverrideField, Et as createActionBuilder, Fn as StoredSchemaColumnsOptions, In as defineComputedField, J as ActionProcedures, Ln as defineSchema, Mn as SchemaColumnMapping, Nn as SchemaColumnsOptions, On as QueryArgs, Ot as createMutationBuilder, Pn as SchemaDefinition, Q as MutationProcedures, Rn as schemaRegistry, Sn as InferSchema, St as QueryCtx, Tn as MutationArgs, Tt as TypeOf, Vn as tableNameToId, X as ContextRegistry, Y as AppRouter, Z as JobProcedures, _n as ComputedField, _t as MutationCtx, an as OrderDirection, at as router, bn as DefineSchemaConfig, bt as OutputOf, cn as buildPredicateSql, ct as ActionFn, dn as jsonPathExtract, dt as ContextOf, en as IdAndCommitTs, et as PublicProcedures, fn as matchesPredicate, ft as JobConfig, gn as ComputedDataType, gt as MutationConfig, hn as ComputedCodec, ht as JobProcedure, in as OrderByOptions, it as getContextRegistry, jn as SchemaCodecs, jt as z$1, kn as ReturnLiveQuery, kt as createQueryBuilder, ln as jsonContains, lt as ActionProcedure, mn as ColumnCodec, mt as JobFn, nn as JsonHasKeyMultiOptions, nt as RegisteredProcedure, on as PaginationClause, ot as ActionConfig, pn as ActionArgs, pt as JobCtx, rn as JsonOpOptions, rt as Router, sn as QueryBuilder, st as ActionCtx, tn as JsonContainsOptions, tt as QueryProcedures, un as jsonPathExists, ut as AnyProcedure, vn as ComputedFieldConfig, vt as MutationFn, wn as Model, wt as QueryProcedure, xn as IndexDefinition, xt as QueryConfig, yn as DeclarativeIndex, yt as MutationProcedure, zn as shouldTrackSchema } from "../../index-DDDAcnJj.js";
2
2
  import { n as stableStringify, r as supaliveStringify, t as groupByToMap } from "../../helper-CiacMqje.js";
3
3
 
4
4
  //#region src/exports/procedure.d.ts
@@ -1,7 +1,8 @@
1
1
  import { a as patchZod$1, i as createQueryBuilder, n as createJobBuilder, o as z$1, r as createMutationBuilder, t as createActionBuilder } from "../../procedure-DPgXC2Cm.js";
2
2
  import { n as getContextRegistry, r as router, t as ContextRegistry } from "../../router-CiWYeWUR.js";
3
- import { a as jsonPathExtract, i as jsonPathExists, n as buildPredicateSql, o as matchesPredicate, r as jsonContains, t as QueryBuilder } from "../../query-ur-jCtVr.js";
4
- import { a as tableNameToId, i as shouldTrackSchema, n as defineSchema, o as trackSchema, r as schemaRegistry, t as defineComputedField } from "../../schema-Dd7u0A1L.js";
3
+ import { n as tableNameToId } from "../../table-id-x9y1eHUr.js";
4
+ import { a as jsonPathExtract, i as jsonPathExists, n as buildPredicateSql, o as matchesPredicate, r as jsonContains, t as QueryBuilder } from "../../query-Bpw8wO6L.js";
5
+ import { a as trackSchema, i as shouldTrackSchema, n as defineSchema, r as schemaRegistry, t as defineComputedField } from "../../schema-CWdfWuIj.js";
5
6
  import { n as stableStringify, r as supaliveStringify, t as groupByToMap } from "../../helper-wGbzz6zo.js";
6
7
  //#region src/exports/procedure.ts
7
8
  const z = z$1;
@@ -1 +1 @@
1
- {"version":3,"file":"procedure.js","names":["_z","_patchZod"],"sources":["../../../src/exports/procedure.ts"],"sourcesContent":["export * from \"../router/index\";\nexport * from \"../db/query\";\nexport * from \"../db/schema\";\nexport * from \"../helper\";\n\n// Re-export z (with .modelName() already patched at import time)\nimport { z as _z, patchZod as _patchZod } from \"../router/procedure\";\nexport const z = _z;\nexport const patchZod = _patchZod;\n\n// eslint-disable-next-line @typescript-eslint/no-namespace\ndeclare module \"zod\" {\n interface ZodType<Output, Input, Internals> {\n /**\n * Rename the generated model class in @supalive codegen output.\n * Purely metadata — has no runtime effect beyond setting `.meta({ __genType: name })`.\n */\n modelName(name: string): this;\n }\n}"],"mappings":";;;;;;AAOA,MAAa,IAAIA;AACjB,MAAa,WAAWC"}
1
+ {"version":3,"file":"procedure.js","names":["_z","_patchZod"],"sources":["../../../src/exports/procedure.ts"],"sourcesContent":["export * from \"../router/index\";\nexport * from \"../db/query\";\nexport * from \"../db/schema\";\nexport * from \"../helper\";\n\n// Re-export z (with .modelName() already patched at import time)\nimport { z as _z, patchZod as _patchZod } from \"../router/procedure\";\nexport const z = _z;\nexport const patchZod = _patchZod;\n\n// eslint-disable-next-line @typescript-eslint/no-namespace\ndeclare module \"zod\" {\n interface ZodType<Output, Input, Internals> {\n /**\n * Rename the generated model class in @supalive codegen output.\n * Purely metadata — has no runtime effect beyond setting `.meta({ __genType: name })`.\n */\n modelName(name: string): this;\n }\n}"],"mappings":";;;;;;;AAOA,MAAa,IAAIA;AACjB,MAAa,WAAWC"}
@@ -1,4 +1,4 @@
1
- import { Pn as SchemaDefinition, Rn as schemaRegistry, Vn as trackSchema } from "../../index-C_Zew1wH.js";
1
+ import { Bn as trackSchema, Pn as SchemaDefinition, Rn as schemaRegistry } from "../../index-DDDAcnJj.js";
2
2
 
3
3
  //#region src/db/schema-sql.d.ts
4
4
  type SqlDialect = "postgres" | "mysql";
@@ -1,5 +1,5 @@
1
- import { r as unwrapZodType } from "../../codec-BHAmGEIQ.js";
2
- import { o as trackSchema, r as schemaRegistry } from "../../schema-Dd7u0A1L.js";
1
+ import { a as unwrapZodType } from "../../table-id-x9y1eHUr.js";
2
+ import { a as trackSchema, r as schemaRegistry } from "../../schema-CWdfWuIj.js";
3
3
  import { z as z$1 } from "zod";
4
4
  //#region src/db/core_tables.ts
5
5
  function coreTablesSql(dialect = "postgres", options) {
@@ -1,7 +1,7 @@
1
- import { $n as AffectedSubscription, Bt as ScheduleHandle, E as Context, Ft as IncomingJobRequest, Ht as SupaliveDb, It as JobClient, Lt as JobScheduler, Mt as DevScheduler, Nt as DevSchedulerOptions, Pt as EnqueueOptions, Qn as CacheLayer, Rt as QStashScheduler, Un as Database, Vt as ScheduledJobDef, ar as RegisterSubscriptionResult, cr as UnregisterSubscriptionResult, dr as UpdateSubscriptionReadSetParams, er as InvalidateWritesetParams, fr as UpdateSubscriptionReadSetParamsSchema, ir as RegisterSubscriptionParamsSchema, nr as InvalidateWritesetResult, or as UnregisterSubscriptionParams, pr as UpdateSubscriptionReadSetResult, rr as RegisterSubscriptionParams, rt as Router, sr as UnregisterSubscriptionParamsSchema, tr as InvalidateWritesetParamsSchema, zt as QStashSchedulerOptions } from "../../index-C_Zew1wH.js";
2
- import { t as MySqlDatabase } from "../../mysql-BXy4mk-9.js";
3
- import { t as PgDatabase } from "../../postgres-CapFFTTn.js";
4
- import { C as SubManagerLink, S as SubManagerClient, b as SupaliveServerConfig, p as DatabaseConfig, u as SubId, x as UpstashConfig, y as SubscriptionManagerConfig } from "../../types_server-SPElhjga.js";
1
+ import { $n as AffectedSubscription, Bt as ScheduleHandle, E as Context, Ft as IncomingJobRequest, Ht as SupaliveDb, It as JobClient, Lt as JobScheduler, Mt as DevScheduler, Nt as DevSchedulerOptions, Pt as EnqueueOptions, Qn as CacheLayer, Rt as QStashScheduler, Un as Database, Vt as ScheduledJobDef, ar as RegisterSubscriptionResult, cr as UnregisterSubscriptionResult, dr as UpdateSubscriptionReadSetParams, er as InvalidateWritesetParams, fr as UpdateSubscriptionReadSetParamsSchema, ir as RegisterSubscriptionParamsSchema, nr as InvalidateWritesetResult, or as UnregisterSubscriptionParams, pr as UpdateSubscriptionReadSetResult, rr as RegisterSubscriptionParams, rt as Router, sr as UnregisterSubscriptionParamsSchema, tr as InvalidateWritesetParamsSchema, zt as QStashSchedulerOptions } from "../../index-DDDAcnJj.js";
2
+ import { t as MySqlDatabase } from "../../mysql-DF8eJO-v.js";
3
+ import { t as PgDatabase } from "../../postgres-EXjuHMUi.js";
4
+ import { C as SubManagerLink, S as SubManagerClient, b as SupaliveServerConfig, p as DatabaseConfig, u as SubId, x as UpstashConfig, y as SubscriptionManagerConfig } from "../../types_server-BF5Y0s__.js";
5
5
  import pino, { Level } from "pino";
6
6
  import Redis$1 from "ioredis";
7
7
 
@@ -1,10 +1,10 @@
1
1
  import { n as getContextRegistry } from "../../router-CiWYeWUR.js";
2
2
  import { n as stableStringify, r as supaliveStringify, t as groupByToMap } from "../../helper-wGbzz6zo.js";
3
- import { r as evaluateCacheFreshness } from "../../overlap-checker-BoWNco2y.js";
3
+ import { r as evaluateCacheFreshness } from "../../overlap-checker-BdNoCPtA.js";
4
4
  import { i as AuthenticationError, o as ClientMessageSchema } from "../../types_client_rpc-CIsjQQGG.js";
5
5
  import { n as RemoteSubscriptionMessageSchema } from "../../types_server-Dk6o_B7N.js";
6
- import { n as sleep } from "../../realtime_db-DiYQbfeA.js";
7
- import { C as appInstanceId, D as serializeMapValue, E as logger, S as RetentionWatermark, T as logLevelOf, _ as UnregisterSubscriptionResultSchema, a as bootstrapDbTypes, b as UpdateSubscriptionReadSetResultSchema, c as initCore, d as InvalidateWritesetParamsSchema, f as InvalidateWritesetResultSchema, g as UnregisterSubscriptionParamsSchema, h as RegisterSubscriptionResultSchema, i as DB_QUERY_TIMEOUT_MS, l as initDatabase, m as RegisterSubscriptionParamsSchema, n as SubscriptionWorker, o as createDatabase, p as RegisterSubscriptionBatchResultSchema, r as CORE_VERSION, s as initCacheLayer, t as dispatchWorkerMessage, u as CacheLayer, v as UnregisterSubscriptionsResultSchema, w as isProduction, x as RETENTION_WATERMARK_CHANNEL, y as UpdateSubscriptionReadSetParamsSchema } from "../../sub-worker-dispatch-DohrszOw.js";
6
+ import { n as sleep } from "../../realtime_db-e3TztUUT.js";
7
+ import { C as appInstanceId, D as serializeMapValue, E as logger, S as RetentionWatermark, T as logLevelOf, _ as UnregisterSubscriptionResultSchema, a as bootstrapDbTypes, b as UpdateSubscriptionReadSetResultSchema, c as initCore, d as InvalidateWritesetParamsSchema, f as InvalidateWritesetResultSchema, g as UnregisterSubscriptionParamsSchema, h as RegisterSubscriptionResultSchema, i as DB_QUERY_TIMEOUT_MS, l as initDatabase, m as RegisterSubscriptionParamsSchema, n as SubscriptionWorker, o as createDatabase, p as RegisterSubscriptionBatchResultSchema, r as CORE_VERSION, s as initCacheLayer, t as dispatchWorkerMessage, u as CacheLayer, v as UnregisterSubscriptionsResultSchema, w as isProduction, x as RETENTION_WATERMARK_CHANNEL, y as UpdateSubscriptionReadSetParamsSchema } from "../../sub-worker-dispatch-Cl-XnBwq.js";
8
8
  import { createServer } from "http";
9
9
  import { WebSocket, WebSocketServer } from "ws";
10
10
  import { v4 } from "uuid";
@@ -1,4 +1,4 @@
1
- import { n as SubscriptionWorker, o as createDatabase, s as initCacheLayer, t as dispatchWorkerMessage } from "../../sub-worker-dispatch-DohrszOw.js";
1
+ import { n as SubscriptionWorker, o as createDatabase, s as initCacheLayer, t as dispatchWorkerMessage } from "../../sub-worker-dispatch-Cl-XnBwq.js";
2
2
  import { parentPort } from "node:worker_threads";
3
3
  //#region src/server/sub-manager-worker-entry.ts
4
4
  if (!parentPort) throw new Error("subscription-manager-worker-entry must run inside a worker_threads Worker");
@@ -1,4 +1,4 @@
1
- import { $r as WriteEntry, A as ResponseMessageSchema, Ar as OccConflictError, B as SubscriptionUpdateMessageSchema, Br as QueryCacheMetadataSchema, C as ClientMessageSchema, Cr as DEFAULT_RETRY, D as ErrorMessage, Dr as MutationResult, E as Context, Er as LiveResult, F as SubscribeMessage, Fr as Predicate, Gr as RawPointReadSchema, H as UnsubscribeMessageSchema, Hr as RangeRead, I as SubscribeMessageSchema, Ir as PredicateSchema, Jr as RawReadEntry, Kr as RawRangeRead, L as SubscriptionGoneMessage, Lr as QueryCacheEntry, M as ServerMessageSchema, Mr as OrPredicateSchema, N as ServerPingMessage, Nr as PointRead, O as IsInternal, Or as NO_RETRY, P as ServerPingMessageSchema, Pr as PointReadSchema, Qr as RetryConfig, R as SubscriptionGoneMessageSchema, Rr as QueryCacheEntrySchema, S as ClientMessage, Sr as CompareOperatorSchema, T as ConnectedMessageSchema, Tr as LeafPredicateSchema, Ur as RangeReadSchema, V as UnsubscribeMessage, Vr as QuerySpec, Wr as RawPointRead, Xr as ReadEntry, Yr as RawReadEntrySchema, Zr as ReadEntrySchema, _ as AuthSuccessMessage, _r as CachedPgMetadata, ai as normalizeToBytes, b as CallMessage, br as CommitTs, ei as WriteEntrySchema, g as AuthMessageSchema, gr as BigIntSchema, h as AuthMessage, hr as AndPredicateSchema, ii as normalizeIdToBytes, j as ServerMessage, jr as OrPredicate, k as ResponseMessage, kr as OccAbortError, m as AuthFailedMessageSchema, mr as AndPredicate, ni as WriteOpSchema, p as AuthFailedMessage, qr as RawRangeReadSchema, ri as bytesFromJson, ti as WriteOp, v as AuthSuccessMessageSchema, vr as CachedPgMetadataSchema, w as ConnectedMessage, wr as LeafPredicate, x as CallMessageSchema, xr as CompareOperator, y as AuthenticationError, yr as CommitLogEntry, z as SubscriptionUpdateMessage, zr as QueryCacheMetadata } from "../../index-C_Zew1wH.js";
1
+ import { $r as WriteEntry, A as ResponseMessageSchema, Ar as OccConflictError, B as SubscriptionUpdateMessageSchema, Br as QueryCacheMetadataSchema, C as ClientMessageSchema, Cr as DEFAULT_RETRY, D as ErrorMessage, Dr as MutationResult, E as Context, Er as LiveResult, F as SubscribeMessage, Fr as Predicate, Gr as RawPointReadSchema, H as UnsubscribeMessageSchema, Hr as RangeRead, I as SubscribeMessageSchema, Ir as PredicateSchema, Jr as RawReadEntry, Kr as RawRangeRead, L as SubscriptionGoneMessage, Lr as QueryCacheEntry, M as ServerMessageSchema, Mr as OrPredicateSchema, N as ServerPingMessage, Nr as PointRead, O as IsInternal, Or as NO_RETRY, P as ServerPingMessageSchema, Pr as PointReadSchema, Qr as RetryConfig, R as SubscriptionGoneMessageSchema, Rr as QueryCacheEntrySchema, S as ClientMessage, Sr as CompareOperatorSchema, T as ConnectedMessageSchema, Tr as LeafPredicateSchema, Ur as RangeReadSchema, V as UnsubscribeMessage, Vr as QuerySpec, Wr as RawPointRead, Xr as ReadEntry, Yr as RawReadEntrySchema, Zr as ReadEntrySchema, _ as AuthSuccessMessage, _r as CachedPgMetadata, ai as normalizeToBytes, b as CallMessage, br as CommitTs, ei as WriteEntrySchema, g as AuthMessageSchema, gr as BigIntSchema, h as AuthMessage, hr as AndPredicateSchema, ii as normalizeIdToBytes, j as ServerMessage, jr as OrPredicate, k as ResponseMessage, kr as OccAbortError, m as AuthFailedMessageSchema, mr as AndPredicate, ni as WriteOpSchema, p as AuthFailedMessage, qr as RawRangeReadSchema, ri as bytesFromJson, ti as WriteOp, v as AuthSuccessMessageSchema, vr as CachedPgMetadataSchema, w as ConnectedMessage, wr as LeafPredicate, x as CallMessageSchema, xr as CompareOperator, y as AuthenticationError, yr as CommitLogEntry, z as SubscriptionUpdateMessage, zr as QueryCacheMetadata } from "../../index-DDDAcnJj.js";
2
2
  import { n as stableStringify, r as supaliveStringify, t as groupByToMap } from "../../helper-CiacMqje.js";
3
- import { _ as RpcCorsConfig, a as RemoteSubscriptionMessage, b as SupaliveServerConfig, c as RemoteSubscriptionUpdateSchema, d as SubscriptionEntry, f as AppPubSubConfig, g as RpcConfig, h as PostgresConfig, i as RemoteRecomputeRaceSchema, l as Session, m as MySQLConfig, n as PendingMutation, o as RemoteSubscriptionMessageSchema, p as DatabaseConfig, r as RemoteRecomputeRace, s as RemoteSubscriptionUpdate, t as InstanceId, u as SubId, v as RpcRateLimitConfig, x as UpstashConfig, y as SubscriptionManagerConfig } from "../../types_server-SPElhjga.js";
3
+ import { _ as RpcCorsConfig, a as RemoteSubscriptionMessage, b as SupaliveServerConfig, c as RemoteSubscriptionUpdateSchema, d as SubscriptionEntry, f as AppPubSubConfig, g as RpcConfig, h as PostgresConfig, i as RemoteRecomputeRaceSchema, l as Session, m as MySQLConfig, n as PendingMutation, o as RemoteSubscriptionMessageSchema, p as DatabaseConfig, r as RemoteRecomputeRace, s as RemoteSubscriptionUpdate, t as InstanceId, u as SubId, v as RpcRateLimitConfig, x as UpstashConfig, y as SubscriptionManagerConfig } from "../../types_server-BF5Y0s__.js";
4
4
  export { AndPredicate, AndPredicateSchema, AppPubSubConfig, AuthFailedMessage, AuthFailedMessageSchema, AuthMessage, AuthMessageSchema, AuthSuccessMessage, AuthSuccessMessageSchema, AuthenticationError, BigIntSchema, CachedPgMetadata, CachedPgMetadataSchema, CallMessage, CallMessageSchema, ClientMessage, ClientMessageSchema, CommitLogEntry, CommitTs, CompareOperator, CompareOperatorSchema, ConnectedMessage, ConnectedMessageSchema, Context, DEFAULT_RETRY, DatabaseConfig, ErrorMessage, InstanceId, IsInternal, LeafPredicate, LeafPredicateSchema, LiveResult, MutationResult, MySQLConfig, NO_RETRY, OccAbortError, OccConflictError, OrPredicate, OrPredicateSchema, PendingMutation, PointRead, PointReadSchema, PostgresConfig, Predicate, PredicateSchema, QueryCacheEntry, QueryCacheEntrySchema, QueryCacheMetadata, QueryCacheMetadataSchema, QuerySpec, RangeRead, RangeReadSchema, RawPointRead, RawPointReadSchema, RawRangeRead, RawRangeReadSchema, RawReadEntry, RawReadEntrySchema, ReadEntry, ReadEntrySchema, RemoteRecomputeRace, RemoteRecomputeRaceSchema, RemoteSubscriptionMessage, RemoteSubscriptionMessageSchema, RemoteSubscriptionUpdate, RemoteSubscriptionUpdateSchema, ResponseMessage, ResponseMessageSchema, RetryConfig, RpcConfig, RpcCorsConfig, RpcRateLimitConfig, ServerMessage, ServerMessageSchema, ServerPingMessage, ServerPingMessageSchema, Session, SubId, SubscribeMessage, SubscribeMessageSchema, SubscriptionEntry, SubscriptionGoneMessage, SubscriptionGoneMessageSchema, SubscriptionManagerConfig, SubscriptionUpdateMessage, SubscriptionUpdateMessageSchema, SupaliveServerConfig, UnsubscribeMessage, UnsubscribeMessageSchema, UpstashConfig, WriteEntry, WriteEntrySchema, WriteOp, WriteOpSchema, bytesFromJson, groupByToMap, normalizeIdToBytes, normalizeToBytes, stableStringify, supaliveStringify };
@@ -1,5 +1,5 @@
1
1
  import { n as stableStringify, r as supaliveStringify, t as groupByToMap } from "../../helper-wGbzz6zo.js";
2
- import { C as normalizeIdToBytes, S as bytesFromJson, _ as RawRangeReadSchema, a as DEFAULT_RETRY, b as WriteEntrySchema, c as OccAbortError, d as PointReadSchema, f as PredicateSchema, g as RawPointReadSchema, h as RangeReadSchema, i as CompareOperatorSchema, l as OccConflictError, m as QueryCacheMetadataSchema, n as BigIntSchema, o as LeafPredicateSchema, p as QueryCacheEntrySchema, r as CachedPgMetadataSchema, s as NO_RETRY, t as AndPredicateSchema, u as OrPredicateSchema, v as RawReadEntrySchema, w as normalizeToBytes, x as WriteOpSchema, y as ReadEntrySchema } from "../../types_db-B039N8Em.js";
2
+ import { C as normalizeIdToBytes, S as bytesFromJson, _ as RawRangeReadSchema, a as DEFAULT_RETRY, b as WriteEntrySchema, c as OccAbortError, d as PointReadSchema, f as PredicateSchema, g as RawPointReadSchema, h as RangeReadSchema, i as CompareOperatorSchema, l as OccConflictError, m as QueryCacheMetadataSchema, n as BigIntSchema, o as LeafPredicateSchema, p as QueryCacheEntrySchema, r as CachedPgMetadataSchema, s as NO_RETRY, t as AndPredicateSchema, u as OrPredicateSchema, v as RawReadEntrySchema, w as normalizeToBytes, x as WriteOpSchema, y as ReadEntrySchema } from "../../types_db-CmxFWgU3.js";
3
3
  import { a as CallMessageSchema, c as ResponseMessageSchema, d as SubscribeMessageSchema, f as SubscriptionGoneMessageSchema, i as AuthenticationError, l as ServerMessageSchema, m as UnsubscribeMessageSchema, n as AuthMessageSchema, o as ClientMessageSchema, p as SubscriptionUpdateMessageSchema, r as AuthSuccessMessageSchema, s as ConnectedMessageSchema, t as AuthFailedMessageSchema, u as ServerPingMessageSchema } from "../../types_client_rpc-CIsjQQGG.js";
4
4
  import { n as RemoteSubscriptionMessageSchema, r as RemoteSubscriptionUpdateSchema, t as RemoteRecomputeRaceSchema } from "../../types_server-Dk6o_B7N.js";
5
5
  export { AndPredicateSchema, AuthFailedMessageSchema, AuthMessageSchema, AuthSuccessMessageSchema, AuthenticationError, BigIntSchema, CachedPgMetadataSchema, CallMessageSchema, ClientMessageSchema, CompareOperatorSchema, ConnectedMessageSchema, DEFAULT_RETRY, LeafPredicateSchema, NO_RETRY, OccAbortError, OccConflictError, OrPredicateSchema, PointReadSchema, PredicateSchema, QueryCacheEntrySchema, QueryCacheMetadataSchema, RangeReadSchema, RawPointReadSchema, RawRangeReadSchema, RawReadEntrySchema, ReadEntrySchema, RemoteRecomputeRaceSchema, RemoteSubscriptionMessageSchema, RemoteSubscriptionUpdateSchema, ResponseMessageSchema, ServerMessageSchema, ServerPingMessageSchema, SubscribeMessageSchema, SubscriptionGoneMessageSchema, SubscriptionUpdateMessageSchema, UnsubscribeMessageSchema, WriteEntrySchema, WriteOpSchema, bytesFromJson, groupByToMap, normalizeIdToBytes, normalizeToBytes, stableStringify, supaliveStringify };