@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.
@@ -1,5 +1,5 @@
1
- import { d as IndexDefinition, f as DocumentData, n as BaerlyAppConfig, r as BaerlyConfig, u as SchemaValidator } from "./app-config-Cb5dO2s9.js";
2
- import { m as Storage, n as LogEntry, r as Verifier } from "./index-BGC-ENnj.js";
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-COsQ-Mlz.d.ts.map
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-Cb5dO2s9.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-BGC-ENnj.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-COsQ-Mlz.js";
4
- import { t as allIndexKeysFor } from "./indexes-DwOXkn1Y.js";
5
- import { n as validateOrThrow, t as Db } from "./db-D62JguBc.js";
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-Cb5dO2s9.js";
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-DwOXkn1Y.d.ts.map
22
+ //# sourceMappingURL=indexes-BIH73Uv4.d.ts.map
@@ -1,5 +1,5 @@
1
- import { d as IndexDefinition } from "./app-config-Cb5dO2s9.js";
2
- import { m as Storage } from "./index-BGC-ENnj.js";
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-Cb5dO2s9.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-BGC-ENnj.js";
3
- import { i as DevLandingOptions } from "./index-BquQkhJi.js";
4
- import { d as ObservabilityConfig } from "./index-BYv0hb8M.js";
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-DyET_VPP.js";
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 };
@@ -1,3 +1,3 @@
1
- import { t as MetricsRecorder } from "./index-BGC-ENnj.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-BYv0hb8M.js";
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-CjUO1Bec.js";
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-DyET_VPP.js.map
6199
+ //# sourceMappingURL=src-Cr9C7_tT.js.map