@noy-db/hub 0.2.0-pre.8 → 0.2.0-pre.9

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 (70) hide show
  1. package/dist/attestation/index.d.cts +1 -1
  2. package/dist/attestation/index.d.ts +1 -1
  3. package/dist/blobs/index.d.cts +2 -2
  4. package/dist/blobs/index.d.ts +2 -2
  5. package/dist/bundle/index.cjs +160 -0
  6. package/dist/bundle/index.cjs.map +1 -1
  7. package/dist/bundle/index.d.cts +3 -3
  8. package/dist/bundle/index.d.ts +3 -3
  9. package/dist/bundle/index.js +1 -1
  10. package/dist/{chunk-6774ZOQ7.js → chunk-6CME4UEK.js} +154 -1
  11. package/dist/chunk-6CME4UEK.js.map +1 -0
  12. package/dist/consent/index.d.cts +2 -2
  13. package/dist/consent/index.d.ts +2 -2
  14. package/dist/derivations/index.d.cts +3 -3
  15. package/dist/derivations/index.d.ts +3 -3
  16. package/dist/{dev-unlock-p3ysikWP.d.ts → dev-unlock-B4kDxep_.d.ts} +1 -1
  17. package/dist/{dev-unlock-M4VAWNq_.d.cts → dev-unlock-BIoEFbwm.d.cts} +1 -1
  18. package/dist/guards/index.d.cts +3 -3
  19. package/dist/guards/index.d.ts +3 -3
  20. package/dist/{hash-BPsYPcv_.d.cts → hash-DdpVypUp.d.cts} +1 -1
  21. package/dist/{hash-C1GtiOhR.d.ts → hash-HJqD14vS.d.ts} +1 -1
  22. package/dist/history/index.d.cts +3 -3
  23. package/dist/history/index.d.ts +3 -3
  24. package/dist/i18n/index.d.cts +2 -2
  25. package/dist/i18n/index.d.ts +2 -2
  26. package/dist/index.cjs +153 -0
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.cts +9 -9
  29. package/dist/index.d.ts +9 -9
  30. package/dist/index.js +1 -1
  31. package/dist/materialized-views/index.d.cts +3 -3
  32. package/dist/materialized-views/index.d.ts +3 -3
  33. package/dist/{noydb-LZBH3XDK.js → noydb-G725ZSZG.js} +2 -2
  34. package/dist/overlay-views/index.d.cts +3 -3
  35. package/dist/overlay-views/index.d.ts +3 -3
  36. package/dist/periods/index.d.cts +2 -2
  37. package/dist/periods/index.d.ts +2 -2
  38. package/dist/session/index.d.cts +3 -3
  39. package/dist/session/index.d.ts +3 -3
  40. package/dist/shadow/index.d.cts +2 -2
  41. package/dist/shadow/index.d.ts +2 -2
  42. package/dist/snapshots/index.cjs +37 -3
  43. package/dist/snapshots/index.cjs.map +1 -1
  44. package/dist/snapshots/index.d.cts +12 -5
  45. package/dist/snapshots/index.d.ts +12 -5
  46. package/dist/snapshots/index.js +37 -3
  47. package/dist/snapshots/index.js.map +1 -1
  48. package/dist/store/index.d.cts +2 -2
  49. package/dist/store/index.d.ts +2 -2
  50. package/dist/sync/index.d.cts +1 -1
  51. package/dist/sync/index.d.ts +1 -1
  52. package/dist/team/index.d.cts +2 -2
  53. package/dist/team/index.d.ts +2 -2
  54. package/dist/tx/index.d.cts +2 -2
  55. package/dist/tx/index.d.ts +2 -2
  56. package/dist/{types-DGU60JDt.d.ts → types-Df28QFKb.d.ts} +43 -1
  57. package/dist/{types-DjunxzJa.d.cts → types-DyXYr8rE.d.cts} +43 -1
  58. package/dist/{ulid-BFJkYRRW.d.ts → ulid-CJ8RzRrm.d.ts} +1 -1
  59. package/dist/{ulid-DPeuPgi3.d.cts → ulid-Drr7ykr6.d.cts} +1 -1
  60. package/dist/{with-derivation-DfOpKjFw.d.ts → with-derivation-DFnFByiQ.d.ts} +1 -1
  61. package/dist/{with-derivation-Df0kMlED.d.cts → with-derivation-DU3Sjazm.d.cts} +1 -1
  62. package/dist/{with-guard-C6W5RVrH.d.cts → with-guard-ByyxmEe7.d.cts} +1 -1
  63. package/dist/{with-guard-0KksDtSR.d.ts → with-guard-qube6BMI.d.ts} +1 -1
  64. package/dist/{with-materialized-view-BiasFcYx.d.ts → with-materialized-view-BLkQxoQN.d.ts} +1 -1
  65. package/dist/{with-materialized-view-BmDKyHrm.d.cts → with-materialized-view-BmEToIR1.d.cts} +1 -1
  66. package/dist/{with-overlayed-view-CA66vhHz.d.cts → with-overlayed-view-BMsQQbWm.d.cts} +1 -1
  67. package/dist/{with-overlayed-view-CQViuko_.d.ts → with-overlayed-view-CRsSEwHR.d.ts} +1 -1
  68. package/package.json +3 -3
  69. package/dist/chunk-6774ZOQ7.js.map +0 -1
  70. /package/dist/{noydb-LZBH3XDK.js.map → noydb-G725ZSZG.js.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -1,20 +1,20 @@
1
- import { b1 as NoydbStore, bD as UserEnvelope, bp as PublicEnvelope, bE as GateName, bF as GatePolicy, bG as VaultPolicy, bH as ActiveTier, bI as FactorProof, bJ as SchemaUpdateStrategy, bK as TransformFn, bL as PersistedSchemaEnvelope, bM as UpdateDecision, bN as DirectoryConfig, bO as UserVisibility, a$ as UnlockedKeyring, bu as Vault, b8 as DiffEntry } from './types-DjunxzJa.cjs';
2
- export { bP as AccessibleVault, bQ as AffectedDocument, b5 as AppendInput, aN as ArrayOutputSpec, z as BLOB_CHUNKS_COLLECTION, A as BLOB_COLLECTION, E as BLOB_INDEX_COLLECTION, F as BLOB_SLOTS_PREFIX, G as BLOB_VERSIONS_PREFIX, bR as BUNDLE_STORE_POLICY, M as BlobObject, N as BlobPutOptions, Q as BlobResponseOptions, T as BlobSet, bS as BuiltInGateName, br as BundleRecipient, a9 as CONSENT_AUDIT_COLLECTION, bT as CacheOptions, bU as CacheStats, bV as ChangeEvent, b6 as ChangeType, ai as ClosePeriodOptions, aW as Collection, bW as CollectionChangeEvent, bX as CollectionConflictResolver, bY as CollectionDescriptor, az as CollectionFrame, b7 as CollectionInstant, bZ as CollectionStats, b_ as Conflict, b$ as ConflictPolicy, c0 as ConflictStrategy, aa as ConsentAuditEntry, ab as ConsentAuditFilter, ac as ConsentContext, ad as ConsentOp, c1 as CrossTierAccessEvent, Y as DEFAULT_CHUNK_SIZE, c2 as DEFAULT_PUBLIC_ENVELOPE_SCHEMA, c3 as DELEGATIONS_COLLECTION, D as DICT_COLLECTION_PREFIX, c4 as DeepPartial, c5 as DeepPartialOrNull, c6 as DelegationToken, c7 as DeleteManyResult, c8 as DerivationDescriptor, aL as DerivationStrategy, aP as DerivationStrategyHandle, aQ as DerivedFromMeta, a as DictEntry, b as DictKeyDescriptor, c as DictionaryHandle, d as DictionaryOptions, c9 as DirtyEntry, ca as DryRunResult, cb as DumpSchemaOptions, cc as ELEVATION_AUDIT_COLLECTION, cd as ElevatedHandle, b3 as EncryptedEnvelope, ce as EnrollAuthenticatorOptions, cf as EnrollAuthenticatorWrappingDEKsOptions, cg as EnrollAuthenticatorWrappingKEKOptions, ch as EnrollRecoveryResult, ci as ExportCapability, cj as ExportChunk, ck as ExportFormat, cl as ExportStreamOptions, cm as FactorKind, cn as FactorProofBundle, co as FactorRequirement, cp as FenceDoc, cq as FenceState, cr as FieldChange, cs as FieldDescriptor, ct as FieldSource, cu as GhostRecord, cv as GrantOptions, at as GuardChange, au as GuardContext, as as GuardStrategy, aw as GuardStrategyHandle, cw as GuardViolation, cx as HistoryConfig, cy as HistoryEntry, b2 as HistoryOptions, e as I18nMap, f as I18nTextDescriptor, g as I18nTextOptions, cz as INDEXED_STORE_POLICY, cA as ImportCapability, cB as InferOutput, cC as InternalCollectionStats, cD as IssueDelegationOptions, cE as IssueMagicLinkGrantOptions, b9 as JsonPatch, ba as JsonPatchOp, cF as KeyringAuthenticator, cG as KeyringAuthenticatorWrappingDEKs, cH as KeyringAuthenticatorWrappingKEK, cI as KeyringFile, L as Layer, bb as LedgerEntry, bc as LedgerStore, cJ as ListAccessibleVaultsOptions, cK as ListPageResult, cL as ListUsersOptions, cM as LiveUserEnvelope, cN as LocaleReadOptions, cO as Lru, cP as LruOptions, cQ as LruStats, cR as MAGIC_LINK_CONTENT_INFO_PREFIX, cS as MAGIC_LINK_GRANTS_COLLECTION, cT as MAGIC_LINK_KEK_INFO_PREFIX, cU as MagicLinkGrantPayload, cV as MagicLinkGrantRecord, bA as MaterializedFromMeta, cW as MaterializedViewDescriptor, bB as MaterializedViewOutput, aT as MaterializedViewStrategy, aU as MaterializedViewStrategyHandle, cX as MemoryRecipientSealer, cY as MemorySealingKeyProvider, cZ as NOYDB_BACKUP_VERSION, c_ as NOYDB_FORMAT_VERSION, c$ as NOYDB_KEYRING_VERSION, d0 as NOYDB_SYNC_VERSION, d1 as Noydb, aB as NoydbBundleStore, d2 as NoydbEventMap, d3 as NoydbOptions, O as OnMissing, h as OnMissingPolicy, aj as OpenPeriodOptions, aR as OutputSpec, d4 as OverlayViewDescriptor, aV as OverlayedViewStrategy, aY as OverlayedViewStrategyHandle, ak as PERIODS_COLLECTION, d5 as PUBLIC_ENVELOPE_FIELDS, d6 as PaperRecoveryDoc, d7 as PaperRecoveryEntry, d8 as PassphrasePolicy, d9 as PassphraseValidationResult, al as PeriodRecord, da as Permission, db as Permissions, dc as PersistedSchemaKind, dd as PlaintextTranslatorContext, de as PlaintextTranslatorFn, P as PolicyEnforcer, df as PresenceHandle, dg as PresencePeer, b4 as PruneOptions, dh as PublicEnvelopeField, di as PublicEnvelopeSchema, dj as PublicEnvelopeText, dk as PullMode, dl as PullOptions, dm as PullPolicy, dn as PullResult, dp as PushMode, dq as PushOptions, dr as PushPolicy, ds as PushResult, dt as PutManyItemOptions, du as PutManyOptions, dv as PutManyResult, dw as QueryAcrossOptions, dx as QueryAcrossResult, dy as QuickUnlockState, dz as QuickUnlockStore, dA as ReAuthOperation, bt as RecipientHint, bs as RecipientSealer, aS as RecordOutputSpec, dB as RecoverPassphraseInput, dC as RecoverPassphraseResult, dD as RecoverUserOptions, dE as RecoveryProof, R as ResolveI18nOptions, dF as ResolvedPublicEnvelopeSchema, aC as RetentionPolicy, dG as RevokeOptions, a_ as Role, dH as RotatePassphraseInput, dI as RotateRecoveryOptions, dJ as RotateRecoveryResult, dK as SEALED_PASSPHRASE_RECORD_ID, dL as SchemaDelta, dM as SchemaIntrospection, S as ScriptWarning, dN as SealedEnvelope, dO as SealedPassphrase, bq as SealingKeyProvider, dP as SessionPolicy, dQ as SetPublicEnvelopeInput, dR as ShamirRecoveryDoc, dS as ShamirRecoveryEntry, bw as ShamirRecoveryProvider, a3 as SlotInfo, a4 as SlotRecord, dT as SlotRewrapCeremony, dU as SlotRewrapContext, aE as SnapshotMeta, dV as StandardSchemaV1, dW as StandardSchemaV1Issue, dX as StandardSchemaV1SyncResult, dY as StoreAuth, dZ as StoreAuthKind, d_ as StoreCapabilities, d$ as SyncEngine, e0 as SyncMetadata, e1 as SyncPolicy, e2 as SyncScheduler, e3 as SyncSchedulerStatus, e4 as SyncStatus, e5 as SyncTarget, e6 as SyncTargetRole, e7 as SyncTransaction, e8 as SyncTransactionResult, e9 as TabChannel, ea as TabCoordinationOptions, eb as TabLockManager, ec as TabPresence, ed as TabRole, ee as TierMode, ef as TranslatorAuditEntry, aH as TxCollection, aI as TxContext, eg as TxOp, aJ as TxVault, eh as USER_ENVELOPE_COLLECTION, ei as USER_ENVELOPE_MAX_BYTES, bC as UnionSource, ej as Unsubscribe, ek as UpdateAuthenticatorOptions, el as UpdateContext, em as UpdateUserOptions, en as UserApi, eo as UserEnvelopeCheckGate, ep as UserEnvelopeOversizedError, eq as UserEnvelopePresented, er as UserInfo, es as VaultBackup, bd as VaultEngine, aA as VaultFrame, be as VaultInstant, et as VaultPolicyOnDisk, eu as VaultSchemaSnapshot, ev as VaultSnapshot, bf as VerifyResult, a5 as VersionRecord, ew as WarningRules, ex as WeakPassphraseError, ey as WeakPassphraseReason, ez as WrappedDeksBlob, eA as WriteConflict, eB as WriteEvent, eC as WriteHook, eD as WriteQueue, i as applyI18nLocale, bg as applyPatch, eE as assertStrongPassphrase, eF as buildRecipientKeyringFile, eG as burnPaperRecoveryEntry, bh as canonicalJson, bi as computePatch, x as createEnforcer, eH as createNoydb, eI as createStore, eJ as deriveMagicLinkContentKey, j as dictCollectionName, k as dictKey, bj as diff, l as enforceScript, eK as enrollAuthenticator, eL as estimateEntropy, eM as evaluateExportCapability, eN as evaluateImportCapability, eO as findAuthenticator, bk as formatDiff, eP as hasExportCapability, eQ as hasImportCapability, eR as hasRecoveryEnrolled, bl as hashEntry, n as i18nText, o as inferScripts, p as isDictCollectionName, q as isDictKeyDescriptor, r as isI18nTextDescriptor, eS as isMagicLinkGrantExpired, eT as isPublicEnvelope, eU as issueDelegation, eV as keyringRecoverPassphrase, eW as keyringRotatePassphrase, eX as listMagicLinkGrants, eY as listUsers, eZ as listUsersWithEnvelopes, e_ as loadActiveDelegations, e$ as loadPaperRecoveryEntries, f0 as loadSealedPassphrase, f1 as loadShamirRecoveryEntries, f2 as magicLinkGrantRecordId, f3 as mintPaperRecoveryEntry, f4 as mintShamirRecoveryEntry, f5 as mintWrappedDeksBlob, bm as paddedIndex, bn as parseIndex, f6 as parseSealedEnvelope, f7 as readMagicLinkGrantRecord, f8 as recoverUser, f9 as removeAuthenticator, s as resolveI18nText, t as resolvePolicy, fa as resolvePublicEnvelopeSchema, fb as revokeDelegation, fc as revokeMagicLinkGrant, aK as runTransaction, fd as savePaperRecoveryEntries, fe as saveSealedPassphrase, ff as saveShamirRecoveryEntries, bo as sha256Hex, fg as unwrapDeksFromBlob, fh as unwrapDeksFromPaperEntry, fi as unwrapDeksFromShamirEntry, fj as unwrapMagicLinkGrant, v as validateI18nTextValue, fk as validatePassphrase, fl as validatePublicEnvelopeInput, fm as validateSchemaInput, fn as validateSchemaOutput, y as validateSessionPolicy, fo as writeMagicLinkGrant } from './types-DjunxzJa.cjs';
1
+ import { b3 as NoydbStore, bF as UserEnvelope, br as PublicEnvelope, bG as GateName, bH as GatePolicy, bI as VaultPolicy, bJ as ActiveTier, bK as FactorProof, bL as SchemaUpdateStrategy, bM as TransformFn, bN as PersistedSchemaEnvelope, bO as UpdateDecision, bP as DirectoryConfig, bQ as UserVisibility, b1 as UnlockedKeyring, bw as Vault, ba as DiffEntry } from './types-DyXYr8rE.cjs';
2
+ export { bR as AccessibleVault, bS as AffectedDocument, b7 as AppendInput, aP as ArrayOutputSpec, z as BLOB_CHUNKS_COLLECTION, A as BLOB_COLLECTION, E as BLOB_INDEX_COLLECTION, F as BLOB_SLOTS_PREFIX, G as BLOB_VERSIONS_PREFIX, bT as BUNDLE_STORE_POLICY, M as BlobObject, N as BlobPutOptions, Q as BlobResponseOptions, T as BlobSet, bU as BuiltInGateName, bt as BundleRecipient, a9 as CONSENT_AUDIT_COLLECTION, bV as CacheOptions, bW as CacheStats, bX as ChangeEvent, b8 as ChangeType, ai as ClosePeriodOptions, aY as Collection, bY as CollectionChangeEvent, bZ as CollectionConflictResolver, b_ as CollectionDescriptor, az as CollectionFrame, b9 as CollectionInstant, b$ as CollectionStats, c0 as Conflict, c1 as ConflictPolicy, c2 as ConflictStrategy, aa as ConsentAuditEntry, ab as ConsentAuditFilter, ac as ConsentContext, ad as ConsentOp, c3 as CrossTierAccessEvent, Y as DEFAULT_CHUNK_SIZE, c4 as DEFAULT_PUBLIC_ENVELOPE_SCHEMA, c5 as DELEGATIONS_COLLECTION, D as DICT_COLLECTION_PREFIX, c6 as DeepPartial, c7 as DeepPartialOrNull, c8 as DelegationToken, c9 as DeleteManyResult, ca as DerivationDescriptor, aN as DerivationStrategy, aR as DerivationStrategyHandle, aS as DerivedFromMeta, a as DictEntry, b as DictKeyDescriptor, c as DictionaryHandle, d as DictionaryOptions, cb as DirtyEntry, cc as DryRunResult, cd as DumpSchemaOptions, ce as ELEVATION_AUDIT_COLLECTION, cf as ElevatedHandle, b5 as EncryptedEnvelope, cg as EnrollAuthenticatorOptions, ch as EnrollAuthenticatorWrappingDEKsOptions, ci as EnrollAuthenticatorWrappingKEKOptions, cj as EnrollRecoveryResult, ck as ExportCapability, cl as ExportChunk, cm as ExportFormat, cn as ExportStreamOptions, co as FactorKind, cp as FactorProofBundle, cq as FactorRequirement, cr as FenceDoc, cs as FenceState, ct as FieldChange, cu as FieldDescriptor, cv as FieldSource, cw as GhostRecord, cx as GrantOptions, at as GuardChange, au as GuardContext, as as GuardStrategy, aw as GuardStrategyHandle, cy as GuardViolation, cz as HistoryConfig, cA as HistoryEntry, b4 as HistoryOptions, e as I18nMap, f as I18nTextDescriptor, g as I18nTextOptions, cB as INDEXED_STORE_POLICY, cC as ImportCapability, cD as InferOutput, cE as InternalCollectionStats, cF as IssueDelegationOptions, cG as IssueMagicLinkGrantOptions, bb as JsonPatch, bc as JsonPatchOp, cH as KeyringAuthenticator, cI as KeyringAuthenticatorWrappingDEKs, cJ as KeyringAuthenticatorWrappingKEK, cK as KeyringFile, L as Layer, bd as LedgerEntry, be as LedgerStore, cL as ListAccessibleVaultsOptions, cM as ListPageResult, cN as ListUsersOptions, cO as LiveUserEnvelope, cP as LocaleReadOptions, cQ as Lru, cR as LruOptions, cS as LruStats, cT as MAGIC_LINK_CONTENT_INFO_PREFIX, cU as MAGIC_LINK_GRANTS_COLLECTION, cV as MAGIC_LINK_KEK_INFO_PREFIX, cW as MagicLinkGrantPayload, cX as MagicLinkGrantRecord, bC as MaterializedFromMeta, cY as MaterializedViewDescriptor, bD as MaterializedViewOutput, aV as MaterializedViewStrategy, aW as MaterializedViewStrategyHandle, cZ as MemoryRecipientSealer, c_ as MemorySealingKeyProvider, c$ as NOYDB_BACKUP_VERSION, d0 as NOYDB_FORMAT_VERSION, d1 as NOYDB_KEYRING_VERSION, d2 as NOYDB_SYNC_VERSION, d3 as Noydb, aB as NoydbBundleStore, d4 as NoydbEventMap, d5 as NoydbOptions, O as OnMissing, h as OnMissingPolicy, aj as OpenPeriodOptions, aT as OutputSpec, d6 as OverlayViewDescriptor, aX as OverlayedViewStrategy, a_ as OverlayedViewStrategyHandle, ak as PERIODS_COLLECTION, d7 as PUBLIC_ENVELOPE_FIELDS, d8 as PaperRecoveryDoc, d9 as PaperRecoveryEntry, da as PassphrasePolicy, db as PassphraseValidationResult, al as PeriodRecord, dc as Permission, dd as Permissions, de as PersistedSchemaKind, df as PlaintextTranslatorContext, dg as PlaintextTranslatorFn, P as PolicyEnforcer, dh as PresenceHandle, di as PresencePeer, b6 as PruneOptions, dj as PublicEnvelopeField, dk as PublicEnvelopeSchema, dl as PublicEnvelopeText, dm as PullMode, dn as PullOptions, dp as PullPolicy, dq as PullResult, dr as PushMode, ds as PushOptions, dt as PushPolicy, du as PushResult, dv as PutManyItemOptions, dw as PutManyOptions, dx as PutManyResult, dy as QueryAcrossOptions, dz as QueryAcrossResult, dA as QuickUnlockState, dB as QuickUnlockStore, dC as ReAuthOperation, bv as RecipientHint, bu as RecipientSealer, aU as RecordOutputSpec, dD as RecoverPassphraseInput, dE as RecoverPassphraseResult, dF as RecoverUserOptions, dG as RecoveryProof, R as ResolveI18nOptions, dH as ResolvedPublicEnvelopeSchema, aC as RetentionPolicy, dI as RevokeOptions, b0 as Role, dJ as RotatePassphraseInput, dK as RotateRecoveryOptions, dL as RotateRecoveryResult, dM as SEALED_PASSPHRASE_RECORD_ID, dN as SchemaDelta, dO as SchemaIntrospection, S as ScriptWarning, dP as SealedEnvelope, dQ as SealedPassphrase, bs as SealingKeyProvider, dR as SessionPolicy, dS as SetPublicEnvelopeInput, dT as ShamirRecoveryDoc, dU as ShamirRecoveryEntry, by as ShamirRecoveryProvider, a3 as SlotInfo, a4 as SlotRecord, dV as SlotRewrapCeremony, dW as SlotRewrapContext, aF as SnapshotMeta, dX as StandardSchemaV1, dY as StandardSchemaV1Issue, dZ as StandardSchemaV1SyncResult, d_ as StoreAuth, d$ as StoreAuthKind, e0 as StoreCapabilities, e1 as SyncEngine, e2 as SyncMetadata, e3 as SyncPolicy, e4 as SyncScheduler, e5 as SyncSchedulerStatus, e6 as SyncStatus, e7 as SyncTarget, e8 as SyncTargetRole, e9 as SyncTransaction, ea as SyncTransactionResult, eb as TabChannel, ec as TabCoordinationOptions, ed as TabLockManager, ee as TabPresence, ef as TabRole, eg as TierMode, eh as TranslatorAuditEntry, aJ as TxCollection, aK as TxContext, ei as TxOp, aL as TxVault, ej as USER_ENVELOPE_COLLECTION, ek as USER_ENVELOPE_MAX_BYTES, bE as UnionSource, el as Unsubscribe, em as UpdateAuthenticatorOptions, en as UpdateContext, eo as UpdateUserOptions, ep as UserApi, eq as UserEnvelopeCheckGate, er as UserEnvelopeOversizedError, es as UserEnvelopePresented, et as UserInfo, eu as VaultBackup, bf as VaultEngine, aA as VaultFrame, bg as VaultInstant, ev as VaultPolicyOnDisk, ew as VaultSchemaSnapshot, ex as VaultSnapshot, bh as VerifyResult, a5 as VersionRecord, ey as WarningRules, ez as WeakPassphraseError, eA as WeakPassphraseReason, eB as WrappedDeksBlob, eC as WriteConflict, eD as WriteEvent, eE as WriteHook, eF as WriteQueue, i as applyI18nLocale, bi as applyPatch, eG as assertStrongPassphrase, eH as buildRecipientKeyringFile, eI as burnPaperRecoveryEntry, bj as canonicalJson, bk as computePatch, x as createEnforcer, eJ as createNoydb, eK as createStore, eL as deriveMagicLinkContentKey, j as dictCollectionName, k as dictKey, bl as diff, l as enforceScript, eM as enrollAuthenticator, eN as estimateEntropy, eO as evaluateExportCapability, eP as evaluateImportCapability, eQ as findAuthenticator, bm as formatDiff, eR as hasExportCapability, eS as hasImportCapability, eT as hasRecoveryEnrolled, bn as hashEntry, n as i18nText, o as inferScripts, p as isDictCollectionName, q as isDictKeyDescriptor, r as isI18nTextDescriptor, eU as isMagicLinkGrantExpired, eV as isPublicEnvelope, eW as issueDelegation, eX as keyringRecoverPassphrase, eY as keyringRotatePassphrase, eZ as listMagicLinkGrants, e_ as listUsers, e$ as listUsersWithEnvelopes, f0 as loadActiveDelegations, f1 as loadPaperRecoveryEntries, f2 as loadSealedPassphrase, f3 as loadShamirRecoveryEntries, f4 as magicLinkGrantRecordId, f5 as mintPaperRecoveryEntry, f6 as mintShamirRecoveryEntry, f7 as mintWrappedDeksBlob, bo as paddedIndex, bp as parseIndex, f8 as parseSealedEnvelope, f9 as readMagicLinkGrantRecord, fa as recoverUser, fb as removeAuthenticator, s as resolveI18nText, t as resolvePolicy, fc as resolvePublicEnvelopeSchema, fd as revokeDelegation, fe as revokeMagicLinkGrant, aM as runTransaction, ff as savePaperRecoveryEntries, fg as saveSealedPassphrase, fh as saveShamirRecoveryEntries, bq as sha256Hex, fi as unwrapDeksFromBlob, fj as unwrapDeksFromPaperEntry, fk as unwrapDeksFromShamirEntry, fl as unwrapMagicLinkGrant, v as validateI18nTextValue, fm as validatePassphrase, fn as validatePublicEnvelopeInput, fo as validateSchemaInput, fp as validateSchemaOutput, y as validateSessionPolicy, fq as writeMagicLinkGrant } from './types-DyXYr8rE.cjs';
3
3
  export { d as detectMagic, a as detectMimeType, i as isPreCompressed } from './mime-magic-CBBSOkjm.cjs';
4
4
  export { AgeRoute, BlobLifecyclePolicy, BlobStoreRoute, CircuitBreakerOptions, HealthCheckOptions, LogLevel, LoggingOptions, MetricsOptions, OverrideOptions, OverrideTarget, RetryOptions, RouteStatus, RouteStoreOptions, RoutedNoydbStore, StoreCacheOptions, StoreMiddleware, StoreOperation, SuspendOptions, WrapBundleStoreOptions, WrappedBundleNoydbStore, createBundleStore, routeStore, withCache, withCircuitBreaker, withHealthCheck, withLogging, withMetrics, withRetry, wrapBundleStore, wrapStore } from './store/index.cjs';
5
5
  import { N as NoydbError } from './index-4fBVt8j9.cjs';
6
6
  export { z as AlreadyElevatedError, A as AmendmentForbiddenError, o as AttestationError, B as BackupCorruptedError, q as BackupLedgerError, r as BundleIntegrityError, s as BundleSealMismatchError, t as BundleVersionConflictError, C as ConflictError, E as CrossJoinSourceUnknownError, G as CrossJoinTooLargeError, H as DEFAULT_CROSS_JOIN_MAX_ROWS, J as DEFAULT_JOIN_MAX_ROWS, K as DanglingReferenceError, U as DecryptionError, V as DelegationTargetMissingError, g as DerivationCapExceededError, h as DerivationCycleError, i as DerivationDepthError, j as DerivationOutputShapeError, k as DerivationOutputUnknownError, D as DictKeyInUseError, a as DictKeyMissingError, W as DirectoryDisabledError, X as ElevationExpiredError, Y as ExportCapabilityError, F as FieldFrozenError, Z as FilenameSanitizationError, _ as GroupCardinalityError, $ as ImportCapabilityError, a0 as IndexRequiredError, a1 as IndexWriteFailureError, a2 as InvalidKeyError, I as InvariantError, a3 as JoinContext, a4 as JoinLeg, a5 as JoinStrategy, a6 as JoinTooLargeError, a7 as JoinableSource, a8 as KeyringCorruptError, a9 as KeyringExpiredError, aa as LedgerContentionError, ab as LiveQuery, ac as LiveUpstream, L as LocaleNotSpecifiedError, v as MaterializedViewConfigError, w as MaterializedViewCycleError, x as MaterializedViewSourceUnknownError, y as MaterializedViewTooLargeError, ad as MigrationRequiredError, M as MissingTranslationError, ae as NetworkError, af as NoAccessError, ag as NonAdditiveSchemaChangeError, ah as NotFoundError, ai as OrderBy, O as OverlayBaseIsVirtualError, l as OverlayCollectionUnavailableError, m as OverlayIdMismatchError, n as OverlayNameCollisionError, aj as PathEscapeError, ak as PeriodClosedError, al as PermissionDeniedError, am as PrivilegeEscalationError, Q as Query, an as QueryPlan, ao as QuerySource, ap as QuiesceTimeoutError, aq as ReadOnlyAtInstantError, ar as ReadOnlyError, as as ReadOnlyFrameError, e as RecordLockedError, at as RefDescriptor, au as RefIntegrityError, av as RefMode, aw as RefRegistry, ax as RefScopeError, ay as RefViolation, R as ReservedCollectionNameError, az as ScanBuilder, aA as ScanPageProvider, aB as SchemaFenceError, aC as SchemaLockedError, aD as SchemaUpdateError, aE as SchemaValidationError, S as ScriptViolationError, b as SessionExpiredError, c as SessionNotFoundError, d as SessionPolicyError, f as SnapshotNotFoundError, aF as StoreCapabilityError, aG as TamperedError, aH as TierDemoteDeniedError, aI as TierNotGrantedError, T as TranslatorNotConfiguredError, aJ as ValidationError, aK as applyJoins, aL as buildLiveQuery, aM as executePlan, aN as ref, aO as resetJoinWarnings } from './index-4fBVt8j9.cjs';
7
- export { A as AutoCredential, n as AutoCredentialKind, c as CompressionAlgo, N as NOYDB_BUNDLE_FORMAT_VERSION, e as NOYDB_BUNDLE_MAGIC, f as NOYDB_BUNDLE_PREFIX_BYTES, g as NoydbBundleHeader, h as NoydbBundleReadResult, R as ReadNoydbBundleOptions, W as WriteNoydbBundleOptions, j as generateULID, o as hasNoydbBundleMagic, k as isULID, r as readNoydbBundle, l as readNoydbBundleHeader, p as readNoydbBundlePublicEnvelope, m as resetBrotliSupportCache, w as writeNoydbBundle } from './ulid-DPeuPgi3.cjs';
7
+ export { A as AutoCredential, n as AutoCredentialKind, c as CompressionAlgo, N as NOYDB_BUNDLE_FORMAT_VERSION, e as NOYDB_BUNDLE_MAGIC, f as NOYDB_BUNDLE_PREFIX_BYTES, g as NoydbBundleHeader, h as NoydbBundleReadResult, R as ReadNoydbBundleOptions, W as WriteNoydbBundleOptions, j as generateULID, o as hasNoydbBundleMagic, k as isULID, r as readNoydbBundle, l as readNoydbBundleHeader, p as readNoydbBundlePublicEnvelope, m as resetBrotliSupportCache, w as writeNoydbBundle } from './ulid-Drr7ykr6.cjs';
8
8
  export { a as CrdtMode, b as CrdtState, L as LwwMapState, R as RgaState, Y as YjsState, m as mergeCrdtStates, r as resolveCrdtSnapshot } from './strategy-BSxFXGzb.cjs';
9
- export { w as withGuard } from './with-guard-C6W5RVrH.cjs';
10
- export { w as withDerivation } from './with-derivation-Df0kMlED.cjs';
11
- export { w as withMaterializedView } from './with-materialized-view-BmDKyHrm.cjs';
9
+ export { w as withGuard } from './with-guard-ByyxmEe7.cjs';
10
+ export { w as withDerivation } from './with-derivation-DU3Sjazm.cjs';
11
+ export { w as withMaterializedView } from './with-materialized-view-BmEToIR1.cjs';
12
12
  export { a as Clause, C as CollectionIndexes, F as FieldClause, b as FilterClause, G as GroupClause, H as HashIndex, I as IndexDef, O as Operator, e as evaluateClause, c as evaluateFieldClause, r as readPath } from './predicate-BSAGEyu5.cjs';
13
- export { w as withOverlayedView } from './with-overlayed-view-CA66vhHz.cjs';
13
+ export { w as withOverlayedView } from './with-overlayed-view-BMsQQbWm.cjs';
14
14
  export { SYNC_CREDENTIALS_COLLECTION, SyncCredential, credentialStatus, deleteCredential, getCredential, listCredentials, putCredential } from './team/index.cjs';
15
- export { C as CreateSessionOptions, a as CreateSessionResult, D as DevUnlockOptions, S as SessionToken, b as activeSessionCount, c as clearDevUnlock, d as createSession, e as enableDevUnlock, i as isDevUnlockActive, f as isSessionAlive, l as loadDevUnlock, r as resolveSession, g as revokeAllSessions, h as revokeSession } from './dev-unlock-M4VAWNq_.cjs';
15
+ export { C as CreateSessionOptions, a as CreateSessionResult, D as DevUnlockOptions, S as SessionToken, b as activeSessionCount, c as clearDevUnlock, d as createSession, e as enableDevUnlock, i as isDevUnlockActive, f as isSessionAlive, l as loadDevUnlock, r as resolveSession, g as revokeAllSessions, h as revokeSession } from './dev-unlock-BIoEFbwm.cjs';
16
16
  export { a as AggregateResult, b as AggregateSpec, c as Aggregation, d as AggregationUpstream, G as GROUPBY_MAX_CARDINALITY, e as GROUPBY_WARN_CARDINALITY, f as GroupedAggregation, g as GroupedQuery, h as GroupedQueryN, i as GroupedRow, j as GroupedRowN, L as LiveAggregation, R as Reducer, k as ReducerOptions, l as avg, n as count, o as groupAndReduce, p as max, q as min, r as reduceRecords, t as sum } from './strategy-DSTrsZ8t.cjs';
17
- export { L as LEDGER_COLLECTION, a as LEDGER_DELTAS_COLLECTION, e as envelopePayloadHash } from './hash-BPsYPcv_.cjs';
17
+ export { L as LEDGER_COLLECTION, a as LEDGER_DELTAS_COLLECTION, e as envelopePayloadHash } from './hash-DdpVypUp.cjs';
18
18
  import './lazy-builder-wY4pMCEe.cjs';
19
19
  import '@noy-db/attestation';
20
20
 
package/dist/index.d.ts CHANGED
@@ -1,20 +1,20 @@
1
- import { b1 as NoydbStore, bD as UserEnvelope, bp as PublicEnvelope, bE as GateName, bF as GatePolicy, bG as VaultPolicy, bH as ActiveTier, bI as FactorProof, bJ as SchemaUpdateStrategy, bK as TransformFn, bL as PersistedSchemaEnvelope, bM as UpdateDecision, bN as DirectoryConfig, bO as UserVisibility, a$ as UnlockedKeyring, bu as Vault, b8 as DiffEntry } from './types-DGU60JDt.js';
2
- export { bP as AccessibleVault, bQ as AffectedDocument, b5 as AppendInput, aN as ArrayOutputSpec, z as BLOB_CHUNKS_COLLECTION, A as BLOB_COLLECTION, E as BLOB_INDEX_COLLECTION, F as BLOB_SLOTS_PREFIX, G as BLOB_VERSIONS_PREFIX, bR as BUNDLE_STORE_POLICY, M as BlobObject, N as BlobPutOptions, Q as BlobResponseOptions, T as BlobSet, bS as BuiltInGateName, br as BundleRecipient, a9 as CONSENT_AUDIT_COLLECTION, bT as CacheOptions, bU as CacheStats, bV as ChangeEvent, b6 as ChangeType, ai as ClosePeriodOptions, aW as Collection, bW as CollectionChangeEvent, bX as CollectionConflictResolver, bY as CollectionDescriptor, az as CollectionFrame, b7 as CollectionInstant, bZ as CollectionStats, b_ as Conflict, b$ as ConflictPolicy, c0 as ConflictStrategy, aa as ConsentAuditEntry, ab as ConsentAuditFilter, ac as ConsentContext, ad as ConsentOp, c1 as CrossTierAccessEvent, Y as DEFAULT_CHUNK_SIZE, c2 as DEFAULT_PUBLIC_ENVELOPE_SCHEMA, c3 as DELEGATIONS_COLLECTION, D as DICT_COLLECTION_PREFIX, c4 as DeepPartial, c5 as DeepPartialOrNull, c6 as DelegationToken, c7 as DeleteManyResult, c8 as DerivationDescriptor, aL as DerivationStrategy, aP as DerivationStrategyHandle, aQ as DerivedFromMeta, a as DictEntry, b as DictKeyDescriptor, c as DictionaryHandle, d as DictionaryOptions, c9 as DirtyEntry, ca as DryRunResult, cb as DumpSchemaOptions, cc as ELEVATION_AUDIT_COLLECTION, cd as ElevatedHandle, b3 as EncryptedEnvelope, ce as EnrollAuthenticatorOptions, cf as EnrollAuthenticatorWrappingDEKsOptions, cg as EnrollAuthenticatorWrappingKEKOptions, ch as EnrollRecoveryResult, ci as ExportCapability, cj as ExportChunk, ck as ExportFormat, cl as ExportStreamOptions, cm as FactorKind, cn as FactorProofBundle, co as FactorRequirement, cp as FenceDoc, cq as FenceState, cr as FieldChange, cs as FieldDescriptor, ct as FieldSource, cu as GhostRecord, cv as GrantOptions, at as GuardChange, au as GuardContext, as as GuardStrategy, aw as GuardStrategyHandle, cw as GuardViolation, cx as HistoryConfig, cy as HistoryEntry, b2 as HistoryOptions, e as I18nMap, f as I18nTextDescriptor, g as I18nTextOptions, cz as INDEXED_STORE_POLICY, cA as ImportCapability, cB as InferOutput, cC as InternalCollectionStats, cD as IssueDelegationOptions, cE as IssueMagicLinkGrantOptions, b9 as JsonPatch, ba as JsonPatchOp, cF as KeyringAuthenticator, cG as KeyringAuthenticatorWrappingDEKs, cH as KeyringAuthenticatorWrappingKEK, cI as KeyringFile, L as Layer, bb as LedgerEntry, bc as LedgerStore, cJ as ListAccessibleVaultsOptions, cK as ListPageResult, cL as ListUsersOptions, cM as LiveUserEnvelope, cN as LocaleReadOptions, cO as Lru, cP as LruOptions, cQ as LruStats, cR as MAGIC_LINK_CONTENT_INFO_PREFIX, cS as MAGIC_LINK_GRANTS_COLLECTION, cT as MAGIC_LINK_KEK_INFO_PREFIX, cU as MagicLinkGrantPayload, cV as MagicLinkGrantRecord, bA as MaterializedFromMeta, cW as MaterializedViewDescriptor, bB as MaterializedViewOutput, aT as MaterializedViewStrategy, aU as MaterializedViewStrategyHandle, cX as MemoryRecipientSealer, cY as MemorySealingKeyProvider, cZ as NOYDB_BACKUP_VERSION, c_ as NOYDB_FORMAT_VERSION, c$ as NOYDB_KEYRING_VERSION, d0 as NOYDB_SYNC_VERSION, d1 as Noydb, aB as NoydbBundleStore, d2 as NoydbEventMap, d3 as NoydbOptions, O as OnMissing, h as OnMissingPolicy, aj as OpenPeriodOptions, aR as OutputSpec, d4 as OverlayViewDescriptor, aV as OverlayedViewStrategy, aY as OverlayedViewStrategyHandle, ak as PERIODS_COLLECTION, d5 as PUBLIC_ENVELOPE_FIELDS, d6 as PaperRecoveryDoc, d7 as PaperRecoveryEntry, d8 as PassphrasePolicy, d9 as PassphraseValidationResult, al as PeriodRecord, da as Permission, db as Permissions, dc as PersistedSchemaKind, dd as PlaintextTranslatorContext, de as PlaintextTranslatorFn, P as PolicyEnforcer, df as PresenceHandle, dg as PresencePeer, b4 as PruneOptions, dh as PublicEnvelopeField, di as PublicEnvelopeSchema, dj as PublicEnvelopeText, dk as PullMode, dl as PullOptions, dm as PullPolicy, dn as PullResult, dp as PushMode, dq as PushOptions, dr as PushPolicy, ds as PushResult, dt as PutManyItemOptions, du as PutManyOptions, dv as PutManyResult, dw as QueryAcrossOptions, dx as QueryAcrossResult, dy as QuickUnlockState, dz as QuickUnlockStore, dA as ReAuthOperation, bt as RecipientHint, bs as RecipientSealer, aS as RecordOutputSpec, dB as RecoverPassphraseInput, dC as RecoverPassphraseResult, dD as RecoverUserOptions, dE as RecoveryProof, R as ResolveI18nOptions, dF as ResolvedPublicEnvelopeSchema, aC as RetentionPolicy, dG as RevokeOptions, a_ as Role, dH as RotatePassphraseInput, dI as RotateRecoveryOptions, dJ as RotateRecoveryResult, dK as SEALED_PASSPHRASE_RECORD_ID, dL as SchemaDelta, dM as SchemaIntrospection, S as ScriptWarning, dN as SealedEnvelope, dO as SealedPassphrase, bq as SealingKeyProvider, dP as SessionPolicy, dQ as SetPublicEnvelopeInput, dR as ShamirRecoveryDoc, dS as ShamirRecoveryEntry, bw as ShamirRecoveryProvider, a3 as SlotInfo, a4 as SlotRecord, dT as SlotRewrapCeremony, dU as SlotRewrapContext, aE as SnapshotMeta, dV as StandardSchemaV1, dW as StandardSchemaV1Issue, dX as StandardSchemaV1SyncResult, dY as StoreAuth, dZ as StoreAuthKind, d_ as StoreCapabilities, d$ as SyncEngine, e0 as SyncMetadata, e1 as SyncPolicy, e2 as SyncScheduler, e3 as SyncSchedulerStatus, e4 as SyncStatus, e5 as SyncTarget, e6 as SyncTargetRole, e7 as SyncTransaction, e8 as SyncTransactionResult, e9 as TabChannel, ea as TabCoordinationOptions, eb as TabLockManager, ec as TabPresence, ed as TabRole, ee as TierMode, ef as TranslatorAuditEntry, aH as TxCollection, aI as TxContext, eg as TxOp, aJ as TxVault, eh as USER_ENVELOPE_COLLECTION, ei as USER_ENVELOPE_MAX_BYTES, bC as UnionSource, ej as Unsubscribe, ek as UpdateAuthenticatorOptions, el as UpdateContext, em as UpdateUserOptions, en as UserApi, eo as UserEnvelopeCheckGate, ep as UserEnvelopeOversizedError, eq as UserEnvelopePresented, er as UserInfo, es as VaultBackup, bd as VaultEngine, aA as VaultFrame, be as VaultInstant, et as VaultPolicyOnDisk, eu as VaultSchemaSnapshot, ev as VaultSnapshot, bf as VerifyResult, a5 as VersionRecord, ew as WarningRules, ex as WeakPassphraseError, ey as WeakPassphraseReason, ez as WrappedDeksBlob, eA as WriteConflict, eB as WriteEvent, eC as WriteHook, eD as WriteQueue, i as applyI18nLocale, bg as applyPatch, eE as assertStrongPassphrase, eF as buildRecipientKeyringFile, eG as burnPaperRecoveryEntry, bh as canonicalJson, bi as computePatch, x as createEnforcer, eH as createNoydb, eI as createStore, eJ as deriveMagicLinkContentKey, j as dictCollectionName, k as dictKey, bj as diff, l as enforceScript, eK as enrollAuthenticator, eL as estimateEntropy, eM as evaluateExportCapability, eN as evaluateImportCapability, eO as findAuthenticator, bk as formatDiff, eP as hasExportCapability, eQ as hasImportCapability, eR as hasRecoveryEnrolled, bl as hashEntry, n as i18nText, o as inferScripts, p as isDictCollectionName, q as isDictKeyDescriptor, r as isI18nTextDescriptor, eS as isMagicLinkGrantExpired, eT as isPublicEnvelope, eU as issueDelegation, eV as keyringRecoverPassphrase, eW as keyringRotatePassphrase, eX as listMagicLinkGrants, eY as listUsers, eZ as listUsersWithEnvelopes, e_ as loadActiveDelegations, e$ as loadPaperRecoveryEntries, f0 as loadSealedPassphrase, f1 as loadShamirRecoveryEntries, f2 as magicLinkGrantRecordId, f3 as mintPaperRecoveryEntry, f4 as mintShamirRecoveryEntry, f5 as mintWrappedDeksBlob, bm as paddedIndex, bn as parseIndex, f6 as parseSealedEnvelope, f7 as readMagicLinkGrantRecord, f8 as recoverUser, f9 as removeAuthenticator, s as resolveI18nText, t as resolvePolicy, fa as resolvePublicEnvelopeSchema, fb as revokeDelegation, fc as revokeMagicLinkGrant, aK as runTransaction, fd as savePaperRecoveryEntries, fe as saveSealedPassphrase, ff as saveShamirRecoveryEntries, bo as sha256Hex, fg as unwrapDeksFromBlob, fh as unwrapDeksFromPaperEntry, fi as unwrapDeksFromShamirEntry, fj as unwrapMagicLinkGrant, v as validateI18nTextValue, fk as validatePassphrase, fl as validatePublicEnvelopeInput, fm as validateSchemaInput, fn as validateSchemaOutput, y as validateSessionPolicy, fo as writeMagicLinkGrant } from './types-DGU60JDt.js';
1
+ import { b3 as NoydbStore, bF as UserEnvelope, br as PublicEnvelope, bG as GateName, bH as GatePolicy, bI as VaultPolicy, bJ as ActiveTier, bK as FactorProof, bL as SchemaUpdateStrategy, bM as TransformFn, bN as PersistedSchemaEnvelope, bO as UpdateDecision, bP as DirectoryConfig, bQ as UserVisibility, b1 as UnlockedKeyring, bw as Vault, ba as DiffEntry } from './types-Df28QFKb.js';
2
+ export { bR as AccessibleVault, bS as AffectedDocument, b7 as AppendInput, aP as ArrayOutputSpec, z as BLOB_CHUNKS_COLLECTION, A as BLOB_COLLECTION, E as BLOB_INDEX_COLLECTION, F as BLOB_SLOTS_PREFIX, G as BLOB_VERSIONS_PREFIX, bT as BUNDLE_STORE_POLICY, M as BlobObject, N as BlobPutOptions, Q as BlobResponseOptions, T as BlobSet, bU as BuiltInGateName, bt as BundleRecipient, a9 as CONSENT_AUDIT_COLLECTION, bV as CacheOptions, bW as CacheStats, bX as ChangeEvent, b8 as ChangeType, ai as ClosePeriodOptions, aY as Collection, bY as CollectionChangeEvent, bZ as CollectionConflictResolver, b_ as CollectionDescriptor, az as CollectionFrame, b9 as CollectionInstant, b$ as CollectionStats, c0 as Conflict, c1 as ConflictPolicy, c2 as ConflictStrategy, aa as ConsentAuditEntry, ab as ConsentAuditFilter, ac as ConsentContext, ad as ConsentOp, c3 as CrossTierAccessEvent, Y as DEFAULT_CHUNK_SIZE, c4 as DEFAULT_PUBLIC_ENVELOPE_SCHEMA, c5 as DELEGATIONS_COLLECTION, D as DICT_COLLECTION_PREFIX, c6 as DeepPartial, c7 as DeepPartialOrNull, c8 as DelegationToken, c9 as DeleteManyResult, ca as DerivationDescriptor, aN as DerivationStrategy, aR as DerivationStrategyHandle, aS as DerivedFromMeta, a as DictEntry, b as DictKeyDescriptor, c as DictionaryHandle, d as DictionaryOptions, cb as DirtyEntry, cc as DryRunResult, cd as DumpSchemaOptions, ce as ELEVATION_AUDIT_COLLECTION, cf as ElevatedHandle, b5 as EncryptedEnvelope, cg as EnrollAuthenticatorOptions, ch as EnrollAuthenticatorWrappingDEKsOptions, ci as EnrollAuthenticatorWrappingKEKOptions, cj as EnrollRecoveryResult, ck as ExportCapability, cl as ExportChunk, cm as ExportFormat, cn as ExportStreamOptions, co as FactorKind, cp as FactorProofBundle, cq as FactorRequirement, cr as FenceDoc, cs as FenceState, ct as FieldChange, cu as FieldDescriptor, cv as FieldSource, cw as GhostRecord, cx as GrantOptions, at as GuardChange, au as GuardContext, as as GuardStrategy, aw as GuardStrategyHandle, cy as GuardViolation, cz as HistoryConfig, cA as HistoryEntry, b4 as HistoryOptions, e as I18nMap, f as I18nTextDescriptor, g as I18nTextOptions, cB as INDEXED_STORE_POLICY, cC as ImportCapability, cD as InferOutput, cE as InternalCollectionStats, cF as IssueDelegationOptions, cG as IssueMagicLinkGrantOptions, bb as JsonPatch, bc as JsonPatchOp, cH as KeyringAuthenticator, cI as KeyringAuthenticatorWrappingDEKs, cJ as KeyringAuthenticatorWrappingKEK, cK as KeyringFile, L as Layer, bd as LedgerEntry, be as LedgerStore, cL as ListAccessibleVaultsOptions, cM as ListPageResult, cN as ListUsersOptions, cO as LiveUserEnvelope, cP as LocaleReadOptions, cQ as Lru, cR as LruOptions, cS as LruStats, cT as MAGIC_LINK_CONTENT_INFO_PREFIX, cU as MAGIC_LINK_GRANTS_COLLECTION, cV as MAGIC_LINK_KEK_INFO_PREFIX, cW as MagicLinkGrantPayload, cX as MagicLinkGrantRecord, bC as MaterializedFromMeta, cY as MaterializedViewDescriptor, bD as MaterializedViewOutput, aV as MaterializedViewStrategy, aW as MaterializedViewStrategyHandle, cZ as MemoryRecipientSealer, c_ as MemorySealingKeyProvider, c$ as NOYDB_BACKUP_VERSION, d0 as NOYDB_FORMAT_VERSION, d1 as NOYDB_KEYRING_VERSION, d2 as NOYDB_SYNC_VERSION, d3 as Noydb, aB as NoydbBundleStore, d4 as NoydbEventMap, d5 as NoydbOptions, O as OnMissing, h as OnMissingPolicy, aj as OpenPeriodOptions, aT as OutputSpec, d6 as OverlayViewDescriptor, aX as OverlayedViewStrategy, a_ as OverlayedViewStrategyHandle, ak as PERIODS_COLLECTION, d7 as PUBLIC_ENVELOPE_FIELDS, d8 as PaperRecoveryDoc, d9 as PaperRecoveryEntry, da as PassphrasePolicy, db as PassphraseValidationResult, al as PeriodRecord, dc as Permission, dd as Permissions, de as PersistedSchemaKind, df as PlaintextTranslatorContext, dg as PlaintextTranslatorFn, P as PolicyEnforcer, dh as PresenceHandle, di as PresencePeer, b6 as PruneOptions, dj as PublicEnvelopeField, dk as PublicEnvelopeSchema, dl as PublicEnvelopeText, dm as PullMode, dn as PullOptions, dp as PullPolicy, dq as PullResult, dr as PushMode, ds as PushOptions, dt as PushPolicy, du as PushResult, dv as PutManyItemOptions, dw as PutManyOptions, dx as PutManyResult, dy as QueryAcrossOptions, dz as QueryAcrossResult, dA as QuickUnlockState, dB as QuickUnlockStore, dC as ReAuthOperation, bv as RecipientHint, bu as RecipientSealer, aU as RecordOutputSpec, dD as RecoverPassphraseInput, dE as RecoverPassphraseResult, dF as RecoverUserOptions, dG as RecoveryProof, R as ResolveI18nOptions, dH as ResolvedPublicEnvelopeSchema, aC as RetentionPolicy, dI as RevokeOptions, b0 as Role, dJ as RotatePassphraseInput, dK as RotateRecoveryOptions, dL as RotateRecoveryResult, dM as SEALED_PASSPHRASE_RECORD_ID, dN as SchemaDelta, dO as SchemaIntrospection, S as ScriptWarning, dP as SealedEnvelope, dQ as SealedPassphrase, bs as SealingKeyProvider, dR as SessionPolicy, dS as SetPublicEnvelopeInput, dT as ShamirRecoveryDoc, dU as ShamirRecoveryEntry, by as ShamirRecoveryProvider, a3 as SlotInfo, a4 as SlotRecord, dV as SlotRewrapCeremony, dW as SlotRewrapContext, aF as SnapshotMeta, dX as StandardSchemaV1, dY as StandardSchemaV1Issue, dZ as StandardSchemaV1SyncResult, d_ as StoreAuth, d$ as StoreAuthKind, e0 as StoreCapabilities, e1 as SyncEngine, e2 as SyncMetadata, e3 as SyncPolicy, e4 as SyncScheduler, e5 as SyncSchedulerStatus, e6 as SyncStatus, e7 as SyncTarget, e8 as SyncTargetRole, e9 as SyncTransaction, ea as SyncTransactionResult, eb as TabChannel, ec as TabCoordinationOptions, ed as TabLockManager, ee as TabPresence, ef as TabRole, eg as TierMode, eh as TranslatorAuditEntry, aJ as TxCollection, aK as TxContext, ei as TxOp, aL as TxVault, ej as USER_ENVELOPE_COLLECTION, ek as USER_ENVELOPE_MAX_BYTES, bE as UnionSource, el as Unsubscribe, em as UpdateAuthenticatorOptions, en as UpdateContext, eo as UpdateUserOptions, ep as UserApi, eq as UserEnvelopeCheckGate, er as UserEnvelopeOversizedError, es as UserEnvelopePresented, et as UserInfo, eu as VaultBackup, bf as VaultEngine, aA as VaultFrame, bg as VaultInstant, ev as VaultPolicyOnDisk, ew as VaultSchemaSnapshot, ex as VaultSnapshot, bh as VerifyResult, a5 as VersionRecord, ey as WarningRules, ez as WeakPassphraseError, eA as WeakPassphraseReason, eB as WrappedDeksBlob, eC as WriteConflict, eD as WriteEvent, eE as WriteHook, eF as WriteQueue, i as applyI18nLocale, bi as applyPatch, eG as assertStrongPassphrase, eH as buildRecipientKeyringFile, eI as burnPaperRecoveryEntry, bj as canonicalJson, bk as computePatch, x as createEnforcer, eJ as createNoydb, eK as createStore, eL as deriveMagicLinkContentKey, j as dictCollectionName, k as dictKey, bl as diff, l as enforceScript, eM as enrollAuthenticator, eN as estimateEntropy, eO as evaluateExportCapability, eP as evaluateImportCapability, eQ as findAuthenticator, bm as formatDiff, eR as hasExportCapability, eS as hasImportCapability, eT as hasRecoveryEnrolled, bn as hashEntry, n as i18nText, o as inferScripts, p as isDictCollectionName, q as isDictKeyDescriptor, r as isI18nTextDescriptor, eU as isMagicLinkGrantExpired, eV as isPublicEnvelope, eW as issueDelegation, eX as keyringRecoverPassphrase, eY as keyringRotatePassphrase, eZ as listMagicLinkGrants, e_ as listUsers, e$ as listUsersWithEnvelopes, f0 as loadActiveDelegations, f1 as loadPaperRecoveryEntries, f2 as loadSealedPassphrase, f3 as loadShamirRecoveryEntries, f4 as magicLinkGrantRecordId, f5 as mintPaperRecoveryEntry, f6 as mintShamirRecoveryEntry, f7 as mintWrappedDeksBlob, bo as paddedIndex, bp as parseIndex, f8 as parseSealedEnvelope, f9 as readMagicLinkGrantRecord, fa as recoverUser, fb as removeAuthenticator, s as resolveI18nText, t as resolvePolicy, fc as resolvePublicEnvelopeSchema, fd as revokeDelegation, fe as revokeMagicLinkGrant, aM as runTransaction, ff as savePaperRecoveryEntries, fg as saveSealedPassphrase, fh as saveShamirRecoveryEntries, bq as sha256Hex, fi as unwrapDeksFromBlob, fj as unwrapDeksFromPaperEntry, fk as unwrapDeksFromShamirEntry, fl as unwrapMagicLinkGrant, v as validateI18nTextValue, fm as validatePassphrase, fn as validatePublicEnvelopeInput, fo as validateSchemaInput, fp as validateSchemaOutput, y as validateSessionPolicy, fq as writeMagicLinkGrant } from './types-Df28QFKb.js';
3
3
  export { d as detectMagic, a as detectMimeType, i as isPreCompressed } from './mime-magic-CBBSOkjm.js';
4
4
  export { AgeRoute, BlobLifecyclePolicy, BlobStoreRoute, CircuitBreakerOptions, HealthCheckOptions, LogLevel, LoggingOptions, MetricsOptions, OverrideOptions, OverrideTarget, RetryOptions, RouteStatus, RouteStoreOptions, RoutedNoydbStore, StoreCacheOptions, StoreMiddleware, StoreOperation, SuspendOptions, WrapBundleStoreOptions, WrappedBundleNoydbStore, createBundleStore, routeStore, withCache, withCircuitBreaker, withHealthCheck, withLogging, withMetrics, withRetry, wrapBundleStore, wrapStore } from './store/index.js';
5
5
  import { N as NoydbError } from './index-D8I_pyJD.js';
6
6
  export { z as AlreadyElevatedError, A as AmendmentForbiddenError, o as AttestationError, B as BackupCorruptedError, q as BackupLedgerError, r as BundleIntegrityError, s as BundleSealMismatchError, t as BundleVersionConflictError, C as ConflictError, E as CrossJoinSourceUnknownError, G as CrossJoinTooLargeError, H as DEFAULT_CROSS_JOIN_MAX_ROWS, J as DEFAULT_JOIN_MAX_ROWS, K as DanglingReferenceError, U as DecryptionError, V as DelegationTargetMissingError, g as DerivationCapExceededError, h as DerivationCycleError, i as DerivationDepthError, j as DerivationOutputShapeError, k as DerivationOutputUnknownError, D as DictKeyInUseError, a as DictKeyMissingError, W as DirectoryDisabledError, X as ElevationExpiredError, Y as ExportCapabilityError, F as FieldFrozenError, Z as FilenameSanitizationError, _ as GroupCardinalityError, $ as ImportCapabilityError, a0 as IndexRequiredError, a1 as IndexWriteFailureError, a2 as InvalidKeyError, I as InvariantError, a3 as JoinContext, a4 as JoinLeg, a5 as JoinStrategy, a6 as JoinTooLargeError, a7 as JoinableSource, a8 as KeyringCorruptError, a9 as KeyringExpiredError, aa as LedgerContentionError, ab as LiveQuery, ac as LiveUpstream, L as LocaleNotSpecifiedError, v as MaterializedViewConfigError, w as MaterializedViewCycleError, x as MaterializedViewSourceUnknownError, y as MaterializedViewTooLargeError, ad as MigrationRequiredError, M as MissingTranslationError, ae as NetworkError, af as NoAccessError, ag as NonAdditiveSchemaChangeError, ah as NotFoundError, ai as OrderBy, O as OverlayBaseIsVirtualError, l as OverlayCollectionUnavailableError, m as OverlayIdMismatchError, n as OverlayNameCollisionError, aj as PathEscapeError, ak as PeriodClosedError, al as PermissionDeniedError, am as PrivilegeEscalationError, Q as Query, an as QueryPlan, ao as QuerySource, ap as QuiesceTimeoutError, aq as ReadOnlyAtInstantError, ar as ReadOnlyError, as as ReadOnlyFrameError, e as RecordLockedError, at as RefDescriptor, au as RefIntegrityError, av as RefMode, aw as RefRegistry, ax as RefScopeError, ay as RefViolation, R as ReservedCollectionNameError, az as ScanBuilder, aA as ScanPageProvider, aB as SchemaFenceError, aC as SchemaLockedError, aD as SchemaUpdateError, aE as SchemaValidationError, S as ScriptViolationError, b as SessionExpiredError, c as SessionNotFoundError, d as SessionPolicyError, f as SnapshotNotFoundError, aF as StoreCapabilityError, aG as TamperedError, aH as TierDemoteDeniedError, aI as TierNotGrantedError, T as TranslatorNotConfiguredError, aJ as ValidationError, aK as applyJoins, aL as buildLiveQuery, aM as executePlan, aN as ref, aO as resetJoinWarnings } from './index-D8I_pyJD.js';
7
- export { A as AutoCredential, n as AutoCredentialKind, c as CompressionAlgo, N as NOYDB_BUNDLE_FORMAT_VERSION, e as NOYDB_BUNDLE_MAGIC, f as NOYDB_BUNDLE_PREFIX_BYTES, g as NoydbBundleHeader, h as NoydbBundleReadResult, R as ReadNoydbBundleOptions, W as WriteNoydbBundleOptions, j as generateULID, o as hasNoydbBundleMagic, k as isULID, r as readNoydbBundle, l as readNoydbBundleHeader, p as readNoydbBundlePublicEnvelope, m as resetBrotliSupportCache, w as writeNoydbBundle } from './ulid-BFJkYRRW.js';
7
+ export { A as AutoCredential, n as AutoCredentialKind, c as CompressionAlgo, N as NOYDB_BUNDLE_FORMAT_VERSION, e as NOYDB_BUNDLE_MAGIC, f as NOYDB_BUNDLE_PREFIX_BYTES, g as NoydbBundleHeader, h as NoydbBundleReadResult, R as ReadNoydbBundleOptions, W as WriteNoydbBundleOptions, j as generateULID, o as hasNoydbBundleMagic, k as isULID, r as readNoydbBundle, l as readNoydbBundleHeader, p as readNoydbBundlePublicEnvelope, m as resetBrotliSupportCache, w as writeNoydbBundle } from './ulid-CJ8RzRrm.js';
8
8
  export { a as CrdtMode, b as CrdtState, L as LwwMapState, R as RgaState, Y as YjsState, m as mergeCrdtStates, r as resolveCrdtSnapshot } from './strategy-BSxFXGzb.js';
9
- export { w as withGuard } from './with-guard-0KksDtSR.js';
10
- export { w as withDerivation } from './with-derivation-DfOpKjFw.js';
11
- export { w as withMaterializedView } from './with-materialized-view-BiasFcYx.js';
9
+ export { w as withGuard } from './with-guard-qube6BMI.js';
10
+ export { w as withDerivation } from './with-derivation-DFnFByiQ.js';
11
+ export { w as withMaterializedView } from './with-materialized-view-BLkQxoQN.js';
12
12
  export { a as Clause, C as CollectionIndexes, F as FieldClause, b as FilterClause, G as GroupClause, H as HashIndex, I as IndexDef, O as Operator, e as evaluateClause, c as evaluateFieldClause, r as readPath } from './predicate-BSAGEyu5.js';
13
- export { w as withOverlayedView } from './with-overlayed-view-CQViuko_.js';
13
+ export { w as withOverlayedView } from './with-overlayed-view-CRsSEwHR.js';
14
14
  export { SYNC_CREDENTIALS_COLLECTION, SyncCredential, credentialStatus, deleteCredential, getCredential, listCredentials, putCredential } from './team/index.js';
15
- export { C as CreateSessionOptions, a as CreateSessionResult, D as DevUnlockOptions, S as SessionToken, b as activeSessionCount, c as clearDevUnlock, d as createSession, e as enableDevUnlock, i as isDevUnlockActive, f as isSessionAlive, l as loadDevUnlock, r as resolveSession, g as revokeAllSessions, h as revokeSession } from './dev-unlock-p3ysikWP.js';
15
+ export { C as CreateSessionOptions, a as CreateSessionResult, D as DevUnlockOptions, S as SessionToken, b as activeSessionCount, c as clearDevUnlock, d as createSession, e as enableDevUnlock, i as isDevUnlockActive, f as isSessionAlive, l as loadDevUnlock, r as resolveSession, g as revokeAllSessions, h as revokeSession } from './dev-unlock-B4kDxep_.js';
16
16
  export { a as AggregateResult, b as AggregateSpec, c as Aggregation, d as AggregationUpstream, G as GROUPBY_MAX_CARDINALITY, e as GROUPBY_WARN_CARDINALITY, f as GroupedAggregation, g as GroupedQuery, h as GroupedQueryN, i as GroupedRow, j as GroupedRowN, L as LiveAggregation, R as Reducer, k as ReducerOptions, l as avg, n as count, o as groupAndReduce, p as max, q as min, r as reduceRecords, t as sum } from './strategy-DSTrsZ8t.js';
17
- export { L as LEDGER_COLLECTION, a as LEDGER_DELTAS_COLLECTION, e as envelopePayloadHash } from './hash-C1GtiOhR.js';
17
+ export { L as LEDGER_COLLECTION, a as LEDGER_DELTAS_COLLECTION, e as envelopePayloadHash } from './hash-HJqD14vS.js';
18
18
  import './lazy-builder-7tIpFyWN.js';
19
19
  import '@noy-db/attestation';
20
20
 
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ import {
39
39
  saveVaultPolicy,
40
40
  validateSchemaInput,
41
41
  validateSchemaOutput
42
- } from "./chunk-6774ZOQ7.js";
42
+ } from "./chunk-6CME4UEK.js";
43
43
  import {
44
44
  DEFAULT_PUBLIC_ENVELOPE_SCHEMA,
45
45
  PUBLIC_ENVELOPE_FIELDS,
@@ -1,6 +1,6 @@
1
- export { w as withMaterializedView } from '../with-materialized-view-BmDKyHrm.cjs';
2
- import { aW as Collection, aI as TxContext, bx as MVQueryContext, by as RegisteredMV, bz as MaterializedViewRegistry } from '../types-DjunxzJa.cjs';
3
- export { bA as MaterializedFromMeta, bB as MaterializedViewOutput, aT as MaterializedViewStrategy, aU as MaterializedViewStrategyHandle, bC as UnionSource } from '../types-DjunxzJa.cjs';
1
+ export { w as withMaterializedView } from '../with-materialized-view-BmEToIR1.cjs';
2
+ import { aY as Collection, aK as TxContext, bz as MVQueryContext, bA as RegisteredMV, bB as MaterializedViewRegistry } from '../types-DyXYr8rE.cjs';
3
+ export { bC as MaterializedFromMeta, bD as MaterializedViewOutput, aV as MaterializedViewStrategy, aW as MaterializedViewStrategyHandle, bE as UnionSource } from '../types-DyXYr8rE.cjs';
4
4
  import { Q as Query } from '../index-4fBVt8j9.cjs';
5
5
  export { v as MaterializedViewConfigError, w as MaterializedViewCycleError, x as MaterializedViewSourceUnknownError, y as MaterializedViewTooLargeError } from '../index-4fBVt8j9.cjs';
6
6
  import '../lazy-builder-wY4pMCEe.cjs';
@@ -1,6 +1,6 @@
1
- export { w as withMaterializedView } from '../with-materialized-view-BiasFcYx.js';
2
- import { aW as Collection, aI as TxContext, bx as MVQueryContext, by as RegisteredMV, bz as MaterializedViewRegistry } from '../types-DGU60JDt.js';
3
- export { bA as MaterializedFromMeta, bB as MaterializedViewOutput, aT as MaterializedViewStrategy, aU as MaterializedViewStrategyHandle, bC as UnionSource } from '../types-DGU60JDt.js';
1
+ export { w as withMaterializedView } from '../with-materialized-view-BLkQxoQN.js';
2
+ import { aY as Collection, aK as TxContext, bz as MVQueryContext, bA as RegisteredMV, bB as MaterializedViewRegistry } from '../types-Df28QFKb.js';
3
+ export { bC as MaterializedFromMeta, bD as MaterializedViewOutput, aV as MaterializedViewStrategy, aW as MaterializedViewStrategyHandle, bE as UnionSource } from '../types-Df28QFKb.js';
4
4
  import { Q as Query } from '../index-D8I_pyJD.js';
5
5
  export { v as MaterializedViewConfigError, w as MaterializedViewCycleError, x as MaterializedViewSourceUnknownError, y as MaterializedViewTooLargeError } from '../index-D8I_pyJD.js';
6
6
  import '../lazy-builder-7tIpFyWN.js';
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Noydb,
3
3
  createNoydb
4
- } from "./chunk-6774ZOQ7.js";
4
+ } from "./chunk-6CME4UEK.js";
5
5
  import "./chunk-EMIGCR7X.js";
