@supalive/core 1.19.0 → 1.20.1
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-DsBAE32T.d.ts +2459 -0
- package/dist/index-DsBAE32T.d.ts.map +1 -0
- package/dist/mysql-BX3cm94v.js +622 -0
- package/dist/mysql-BX3cm94v.js.map +1 -0
- package/dist/mysql-C79_qNQO.d.ts +114 -0
- package/dist/mysql-C79_qNQO.d.ts.map +1 -0
- package/dist/object-storage-DTVmZq3l.d.ts +110 -0
- package/dist/object-storage-DTVmZq3l.d.ts.map +1 -0
- package/dist/postgres-SM8muZqN.d.ts +118 -0
- package/dist/postgres-SM8muZqN.d.ts.map +1 -0
- package/dist/router-DP2ThAwh.js.map +1 -1
- package/dist/src/client/index.d.ts +1 -1
- package/dist/src/client/index.js +2 -0
- package/dist/src/client/index.js.map +1 -1
- package/dist/src/exports/mysql.d.ts +1 -1
- package/dist/src/exports/mysql.js +1 -1
- package/dist/src/exports/postgres.d.ts +1 -1
- package/dist/src/exports/procedure.d.ts +1 -1
- package/dist/src/exports/schema-sql.d.ts +1 -1
- package/dist/src/exports/server.d.ts +4 -4
- package/dist/src/exports/server.js +3 -1
- package/dist/src/exports/server.js.map +1 -1
- package/dist/src/exports/storage.d.ts +4 -2
- package/dist/src/exports/storage.d.ts.map +1 -1
- package/dist/src/exports/storage.js +23 -1
- package/dist/src/exports/storage.js.map +1 -1
- package/dist/src/exports/sub-manager-worker-entry.js +1 -1
- package/dist/src/exports/types.d.ts +2 -2
- package/dist/sub-worker-dispatch-Ci_z8w10.js +792 -0
- package/dist/sub-worker-dispatch-Ci_z8w10.js.map +1 -0
- package/dist/types_server-gSgzZHuD.d.ts +703 -0
- package/dist/types_server-gSgzZHuD.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as PresignedUpload, i as ObjectStorage, n as CreateUploadUrlOptions, o as PutObjectOptions, r as DeleteObjectOptions, s as PutObjectResult, t as CreateDownloadUrlOptions } from "../../object-storage-DTVmZq3l.js";
|
|
2
2
|
|
|
3
3
|
//#region src/storage/s3-storage.d.ts
|
|
4
4
|
/**
|
|
@@ -67,7 +67,9 @@ declare class S3CompatibleStorage implements ObjectStorage {
|
|
|
67
67
|
createUploadUrl(opts: CreateUploadUrlOptions): Promise<PresignedUpload>;
|
|
68
68
|
createDownloadUrl(opts: CreateDownloadUrlOptions): Promise<string>;
|
|
69
69
|
publicUrl(bucket: string, key: string): string | null;
|
|
70
|
+
putObject(opts: PutObjectOptions): Promise<PutObjectResult>;
|
|
71
|
+
deleteObject(opts: DeleteObjectOptions): Promise<void>;
|
|
70
72
|
}
|
|
71
73
|
//#endregion
|
|
72
|
-
export { type CreateDownloadUrlOptions, type CreateUploadUrlOptions, type ObjectStorage, type PresignedUpload, type S3BucketConfig, S3CompatibleStorage, type S3StorageOptions };
|
|
74
|
+
export { type CreateDownloadUrlOptions, type CreateUploadUrlOptions, type DeleteObjectOptions, type ObjectStorage, type PresignedUpload, type PutObjectOptions, type PutObjectResult, type S3BucketConfig, S3CompatibleStorage, type S3StorageOptions };
|
|
73
75
|
//# sourceMappingURL=storage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.d.ts","names":[],"sources":["../../../src/storage/s3-storage.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"storage.d.ts","names":[],"sources":["../../../src/storage/s3-storage.ts"],"mappings":";;;;;AAwBA;;;;AAOe;AAAA,UAPE,cAAA;EAUgB;;;;;;EAH/B,aAAa;AAAA;AAAA,UAGE,gBAAA;EACf,WAAA;EACA,eAAA;EA2BA;;;AAEiB;AAQnB;;;;;;;;EAxBE,OAAA,EAAS,MAAM,SAAS,cAAA;EAuGF;;;;EAlGtB,QAAA;EAmB0C;EAjB1C,MAAA;EAiBuD;;;;EAZvD,cAAA;EAiBiB;EAfjB,eAAA;EAiBkB;EAflB,iBAAA;AAAA;;;;;;cAQW,mBAAA,YAA+B,aAAA;EAAA,iBACzB,MAAA;EA6DO;EAAA,iBA3DP,OAAA;EAAA,iBACA,eAAA;EAAA,iBACA,iBAAA;cAEL,IAAA,EAAM,gBAAA;EAwEZ;EAAA,QAhDE,YAAA;EASF,eAAA,CAAgB,IAAA,EAAM,sBAAA,GAAyB,OAAA,CAAQ,eAAA;EAsBvD,iBAAA,CAAkB,IAAA,EAAM,wBAAA,GAA2B,OAAA;EASzD,SAAA,CAAU,MAAA,UAAgB,GAAA;EAQpB,SAAA,CAAU,IAAA,EAAM,gBAAA,GAAmB,OAAA,CAAQ,eAAA;EAc3C,YAAA,CAAa,IAAA,EAAM,mBAAA,GAAsB,OAAA;AAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetObjectCommand, PutObjectCommand, S3Client } from "@aws-sdk/client-s3";
|
|
1
|
+
import { DeleteObjectCommand, GetObjectCommand, PutObjectCommand, S3Client } from "@aws-sdk/client-s3";
|
|
2
2
|
import { getSignedUrl } from "@aws-sdk/s3-request-presigner";
|
|
3
3
|
//#region src/storage/s3-storage.ts
|
|
4
4
|
/**
|
|
@@ -64,6 +64,28 @@ var S3CompatibleStorage = class {
|
|
|
64
64
|
if (!base) return null;
|
|
65
65
|
return `${base}/${key.split("/").map(encodeURIComponent).join("/")}`;
|
|
66
66
|
}
|
|
67
|
+
async putObject(opts) {
|
|
68
|
+
this.assertBucket(opts.bucket);
|
|
69
|
+
const body = typeof opts.body === "string" ? new TextEncoder().encode(opts.body) : opts.body;
|
|
70
|
+
await this.client.send(new PutObjectCommand({
|
|
71
|
+
Bucket: opts.bucket,
|
|
72
|
+
Key: opts.key,
|
|
73
|
+
Body: body,
|
|
74
|
+
ContentType: opts.contentType
|
|
75
|
+
}));
|
|
76
|
+
return {
|
|
77
|
+
bucket: opts.bucket,
|
|
78
|
+
key: opts.key,
|
|
79
|
+
sizeBytes: body.byteLength
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
async deleteObject(opts) {
|
|
83
|
+
this.assertBucket(opts.bucket);
|
|
84
|
+
await this.client.send(new DeleteObjectCommand({
|
|
85
|
+
Bucket: opts.bucket,
|
|
86
|
+
Key: opts.key
|
|
87
|
+
}));
|
|
88
|
+
}
|
|
67
89
|
};
|
|
68
90
|
//#endregion
|
|
69
91
|
export { S3CompatibleStorage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.js","names":[],"sources":["../../../src/storage/s3-storage.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"storage.js","names":[],"sources":["../../../src/storage/s3-storage.ts"],"sourcesContent":["import {\n S3Client,\n PutObjectCommand,\n GetObjectCommand,\n DeleteObjectCommand,\n} from \"@aws-sdk/client-s3\";\nimport { getSignedUrl } from \"@aws-sdk/s3-request-presigner\";\nimport type {\n ObjectStorage,\n PresignedUpload,\n CreateUploadUrlOptions,\n CreateDownloadUrlOptions,\n PutObjectOptions,\n PutObjectResult,\n DeleteObjectOptions,\n} from \"./object-storage\";\n\n/**\n * `@aws-sdk/*` is an OPTIONAL peer dependency: the interface in\n * `./object-storage` has no dependency on it, so importing the storage module\n * for its types costs nothing. Only constructing {@link S3CompatibleStorage}\n * requires the SDK to be installed by the consuming app.\n */\n/** Per-bucket settings. A bucket with a `publicBaseUrl` is served publicly. */\nexport interface S3BucketConfig {\n /**\n * Public base URL for this bucket (an R2 public-bucket domain or custom\n * domain, no trailing slash). Its presence marks the bucket PUBLIC:\n * {@link ObjectStorage.publicUrl} returns a stable, non-expiring link. Omit to\n * keep the bucket private (reads go through presigned download URLs).\n */\n publicBaseUrl?: string;\n}\n\nexport interface S3StorageOptions {\n accessKeyId: string;\n secretAccessKey: string;\n /**\n * The buckets this storage can address, keyed by bucket name. Register every\n * bucket you upload to / read from; give the public ones a `publicBaseUrl` and\n * leave the private ones as `{}`. Supports many public buckets, each on its\n * own domain.\n *\n * @example\n * buckets: {\n * \"mygifty\": {}, // private\n * \"mygifty-pub\": { publicBaseUrl: \"https://r2p.mygiftyapp.com\" }, // public\n * }\n */\n buckets: Record<string, S3BucketConfig>;\n /**\n * S3 endpoint. Omit for AWS S3; for Cloudflare R2 use\n * `https://<accountid>.r2.cloudflarestorage.com`.\n */\n endpoint?: string;\n /** Region. Use `\"auto\"` for R2 (the default). */\n region?: string;\n /**\n * Force path-style addressing (`endpoint/bucket/key`) instead of\n * virtual-hosted (`bucket.endpoint/key`). Handy for MinIO / some R2 setups.\n */\n forcePathStyle?: boolean;\n /** Default upload-URL validity, seconds (default 900 = 15 min). */\n uploadExpiresIn?: number;\n /** Default download-URL validity, seconds (default 3600 * 24 * 7 = 7 days). */\n downloadExpiresIn?: number;\n}\n\n/**\n * {@link ObjectStorage} backed by any S3-compatible provider (AWS S3,\n * Cloudflare R2, MinIO). Presigns upload (PUT) and download (GET) URLs with\n * SigV4 via the AWS SDK; the app server never handles the file bytes itself.\n */\nexport class S3CompatibleStorage implements ObjectStorage {\n private readonly client: S3Client;\n /** bucket name → normalized public base URL (null when the bucket is private). */\n private readonly buckets: Map<string, string | null>;\n private readonly uploadExpiresIn: number;\n private readonly downloadExpiresIn: number;\n\n constructor(opts: S3StorageOptions) {\n this.client = new S3Client({\n region: opts.region ?? \"auto\",\n endpoint: opts.endpoint,\n forcePathStyle: opts.forcePathStyle ?? false,\n credentials: {\n accessKeyId: opts.accessKeyId,\n secretAccessKey: opts.secretAccessKey,\n },\n });\n this.buckets = new Map(\n Object.entries(opts.buckets).map(([name, cfg]) => {\n // Treat null / undefined / empty / whitespace-only as \"no public base\"\n // (private bucket) — otherwise an empty string would make the bucket\n // look public and produce broken `/key` URLs.\n const base = cfg.publicBaseUrl?.trim().replace(/\\/+$/, \"\");\n return [name, base ? base : null];\n }),\n );\n this.uploadExpiresIn = opts.uploadExpiresIn ?? 900;\n this.downloadExpiresIn = opts.downloadExpiresIn ?? 3600 * 24 * 7;\n }\n\n /** Guard that a bucket was registered, so typos fail loudly at call time. */\n private assertBucket(bucket: string): void {\n if (!this.buckets.has(bucket)) {\n throw new Error(\n `Unknown storage bucket \"${bucket}\". Configured buckets: ` +\n `${[...this.buckets.keys()].join(\", \") || \"(none)\"}.`,\n );\n }\n }\n\n async createUploadUrl(opts: CreateUploadUrlOptions): Promise<PresignedUpload> {\n this.assertBucket(opts.bucket);\n const expiresIn = opts.expiresIn ?? this.uploadExpiresIn;\n const command = new PutObjectCommand({\n Bucket: opts.bucket,\n Key: opts.key,\n ContentType: opts.contentType,\n });\n const uploadUrl = await getSignedUrl(this.client, command, { expiresIn });\n\n return {\n bucket: opts.bucket,\n key: opts.key,\n uploadUrl,\n method: \"PUT\",\n // The client must echo the exact Content-Type that was signed, or the\n // upload is rejected with a signature mismatch.\n headers: opts.contentType ? { \"Content-Type\": opts.contentType } : {},\n expiresAt: new Date(Date.now() + expiresIn * 1000),\n };\n }\n\n async createDownloadUrl(opts: CreateDownloadUrlOptions): Promise<string> {\n this.assertBucket(opts.bucket);\n const command = new GetObjectCommand({ Bucket: opts.bucket, Key: opts.key });\n\n return getSignedUrl(this.client, command, {\n expiresIn: opts.expiresIn ?? this.downloadExpiresIn,\n });\n }\n\n publicUrl(bucket: string, key: string): string | null {\n const base = this.buckets.get(bucket);\n if (!base) return null; // unknown bucket or a private one → no public URL\n\n const encoded = key.split(\"/\").map(encodeURIComponent).join(\"/\");\n return `${base}/${encoded}`;\n }\n\n async putObject(opts: PutObjectOptions): Promise<PutObjectResult> {\n this.assertBucket(opts.bucket);\n const body = typeof opts.body === \"string\" ? new TextEncoder().encode(opts.body) : opts.body;\n const output = await this.client.send(\n new PutObjectCommand({\n Bucket: opts.bucket,\n Key: opts.key,\n Body: body,\n ContentType: opts.contentType,\n }),\n );\n return { bucket: opts.bucket, key: opts.key, sizeBytes: body.byteLength };\n }\n\n async deleteObject(opts: DeleteObjectOptions): Promise<void> {\n this.assertBucket(opts.bucket);\n await this.client.send(\n new DeleteObjectCommand({ Bucket: opts.bucket, Key: opts.key }),\n );\n }\n}\n"],"mappings":";;;;;;;;AAyEA,IAAa,sBAAb,MAA0D;CACxD;;CAEA;CACA;CACA;CAEA,YAAY,MAAwB;EAClC,KAAK,SAAS,IAAI,SAAS;GACzB,QAAQ,KAAK,UAAU;GACvB,UAAU,KAAK;GACf,gBAAgB,KAAK,kBAAkB;GACvC,aAAa;IACX,aAAa,KAAK;IAClB,iBAAiB,KAAK;GACxB;EACF,CAAC;EACD,KAAK,UAAU,IAAI,IACjB,OAAO,QAAQ,KAAK,OAAO,CAAC,CAAC,KAAK,CAAC,MAAM,SAAS;GAIhD,MAAM,OAAO,IAAI,eAAe,KAAK,CAAC,CAAC,QAAQ,QAAQ,EAAE;GACzD,OAAO,CAAC,MAAM,OAAO,OAAO,IAAI;EAClC,CAAC,CACH;EACA,KAAK,kBAAkB,KAAK,mBAAmB;EAC/C,KAAK,oBAAoB,KAAK,qBAAqB,OAAO,KAAK;CACjE;;CAGA,aAAqB,QAAsB;EACzC,IAAI,CAAC,KAAK,QAAQ,IAAI,MAAM,GAC1B,MAAM,IAAI,MACR,2BAA2B,OAAO,yBAC7B,CAAC,GAAG,KAAK,QAAQ,KAAK,CAAC,CAAC,CAAC,KAAK,IAAI,KAAK,SAAS,EACvD;CAEJ;CAEA,MAAM,gBAAgB,MAAwD;EAC5E,KAAK,aAAa,KAAK,MAAM;EAC7B,MAAM,YAAY,KAAK,aAAa,KAAK;EACzC,MAAM,UAAU,IAAI,iBAAiB;GACnC,QAAQ,KAAK;GACb,KAAK,KAAK;GACV,aAAa,KAAK;EACpB,CAAC;EACD,MAAM,YAAY,MAAM,aAAa,KAAK,QAAQ,SAAS,EAAE,UAAU,CAAC;EAExE,OAAO;GACL,QAAQ,KAAK;GACb,KAAK,KAAK;GACV;GACA,QAAQ;GAGR,SAAS,KAAK,cAAc,EAAE,gBAAgB,KAAK,YAAY,IAAI,CAAC;GACpE,WAAW,IAAI,KAAK,KAAK,IAAI,IAAI,YAAY,GAAI;EACnD;CACF;CAEA,MAAM,kBAAkB,MAAiD;EACvE,KAAK,aAAa,KAAK,MAAM;EAC7B,MAAM,UAAU,IAAI,iBAAiB;GAAE,QAAQ,KAAK;GAAQ,KAAK,KAAK;EAAI,CAAC;EAE3E,OAAO,aAAa,KAAK,QAAQ,SAAS,EACxC,WAAW,KAAK,aAAa,KAAK,kBACpC,CAAC;CACH;CAEA,UAAU,QAAgB,KAA4B;EACpD,MAAM,OAAO,KAAK,QAAQ,IAAI,MAAM;EACpC,IAAI,CAAC,MAAM,OAAO;EAGlB,OAAO,GAAG,KAAK,GADC,IAAI,MAAM,GAAG,CAAC,CAAC,IAAI,kBAAkB,CAAC,CAAC,KAAK,GACpC;CAC1B;CAEA,MAAM,UAAU,MAAkD;EAChE,KAAK,aAAa,KAAK,MAAM;EAC7B,MAAM,OAAO,OAAO,KAAK,SAAS,WAAW,IAAI,YAAY,CAAC,CAAC,OAAO,KAAK,IAAI,IAAI,KAAK;EACzE,MAAM,KAAK,OAAO,KAC/B,IAAI,iBAAiB;GACnB,QAAQ,KAAK;GACb,KAAK,KAAK;GACV,MAAM;GACN,aAAa,KAAK;EACpB,CAAC,CACH;EACA,OAAO;GAAE,QAAQ,KAAK;GAAQ,KAAK,KAAK;GAAK,WAAW,KAAK;EAAW;CAC1E;CAEA,MAAM,aAAa,MAA0C;EAC3D,KAAK,aAAa,KAAK,MAAM;EAC7B,MAAM,KAAK,OAAO,KAChB,IAAI,oBAAoB;GAAE,QAAQ,KAAK;GAAQ,KAAK,KAAK;EAAI,CAAC,CAChE;CACF;AACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as SubscriptionWorker, o as createDatabase, s as initCacheLayer, t as dispatchWorkerMessage } from "../../sub-worker-dispatch-
|
|
1
|
+
import { n as SubscriptionWorker, o as createDatabase, s as initCacheLayer, t as dispatchWorkerMessage } from "../../sub-worker-dispatch-Ci_z8w10.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,6 +1,6 @@
|
|
|
1
|
-
import { $r as RawReadEntry, A as ResponseMessage, Ar as LeafPredicateSchema, B as SubscriptionUpdateMessage, Br as Predicate, C as ClientMessage, Cr as CachedPgMetadataSchema, D as Context, Dr as CompareOperatorSchema, E as ConnectedMessageSchema, Er as CompareOperator, F as ServerPingMessageSchema, Fr as OccConflictError, Gr as QueryCacheMetadataSchema, H as UnsubscribeMessage, Hr as QueryCacheEntry, I as SubscribeMessage, Ir as OrPredicate, Jr as RangeReadSchema, Kr as QuerySpec, L as SubscribeMessageSchema, Lr as OrPredicateSchema, M as ServerMessage, Mr as MutationResult, N as ServerMessageSchema, Nr as NO_RETRY, O as ErrorMessage, Or as DEFAULT_RETRY, P as ServerPingMessage, Pr as OccAbortError, Qr as RawRangeReadSchema, R as SubscriptionGoneMessage, Rr as PointRead, S as CallMessageSchema, Sr as CachedPgMetadata, T as ConnectedMessage, Tr as CommitTs, U as UnsubscribeMessageSchema, Ur as QueryCacheEntrySchema, V as SubscriptionUpdateMessageSchema, Vr as PredicateSchema, Wr as QueryCacheMetadata, Xr as RawPointReadSchema, Yr as RawPointRead, Zr as RawRangeRead, _ as AuthMessageSchema, ai as WriteEntrySchema, b as AuthenticationError, br as AndPredicateSchema, ci as bytesFromJson, ei as RawReadEntrySchema, g as AuthMessage, h as AuthFailedMessageSchema, ii as WriteEntry, j as ResponseMessageSchema, jr as LiveResult, k as IsInternal, kr as LeafPredicate, li as normalizeIdToBytes, m as AuthFailedMessage, ni as ReadEntrySchema, oi as WriteOp, qr as RangeRead, ri as RetryConfig, rr as IORedisClient, si as WriteOpSchema, ti as ReadEntry, ui as normalizeToBytes, v as AuthSuccessMessage, w as ClientMessageSchema, wr as CommitLogEntry, x as CallMessage, xr as BigIntSchema, y as AuthSuccessMessageSchema, yr as AndPredicate, z as SubscriptionGoneMessageSchema, zr as PointReadSchema } from "../../index-
|
|
1
|
+
import { $r as RawReadEntry, A as ResponseMessage, Ar as LeafPredicateSchema, B as SubscriptionUpdateMessage, Br as Predicate, C as ClientMessage, Cr as CachedPgMetadataSchema, D as Context, Dr as CompareOperatorSchema, E as ConnectedMessageSchema, Er as CompareOperator, F as ServerPingMessageSchema, Fr as OccConflictError, Gr as QueryCacheMetadataSchema, H as UnsubscribeMessage, Hr as QueryCacheEntry, I as SubscribeMessage, Ir as OrPredicate, Jr as RangeReadSchema, Kr as QuerySpec, L as SubscribeMessageSchema, Lr as OrPredicateSchema, M as ServerMessage, Mr as MutationResult, N as ServerMessageSchema, Nr as NO_RETRY, O as ErrorMessage, Or as DEFAULT_RETRY, P as ServerPingMessage, Pr as OccAbortError, Qr as RawRangeReadSchema, R as SubscriptionGoneMessage, Rr as PointRead, S as CallMessageSchema, Sr as CachedPgMetadata, T as ConnectedMessage, Tr as CommitTs, U as UnsubscribeMessageSchema, Ur as QueryCacheEntrySchema, V as SubscriptionUpdateMessageSchema, Vr as PredicateSchema, Wr as QueryCacheMetadata, Xr as RawPointReadSchema, Yr as RawPointRead, Zr as RawRangeRead, _ as AuthMessageSchema, ai as WriteEntrySchema, b as AuthenticationError, br as AndPredicateSchema, ci as bytesFromJson, ei as RawReadEntrySchema, g as AuthMessage, h as AuthFailedMessageSchema, ii as WriteEntry, j as ResponseMessageSchema, jr as LiveResult, k as IsInternal, kr as LeafPredicate, li as normalizeIdToBytes, m as AuthFailedMessage, ni as ReadEntrySchema, oi as WriteOp, qr as RangeRead, ri as RetryConfig, rr as IORedisClient, si as WriteOpSchema, ti as ReadEntry, ui as normalizeToBytes, v as AuthSuccessMessage, w as ClientMessageSchema, wr as CommitLogEntry, x as CallMessage, xr as BigIntSchema, y as AuthSuccessMessageSchema, yr as AndPredicate, z as SubscriptionGoneMessageSchema, zr as PointReadSchema } from "../../index-DsBAE32T.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-
|
|
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-gSgzZHuD.js";
|
|
4
4
|
|
|
5
5
|
//#region src/utils.d.ts
|
|
6
6
|
declare function envBool(name: string, defaultValue?: boolean): boolean;
|