@gusto/baerly-storage 0.1.0 → 0.1.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/README.md +7 -4
- package/dist/API.md +102 -3
- package/dist/{app-config-Cb5dO2s9.d.ts → app-config-Dj_nGBfj.d.ts} +10 -1
- package/dist/app-config.d.ts +1 -1
- package/dist/app-config.js.map +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/{client-BLf3Ae5s.d.ts → client-CC5yVs1S.d.ts} +3 -3
- package/dist/client-react.d.ts +3 -3
- package/dist/client.d.ts +3 -3
- package/dist/cloudflare.d.ts +4 -4
- package/dist/cloudflare.js +1 -1
- package/dist/{db-D62JguBc.d.ts → db-aRMK_0R0.d.ts} +3 -3
- package/dist/dev-vite.d.ts +3 -3
- package/dist/dev-vite.js +1 -1
- package/dist/dev.d.ts +1 -1
- package/dist/{http-CjUO1Bec.js → http-DeJEeUcO.js} +4 -4
- package/dist/{http-CjUO1Bec.js.map → http-DeJEeUcO.js.map} +1 -1
- package/dist/http.d.ts +6 -6
- package/dist/http.js +1 -1
- package/dist/{index-BGC-ENnj.d.ts → index-5lX_5NxZ.d.ts} +2 -2
- package/dist/{index-BquQkhJi.d.ts → index-DPaQhAro.d.ts} +2 -2
- package/dist/{index-BYv0hb8M.d.ts → index-m6pY8iRU.d.ts} +2 -2
- package/dist/{index-COsQ-Mlz.d.ts → index-spCBsIwm.d.ts} +3 -3
- package/dist/index.d.ts +5 -5
- package/dist/{indexes-DwOXkn1Y.d.ts → indexes-BIH73Uv4.d.ts} +2 -2
- package/dist/maintenance.d.ts +2 -2
- package/dist/node.d.ts +4 -4
- package/dist/node.js +1 -1
- package/dist/observability.d.ts +2 -2
- package/dist/{src-DyET_VPP.js → src-Cr9C7_tT.js} +2 -2
- package/dist/{src-DyET_VPP.js.map → src-Cr9C7_tT.js.map} +1 -1
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as IndexDefinition, f as DocumentData, n as BaerlyAppConfig, r as BaerlyConfig, u as SchemaValidator } from "./app-config-
|
|
2
|
-
import { m as Storage, n as LogEntry, r as Verifier } from "./index-
|
|
1
|
+
import { d as IndexDefinition, f as DocumentData, n as BaerlyAppConfig, r as BaerlyConfig, u as SchemaValidator } from "./app-config-Dj_nGBfj.js";
|
|
2
|
+
import { m as Storage, n as LogEntry, r as Verifier } from "./index-5lX_5NxZ.js";
|
|
3
3
|
//#region packages/server/src/config.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Flatten `BaerlyConfig.collections` into the per-collection
|
|
@@ -143,4 +143,4 @@ declare const walkLogRange: (storage: Storage, logPrefix: string, fromSeq: numbe
|
|
|
143
143
|
}) => Promise<LogEntry[]>;
|
|
144
144
|
//#endregion
|
|
145
145
|
export { snapshotKey as a, loadSnapshotAsMap as i, SnapshotBody as n, resolveVerifier as o, encodeSnapshotBody as r, collectionsToMaps as s, walkLogRange as t };
|
|
146
|
-
//# sourceMappingURL=index-
|
|
146
|
+
//# sourceMappingURL=index-spCBsIwm.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as CollectionNames, c as defineConfig, d as IndexDefinition, f as DocumentData, i as CollectionDefinition, l as SchemaIssue, n as BaerlyAppConfig, o as RowOf, r as BaerlyConfig, s as UnboundConfig, u as SchemaValidator } from "./app-config-
|
|
2
|
-
import { _ as StorageListEntry, a as MemoryStorage, c as Collection, d as Query, g as StorageGetResult, i as VerifierResult, m as Storage, o as BaerlyError, r as Verifier, s as BaerlyErrorCode, y as StoragePutResult } from "./index-
|
|
3
|
-
import { a as snapshotKey, i as loadSnapshotAsMap, n as SnapshotBody, o as resolveVerifier, r as encodeSnapshotBody, s as collectionsToMaps, t as walkLogRange } from "./index-
|
|
4
|
-
import { t as allIndexKeysFor } from "./indexes-
|
|
5
|
-
import { n as validateOrThrow, t as Db } from "./db-
|
|
1
|
+
import { a as CollectionNames, c as defineConfig, d as IndexDefinition, f as DocumentData, i as CollectionDefinition, l as SchemaIssue, n as BaerlyAppConfig, o as RowOf, r as BaerlyConfig, s as UnboundConfig, u as SchemaValidator } from "./app-config-Dj_nGBfj.js";
|
|
2
|
+
import { _ as StorageListEntry, a as MemoryStorage, c as Collection, d as Query, g as StorageGetResult, i as VerifierResult, m as Storage, o as BaerlyError, r as Verifier, s as BaerlyErrorCode, y as StoragePutResult } from "./index-5lX_5NxZ.js";
|
|
3
|
+
import { a as snapshotKey, i as loadSnapshotAsMap, n as SnapshotBody, o as resolveVerifier, r as encodeSnapshotBody, s as collectionsToMaps, t as walkLogRange } from "./index-spCBsIwm.js";
|
|
4
|
+
import { t as allIndexKeysFor } from "./indexes-BIH73Uv4.js";
|
|
5
|
+
import { n as validateOrThrow, t as Db } from "./db-aRMK_0R0.js";
|
|
6
6
|
export { type BaerlyAppConfig, type BaerlyConfig, BaerlyError, type BaerlyErrorCode, type Collection, type CollectionDefinition, type CollectionNames, Db, type DocumentData, type IndexDefinition, MemoryStorage, type Query, type RowOf, type SchemaIssue, type SchemaValidator, type SnapshotBody, type Storage, type StorageGetResult, type StorageListEntry, type StoragePutResult, type UnboundConfig, type Verifier, type VerifierResult, allIndexKeysFor, collectionsToMaps, defineConfig, encodeSnapshotBody, loadSnapshotAsMap, resolveVerifier, snapshotKey, validateOrThrow, walkLogRange };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as IndexDefinition, f as DocumentData } from "./app-config-
|
|
1
|
+
import { d as IndexDefinition, f as DocumentData } from "./app-config-Dj_nGBfj.js";
|
|
2
2
|
//#region packages/server/src/indexes.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Compute the full index-key set a single doc produces under every
|
|
@@ -19,4 +19,4 @@ import { d as IndexDefinition, f as DocumentData } from "./app-config-Cb5dO2s9.j
|
|
|
19
19
|
declare const allIndexKeysFor: (logPrefix: string, defs: ReadonlyArray<IndexDefinition>, body: DocumentData | undefined, docId: string) => string[];
|
|
20
20
|
//#endregion
|
|
21
21
|
export { allIndexKeysFor as t };
|
|
22
|
-
//# sourceMappingURL=indexes-
|
|
22
|
+
//# sourceMappingURL=indexes-BIH73Uv4.d.ts.map
|
package/dist/maintenance.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as IndexDefinition } from "./app-config-
|
|
2
|
-
import { m as Storage } from "./index-
|
|
1
|
+
import { d as IndexDefinition } from "./app-config-Dj_nGBfj.js";
|
|
2
|
+
import { m as Storage } from "./index-5lX_5NxZ.js";
|
|
3
3
|
//#region packages/server/src/compactor.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Public configuration knobs for {@link compact}. All optional; the
|
package/dist/node.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as BaerlyAppConfig } from "./app-config-
|
|
2
|
-
import { _ as StorageListEntry, g as StorageGetResult, h as StorageGetOptions, m as Storage, r as Verifier, v as StoragePutOptions, y as StoragePutResult } from "./index-
|
|
3
|
-
import { i as DevLandingOptions } from "./index-
|
|
4
|
-
import { d as ObservabilityConfig } from "./index-
|
|
1
|
+
import { n as BaerlyAppConfig } from "./app-config-Dj_nGBfj.js";
|
|
2
|
+
import { _ as StorageListEntry, g as StorageGetResult, h as StorageGetOptions, m as Storage, r as Verifier, v as StoragePutOptions, y as StoragePutResult } from "./index-5lX_5NxZ.js";
|
|
3
|
+
import { i as DevLandingOptions } from "./index-DPaQhAro.js";
|
|
4
|
+
import { d as ObservabilityConfig } from "./index-m6pY8iRU.js";
|
|
5
5
|
|
|
6
6
|
//#region packages/adapter-node/src/s3-http.d.ts
|
|
7
7
|
/**
|
package/dist/node.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as minioStorage, c as runMaintenanceTick, i as gcsStorage, l as S3HttpStorage, o as r2Storage, r as fromEksPodIdentity, s as s3Storage, t as baerlyNode } from "./src-
|
|
1
|
+
import { a as minioStorage, c as runMaintenanceTick, i as gcsStorage, l as S3HttpStorage, o as r2Storage, r as fromEksPodIdentity, s as s3Storage, t as baerlyNode } from "./src-Cr9C7_tT.js";
|
|
2
2
|
export { S3HttpStorage, baerlyNode, fromEksPodIdentity, gcsStorage, minioStorage, r2Storage, runMaintenanceTick, s3Storage };
|
package/dist/observability.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as MetricsRecorder } from "./index-
|
|
2
|
-
import { _ as getCurrentContext, a as flushCanonicalLine, c as CATEGORY, d as ObservabilityConfig, f as configureObservability, g as createObservabilityContext, h as ObservabilityContextInit, i as FlushCanonicalLineOptions, l as CategoryName, m as ObservabilityContext, n as deriveOutcome, o as flushUnauthorizedAndRespond, p as getLogger, r as observableStorage, s as withHttpObservability, t as Outcome, u as FriendlyLogLevel, v as runWithContext } from "./index-
|
|
1
|
+
import { t as MetricsRecorder } from "./index-5lX_5NxZ.js";
|
|
2
|
+
import { _ as getCurrentContext, a as flushCanonicalLine, c as CATEGORY, d as ObservabilityConfig, f as configureObservability, g as createObservabilityContext, h as ObservabilityContextInit, i as FlushCanonicalLineOptions, l as CategoryName, m as ObservabilityContext, n as deriveOutcome, o as flushUnauthorizedAndRespond, p as getLogger, r as observableStorage, s as withHttpObservability, t as Outcome, u as FriendlyLogLevel, v as runWithContext } from "./index-m6pY8iRU.js";
|
|
3
3
|
export { CATEGORY, type CategoryName, type FlushCanonicalLineOptions, type FriendlyLogLevel, type MetricsRecorder, type ObservabilityConfig, type ObservabilityContext, type ObservabilityContextInit, type Outcome, configureObservability, createObservabilityContext, deriveOutcome, flushCanonicalLine, flushUnauthorizedAndRespond, getCurrentContext, getLogger, observableStorage, runWithContext, withHttpObservability };
|
|
@@ -4,7 +4,7 @@ import { n as runScheduledMaintenance } from "./maintenance-Bn6ul9aV.js";
|
|
|
4
4
|
import { l as delay } from "./query-DcSbFLJt.js";
|
|
5
5
|
import { n as resolveVerifier, t as Db } from "./src-Chafbw8r.js";
|
|
6
6
|
import { r as runWithContext, t as createObservabilityContext } from "./context-Oj7ffwD-.js";
|
|
7
|
-
import { n as createRouter, o as Hono, r as mapError, t as MAX_BODY_BYTES } from "./http-
|
|
7
|
+
import { n as createRouter, o as Hono, r as mapError, t as MAX_BODY_BYTES } from "./http-DeJEeUcO.js";
|
|
8
8
|
import { c as configureObservability, n as flushCanonicalLine, o as deriveOutcome, r as flushUnauthorizedAndRespond, t as observableStorage } from "./observability-2IDYRuZK.js";
|
|
9
9
|
import { a as require_picocolors_browser, r as renderDevLanding } from "./src-n0Te1r98.js";
|
|
10
10
|
import { readFile, stat } from "node:fs/promises";
|
|
@@ -6196,4 +6196,4 @@ function baerlyNode(opts) {
|
|
|
6196
6196
|
//#endregion
|
|
6197
6197
|
export { minioStorage as a, runMaintenanceTick as c, gcsStorage as i, S3HttpStorage as l, getRequestListener as n, r2Storage as o, fromEksPodIdentity as r, s3Storage as s, baerlyNode as t };
|
|
6198
6198
|
|
|
6199
|
-
//# sourceMappingURL=src-
|
|
6199
|
+
//# sourceMappingURL=src-Cr9C7_tT.js.map
|