6
6
  import "./chunk-TFBP23BX.js";
7
7
  import "./chunk-DJHHA6XH.js";
@@ -31,4 +31,4 @@ export {
31
31
  Noydb,
32
32
  createNoydb
33
33
  };
34
- //# sourceMappingURL=noydb-LZBH3XDK.js.map
34
+ //# sourceMappingURL=noydb-G725ZSZG.js.map
@@ -1,6 +1,6 @@
1
- export { w as withOverlayedView } from '../with-overlayed-view-CA66vhHz.cjs';
2
- import { aV as OverlayedViewStrategy, aW as Collection } from '../types-DjunxzJa.cjs';
3
- export { aX as OverlayedViewRegistry, aY as OverlayedViewStrategyHandle } from '../types-DjunxzJa.cjs';
1
+ export { w as withOverlayedView } from '../with-overlayed-view-BMsQQbWm.cjs';
2
+ import { aX as OverlayedViewStrategy, aY as Collection } from '../types-DyXYr8rE.cjs';
3
+ export { aZ as OverlayedViewRegistry, a_ as OverlayedViewStrategyHandle } from '../types-DyXYr8rE.cjs';
4
4
  export { O as OverlayBaseIsVirtualError, l as OverlayCollectionUnavailableError, m as OverlayIdMismatchError, n as OverlayNameCollisionError } from '../index-4fBVt8j9.cjs';
5
5
  import '../lazy-builder-wY4pMCEe.cjs';
6
6
  import '../predicate-BSAGEyu5.cjs';
@@ -1,6 +1,6 @@
1
- export { w as withOverlayedView } from '../with-overlayed-view-CQViuko_.js';
2
- import { aV as OverlayedViewStrategy, aW as Collection } from '../types-DGU60JDt.js';
3
- export { aX as OverlayedViewRegistry, aY as OverlayedViewStrategyHandle } from '../types-DGU60JDt.js';
1
+ export { w as withOverlayedView } from '../with-overlayed-view-CRsSEwHR.js';
2
+ import { aX as OverlayedViewStrategy, aY as Collection } from '../types-Df28QFKb.js';
3
+ export { aZ as OverlayedViewRegistry, a_ as OverlayedViewStrategyHandle } from '../types-Df28QFKb.js';
4
4
  export { O as OverlayBaseIsVirtualError, l as OverlayCollectionUnavailableError, m as OverlayIdMismatchError, n as OverlayNameCollisionError } from '../index-D8I_pyJD.js';
5
5
  import '../lazy-builder-7tIpFyWN.js';
6
6
  import '../predicate-BSAGEyu5.js';
@@ -1,5 +1,5 @@
1
- import { ag as PeriodsStrategy } from '../types-DjunxzJa.cjs';
2
- export { ah as CarryForwardContext, ai as ClosePeriodOptions, aj as OpenPeriodOptions, ak as PERIODS_COLLECTION, al as PeriodRecord, am as ReadOnlyCollection, an as appendPeriodLedgerEntry, ao as assertTsWritable, ap as chainAnchor, aq as loadPeriods, ar as validatePeriodName } from '../types-DjunxzJa.cjs';
1
+ import { ag as PeriodsStrategy } from '../types-DyXYr8rE.cjs';
2
+ export { ah as CarryForwardContext, ai as ClosePeriodOptions, aj as OpenPeriodOptions, ak as PERIODS_COLLECTION, al as PeriodRecord, am as ReadOnlyCollection, an as appendPeriodLedgerEntry, ao as assertTsWritable, ap as chainAnchor, aq as loadPeriods, ar as validatePeriodName } from '../types-DyXYr8rE.cjs';
3
3
  import '../lazy-builder-wY4pMCEe.cjs';
4
4
  import '../predicate-BSAGEyu5.cjs';
5
5
  import '../strategy-DSTrsZ8t.cjs';
@@ -1,5 +1,5 @@
1
- import { ag as PeriodsStrategy } from '../types-DGU60JDt.js';
2
- export { ah as CarryForwardContext, ai as ClosePeriodOptions, aj as OpenPeriodOptions, ak as PERIODS_COLLECTION, al as PeriodRecord, am as ReadOnlyCollection, an as appendPeriodLedgerEntry, ao as assertTsWritable, ap as chainAnchor, aq as loadPeriods, ar as validatePeriodName } from '../types-DGU60JDt.js';
1
+ import { ag as PeriodsStrategy } from '../types-Df28QFKb.js';
2
+ export { ah as CarryForwardContext, ai as ClosePeriodOptions, aj as OpenPeriodOptions, ak as PERIODS_COLLECTION, al as PeriodRecord, am as ReadOnlyCollection, an as appendPeriodLedgerEntry, ao as assertTsWritable, ap as chainAnchor, aq as loadPeriods, ar as validatePeriodName } from '../types-Df28QFKb.js';
3
3
  import '../lazy-builder-7tIpFyWN.js';
4
4
  import '../predicate-BSAGEyu5.js';
5
5
  import '../strategy-DSTrsZ8t.js';
@@ -1,6 +1,6 @@
1
- export { C as CreateSessionOptions, a as CreateSessionResult, D as DevUnlockOptions, S as SessionToken, b as activeSessionCount, c as clearDevUnlock, d as createSession, e as enableDevUnlock, i as isDevUnlockActive, f as isSessionAlive, l as loadDevUnlock, r as resolveSession, g as revokeAllSessions, h as revokeSession } from '../dev-unlock-M4VAWNq_.cjs';
2
- import { w as SessionStrategy } from '../types-DjunxzJa.cjs';
3
- export { P as PolicyEnforcer, x as createEnforcer, y as validateSessionPolicy } from '../types-DjunxzJa.cjs';
1
+ export { C as CreateSessionOptions, a as CreateSessionResult, D as DevUnlockOptions, S as SessionToken, b as activeSessionCount, c as clearDevUnlock, d as createSession, e as enableDevUnlock, i as isDevUnlockActive, f as isSessionAlive, l as loadDevUnlock, r as resolveSession, g as revokeAllSessions, h as revokeSession } from '../dev-unlock-BIoEFbwm.cjs';
2
+ import { w as SessionStrategy } from '../types-DyXYr8rE.cjs';
3
+ export { P as PolicyEnforcer, x as createEnforcer, y as validateSessionPolicy } from '../types-DyXYr8rE.cjs';
4
4
  export { b as SessionExpiredError, c as SessionNotFoundError, d as SessionPolicyError } from '../index-4fBVt8j9.cjs';
5
5
  import '../lazy-builder-wY4pMCEe.cjs';
6
6
  import '../predicate-BSAGEyu5.cjs';
@@ -1,6 +1,6 @@
1
- export { C as CreateSessionOptions, a as CreateSessionResult, D as DevUnlockOptions, S as SessionToken, b as activeSessionCount, c as clearDevUnlock, d as createSession, e as enableDevUnlock, i as isDevUnlockActive, f as isSessionAlive, l as loadDevUnlock, r as resolveSession, g as revokeAllSessions, h as revokeSession } from '../dev-unlock-p3ysikWP.js';
2
- import { w as SessionStrategy } from '../types-DGU60JDt.js';
3
- export { P as PolicyEnforcer, x as createEnforcer, y as validateSessionPolicy } from '../types-DGU60JDt.js';
1
+ export { C as CreateSessionOptions, a as CreateSessionResult, D as DevUnlockOptions, S as SessionToken, b as activeSessionCount, c as clearDevUnlock, d as createSession, e as enableDevUnlock, i as isDevUnlockActive, f as isSessionAlive, l as loadDevUnlock, r as resolveSession, g as revokeAllSessions, h as revokeSession } from '../dev-unlock-B4kDxep_.js';
2
+ import { w as SessionStrategy } from '../types-Df28QFKb.js';
3
+ export { P as PolicyEnforcer, x as createEnforcer, y as validateSessionPolicy } from '../types-Df28QFKb.js';
4
4
  export { b as SessionExpiredError, c as SessionNotFoundError, d as SessionPolicyError } from '../index-D8I_pyJD.js';
5
5
  import '../lazy-builder-7tIpFyWN.js';
6
6
  import '../predicate-BSAGEyu5.js';
@@ -1,5 +1,5 @@
1
- import { ay as ShadowStrategy } from '../types-DjunxzJa.cjs';
2
- export { az as CollectionFrame, aA as VaultFrame } from '../types-DjunxzJa.cjs';
1
+ import { ay as ShadowStrategy } from '../types-DyXYr8rE.cjs';
2
+ export { az as CollectionFrame, aA as VaultFrame } from '../types-DyXYr8rE.cjs';
3
3
  import '../lazy-builder-wY4pMCEe.cjs';
4
4
  import '../predicate-BSAGEyu5.cjs';
5
5
  import '../strategy-DSTrsZ8t.cjs';
@@ -1,5 +1,5 @@
1
- import { ay as ShadowStrategy } from '../types-DGU60JDt.js';
2
- export { az as CollectionFrame, aA as VaultFrame } from '../types-DGU60JDt.js';
1
+ import { ay as ShadowStrategy } from '../types-Df28QFKb.js';
2
+ export { az as CollectionFrame, aA as VaultFrame } from '../types-Df28QFKb.js';
3
3
  import '../lazy-builder-7tIpFyWN.js';
4
4
  import '../predicate-BSAGEyu5.js';
5
5
  import '../strategy-DSTrsZ8t.js';
@@ -806,6 +806,9 @@ var SnapshotEngine = class {
806
806
  snapKey(vaultName, n) {
807
807
  return `${vaultName}__snap_${n.toString().padStart(6, "0")}`;
808
808
  }
809
+ autoKey(vaultName) {
810
+ return `${vaultName}__auto`;
811
+ }
809
812
  async readIndex(vaultName) {
810
813
  const result = await this.store.readBundle(this.indexKey(vaultName));
811
814
  if (!result) return { index: { snapshots: [], nextCounter: 1 }, indexVersion: null };
@@ -832,7 +835,9 @@ var SnapshotEngine = class {
832
835
  };
833
836
  const newIndex = {
834
837
  snapshots: [...index.snapshots, meta],
835
- nextCounter: index.nextCounter + 1
838
+ nextCounter: index.nextCounter + 1,
839
+ // Preserve the rolling auto slot — on-demand snapshots never touch it.
840
+ ...index.auto ? { auto: index.auto } : {}
836
841
  };
837
842
  const toDelete = this.applyRetention(newIndex);
838
843
  await this.writeIndex(vault.name, newIndex, indexVersion);
@@ -841,9 +846,34 @@ var SnapshotEngine = class {
841
846
  }
842
847
  return meta;
843
848
  }
849
+ /**
850
+ * Rolling auto-snapshot. Overwrites the single fixed `<vault>__auto` key and
851
+ * stores its meta in `index.auto`, separate from the immutable `snapshots`
852
+ * pool — retention never prunes it. Used by the cadence scheduler.
853
+ */
854
+ async autoSnapshot(vault, by, opts) {
855
+ const bytes = await writeNoydbBundle(vault, {});
856
+ const { index, indexVersion } = await this.readIndex(vault.name);
857
+ const key = this.autoKey(vault.name);
858
+ await this.store.writeBundle(key, bytes, null);
859
+ const meta = {
860
+ version: key,
861
+ label: opts?.label ?? "auto",
862
+ ...opts?.note !== void 0 ? { note: opts.note } : {},
863
+ exportedAt: (/* @__PURE__ */ new Date()).toISOString(),
864
+ exportedBy: by,
865
+ size: bytes.length,
866
+ integrity: "verified",
867
+ auto: true
868
+ };
869
+ index.auto = meta;
870
+ await this.writeIndex(vault.name, index, indexVersion);
871
+ return meta;
872
+ }
844
873
  async listSnapshots(vaultId) {
845
874
  const { index } = await this.readIndex(vaultId);
846
- return [...index.snapshots].reverse();
875
+ const immutable = [...index.snapshots].reverse();
876
+ return index.auto ? [index.auto, ...immutable] : immutable;
847
877
  }
848
878
  async restoreSnapshot(vault, version) {
849
879
  if (!version.startsWith(`${vault.name}__`)) throw new SnapshotNotFoundError(version);
@@ -892,7 +922,11 @@ function withSnapshots(opts) {
892
922
  },
893
923
  restoreSnapshot(vault, version) {
894
924
  return engine.restoreSnapshot(vault, version);
895
- }
925
+ },
926
+ autoSnapshot(vault, by, snapOpts) {
927
+ return engine.autoSnapshot(vault, by, snapOpts);
928
+ },
929
+ ...opts.snapshotPolicy ? { policy: opts.snapshotPolicy } : {}
896
930
  };
897
931
  }
898
932
  // Annotate the CommonJS export names for ESM import in node: