@tearleads/client-sdk 0.0.0-stage → 0.1.11
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 +92 -2
- package/client/Tearleads.d.ts +107 -0
- package/client/Tearleads.js +259 -0
- package/client/Tearleads.js.map +1 -0
- package/client/apiVersion.d.ts +17 -0
- package/client/apiVersion.js +27 -0
- package/client/apiVersion.js.map +1 -0
- package/client/billing/directCheckout.d.ts +86 -0
- package/client/billing/directCheckout.js +35 -0
- package/client/billing/directCheckout.js.map +1 -0
- package/client/billing/purchaseErrors.d.ts +24 -0
- package/client/billing/purchaseErrors.js +43 -0
- package/client/billing/purchaseErrors.js.map +1 -0
- package/client/billing/purchases.d.ts +177 -0
- package/client/billing/purchases.js +165 -0
- package/client/billing/purchases.js.map +1 -0
- package/client/billing/revenueCatCheckoutGate.js +71 -0
- package/client/billing/revenueCatCheckoutGate.js.map +1 -0
- package/client/billing/revenueCatErrors.js +122 -0
- package/client/billing/revenueCatErrors.js.map +1 -0
- package/client/billing/revenueCatIdentity.js +387 -0
- package/client/billing/revenueCatIdentity.js.map +1 -0
- package/client/billing/revenueCatIdentityTypes.js +2 -0
- package/client/billing/revenueCatIdentityTypes.js.map +1 -0
- package/client/billing/revenueCatNativeSubscriptionMove.js +74 -0
- package/client/billing/revenueCatNativeSubscriptionMove.js.map +1 -0
- package/client/billing/revenueCatProviderPhase.js +34 -0
- package/client/billing/revenueCatProviderPhase.js.map +1 -0
- package/client/billing/revenueCatProviderSettlement.js +19 -0
- package/client/billing/revenueCatProviderSettlement.js.map +1 -0
- package/client/billing/revenueCatPurchaseErrorNormalization.js +26 -0
- package/client/billing/revenueCatPurchaseErrorNormalization.js.map +1 -0
- package/client/billing/revenueCatPurchasePreparation.js +18 -0
- package/client/billing/revenueCatPurchasePreparation.js.map +1 -0
- package/client/billing/revenueCatTimeoutCoordinator.js +144 -0
- package/client/billing/revenueCatTimeoutCoordinator.js.map +1 -0
- package/client/blobs.d.ts +13 -0
- package/client/blobs.js +33 -0
- package/client/blobs.js.map +1 -0
- package/client/containerContents.d.ts +15 -0
- package/client/containerContents.js +217 -0
- package/client/containerContents.js.map +1 -0
- package/client/containerContentsTypes.d.ts +230 -0
- package/client/containerContentsTypes.js +2 -0
- package/client/containerContentsTypes.js.map +1 -0
- package/client/containerDocumentDiscovery.js +48 -0
- package/client/containerDocumentDiscovery.js.map +1 -0
- package/client/database.d.ts +32 -0
- package/client/database.js +77 -0
- package/client/database.js.map +1 -0
- package/client/deviceFirst.d.ts +33 -0
- package/client/deviceFirst.js +204 -0
- package/client/deviceFirst.js.map +1 -0
- package/client/documents.d.ts +39 -0
- package/client/documents.js +76 -0
- package/client/documents.js.map +1 -0
- package/client/events.d.ts +29 -0
- package/client/events.js +60 -0
- package/client/events.js.map +1 -0
- package/client/fileSaver.d.ts +44 -0
- package/client/fileSaver.js +20 -0
- package/client/fileSaver.js.map +1 -0
- package/client/identity.d.ts +50 -0
- package/client/identity.js +163 -0
- package/client/identity.js.map +1 -0
- package/client/identityKeyPackage.d.ts +30 -0
- package/client/identityKeyPackage.js +201 -0
- package/client/identityKeyPackage.js.map +1 -0
- package/client/index.d.ts +29 -0
- package/client/index.js +17 -0
- package/client/index.js.map +1 -0
- package/client/listenerSet.js +27 -0
- package/client/listenerSet.js.map +1 -0
- package/client/localKeyring/aesGcmWrapping.js +94 -0
- package/client/localKeyring/aesGcmWrapping.js.map +1 -0
- package/client/localKeyring/browser.d.ts +52 -0
- package/client/localKeyring/browser.js +72 -0
- package/client/localKeyring/browser.js.map +1 -0
- package/client/localKeyring/envelope.d.ts +8 -0
- package/client/localKeyring/envelope.js +54 -0
- package/client/localKeyring/envelope.js.map +1 -0
- package/client/localKeyring/index.d.ts +25 -0
- package/client/localKeyring/index.js +14 -0
- package/client/localKeyring/index.js.map +1 -0
- package/client/localKeyring/indexedDbKeystore.d.ts +9 -0
- package/client/localKeyring/indexedDbKeystore.js +146 -0
- package/client/localKeyring/indexedDbKeystore.js.map +1 -0
- package/client/localKeyring/indexedDbManifestStore.d.ts +8 -0
- package/client/localKeyring/indexedDbManifestStore.js +85 -0
- package/client/localKeyring/indexedDbManifestStore.js.map +1 -0
- package/client/localKeyring/indexedDbStoreConnection.js +129 -0
- package/client/localKeyring/indexedDbStoreConnection.js.map +1 -0
- package/client/localKeyring/indexedDbWrappingKeyRecord.js +90 -0
- package/client/localKeyring/indexedDbWrappingKeyRecord.js.map +1 -0
- package/client/localKeyring/jsonReaders.d.ts +8 -0
- package/client/localKeyring/jsonReaders.js +47 -0
- package/client/localKeyring/jsonReaders.js.map +1 -0
- package/client/localKeyring/localKeyringPinCode.d.ts +18 -0
- package/client/localKeyring/localKeyringPinCode.js +142 -0
- package/client/localKeyring/localKeyringPinCode.js.map +1 -0
- package/client/localKeyring/localKeyringPinCodeSupport.d.ts +34 -0
- package/client/localKeyring/localKeyringPinCodeSupport.js +135 -0
- package/client/localKeyring/localKeyringPinCodeSupport.js.map +1 -0
- package/client/localKeyring/localStorageManifestStore.d.ts +6 -0
- package/client/localKeyring/localStorageManifestStore.js +34 -0
- package/client/localKeyring/localStorageManifestStore.js.map +1 -0
- package/client/localKeyring/manifest.d.ts +5 -0
- package/client/localKeyring/manifest.js +43 -0
- package/client/localKeyring/manifest.js.map +1 -0
- package/client/localKeyring/memory.d.ts +3 -0
- package/client/localKeyring/memory.js +64 -0
- package/client/localKeyring/memory.js.map +1 -0
- package/client/localKeyring/primitives.d.ts +4 -0
- package/client/localKeyring/primitives.js +18 -0
- package/client/localKeyring/primitives.js.map +1 -0
- package/client/localKeyring/rootKey.js +22 -0
- package/client/localKeyring/rootKey.js.map +1 -0
- package/client/localKeyring/scope.d.ts +8 -0
- package/client/localKeyring/scope.js +46 -0
- package/client/localKeyring/scope.js.map +1 -0
- package/client/localKeyring/service.d.ts +2 -0
- package/client/localKeyring/service.js +116 -0
- package/client/localKeyring/service.js.map +1 -0
- package/client/localKeyring/session.js +76 -0
- package/client/localKeyring/session.js.map +1 -0
- package/client/localKeyring/sqliteKey.d.ts +2 -0
- package/client/localKeyring/sqliteKey.js +9 -0
- package/client/localKeyring/sqliteKey.js.map +1 -0
- package/client/localKeyring/types.d.ts +106 -0
- package/client/localKeyring/types.js +3 -0
- package/client/localKeyring/types.js.map +1 -0
- package/client/logger.d.ts +5 -0
- package/client/logger.js +8 -0
- package/client/logger.js.map +1 -0
- package/client/network.d.ts +87 -0
- package/client/network.js +105 -0
- package/client/network.js.map +1 -0
- package/client/organizations/index.d.ts +46 -0
- package/client/organizations/index.js +201 -0
- package/client/organizations/index.js.map +1 -0
- package/client/organizations/organizationAccessRestoration.js +38 -0
- package/client/organizations/organizationAccessRestoration.js.map +1 -0
- package/client/organizations/organizationDataUsage.d.ts +8 -0
- package/client/organizations/organizationDataUsage.js +75 -0
- package/client/organizations/organizationDataUsage.js.map +1 -0
- package/client/organizations/organizationGroupNameHydration.js +28 -0
- package/client/organizations/organizationGroupNameHydration.js.map +1 -0
- package/client/organizations/organizationGroupPresentation.d.ts +21 -0
- package/client/organizations/organizationGroupPresentation.js +17 -0
- package/client/organizations/organizationGroupPresentation.js.map +1 -0
- package/client/organizations/organizationMetadataProfileSync.js +38 -0
- package/client/organizations/organizationMetadataProfileSync.js.map +1 -0
- package/client/organizations/organizationReadModels.d.ts +22 -0
- package/client/organizations/organizationReadModels.js +279 -0
- package/client/organizations/organizationReadModels.js.map +1 -0
- package/client/organizations/organizationWorkflowRuntime.js +37 -0
- package/client/organizations/organizationWorkflowRuntime.js.map +1 -0
- package/client/organizations/principalContainerMutations.js +27 -0
- package/client/organizations/principalContainerMutations.js.map +1 -0
- package/client/organizations/principalMutationScope.js +20 -0
- package/client/organizations/principalMutationScope.js.map +1 -0
- package/client/organizations/principalMutations.d.ts +891 -0
- package/client/organizations/principalMutations.js +194 -0
- package/client/organizations/principalMutations.js.map +1 -0
- package/client/root/index.d.ts +43 -0
- package/client/root/index.js +104 -0
- package/client/root/index.js.map +1 -0
- package/client/rootContainerAdoption.js +18 -0
- package/client/rootContainerAdoption.js.map +1 -0
- package/client/securityIncidents.d.ts +37 -0
- package/client/securityIncidents.js +287 -0
- package/client/securityIncidents.js.map +1 -0
- package/client/session/index.js +340 -0
- package/client/session/index.js.map +1 -0
- package/client/session/sessionContext.js +45 -0
- package/client/session/sessionContext.js.map +1 -0
- package/client/session/sessionIdentityTrust.d.ts +35 -0
- package/client/session/sessionIdentityTrust.js +62 -0
- package/client/session/sessionIdentityTrust.js.map +1 -0
- package/client/session/sessionListing.js +16 -0
- package/client/session/sessionListing.js.map +1 -0
- package/client/session/sessionLoginRefusal.js +16 -0
- package/client/session/sessionLoginRefusal.js.map +1 -0
- package/client/session/sessionOrganizationCreation.js +53 -0
- package/client/session/sessionOrganizationCreation.js.map +1 -0
- package/client/session/sessionPurgeRecovery.js +110 -0
- package/client/session/sessionPurgeRecovery.js.map +1 -0
- package/client/session/sessionRecoveryErrors.d.ts +9 -0
- package/client/session/sessionRecoveryErrors.js +15 -0
- package/client/session/sessionRecoveryErrors.js.map +1 -0
- package/client/session/sessionRootAuthority.js +84 -0
- package/client/session/sessionRootAuthority.js.map +1 -0
- package/client/session/sessionTypes.d.ts +153 -0
- package/client/session/sessionTypes.js +2 -0
- package/client/session/sessionTypes.js.map +1 -0
- package/client/syncBillingGate.d.ts +50 -0
- package/client/syncBillingGate.js +107 -0
- package/client/syncBillingGate.js.map +1 -0
- package/client/userIdentities.d.ts +16 -0
- package/client/userIdentities.js +32 -0
- package/client/userIdentities.js.map +1 -0
- package/client/workflowRuntime.d.ts +55 -0
- package/client/workflowRuntime.js +203 -0
- package/client/workflowRuntime.js.map +1 -0
- package/data/accessLevel.js +24 -0
- package/data/accessLevel.js.map +1 -0
- package/data/blobContracts.d.ts +19 -0
- package/data/blobContracts.js +88 -0
- package/data/blobContracts.js.map +1 -0
- package/data/blobs/createBlobStore.d.ts +2 -0
- package/data/blobs/createBlobStore.js +17 -0
- package/data/blobs/createBlobStore.js.map +1 -0
- package/data/blobs/encryptedBlobByteSource.js +133 -0
- package/data/blobs/encryptedBlobByteSource.js.map +1 -0
- package/data/blobs/encryptedBlobEnvelope.d.ts +53 -0
- package/data/blobs/encryptedBlobEnvelope.js +229 -0
- package/data/blobs/encryptedBlobEnvelope.js.map +1 -0
- package/data/blobs/encryptedBlobStore.d.ts +15 -0
- package/data/blobs/encryptedBlobStore.js +216 -0
- package/data/blobs/encryptedBlobStore.js.map +1 -0
- package/data/blobs/memoryBlobStore.d.ts +2 -0
- package/data/blobs/memoryBlobStore.js +25 -0
- package/data/blobs/memoryBlobStore.js.map +1 -0
- package/data/blobs/opfsBlobStore.d.ts +10 -0
- package/data/blobs/opfsBlobStore.js +126 -0
- package/data/blobs/opfsBlobStore.js.map +1 -0
- package/data/containers/containerBinding.d.ts +55 -0
- package/data/containers/containerBinding.js +51 -0
- package/data/containers/containerBinding.js.map +1 -0
- package/data/containers/containerMetadataDocument.d.ts +15 -0
- package/data/containers/containerMetadataDocument.js +43 -0
- package/data/containers/containerMetadataDocument.js.map +1 -0
- package/data/containers/shared/authorAccess.d.ts +15 -0
- package/data/containers/shared/authorAccess.js +25 -0
- package/data/containers/shared/authorAccess.js.map +1 -0
- package/data/containers/shared/containerPathLimits.d.ts +14 -0
- package/data/containers/shared/containerPathLimits.js +25 -0
- package/data/containers/shared/containerPathLimits.js.map +1 -0
- package/data/containers/shared/events.js +123 -0
- package/data/containers/shared/events.js.map +1 -0
- package/data/containers/shared/heldContainerHeads.js +124 -0
- package/data/containers/shared/heldContainerHeads.js.map +1 -0
- package/data/containers/shared/mutationAcknowledgement.js +187 -0
- package/data/containers/shared/mutationAcknowledgement.js.map +1 -0
- package/data/containers/shared/mutationFailures.js +51 -0
- package/data/containers/shared/mutationFailures.js.map +1 -0
- package/data/containers/shared/mutationRequestOptions.d.ts +4 -0
- package/data/containers/shared/mutationRequestOptions.js +2 -0
- package/data/containers/shared/mutationRequestOptions.js.map +1 -0
- package/data/containers/shared/principalPolicies.js +34 -0
- package/data/containers/shared/principalPolicies.js.map +1 -0
- package/data/containers/shared/projection.js +158 -0
- package/data/containers/shared/projection.js.map +1 -0
- package/data/containers/shared/readers.js +103 -0
- package/data/containers/shared/readers.js.map +1 -0
- package/data/containers/shared/reciteApi.d.ts +6 -0
- package/data/containers/shared/reciteApi.js +2 -0
- package/data/containers/shared/reciteApi.js.map +1 -0
- package/data/containers/shared/types.d.ts +231 -0
- package/data/containers/shared/types.js +2 -0
- package/data/containers/shared/types.js.map +1 -0
- package/data/crdtPeerSeed.js +167 -0
- package/data/crdtPeerSeed.js.map +1 -0
- package/data/documents/attachmentContentIdentity.js +17 -0
- package/data/documents/attachmentContentIdentity.js.map +1 -0
- package/data/documents/blob/shared/blobEnvelopeStream.js +58 -0
- package/data/documents/blob/shared/blobEnvelopeStream.js.map +1 -0
- package/data/documents/blob/shared/blobRecordCrypto.js +84 -0
- package/data/documents/blob/shared/blobRecordCrypto.js.map +1 -0
- package/data/documents/blob/shared/blobSourceSnapshot.d.ts +9 -0
- package/data/documents/blob/shared/blobSourceSnapshot.js +70 -0
- package/data/documents/blob/shared/blobSourceSnapshot.js.map +1 -0
- package/data/documents/blob/shared/chunkedBlobCrypto.js +174 -0
- package/data/documents/blob/shared/chunkedBlobCrypto.js.map +1 -0
- package/data/documents/blob/shared/crypto.js +3 -0
- package/data/documents/blob/shared/crypto.js.map +1 -0
- package/data/documents/blob/shared/events.js +85 -0
- package/data/documents/blob/shared/events.js.map +1 -0
- package/data/documents/blob/shared/projection.js +126 -0
- package/data/documents/blob/shared/projection.js.map +1 -0
- package/data/documents/blob/shared/readers.js +55 -0
- package/data/documents/blob/shared/readers.js.map +1 -0
- package/data/documents/blob/shared/responses.js +111 -0
- package/data/documents/blob/shared/responses.js.map +1 -0
- package/data/documents/blob/shared/types.d.ts +173 -0
- package/data/documents/blob/shared/types.js +7 -0
- package/data/documents/blob/shared/types.js.map +1 -0
- package/data/documents/documentConstants.d.ts +4 -0
- package/data/documents/documentConstants.js +12 -0
- package/data/documents/documentConstants.js.map +1 -0
- package/data/documents/documentContent.d.ts +15 -0
- package/data/documents/documentContent.js +124 -0
- package/data/documents/documentContent.js.map +1 -0
- package/data/documents/documentKinds.d.ts +100 -0
- package/data/documents/documentKinds.js +231 -0
- package/data/documents/documentKinds.js.map +1 -0
- package/data/documents/documentRowList.d.ts +31 -0
- package/data/documents/documentRowList.js +162 -0
- package/data/documents/documentRowList.js.map +1 -0
- package/data/documents/documentSummary.d.ts +24 -0
- package/data/documents/documentSummary.js +5 -0
- package/data/documents/documentSummary.js.map +1 -0
- package/data/documents/documentSync.js +68 -0
- package/data/documents/documentSync.js.map +1 -0
- package/data/documents/editAttribution.d.ts +77 -0
- package/data/documents/editAttribution.js +131 -0
- package/data/documents/editAttribution.js.map +1 -0
- package/data/documents/editAttributionBlame.d.ts +59 -0
- package/data/documents/editAttributionBlame.js +165 -0
- package/data/documents/editAttributionBlame.js.map +1 -0
- package/data/documents/editAttributionTypes.d.ts +14 -0
- package/data/documents/editAttributionTypes.js +5 -0
- package/data/documents/editAttributionTypes.js.map +1 -0
- package/data/documents/shared/containerKekCurrency.d.ts +22 -0
- package/data/documents/shared/containerKekCurrency.js +42 -0
- package/data/documents/shared/containerKekCurrency.js.map +1 -0
- package/data/documents/shared/containerKekEntryVerification.js +15 -0
- package/data/documents/shared/containerKekEntryVerification.js.map +1 -0
- package/data/documents/shared/containerKekLogFetch.d.ts +18 -0
- package/data/documents/shared/containerKekLogFetch.js +76 -0
- package/data/documents/shared/containerKekLogFetch.js.map +1 -0
- package/data/documents/shared/containerKekPath.d.ts +18 -0
- package/data/documents/shared/containerKekPath.js +265 -0
- package/data/documents/shared/containerKekPath.js.map +1 -0
- package/data/documents/shared/containerKekPathHistory.d.ts +61 -0
- package/data/documents/shared/containerKekPathHistory.js +223 -0
- package/data/documents/shared/containerKekPathHistory.js.map +1 -0
- package/data/documents/shared/containerKekPathVerification.d.ts +15 -0
- package/data/documents/shared/containerKekPathVerification.js +23 -0
- package/data/documents/shared/containerKekPathVerification.js.map +1 -0
- package/data/documents/shared/containerKekWrapping.js +61 -0
- package/data/documents/shared/containerKekWrapping.js.map +1 -0
- package/data/documents/shared/contentRecordAdditionalData.js +14 -0
- package/data/documents/shared/contentRecordAdditionalData.js.map +1 -0
- package/data/documents/shared/contentRecordKeys.js +40 -0
- package/data/documents/shared/contentRecordKeys.js.map +1 -0
- package/data/documents/shared/crypto.js +172 -0
- package/data/documents/shared/crypto.js.map +1 -0
- package/data/documents/shared/documentSyncUpdateDecryption.js +238 -0
- package/data/documents/shared/documentSyncUpdateDecryption.js.map +1 -0
- package/data/documents/shared/documentSyncUpdateIsolation.d.ts +55 -0
- package/data/documents/shared/documentSyncUpdateIsolation.js +298 -0
- package/data/documents/shared/documentSyncUpdateIsolation.js.map +1 -0
- package/data/documents/shared/documentUpdateIntegrity.js +18 -0
- package/data/documents/shared/documentUpdateIntegrity.js.map +1 -0
- package/data/documents/shared/events.js +121 -0
- package/data/documents/shared/events.js.map +1 -0
- package/data/documents/shared/keyringLogWalk.d.ts +45 -0
- package/data/documents/shared/keyringLogWalk.js +204 -0
- package/data/documents/shared/keyringLogWalk.js.map +1 -0
- package/data/documents/shared/keyringRebuild.d.ts +60 -0
- package/data/documents/shared/keyringRebuild.js +242 -0
- package/data/documents/shared/keyringRebuild.js.map +1 -0
- package/data/documents/shared/manifestBundleReaders.js +59 -0
- package/data/documents/shared/manifestBundleReaders.js.map +1 -0
- package/data/documents/shared/mutationAcknowledgement.js +10 -0
- package/data/documents/shared/mutationAcknowledgement.js.map +1 -0
- package/data/documents/shared/plaintextHash.js +8 -0
- package/data/documents/shared/plaintextHash.js.map +1 -0
- package/data/documents/shared/projection.d.ts +25 -0
- package/data/documents/shared/projection.js +132 -0
- package/data/documents/shared/projection.js.map +1 -0
- package/data/documents/shared/projectionContentKeys.d.ts +90 -0
- package/data/documents/shared/projectionContentKeys.js +262 -0
- package/data/documents/shared/projectionContentKeys.js.map +1 -0
- package/data/documents/shared/projectionTargets.d.ts +38 -0
- package/data/documents/shared/projectionTargets.js +164 -0
- package/data/documents/shared/projectionTargets.js.map +1 -0
- package/data/documents/shared/pullContinuation.d.ts +17 -0
- package/data/documents/shared/pullContinuation.js +53 -0
- package/data/documents/shared/pullContinuation.js.map +1 -0
- package/data/documents/shared/readers.js +156 -0
- package/data/documents/shared/readers.js.map +1 -0
- package/data/documents/shared/responses.d.ts +14 -0
- package/data/documents/shared/responses.js +133 -0
- package/data/documents/shared/responses.js.map +1 -0
- package/data/documents/shared/stableDocumentId.js +20 -0
- package/data/documents/shared/stableDocumentId.js.map +1 -0
- package/data/documents/shared/syncPagination.d.ts +20 -0
- package/data/documents/shared/syncPagination.js +109 -0
- package/data/documents/shared/syncPagination.js.map +1 -0
- package/data/documents/shared/syncResponseAuthorization.js +63 -0
- package/data/documents/shared/syncResponseAuthorization.js.map +1 -0
- package/data/documents/shared/syncResponses.d.ts +11 -0
- package/data/documents/shared/syncResponses.js +287 -0
- package/data/documents/shared/syncResponses.js.map +1 -0
- package/data/documents/shared/syncSubmitFailure.d.ts +9 -0
- package/data/documents/shared/syncSubmitFailure.js +2 -0
- package/data/documents/shared/syncSubmitFailure.js.map +1 -0
- package/data/documents/shared/types.d.ts +330 -0
- package/data/documents/shared/types.js +58 -0
- package/data/documents/shared/types.js.map +1 -0
- package/data/domainScope.d.ts +6 -0
- package/data/domainScope.js +5 -0
- package/data/domainScope.js.map +1 -0
- package/data/errorMessage.js +10 -0
- package/data/errorMessage.js.map +1 -0
- package/data/keyingCanonicalJson.js +83 -0
- package/data/keyingCanonicalJson.js.map +1 -0
- package/data/keyingProjectionVerification/accessManifestCheckpointEnforcement.js +57 -0
- package/data/keyingProjectionVerification/accessManifestCheckpointEnforcement.js.map +1 -0
- package/data/keyingProjectionVerification/bundleVerification.js +61 -0
- package/data/keyingProjectionVerification/bundleVerification.js.map +1 -0
- package/data/keyingProjectionVerification/checkpointContext.d.ts +31 -0
- package/data/keyingProjectionVerification/checkpointContext.js +82 -0
- package/data/keyingProjectionVerification/checkpointContext.js.map +1 -0
- package/data/keyingProjectionVerification/containerAncestorCitations.js +164 -0
- package/data/keyingProjectionVerification/containerAncestorCitations.js.map +1 -0
- package/data/keyingProjectionVerification/containerCreateManifest.js +28 -0
- package/data/keyingProjectionVerification/containerCreateManifest.js.map +1 -0
- package/data/keyingProjectionVerification/containerDestinationVerification.js +39 -0
- package/data/keyingProjectionVerification/containerDestinationVerification.js.map +1 -0
- package/data/keyingProjectionVerification/containerManifestVerification.js +285 -0
- package/data/keyingProjectionVerification/containerManifestVerification.js.map +1 -0
- package/data/keyingProjectionVerification/containerPathVerification.js +51 -0
- package/data/keyingProjectionVerification/containerPathVerification.js.map +1 -0
- package/data/keyingProjectionVerification/containerProjectionVerification.d.ts +23 -0
- package/data/keyingProjectionVerification/containerProjectionVerification.js +249 -0
- package/data/keyingProjectionVerification/containerProjectionVerification.js.map +1 -0
- package/data/keyingProjectionVerification/dependencyUnavailable.js +8 -0
- package/data/keyingProjectionVerification/dependencyUnavailable.js.map +1 -0
- package/data/keyingProjectionVerification/documentContainerProjections.js +8 -0
- package/data/keyingProjectionVerification/documentContainerProjections.js.map +1 -0
- package/data/keyingProjectionVerification/documentDependencyPaths.d.ts +17 -0
- package/data/keyingProjectionVerification/documentDependencyPaths.js +70 -0
- package/data/keyingProjectionVerification/documentDependencyPaths.js.map +1 -0
- package/data/keyingProjectionVerification/documentManifestPolicies.js +32 -0
- package/data/keyingProjectionVerification/documentManifestPolicies.js.map +1 -0
- package/data/keyingProjectionVerification/documentManifestPredecessor.js +12 -0
- package/data/keyingProjectionVerification/documentManifestPredecessor.js.map +1 -0
- package/data/keyingProjectionVerification/documentManifestVerification.js +135 -0
- package/data/keyingProjectionVerification/documentManifestVerification.js.map +1 -0
- package/data/keyingProjectionVerification/documentProjectionVerification.d.ts +24 -0
- package/data/keyingProjectionVerification/documentProjectionVerification.js +162 -0
- package/data/keyingProjectionVerification/documentProjectionVerification.js.map +1 -0
- package/data/keyingProjectionVerification/documentPurgeCheckpointCurrency.js +74 -0
- package/data/keyingProjectionVerification/documentPurgeCheckpointCurrency.js.map +1 -0
- package/data/keyingProjectionVerification/documentPurgeCheckpointEnforcement.js +8 -0
- package/data/keyingProjectionVerification/documentPurgeCheckpointEnforcement.js.map +1 -0
- package/data/keyingProjectionVerification/documentPurgeDocumentChainVerification.js +177 -0
- package/data/keyingProjectionVerification/documentPurgeDocumentChainVerification.js.map +1 -0
- package/data/keyingProjectionVerification/documentPurgePrincipalEvidence.js +104 -0
- package/data/keyingProjectionVerification/documentPurgePrincipalEvidence.js.map +1 -0
- package/data/keyingProjectionVerification/documentPurgeProofVerification.d.ts +32 -0
- package/data/keyingProjectionVerification/documentPurgeProofVerification.js +164 -0
- package/data/keyingProjectionVerification/documentPurgeProofVerification.js.map +1 -0
- package/data/keyingProjectionVerification/error.js +139 -0
- package/data/keyingProjectionVerification/error.js.map +1 -0
- package/data/keyingProjectionVerification/manifestCheckpointVerification.js +64 -0
- package/data/keyingProjectionVerification/manifestCheckpointVerification.js.map +1 -0
- package/data/keyingProjectionVerification/mergeProjectionPolicyEvidence.js +43 -0
- package/data/keyingProjectionVerification/mergeProjectionPolicyEvidence.js.map +1 -0
- package/data/keyingProjectionVerification/organizationFounderBinding.js +36 -0
- package/data/keyingProjectionVerification/organizationFounderBinding.js.map +1 -0
- package/data/keyingProjectionVerification/principalPolicyCache.js +77 -0
- package/data/keyingProjectionVerification/principalPolicyCache.js.map +1 -0
- package/data/keyingProjectionVerification/principalPolicySnapshotVerification.js +208 -0
- package/data/keyingProjectionVerification/principalPolicySnapshotVerification.js.map +1 -0
- package/data/keyingProjectionVerification/principalPolicyVerification.js +243 -0
- package/data/keyingProjectionVerification/principalPolicyVerification.js.map +1 -0
- package/data/keyingProjectionVerification/projectionAuthorizationEvidence.js +36 -0
- package/data/keyingProjectionVerification/projectionAuthorizationEvidence.js.map +1 -0
- package/data/keyingProjectionVerification/projectionPolicyEvidence.js +70 -0
- package/data/keyingProjectionVerification/projectionPolicyEvidence.js.map +1 -0
- package/data/keyingProjectionVerification/readers.d.ts +8 -0
- package/data/keyingProjectionVerification/readers.js +153 -0
- package/data/keyingProjectionVerification/readers.js.map +1 -0
- package/data/keyingProjectionVerification/snapshotVerificationCache.js +39 -0
- package/data/keyingProjectionVerification/snapshotVerificationCache.js.map +1 -0
- package/data/keyingProjectionVerification/types.d.ts +32 -0
- package/data/keyingProjectionVerification/types.js +60 -0
- package/data/keyingProjectionVerification/types.js.map +1 -0
- package/data/keyingProjectionVerification/userKeyResolver.d.ts +7 -0
- package/data/keyingProjectionVerification/userKeyResolver.js +17 -0
- package/data/keyingProjectionVerification/userKeyResolver.js.map +1 -0
- package/data/keyingProjectionVerification.d.ts +9 -0
- package/data/keyingProjectionVerification.js +16 -0
- package/data/keyingProjectionVerification.js.map +1 -0
- package/data/persistence/container-contents/containerContentsPersistence.d.ts +4 -0
- package/data/persistence/container-contents/containerContentsPersistence.js +199 -0
- package/data/persistence/container-contents/containerContentsPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerContentsPersistenceTypes.d.ts +340 -0
- package/data/persistence/container-contents/containerContentsPersistenceTypes.js +3 -0
- package/data/persistence/container-contents/containerContentsPersistenceTypes.js.map +1 -0
- package/data/persistence/container-contents/containerCreateIntentSettlement.js +115 -0
- package/data/persistence/container-contents/containerCreateIntentSettlement.js.map +1 -0
- package/data/persistence/container-contents/containerDeletionPersistence.js +168 -0
- package/data/persistence/container-contents/containerDeletionPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerDocumentReassignment.js +127 -0
- package/data/persistence/container-contents/containerDocumentReassignment.js.map +1 -0
- package/data/persistence/container-contents/containerHydrationPersistence.js +182 -0
- package/data/persistence/container-contents/containerHydrationPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerIntentPersistence.js +207 -0
- package/data/persistence/container-contents/containerIntentPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerMetadataMutationPersistence.js +259 -0
- package/data/persistence/container-contents/containerMetadataMutationPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerMetadataPullContinuationPersistence.js +32 -0
- package/data/persistence/container-contents/containerMetadataPullContinuationPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerMetadataRows.js +160 -0
- package/data/persistence/container-contents/containerMetadataRows.js.map +1 -0
- package/data/persistence/container-contents/containerMoveAbandonPersistence.js +29 -0
- package/data/persistence/container-contents/containerMoveAbandonPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerMoveIntentRows.js +37 -0
- package/data/persistence/container-contents/containerMoveIntentRows.js.map +1 -0
- package/data/persistence/container-contents/containerPendingUpdatePersistence.js +57 -0
- package/data/persistence/container-contents/containerPendingUpdatePersistence.js.map +1 -0
- package/data/persistence/container-contents/containerRebindPersistence.js +75 -0
- package/data/persistence/container-contents/containerRebindPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerReconcilePersistence.js +144 -0
- package/data/persistence/container-contents/containerReconcilePersistence.js.map +1 -0
- package/data/persistence/container-contents/containerRecoveryPersistence.js +139 -0
- package/data/persistence/container-contents/containerRecoveryPersistence.js.map +1 -0
- package/data/persistence/container-contents/containerRemovalWork.js +30 -0
- package/data/persistence/container-contents/containerRemovalWork.js.map +1 -0
- package/data/persistence/container-contents/containerStructuralRepair.js +224 -0
- package/data/persistence/container-contents/containerStructuralRepair.js.map +1 -0
- package/data/persistence/container-contents/documentLinkRemovalRepair.js +135 -0
- package/data/persistence/container-contents/documentLinkRemovalRepair.js.map +1 -0
- package/data/persistence/container-contents/documentMoveIntentPersistence.js +213 -0
- package/data/persistence/container-contents/documentMoveIntentPersistence.js.map +1 -0
- package/data/persistence/container-contents/documentPlacementIntentEnqueue.js +149 -0
- package/data/persistence/container-contents/documentPlacementIntentEnqueue.js.map +1 -0
- package/data/persistence/container-contents/dormantContainerMetadata.d.ts +12 -0
- package/data/persistence/container-contents/dormantContainerMetadata.js +57 -0
- package/data/persistence/container-contents/dormantContainerMetadata.js.map +1 -0
- package/data/persistence/container-contents/dormantMetadataSweep.d.ts +20 -0
- package/data/persistence/container-contents/dormantMetadataSweep.js +102 -0
- package/data/persistence/container-contents/dormantMetadataSweep.js.map +1 -0
- package/data/persistence/container-contents/pendingContainerCreate.js +21 -0
- package/data/persistence/container-contents/pendingContainerCreate.js.map +1 -0
- package/data/persistence/container-contents/supersededContainerBindings.js +27 -0
- package/data/persistence/container-contents/supersededContainerBindings.js.map +1 -0
- package/data/persistence/containers/containerPersistence.d.ts +35 -0
- package/data/persistence/containers/containerPersistence.js +204 -0
- package/data/persistence/containers/containerPersistence.js.map +1 -0
- package/data/persistence/containers/containerSyncWatermarkPersistence.d.ts +48 -0
- package/data/persistence/containers/containerSyncWatermarkPersistence.js +238 -0
- package/data/persistence/containers/containerSyncWatermarkPersistence.js.map +1 -0
- package/data/persistence/containers/documentContainerProjectionPersistence.js +130 -0
- package/data/persistence/containers/documentContainerProjectionPersistence.js.map +1 -0
- package/data/persistence/containers/documentPlacement.js +51 -0
- package/data/persistence/containers/documentPlacement.js.map +1 -0
- package/data/persistence/documentPurgeCheckpointPersistence.d.ts +10 -0
- package/data/persistence/documentPurgeCheckpointPersistence.js +43 -0
- package/data/persistence/documentPurgeCheckpointPersistence.js.map +1 -0
- package/data/persistence/documents/containerDocumentTombstoneHoldsPersistence.js +108 -0
- package/data/persistence/documents/containerDocumentTombstoneHoldsPersistence.js.map +1 -0
- package/data/persistence/documents/documentDiscoveryCandidate.d.ts +6 -0
- package/data/persistence/documents/documentDiscoveryCandidate.js +33 -0
- package/data/persistence/documents/documentDiscoveryCandidate.js.map +1 -0
- package/data/persistence/documents/documentDiscoveryEvidencePersistence.d.ts +26 -0
- package/data/persistence/documents/documentDiscoveryEvidencePersistence.js +237 -0
- package/data/persistence/documents/documentDiscoveryEvidencePersistence.js.map +1 -0
- package/data/persistence/documents/documentDiscoveryReset.js +31 -0
- package/data/persistence/documents/documentDiscoveryReset.js.map +1 -0
- package/data/persistence/documents/documentsPersistence.d.ts +12 -0
- package/data/persistence/documents/documentsPersistence.js +233 -0
- package/data/persistence/documents/documentsPersistence.js.map +1 -0
- package/data/persistence/documents/internal/attachmentRows.js +78 -0
- package/data/persistence/documents/internal/attachmentRows.js.map +1 -0
- package/data/persistence/documents/internal/attachmentStagingPersistence.js +99 -0
- package/data/persistence/documents/internal/attachmentStagingPersistence.js.map +1 -0
- package/data/persistence/documents/internal/constants.d.ts +1 -0
- package/data/persistence/documents/internal/constants.js +2 -0
- package/data/persistence/documents/internal/constants.js.map +1 -0
- package/data/persistence/documents/internal/containerDocumentTombstoneHolds.js +182 -0
- package/data/persistence/documents/internal/containerDocumentTombstoneHolds.js.map +1 -0
- package/data/persistence/documents/internal/containerDocumentTombstones.js +164 -0
- package/data/persistence/documents/internal/containerDocumentTombstones.js.map +1 -0
- package/data/persistence/documents/internal/createDocumentWithHistoryCheckpoint.js +60 -0
- package/data/persistence/documents/internal/createDocumentWithHistoryCheckpoint.js.map +1 -0
- package/data/persistence/documents/internal/discardDocument.js +167 -0
- package/data/persistence/documents/internal/discardDocument.js.map +1 -0
- package/data/persistence/documents/internal/discoveredDocumentPlacement.js +30 -0
- package/data/persistence/documents/internal/discoveredDocumentPlacement.js.map +1 -0
- package/data/persistence/documents/internal/documentDeletionPersistence.js +152 -0
- package/data/persistence/documents/internal/documentDeletionPersistence.js.map +1 -0
- package/data/persistence/documents/internal/documentHistoryStatePersistence.js +10 -0
- package/data/persistence/documents/internal/documentHistoryStatePersistence.js.map +1 -0
- package/data/persistence/documents/internal/documentMutationPersistence.js +228 -0
- package/data/persistence/documents/internal/documentMutationPersistence.js.map +1 -0
- package/data/persistence/documents/internal/documentProjectionRows.js +65 -0
- package/data/persistence/documents/internal/documentProjectionRows.js.map +1 -0
- package/data/persistence/documents/internal/documentPullContinuationPersistence.js +20 -0
- package/data/persistence/documents/internal/documentPullContinuationPersistence.js.map +1 -0
- package/data/persistence/documents/internal/documentRecordIdentity.js +20 -0
- package/data/persistence/documents/internal/documentRecordIdentity.js.map +1 -0
- package/data/persistence/documents/internal/documentRows.js +178 -0
- package/data/persistence/documents/internal/documentRows.js.map +1 -0
- package/data/persistence/documents/internal/documentRuntimeState.js +39 -0
- package/data/persistence/documents/internal/documentRuntimeState.js.map +1 -0
- package/data/persistence/documents/internal/documentStoreStatePersistence.js +17 -0
- package/data/persistence/documents/internal/documentStoreStatePersistence.js.map +1 -0
- package/data/persistence/documents/internal/documentSummaryQueries.js +89 -0
- package/data/persistence/documents/internal/documentSummaryQueries.js.map +1 -0
- package/data/persistence/documents/internal/ensureDocumentsSchema.js +15 -0
- package/data/persistence/documents/internal/ensureDocumentsSchema.js.map +1 -0
- package/data/persistence/documents/internal/hydratedAttachmentPersistence.js +47 -0
- package/data/persistence/documents/internal/hydratedAttachmentPersistence.js.map +1 -0
- package/data/persistence/documents/internal/orphanSideRows.js +204 -0
- package/data/persistence/documents/internal/orphanSideRows.js.map +1 -0
- package/data/persistence/documents/internal/pendingCreateAdoption.js +43 -0
- package/data/persistence/documents/internal/pendingCreateAdoption.js.map +1 -0
- package/data/persistence/documents/internal/rowQueryPersistence.js +95 -0
- package/data/persistence/documents/internal/rowQueryPersistence.js.map +1 -0
- package/data/persistence/documents/internal/syncQueuePersistence.js +197 -0
- package/data/persistence/documents/internal/syncQueuePersistence.js.map +1 -0
- package/data/persistence/documents/types.d.ts +322 -0
- package/data/persistence/documents/types.js +2 -0
- package/data/persistence/documents/types.js.map +1 -0
- package/data/persistence/keyingCheckpointAdvancePersistence.js +200 -0
- package/data/persistence/keyingCheckpointAdvancePersistence.js.map +1 -0
- package/data/persistence/keyingCheckpointEvidence.js +32 -0
- package/data/persistence/keyingCheckpointEvidence.js.map +1 -0
- package/data/persistence/keyingCheckpointPersistence.js +133 -0
- package/data/persistence/keyingCheckpointPersistence.js.map +1 -0
- package/data/persistence/latestTimestamp.js +15 -0
- package/data/persistence/latestTimestamp.js.map +1 -0
- package/data/persistence/locallyAcknowledgedCheckpointPersistence.d.ts +53 -0
- package/data/persistence/locallyAcknowledgedCheckpointPersistence.js +167 -0
- package/data/persistence/locallyAcknowledgedCheckpointPersistence.js.map +1 -0
- package/data/persistence/organizationFounderPersistence.js +58 -0
- package/data/persistence/organizationFounderPersistence.js.map +1 -0
- package/data/persistence/organizationReplacementCheckpointPersistence.js +72 -0
- package/data/persistence/organizationReplacementCheckpointPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationAccessRevocationPersistence.js +45 -0
- package/data/persistence/organizations/organizationAccessRevocationPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationDataUsagePersistence.js +219 -0
- package/data/persistence/organizations/organizationDataUsagePersistence.js.map +1 -0
- package/data/persistence/organizations/organizationGroupNamePersistence.js +33 -0
- package/data/persistence/organizations/organizationGroupNamePersistence.js.map +1 -0
- package/data/persistence/organizations/organizationPresentationDenialPersistence.js +52 -0
- package/data/persistence/organizations/organizationPresentationDenialPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationProfileDocumentPointers.js +32 -0
- package/data/persistence/organizations/organizationProfileDocumentPointers.js.map +1 -0
- package/data/persistence/organizations/organizationProvisioningAttemptPersistence.js +69 -0
- package/data/persistence/organizations/organizationProvisioningAttemptPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelGrantPersistence.js +91 -0
- package/data/persistence/organizations/organizationReadModelGrantPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelInvalidation.d.ts +11 -0
- package/data/persistence/organizations/organizationReadModelInvalidation.js +35 -0
- package/data/persistence/organizations/organizationReadModelInvalidation.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelMemberLoad.js +96 -0
- package/data/persistence/organizations/organizationReadModelMemberLoad.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelMembershipPersistence.js +161 -0
- package/data/persistence/organizations/organizationReadModelMembershipPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelPersistence.js +301 -0
- package/data/persistence/organizations/organizationReadModelPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelPolicyHeadPersistence.js +64 -0
- package/data/persistence/organizations/organizationReadModelPolicyHeadPersistence.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelProjection.js +228 -0
- package/data/persistence/organizations/organizationReadModelProjection.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelProtocol.js +14 -0
- package/data/persistence/organizations/organizationReadModelProtocol.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelPurge.js +113 -0
- package/data/persistence/organizations/organizationReadModelPurge.js.map +1 -0
- package/data/persistence/organizations/organizationReadModelResponseAssertions.js +42 -0
- package/data/persistence/organizations/organizationReadModelResponseAssertions.js.map +1 -0
- package/data/persistence/principalGrantRetirementPersistence.d.ts +9 -0
- package/data/persistence/principalGrantRetirementPersistence.js +40 -0
- package/data/persistence/principalGrantRetirementPersistence.js.map +1 -0
- package/data/persistence/principalHistoryStagePersistence.js +54 -0
- package/data/persistence/principalHistoryStagePersistence.js.map +1 -0
- package/data/persistence/principalPolicyBundleIntegrity.js +49 -0
- package/data/persistence/principalPolicyBundleIntegrity.js.map +1 -0
- package/data/persistence/principalPolicyCheckpointSelection.js +26 -0
- package/data/persistence/principalPolicyCheckpointSelection.js.map +1 -0
- package/data/persistence/principalPolicyOrganizationPersistence.js +42 -0
- package/data/persistence/principalPolicyOrganizationPersistence.js.map +1 -0
- package/data/persistence/principalPolicyPersistence.js +279 -0
- package/data/persistence/principalPolicyPersistence.js.map +1 -0
- package/data/persistence/principalPolicyReferenceCheckpoint.js +27 -0
- package/data/persistence/principalPolicyReferenceCheckpoint.js.map +1 -0
- package/data/persistence/principalPolicyReferenceIndexPersistence.js +52 -0
- package/data/persistence/principalPolicyReferenceIndexPersistence.js.map +1 -0
- package/data/persistence/principalPolicyReferencePersistence.js +215 -0
- package/data/persistence/principalPolicyReferencePersistence.js.map +1 -0
- package/data/persistence/securityIncidentPersistence.js +156 -0
- package/data/persistence/securityIncidentPersistence.js.map +1 -0
- package/data/persistence/storedPrincipalPolicyBundle.js +17 -0
- package/data/persistence/storedPrincipalPolicyBundle.js.map +1 -0
- package/data/persistence/trustedUserIdentityPinPersistence.js +252 -0
- package/data/persistence/trustedUserIdentityPinPersistence.js.map +1 -0
- package/data/persistence/trustedUserIdentityPinTransaction.js +51 -0
- package/data/persistence/trustedUserIdentityPinTransaction.js.map +1 -0
- package/data/persistence/verifiedPrincipalPolicyBundle.js +77 -0
- package/data/persistence/verifiedPrincipalPolicyBundle.js.map +1 -0
- package/data/persistence/verifiedPrincipalPolicyRetentionPersistence.js +18 -0
- package/data/persistence/verifiedPrincipalPolicyRetentionPersistence.js.map +1 -0
- package/data/principalPolicyStates.js +24 -0
- package/data/principalPolicyStates.js.map +1 -0
- package/data/principals/organizationAuthorityDescriptor.d.ts +22 -0
- package/data/principals/organizationAuthorityDescriptor.js +138 -0
- package/data/principals/organizationAuthorityDescriptor.js.map +1 -0
- package/data/principals/organizationGroupRoles.js +27 -0
- package/data/principals/organizationGroupRoles.js.map +1 -0
- package/data/principals/principalHistoryStageProtection.js +67 -0
- package/data/principals/principalHistoryStageProtection.js.map +1 -0
- package/data/principals/principalKeyValidation.js +19 -0
- package/data/principals/principalKeyValidation.js.map +1 -0
- package/data/principals/principalPolicyAdminSigners.js +81 -0
- package/data/principals/principalPolicyAdminSigners.js.map +1 -0
- package/data/principals/principalPolicyCrypto.js +83 -0
- package/data/principals/principalPolicyCrypto.js.map +1 -0
- package/data/recordReaders.d.ts +17 -0
- package/data/recordReaders.js +76 -0
- package/data/recordReaders.js.map +1 -0
- package/data/securityIncidents.d.ts +26 -0
- package/data/securityIncidents.js +2 -0
- package/data/securityIncidents.js.map +1 -0
- package/data/sqlite/containerDocumentTombstoneHoldSchema.d.ts +142 -0
- package/data/sqlite/containerDocumentTombstoneHoldSchema.js +35 -0
- package/data/sqlite/containerDocumentTombstoneHoldSchema.js.map +1 -0
- package/data/sqlite/containerSchema.d.ts +1289 -0
- package/data/sqlite/containerSchema.js +112 -0
- package/data/sqlite/containerSchema.js.map +1 -0
- package/data/sqlite/documentAttachmentSchema.d.ts +513 -0
- package/data/sqlite/documentAttachmentSchema.js +94 -0
- package/data/sqlite/documentAttachmentSchema.js.map +1 -0
- package/data/sqlite/documentDiscoveryEvidenceSchema.js +28 -0
- package/data/sqlite/documentDiscoveryEvidenceSchema.js.map +1 -0
- package/data/sqlite/documentHistoryPersistence.d.ts +80 -0
- package/data/sqlite/documentHistoryPersistence.js +281 -0
- package/data/sqlite/documentHistoryPersistence.js.map +1 -0
- package/data/sqlite/documentOrphanBlobReclaims.js +6 -0
- package/data/sqlite/documentOrphanBlobReclaims.js.map +1 -0
- package/data/sqlite/documentPendingUpdatePersistence.d.ts +56 -0
- package/data/sqlite/documentPendingUpdatePersistence.js +169 -0
- package/data/sqlite/documentPendingUpdatePersistence.js.map +1 -0
- package/data/sqlite/documentPersistence.d.ts +22 -0
- package/data/sqlite/documentPersistence.js +35 -0
- package/data/sqlite/documentPersistence.js.map +1 -0
- package/data/sqlite/documentPersistenceTypes.d.ts +79 -0
- package/data/sqlite/documentPersistenceTypes.js +2 -0
- package/data/sqlite/documentPersistenceTypes.js.map +1 -0
- package/data/sqlite/documentPlacementIntentSchema.d.ts +327 -0
- package/data/sqlite/documentPlacementIntentSchema.js +60 -0
- package/data/sqlite/documentPlacementIntentSchema.js.map +1 -0
- package/data/sqlite/documentRecordPersistence.d.ts +275 -0
- package/data/sqlite/documentRecordPersistence.js +102 -0
- package/data/sqlite/documentRecordPersistence.js.map +1 -0
- package/data/sqlite/documentSyncFailurePersistence.d.ts +29 -0
- package/data/sqlite/documentSyncFailurePersistence.js +91 -0
- package/data/sqlite/documentSyncFailurePersistence.js.map +1 -0
- package/data/sqlite/organizationDataUsageSchema.js +40 -0
- package/data/sqlite/organizationDataUsageSchema.js.map +1 -0
- package/data/sqlite/organizationFounderSchema.js +9 -0
- package/data/sqlite/organizationFounderSchema.js.map +1 -0
- package/data/sqlite/organizationProvisioningAttemptSchema.js +23 -0
- package/data/sqlite/organizationProvisioningAttemptSchema.js.map +1 -0
- package/data/sqlite/organizationReadModelSchema.js +133 -0
- package/data/sqlite/organizationReadModelSchema.js.map +1 -0
- package/data/sqlite/organizationReadModelTableRegistry.d.ts +1479 -0
- package/data/sqlite/organizationReadModelTableRegistry.js +28 -0
- package/data/sqlite/organizationReadModelTableRegistry.js.map +1 -0
- package/data/sqlite/principalGrantRetirementSchema.js +12 -0
- package/data/sqlite/principalGrantRetirementSchema.js.map +1 -0
- package/data/sqlite/principalHistoryStageSchema.js +17 -0
- package/data/sqlite/principalHistoryStageSchema.js.map +1 -0
- package/data/sqlite/principalPolicySchema.d.ts +716 -0
- package/data/sqlite/principalPolicySchema.js +68 -0
- package/data/sqlite/principalPolicySchema.js.map +1 -0
- package/data/sqlite/schema.d.ts +8720 -0
- package/data/sqlite/schema.js +630 -0
- package/data/sqlite/schema.js.map +1 -0
- package/data/sqlite/securityIncidentSchema.d.ts +224 -0
- package/data/sqlite/securityIncidentSchema.js +28 -0
- package/data/sqlite/securityIncidentSchema.js.map +1 -0
- package/data/sqlite/sqlExec.d.ts +39 -0
- package/data/sqlite/sqlExec.js +118 -0
- package/data/sqlite/sqlExec.js.map +1 -0
- package/data/sqlite/sqlSchema.d.ts +4 -0
- package/data/sqlite/sqlSchema.js +3 -0
- package/data/sqlite/sqlSchema.js.map +1 -0
- package/data/sqlite/sqlTableSchema.d.ts +19 -0
- package/data/sqlite/sqlTableSchema.js +138 -0
- package/data/sqlite/sqlTableSchema.js.map +1 -0
- package/data/sqlite/sqlitePersistenceRuntime.d.ts +34 -0
- package/data/sqlite/sqlitePersistenceRuntime.js +204 -0
- package/data/sqlite/sqlitePersistenceRuntime.js.map +1 -0
- package/data/sqlite/storagePersistence.d.ts +68 -0
- package/data/sqlite/storagePersistence.js +81 -0
- package/data/sqlite/storagePersistence.js.map +1 -0
- package/data/stableUuid.js +39 -0
- package/data/stableUuid.js.map +1 -0
- package/data/sync/coordinatorPump.d.ts +10 -0
- package/data/sync/coordinatorPump.js +305 -0
- package/data/sync/coordinatorPump.js.map +1 -0
- package/data/sync/coordinatorState.d.ts +43 -0
- package/data/sync/coordinatorState.js +72 -0
- package/data/sync/coordinatorState.js.map +1 -0
- package/data/sync/databaseUnavailable.d.ts +4 -0
- package/data/sync/databaseUnavailable.js +47 -0
- package/data/sync/databaseUnavailable.js.map +1 -0
- package/data/sync/documentSyncOutgoingBatch.d.ts +17 -0
- package/data/sync/documentSyncOutgoingBatch.js +93 -0
- package/data/sync/documentSyncOutgoingBatch.js.map +1 -0
- package/data/sync/outgoingUpdateSettlement.d.ts +54 -0
- package/data/sync/outgoingUpdateSettlement.js +60 -0
- package/data/sync/outgoingUpdateSettlement.js.map +1 -0
- package/data/sync/sequence.d.ts +8 -0
- package/data/sync/sequence.js +9 -0
- package/data/sync/sequence.js.map +1 -0
- package/data/sync/syncCoordinator.d.ts +32 -0
- package/data/sync/syncCoordinator.js +160 -0
- package/data/sync/syncCoordinator.js.map +1 -0
- package/data/sync/syncLaneConfig.d.ts +16 -0
- package/data/sync/syncLaneConfig.js +2 -0
- package/data/sync/syncLaneConfig.js.map +1 -0
- package/data/sync/syncPrerequisites.d.ts +12 -0
- package/data/sync/syncPrerequisites.js +8 -0
- package/data/sync/syncPrerequisites.js.map +1 -0
- package/data/sync/syncTelemetry.d.ts +86 -0
- package/data/sync/syncTelemetry.js +69 -0
- package/data/sync/syncTelemetry.js.map +1 -0
- package/data/sync/uploadLane.d.ts +18 -0
- package/data/sync/uploadLane.js +116 -0
- package/data/sync/uploadLane.js.map +1 -0
- package/data/trustedUserIdentity/apiAdapter.d.ts +12 -0
- package/data/trustedUserIdentity/apiAdapter.js +33 -0
- package/data/trustedUserIdentity/apiAdapter.js.map +1 -0
- package/data/trustedUserIdentity/index.d.ts +6 -0
- package/data/trustedUserIdentity/index.js +6 -0
- package/data/trustedUserIdentity/index.js.map +1 -0
- package/data/trustedUserIdentity/requiredResolver.d.ts +3 -0
- package/data/trustedUserIdentity/requiredResolver.js +27 -0
- package/data/trustedUserIdentity/requiredResolver.js.map +1 -0
- package/data/trustedUserIdentity/service.d.ts +2 -0
- package/data/trustedUserIdentity/service.js +125 -0
- package/data/trustedUserIdentity/service.js.map +1 -0
- package/data/trustedUserIdentity/testFixtures.d.ts +15 -0
- package/data/trustedUserIdentity/testFixtures.js +33 -0
- package/data/trustedUserIdentity/testFixtures.js.map +1 -0
- package/data/trustedUserIdentity/trustDomain.d.ts +13 -0
- package/data/trustedUserIdentity/trustDomain.js +66 -0
- package/data/trustedUserIdentity/trustDomain.js.map +1 -0
- package/data/trustedUserIdentity/types.d.ts +69 -0
- package/data/trustedUserIdentity/types.js +18 -0
- package/data/trustedUserIdentity/types.js.map +1 -0
- package/data/trustedUserIdentity/validation.d.ts +16 -0
- package/data/trustedUserIdentity/validation.js +109 -0
- package/data/trustedUserIdentity/validation.js.map +1 -0
- package/documents.d.ts +7 -0
- package/documents.js +7 -0
- package/documents.js.map +1 -0
- package/index.d.ts +26 -0
- package/index.js +14 -0
- package/index.js.map +1 -0
- package/internal/api-client/ApiCache.js +112 -0
- package/internal/api-client/ApiCache.js.map +1 -0
- package/internal/api-client/ApiClient.d.ts +3968 -0
- package/internal/api-client/ApiClient.js +844 -0
- package/internal/api-client/ApiClient.js.map +1 -0
- package/internal/api-client/apiRequestRuntime.d.ts +48 -0
- package/internal/api-client/apiRequestRuntime.js +305 -0
- package/internal/api-client/apiRequestRuntime.js.map +1 -0
- package/internal/api-client/binaryRequestOperationTransport.js +41 -0
- package/internal/api-client/binaryRequestOperationTransport.js.map +1 -0
- package/internal/api-client/binaryResponseOperationTransport.d.ts +22 -0
- package/internal/api-client/binaryResponseOperationTransport.js +42 -0
- package/internal/api-client/binaryResponseOperationTransport.js.map +1 -0
- package/internal/api-client/index.d.ts +5 -0
- package/internal/api-client/index.js +3 -0
- package/internal/api-client/index.js.map +1 -0
- package/internal/api-client/operationResponse.d.ts +39 -0
- package/internal/api-client/operationResponse.js +78 -0
- package/internal/api-client/operationResponse.js.map +1 -0
- package/internal/api-client/operationTransport.d.ts +38 -0
- package/internal/api-client/operationTransport.js +118 -0
- package/internal/api-client/operationTransport.js.map +1 -0
- package/internal/api-client/operationTransportFactory.js +11 -0
- package/internal/api-client/operationTransportFactory.js.map +1 -0
- package/internal/api-client/operationTransportSurface.js +48 -0
- package/internal/api-client/operationTransportSurface.js.map +1 -0
- package/internal/api-client/principalHistoryRequest.js +90 -0
- package/internal/api-client/principalHistoryRequest.js.map +1 -0
- package/internal/api-client/principalHistoryRequestContext.js +67 -0
- package/internal/api-client/principalHistoryRequestContext.js.map +1 -0
- package/internal/api-client/principalPolicyPages.d.ts +18 -0
- package/internal/api-client/principalPolicyPages.js +172 -0
- package/internal/api-client/principalPolicyPages.js.map +1 -0
- package/internal/api-client/principalPolicyRequests.js +68 -0
- package/internal/api-client/principalPolicyRequests.js.map +1 -0
- package/internal/api-client/projectionHistoryTransport.js +107 -0
- package/internal/api-client/projectionHistoryTransport.js.map +1 -0
- package/internal/api-client/requestInternals.js +294 -0
- package/internal/api-client/requestInternals.js.map +1 -0
- package/internal/api-client/responseBodyFailure.js +13 -0
- package/internal/api-client/responseBodyFailure.js.map +1 -0
- package/internal/api-client/routes/auth/session.js +31 -0
- package/internal/api-client/routes/auth/session.js.map +1 -0
- package/internal/api-client/routes/blobs/attachments.js +21 -0
- package/internal/api-client/routes/blobs/attachments.js.map +1 -0
- package/internal/api-client/routes/blobs/get.d.ts +14 -0
- package/internal/api-client/routes/blobs/get.js +46 -0
- package/internal/api-client/routes/blobs/get.js.map +1 -0
- package/internal/api-client/routes/blobs/multipart.js +25 -0
- package/internal/api-client/routes/blobs/multipart.js.map +1 -0
- package/internal/api-client/routes/containers/mutations.js +54 -0
- package/internal/api-client/routes/containers/mutations.js.map +1 -0
- package/internal/api-client/routes/containers/reads.d.ts +22 -0
- package/internal/api-client/routes/containers/reads.js +31 -0
- package/internal/api-client/routes/containers/reads.js.map +1 -0
- package/internal/api-client/routes/documents/attachments.js +11 -0
- package/internal/api-client/routes/documents/attachments.js.map +1 -0
- package/internal/api-client/routes/documents/attributionRequests.js +72 -0
- package/internal/api-client/routes/documents/attributionRequests.js.map +1 -0
- package/internal/api-client/routes/documents/mutations.d.ts +32 -0
- package/internal/api-client/routes/documents/mutations.js +36 -0
- package/internal/api-client/routes/documents/mutations.js.map +1 -0
- package/internal/api-client/routes/organizations/billing.js +49 -0
- package/internal/api-client/routes/organizations/billing.js.map +1 -0
- package/internal/api-client/routes/organizations/createGroup.js +12 -0
- package/internal/api-client/routes/organizations/createGroup.js.map +1 -0
- package/internal/api-client/routes/organizations/dataUsage.js +11 -0
- package/internal/api-client/routes/organizations/dataUsage.js.map +1 -0
- package/internal/api-client/routes/organizations/deleteGroup.js +12 -0
- package/internal/api-client/routes/organizations/deleteGroup.js.map +1 -0
- package/internal/api-client/routes/organizations/groupMembers.js +12 -0
- package/internal/api-client/routes/organizations/groupMembers.js.map +1 -0
- package/internal/api-client/routes/organizations/profile.js +12 -0
- package/internal/api-client/routes/organizations/profile.js.map +1 -0
- package/internal/api-client/routes/organizations/roster.js +13 -0
- package/internal/api-client/routes/organizations/roster.js.map +1 -0
- package/internal/api-client/routes/organizations/stripeCheckout.js +42 -0
- package/internal/api-client/routes/organizations/stripeCheckout.js.map +1 -0
- package/internal/api-client/routes/path.js +4 -0
- package/internal/api-client/routes/path.js.map +1 -0
- package/internal/api-client/routes/principals/policy.js +34 -0
- package/internal/api-client/routes/principals/policy.js.map +1 -0
- package/internal/api-client/routes/writerProjections.js +56 -0
- package/internal/api-client/routes/writerProjections.js.map +1 -0
- package/internal/api-client/sessionRefresh.js +39 -0
- package/internal/api-client/sessionRefresh.js.map +1 -0
- package/internal/api-client/types.d.ts +61 -0
- package/internal/api-client/types.js +2 -0
- package/internal/api-client/types.js.map +1 -0
- package/internal/api-client/verifiedProjectionHistory.d.ts +4 -0
- package/internal/api-client/verifiedProjectionHistory.js +12 -0
- package/internal/api-client/verifiedProjectionHistory.js.map +1 -0
- package/internal/api-client/writerProjectionCitations.js +95 -0
- package/internal/api-client/writerProjectionCitations.js.map +1 -0
- package/internal/api-client/writerProjectionPrime.js +25 -0
- package/internal/api-client/writerProjectionPrime.js.map +1 -0
- package/internal/crypto/blobEnvelopeError.d.ts +8 -0
- package/internal/crypto/blobEnvelopeError.js +12 -0
- package/internal/crypto/blobEnvelopeError.js.map +1 -0
- package/internal/crypto/blobEnvelopeFields.js +34 -0
- package/internal/crypto/blobEnvelopeFields.js.map +1 -0
- package/internal/crypto/blobEnvelopeReader.d.ts +30 -0
- package/internal/crypto/blobEnvelopeReader.js +182 -0
- package/internal/crypto/blobEnvelopeReader.js.map +1 -0
- package/internal/crypto/blobEnvelopeV2.d.ts +38 -0
- package/internal/crypto/blobEnvelopeV2.js +100 -0
- package/internal/crypto/blobEnvelopeV2.js.map +1 -0
- package/internal/crypto/canonicalOrdering.d.ts +7 -0
- package/internal/crypto/canonicalOrdering.js +10 -0
- package/internal/crypto/canonicalOrdering.js.map +1 -0
- package/internal/crypto/challenge.d.ts +16 -0
- package/internal/crypto/challenge.js +53 -0
- package/internal/crypto/challenge.js.map +1 -0
- package/internal/crypto/contentKeyEnvelope.d.ts +48 -0
- package/internal/crypto/contentKeyEnvelope.js +96 -0
- package/internal/crypto/contentKeyEnvelope.js.map +1 -0
- package/internal/crypto/encapsulation/decryptAsRecipient.d.ts +6 -0
- package/internal/crypto/encapsulation/decryptAsRecipient.js +44 -0
- package/internal/crypto/encapsulation/decryptAsRecipient.js.map +1 -0
- package/internal/crypto/encapsulation/encryptForRecipients.d.ts +6 -0
- package/internal/crypto/encapsulation/encryptForRecipients.js +15 -0
- package/internal/crypto/encapsulation/encryptForRecipients.js.map +1 -0
- package/internal/crypto/encapsulation/generateKeyPair.d.ts +10 -0
- package/internal/crypto/encapsulation/generateKeyPair.js +17 -0
- package/internal/crypto/encapsulation/generateKeyPair.js.map +1 -0
- package/internal/crypto/encapsulation/types.d.ts +10 -0
- package/internal/crypto/encapsulation/types.js +2 -0
- package/internal/crypto/encapsulation/types.js.map +1 -0
- package/internal/crypto/encapsulation/unwrapDek.d.ts +6 -0
- package/internal/crypto/encapsulation/unwrapDek.js +37 -0
- package/internal/crypto/encapsulation/unwrapDek.js.map +1 -0
- package/internal/crypto/encapsulation/wrapDek.d.ts +7 -0
- package/internal/crypto/encapsulation/wrapDek.js +38 -0
- package/internal/crypto/encapsulation/wrapDek.js.map +1 -0
- package/internal/crypto/fingerprint.d.ts +1 -0
- package/internal/crypto/fingerprint.js +5 -0
- package/internal/crypto/fingerprint.js.map +1 -0
- package/internal/crypto/groupMetadata.d.ts +31 -0
- package/internal/crypto/groupMetadata.js +100 -0
- package/internal/crypto/groupMetadata.js.map +1 -0
- package/internal/crypto/hex.d.ts +2 -0
- package/internal/crypto/hex.js +14 -0
- package/internal/crypto/hex.js.map +1 -0
- package/internal/crypto/identitySeedPhrase.d.ts +16 -0
- package/internal/crypto/identitySeedPhrase.js +71 -0
- package/internal/crypto/identitySeedPhrase.js.map +1 -0
- package/internal/crypto/incrementalSha256.d.ts +6 -0
- package/internal/crypto/incrementalSha256.js +22 -0
- package/internal/crypto/incrementalSha256.js.map +1 -0
- package/internal/crypto/index.d.ts +38 -0
- package/internal/crypto/index.js +29 -0
- package/internal/crypto/index.js.map +1 -0
- package/internal/crypto/keying/accessEvent.d.ts +11 -0
- package/internal/crypto/keying/accessEvent.js +273 -0
- package/internal/crypto/keying/accessEvent.js.map +1 -0
- package/internal/crypto/keying/accessManifestSnapshot.d.ts +14 -0
- package/internal/crypto/keying/accessManifestSnapshot.js +52 -0
- package/internal/crypto/keying/accessManifestSnapshot.js.map +1 -0
- package/internal/crypto/keying/accessManifestSnapshotTypes.d.ts +11 -0
- package/internal/crypto/keying/accessManifestSnapshotTypes.js +8 -0
- package/internal/crypto/keying/accessManifestSnapshotTypes.js.map +1 -0
- package/internal/crypto/keying/accessManifestVerificationRevision.d.ts +8 -0
- package/internal/crypto/keying/accessManifestVerificationRevision.js +9 -0
- package/internal/crypto/keying/accessManifestVerificationRevision.js.map +1 -0
- package/internal/crypto/keying/canonical.d.ts +12 -0
- package/internal/crypto/keying/canonical.js +126 -0
- package/internal/crypto/keying/canonical.js.map +1 -0
- package/internal/crypto/keying/checkpoints.d.ts +16 -0
- package/internal/crypto/keying/checkpoints.js +149 -0
- package/internal/crypto/keying/checkpoints.js.map +1 -0
- package/internal/crypto/keying/containerAccess.d.ts +6 -0
- package/internal/crypto/keying/containerAccess.js +58 -0
- package/internal/crypto/keying/containerAccess.js.map +1 -0
- package/internal/crypto/keying/containerAccessBodies.d.ts +2 -0
- package/internal/crypto/keying/containerAccessBodies.js +160 -0
- package/internal/crypto/keying/containerAccessBodies.js.map +1 -0
- package/internal/crypto/keying/containerAccessReciteBody.d.ts +3 -0
- package/internal/crypto/keying/containerAccessReciteBody.js +19 -0
- package/internal/crypto/keying/containerAccessReciteBody.js.map +1 -0
- package/internal/crypto/keying/containerAccessRekeyBody.js +35 -0
- package/internal/crypto/keying/containerAccessRekeyBody.js.map +1 -0
- package/internal/crypto/keying/containerAccessState.d.ts +16 -0
- package/internal/crypto/keying/containerAccessState.js +166 -0
- package/internal/crypto/keying/containerAccessState.js.map +1 -0
- package/internal/crypto/keying/containerAccessStructure.js +44 -0
- package/internal/crypto/keying/containerAccessStructure.js.map +1 -0
- package/internal/crypto/keying/containerAccessTransitionBase.js +111 -0
- package/internal/crypto/keying/containerAccessTransitionBase.js.map +1 -0
- package/internal/crypto/keying/containerAccessTransitions.js +182 -0
- package/internal/crypto/keying/containerAccessTransitions.js.map +1 -0
- package/internal/crypto/keying/containerGrantPrincipalHead.js +20 -0
- package/internal/crypto/keying/containerGrantPrincipalHead.js.map +1 -0
- package/internal/crypto/keying/containerKek/contentKeyTargets.d.ts +6 -0
- package/internal/crypto/keying/containerKek/contentKeyTargets.js +294 -0
- package/internal/crypto/keying/containerKek/contentKeyTargets.js.map +1 -0
- package/internal/crypto/keying/containerKek.d.ts +8 -0
- package/internal/crypto/keying/containerKek.js +326 -0
- package/internal/crypto/keying/containerKek.js.map +1 -0
- package/internal/crypto/keying/containerKekCacheToken.js +31 -0
- package/internal/crypto/keying/containerKekCacheToken.js.map +1 -0
- package/internal/crypto/keying/containerKekEpochBinding.js +69 -0
- package/internal/crypto/keying/containerKekEpochBinding.js.map +1 -0
- package/internal/crypto/keying/containerKekKeyring.d.ts +39 -0
- package/internal/crypto/keying/containerKekKeyring.js +236 -0
- package/internal/crypto/keying/containerKekKeyring.js.map +1 -0
- package/internal/crypto/keying/containerKekMaterial.d.ts +13 -0
- package/internal/crypto/keying/containerKekMaterial.js +71 -0
- package/internal/crypto/keying/containerKekMaterial.js.map +1 -0
- package/internal/crypto/keying/containerKekParent.js +86 -0
- package/internal/crypto/keying/containerKekParent.js.map +1 -0
- package/internal/crypto/keying/containerKekPredecessor.d.ts +14 -0
- package/internal/crypto/keying/containerKekPredecessor.js +135 -0
- package/internal/crypto/keying/containerKekPredecessor.js.map +1 -0
- package/internal/crypto/keying/containerKekWrapping.d.ts +12 -0
- package/internal/crypto/keying/containerKekWrapping.js +125 -0
- package/internal/crypto/keying/containerKekWrapping.js.map +1 -0
- package/internal/crypto/keying/containerParentAuthority.d.ts +16 -0
- package/internal/crypto/keying/containerParentAuthority.js +53 -0
- package/internal/crypto/keying/containerParentAuthority.js.map +1 -0
- package/internal/crypto/keying/containerPathAccess.d.ts +45 -0
- package/internal/crypto/keying/containerPathAccess.js +111 -0
- package/internal/crypto/keying/containerPathAccess.js.map +1 -0
- package/internal/crypto/keying/containerPrincipalReferences.js +34 -0
- package/internal/crypto/keying/containerPrincipalReferences.js.map +1 -0
- package/internal/crypto/keying/containerSystemTopology.js +18 -0
- package/internal/crypto/keying/containerSystemTopology.js.map +1 -0
- package/internal/crypto/keying/containerUserRecipientKey.js +15 -0
- package/internal/crypto/keying/containerUserRecipientKey.js.map +1 -0
- package/internal/crypto/keying/documentAccess.d.ts +14 -0
- package/internal/crypto/keying/documentAccess.js +447 -0
- package/internal/crypto/keying/documentAccess.js.map +1 -0
- package/internal/crypto/keying/documentAccessAuthorization.d.ts +33 -0
- package/internal/crypto/keying/documentAccessAuthorization.js +89 -0
- package/internal/crypto/keying/documentAccessAuthorization.js.map +1 -0
- package/internal/crypto/keying/documentAccessBody.d.ts +2 -0
- package/internal/crypto/keying/documentAccessBody.js +35 -0
- package/internal/crypto/keying/documentAccessBody.js.map +1 -0
- package/internal/crypto/keying/documentBlobRewraps.js +82 -0
- package/internal/crypto/keying/documentBlobRewraps.js.map +1 -0
- package/internal/crypto/keying/documentCitationScope.js +55 -0
- package/internal/crypto/keying/documentCitationScope.js.map +1 -0
- package/internal/crypto/keying/documentContentWriteAuthority.d.ts +18 -0
- package/internal/crypto/keying/documentContentWriteAuthority.js +81 -0
- package/internal/crypto/keying/documentContentWriteAuthority.js.map +1 -0
- package/internal/crypto/keying/documentPurge.d.ts +17 -0
- package/internal/crypto/keying/documentPurge.js +124 -0
- package/internal/crypto/keying/documentPurge.js.map +1 -0
- package/internal/crypto/keying/index.d.ts +35 -0
- package/internal/crypto/keying/index.js +31 -0
- package/internal/crypto/keying/index.js.map +1 -0
- package/internal/crypto/keying/keyingHashDomains.d.ts +1 -0
- package/internal/crypto/keying/keyingHashDomains.js +2 -0
- package/internal/crypto/keying/keyingHashDomains.js.map +1 -0
- package/internal/crypto/keying/principalPolicy.d.ts +8 -0
- package/internal/crypto/keying/principalPolicy.js +189 -0
- package/internal/crypto/keying/principalPolicy.js.map +1 -0
- package/internal/crypto/keying/principalPolicyBundleHistory.d.ts +7 -0
- package/internal/crypto/keying/principalPolicyBundleHistory.js +75 -0
- package/internal/crypto/keying/principalPolicyBundleHistory.js.map +1 -0
- package/internal/crypto/keying/principalPolicyChainEntry.js +83 -0
- package/internal/crypto/keying/principalPolicyChainEntry.js.map +1 -0
- package/internal/crypto/keying/principalPolicyCommitments.js +37 -0
- package/internal/crypto/keying/principalPolicyCommitments.js.map +1 -0
- package/internal/crypto/keying/principalPolicyCurrent.d.ts +12 -0
- package/internal/crypto/keying/principalPolicyCurrent.js +57 -0
- package/internal/crypto/keying/principalPolicyCurrent.js.map +1 -0
- package/internal/crypto/keying/principalPolicyExternalAuthority.js +66 -0
- package/internal/crypto/keying/principalPolicyExternalAuthority.js.map +1 -0
- package/internal/crypto/keying/principalPolicyExternalAuthorityTypes.d.ts +15 -0
- package/internal/crypto/keying/principalPolicyExternalAuthorityTypes.js +2 -0
- package/internal/crypto/keying/principalPolicyExternalAuthorityTypes.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistory.d.ts +12 -0
- package/internal/crypto/keying/principalPolicyHistory.js +158 -0
- package/internal/crypto/keying/principalPolicyHistory.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryChecks.js +60 -0
- package/internal/crypto/keying/principalPolicyHistoryChecks.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryIndex.d.ts +26 -0
- package/internal/crypto/keying/principalPolicyHistoryIndex.js +106 -0
- package/internal/crypto/keying/principalPolicyHistoryIndex.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryPage.d.ts +17 -0
- package/internal/crypto/keying/principalPolicyHistoryPage.js +87 -0
- package/internal/crypto/keying/principalPolicyHistoryPage.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryProgress.js +90 -0
- package/internal/crypto/keying/principalPolicyHistoryProgress.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryProgressEntry.js +107 -0
- package/internal/crypto/keying/principalPolicyHistoryProgressEntry.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryProgressProtection.js +76 -0
- package/internal/crypto/keying/principalPolicyHistoryProgressProtection.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryReferences.d.ts +18 -0
- package/internal/crypto/keying/principalPolicyHistoryReferences.js +64 -0
- package/internal/crypto/keying/principalPolicyHistoryReferences.js.map +1 -0
- package/internal/crypto/keying/principalPolicyHistoryTypes.d.ts +46 -0
- package/internal/crypto/keying/principalPolicyHistoryTypes.js +21 -0
- package/internal/crypto/keying/principalPolicyHistoryTypes.js.map +1 -0
- package/internal/crypto/keying/principalPolicyMemberEnvelopes.js +27 -0
- package/internal/crypto/keying/principalPolicyMemberEnvelopes.js.map +1 -0
- package/internal/crypto/keying/principalPolicyPayload.js +20 -0
- package/internal/crypto/keying/principalPolicyPayload.js.map +1 -0
- package/internal/crypto/keying/principalPolicyReference.js +33 -0
- package/internal/crypto/keying/principalPolicyReference.js.map +1 -0
- package/internal/crypto/keying/principalPolicySelection.d.ts +11 -0
- package/internal/crypto/keying/principalPolicySelection.js +32 -0
- package/internal/crypto/keying/principalPolicySelection.js.map +1 -0
- package/internal/crypto/keying/principalPolicySignatures.js +36 -0
- package/internal/crypto/keying/principalPolicySignatures.js.map +1 -0
- package/internal/crypto/keying/principalPolicySignerKeys.js +30 -0
- package/internal/crypto/keying/principalPolicySignerKeys.js.map +1 -0
- package/internal/crypto/keying/principalPolicyTransition.d.ts +21 -0
- package/internal/crypto/keying/principalPolicyTransition.js +103 -0
- package/internal/crypto/keying/principalPolicyTransition.js.map +1 -0
- package/internal/crypto/keying/principalPolicyTypes.d.ts +126 -0
- package/internal/crypto/keying/principalPolicyTypes.js +23 -0
- package/internal/crypto/keying/principalPolicyTypes.js.map +1 -0
- package/internal/crypto/keying/shared.js +252 -0
- package/internal/crypto/keying/shared.js.map +1 -0
- package/internal/crypto/keying/transparency.d.ts +8 -0
- package/internal/crypto/keying/transparency.js +266 -0
- package/internal/crypto/keying/transparency.js.map +1 -0
- package/internal/crypto/keying/transparencyProofs.d.ts +28 -0
- package/internal/crypto/keying/transparencyProofs.js +215 -0
- package/internal/crypto/keying/transparencyProofs.js.map +1 -0
- package/internal/crypto/keying/transparencyTree.d.ts +14 -0
- package/internal/crypto/keying/transparencyTree.js +137 -0
- package/internal/crypto/keying/transparencyTree.js.map +1 -0
- package/internal/crypto/keying/types.d.ts +669 -0
- package/internal/crypto/keying/types.js +124 -0
- package/internal/crypto/keying/types.js.map +1 -0
- package/internal/crypto/keying/verificationError.d.ts +14 -0
- package/internal/crypto/keying/verificationError.js +28 -0
- package/internal/crypto/keying/verificationError.js.map +1 -0
- package/internal/crypto/keying/writeHeader.d.ts +5 -0
- package/internal/crypto/keying/writeHeader.js +226 -0
- package/internal/crypto/keying/writeHeader.js.map +1 -0
- package/internal/crypto/keying/writeHeaderAuthorization.js +81 -0
- package/internal/crypto/keying/writeHeaderAuthorization.js.map +1 -0
- package/internal/crypto/keying/writeHeaderCitations.js +21 -0
- package/internal/crypto/keying/writeHeaderCitations.js.map +1 -0
- package/internal/crypto/keying.d.ts +1 -0
- package/internal/crypto/keying.js +2 -0
- package/internal/crypto/keying.js.map +1 -0
- package/internal/crypto/organizationReplacement.d.ts +18 -0
- package/internal/crypto/organizationReplacement.js +133 -0
- package/internal/crypto/organizationReplacement.js.map +1 -0
- package/internal/crypto/principalContainerGrants.d.ts +3 -0
- package/internal/crypto/principalContainerGrants.js +39 -0
- package/internal/crypto/principalContainerGrants.js.map +1 -0
- package/internal/crypto/principalMemberEnvelopes.d.ts +7 -0
- package/internal/crypto/principalMemberEnvelopes.js +69 -0
- package/internal/crypto/principalMemberEnvelopes.js.map +1 -0
- package/internal/crypto/principalPolicyValidationError.d.ts +6 -0
- package/internal/crypto/principalPolicyValidationError.js +12 -0
- package/internal/crypto/principalPolicyValidationError.js.map +1 -0
- package/internal/crypto/principalState.d.ts +17 -0
- package/internal/crypto/principalState.js +280 -0
- package/internal/crypto/principalState.js.map +1 -0
- package/internal/crypto/principalStateMembers.js +39 -0
- package/internal/crypto/principalStateMembers.js.map +1 -0
- package/internal/crypto/principalStateTypes.d.ts +93 -0
- package/internal/crypto/principalStateTypes.js +2 -0
- package/internal/crypto/principalStateTypes.js.map +1 -0
- package/internal/crypto/principalStateVerification.d.ts +11 -0
- package/internal/crypto/principalStateVerification.js +47 -0
- package/internal/crypto/principalStateVerification.js.map +1 -0
- package/internal/crypto/projectionHistory.d.ts +14 -0
- package/internal/crypto/projectionHistory.js +90 -0
- package/internal/crypto/projectionHistory.js.map +1 -0
- package/internal/crypto/projectionHistorySlots.d.ts +13 -0
- package/internal/crypto/projectionHistorySlots.js +85 -0
- package/internal/crypto/projectionHistorySlots.js.map +1 -0
- package/internal/crypto/signing/generateKeyPair.d.ts +9 -0
- package/internal/crypto/signing/generateKeyPair.js +17 -0
- package/internal/crypto/signing/generateKeyPair.js.map +1 -0
- package/internal/crypto/signing/sign.d.ts +1 -0
- package/internal/crypto/signing/sign.js +9 -0
- package/internal/crypto/signing/sign.js.map +1 -0
- package/internal/crypto/signing/verifiedHistorySignature.js +37 -0
- package/internal/crypto/signing/verifiedHistorySignature.js.map +1 -0
- package/internal/crypto/signing/verifiedSignatureHistory.js +60 -0
- package/internal/crypto/signing/verifiedSignatureHistory.js.map +1 -0
- package/internal/crypto/signing/verify.d.ts +1 -0
- package/internal/crypto/signing/verify.js +16 -0
- package/internal/crypto/signing/verify.js.map +1 -0
- package/internal/crypto/symmetric.d.ts +11 -0
- package/internal/crypto/symmetric.js +54 -0
- package/internal/crypto/symmetric.js.map +1 -0
- package/internal/encoding/base64.js +16 -0
- package/internal/encoding/base64.js.map +1 -0
- package/internal/encoding/index.js +2 -0
- package/internal/encoding/index.js.map +1 -0
- package/internal/loro/document.d.ts +109 -0
- package/internal/loro/document.js +301 -0
- package/internal/loro/document.js.map +1 -0
- package/internal/loro/historyCanonicalization.js +74 -0
- package/internal/loro/historyCanonicalization.js.map +1 -0
- package/internal/loro/importMetadata.d.ts +8 -0
- package/internal/loro/importMetadata.js +17 -0
- package/internal/loro/importMetadata.js.map +1 -0
- package/internal/loro/index.d.ts +4 -0
- package/internal/loro/index.js +5 -0
- package/internal/loro/index.js.map +1 -0
- package/internal/loro/shared/index.d.ts +1 -0
- package/internal/loro/shared/index.js +2 -0
- package/internal/loro/shared/index.js.map +1 -0
- package/internal/loro/shared/validators.d.ts +12 -0
- package/internal/loro/shared/validators.js +2 -0
- package/internal/loro/shared/validators.js.map +1 -0
- package/internal/loro/updateIdentity.d.ts +8 -0
- package/internal/loro/updateIdentity.js +89 -0
- package/internal/loro/updateIdentity.js.map +1 -0
- package/internal/sqlite-worker/client.d.ts +27 -0
- package/internal/sqlite-worker/client.js +105 -0
- package/internal/sqlite-worker/client.js.map +1 -0
- package/internal/sqlite-worker/crossTabLocalClient.js +58 -0
- package/internal/sqlite-worker/crossTabLocalClient.js.map +1 -0
- package/internal/sqlite-worker/crossTabLocks.js +118 -0
- package/internal/sqlite-worker/crossTabLocks.js.map +1 -0
- package/internal/sqlite-worker/crossTabOwner.js +210 -0
- package/internal/sqlite-worker/crossTabOwner.js.map +1 -0
- package/internal/sqlite-worker/crossTabOwnership.js +53 -0
- package/internal/sqlite-worker/crossTabOwnership.js.map +1 -0
- package/internal/sqlite-worker/crossTabProtocol.js +53 -0
- package/internal/sqlite-worker/crossTabProtocol.js.map +1 -0
- package/internal/sqlite-worker/crossTabRuntime.js +387 -0
- package/internal/sqlite-worker/crossTabRuntime.js.map +1 -0
- package/internal/sqlite-worker/purgeOpfsDatabase.d.ts +13 -0
- package/internal/sqlite-worker/purgeOpfsDatabase.js +53 -0
- package/internal/sqlite-worker/purgeOpfsDatabase.js.map +1 -0
- package/internal/sqlite-worker/renewedClientTransport.d.ts +19 -0
- package/internal/sqlite-worker/renewedClientTransport.js +102 -0
- package/internal/sqlite-worker/renewedClientTransport.js.map +1 -0
- package/internal/sqlite-worker/runtime.d.ts +96 -0
- package/internal/sqlite-worker/runtime.js +280 -0
- package/internal/sqlite-worker/runtime.js.map +1 -0
- package/internal/sqlite-worker/sahPoolStorage.js +37 -0
- package/internal/sqlite-worker/sahPoolStorage.js.map +1 -0
- package/internal/sqlite-worker/types.d.ts +94 -0
- package/internal/sqlite-worker/types.js +4 -0
- package/internal/sqlite-worker/types.js.map +1 -0
- package/internal/sqlite-worker/workerCrash.js +40 -0
- package/internal/sqlite-worker/workerCrash.js.map +1 -0
- package/internal/validators/billing.d.ts +42 -0
- package/internal/validators/billing.js +86 -0
- package/internal/validators/billing.js.map +1 -0
- package/internal/validators/billingWebhookRefinements.js +9 -0
- package/internal/validators/billingWebhookRefinements.js.map +1 -0
- package/internal/validators/containerReadRefinements.js +32 -0
- package/internal/validators/containerReadRefinements.js.map +1 -0
- package/internal/validators/containerReadSchemas.js +4 -0
- package/internal/validators/containerReadSchemas.js.map +1 -0
- package/internal/validators/containerSystemSlot.d.ts +12 -0
- package/internal/validators/containerSystemSlot.js +44 -0
- package/internal/validators/containerSystemSlot.js.map +1 -0
- package/internal/validators/documentAttributionRefinements.js +8 -0
- package/internal/validators/documentAttributionRefinements.js.map +1 -0
- package/internal/validators/documentSyncCheckpoint.js +17 -0
- package/internal/validators/documentSyncCheckpoint.js.map +1 -0
- package/internal/validators/documentSyncRefinements.js +69 -0
- package/internal/validators/documentSyncRefinements.js.map +1 -0
- package/internal/validators/documentSyncRequestMode.js +9 -0
- package/internal/validators/documentSyncRequestMode.js.map +1 -0
- package/internal/validators/isPlainObject.js +8 -0
- package/internal/validators/isPlainObject.js.map +1 -0
- package/internal/validators/jsonSchema.js +295 -0
- package/internal/validators/jsonSchema.js.map +1 -0
- package/internal/validators/jsonSchemaEncoding.js +88 -0
- package/internal/validators/jsonSchemaEncoding.js.map +1 -0
- package/internal/validators/operation/apiVersion.d.ts +9 -0
- package/internal/validators/operation/apiVersion.js +16 -0
- package/internal/validators/operation/apiVersion.js.map +1 -0
- package/internal/validators/operation/attachments.d.ts +1313 -0
- package/internal/validators/operation/attachments.js +83 -0
- package/internal/validators/operation/attachments.js.map +1 -0
- package/internal/validators/operation/auth.d.ts +8306 -0
- package/internal/validators/operation/auth.js +164 -0
- package/internal/validators/operation/auth.js.map +1 -0
- package/internal/validators/operation/billingWebhooks.d.ts +379 -0
- package/internal/validators/operation/billingWebhooks.js +66 -0
- package/internal/validators/operation/billingWebhooks.js.map +1 -0
- package/internal/validators/operation/blobBytes.d.ts +377 -0
- package/internal/validators/operation/blobBytes.js +122 -0
- package/internal/validators/operation/blobBytes.js.map +1 -0
- package/internal/validators/operation/containerMutations.d.ts +12465 -0
- package/internal/validators/operation/containerMutations.js +131 -0
- package/internal/validators/operation/containerMutations.js.map +1 -0
- package/internal/validators/operation/containerReads.d.ts +695 -0
- package/internal/validators/operation/containerReads.js +124 -0
- package/internal/validators/operation/containerReads.js.map +1 -0
- package/internal/validators/operation/containerReplacement.d.ts +172 -0
- package/internal/validators/operation/containerReplacement.js +29 -0
- package/internal/validators/operation/containerReplacement.js.map +1 -0
- package/internal/validators/operation/definition.d.ts +49 -0
- package/internal/validators/operation/definition.js +76 -0
- package/internal/validators/operation/definition.js.map +1 -0
- package/internal/validators/operation/documentAttribution.d.ts +482 -0
- package/internal/validators/operation/documentAttribution.js +140 -0
- package/internal/validators/operation/documentAttribution.js.map +1 -0
- package/internal/validators/operation/documentMutations.d.ts +3386 -0
- package/internal/validators/operation/documentMutations.js +92 -0
- package/internal/validators/operation/documentMutations.js.map +1 -0
- package/internal/validators/operation/documentSync.d.ts +1236 -0
- package/internal/validators/operation/documentSync.js +46 -0
- package/internal/validators/operation/documentSync.js.map +1 -0
- package/internal/validators/operation/headerNames.d.ts +3 -0
- package/internal/validators/operation/headerNames.js +32 -0
- package/internal/validators/operation/headerNames.js.map +1 -0
- package/internal/validators/operation/health.d.ts +66 -0
- package/internal/validators/operation/health.js +21 -0
- package/internal/validators/operation/health.js.map +1 -0
- package/internal/validators/operation/index.d.ts +25 -0
- package/internal/validators/operation/index.js +26 -0
- package/internal/validators/operation/index.js.map +1 -0
- package/internal/validators/operation/multipartBlobs.d.ts +567 -0
- package/internal/validators/operation/multipartBlobs.js +74 -0
- package/internal/validators/operation/multipartBlobs.js.map +1 -0
- package/internal/validators/operation/organizationBilling.d.ts +1175 -0
- package/internal/validators/operation/organizationBilling.js +105 -0
- package/internal/validators/operation/organizationBilling.js.map +1 -0
- package/internal/validators/operation/organizationPolicyHistory.d.ts +480 -0
- package/internal/validators/operation/organizationPolicyHistory.js +23 -0
- package/internal/validators/operation/organizationPolicyHistory.js.map +1 -0
- package/internal/validators/operation/organizations.d.ts +11315 -0
- package/internal/validators/operation/organizations.js +203 -0
- package/internal/validators/operation/organizations.js.map +1 -0
- package/internal/validators/operation/principalPolicyPageQuery.d.ts +6 -0
- package/internal/validators/operation/principalPolicyPageQuery.js +20 -0
- package/internal/validators/operation/principalPolicyPageQuery.js.map +1 -0
- package/internal/validators/operation/principals.d.ts +3672 -0
- package/internal/validators/operation/principals.js +96 -0
- package/internal/validators/operation/principals.js.map +1 -0
- package/internal/validators/operation/registry.d.ts +94 -0
- package/internal/validators/operation/registry.js +97 -0
- package/internal/validators/operation/registry.js.map +1 -0
- package/internal/validators/operation/root.d.ts +583 -0
- package/internal/validators/operation/root.js +79 -0
- package/internal/validators/operation/root.js.map +1 -0
- package/internal/validators/operation/rootOrganizations.d.ts +1165 -0
- package/internal/validators/operation/rootOrganizations.js +86 -0
- package/internal/validators/operation/rootOrganizations.js.map +1 -0
- package/internal/validators/operation/stripeCheckout.d.ts +901 -0
- package/internal/validators/operation/stripeCheckout.js +86 -0
- package/internal/validators/operation/stripeCheckout.js.map +1 -0
- package/internal/validators/operation/writerProjections.d.ts +2338 -0
- package/internal/validators/operation/writerProjections.js +59 -0
- package/internal/validators/operation/writerProjections.js.map +1 -0
- package/internal/validators/organizationBillingRefinements.js +5 -0
- package/internal/validators/organizationBillingRefinements.js.map +1 -0
- package/internal/validators/organizationDataUsageRefinements.js +18 -0
- package/internal/validators/organizationDataUsageRefinements.js.map +1 -0
- package/internal/validators/organizationProvisioningRefinements.js +25 -0
- package/internal/validators/organizationProvisioningRefinements.js.map +1 -0
- package/internal/validators/organizationReadModelRefinements.js +8 -0
- package/internal/validators/organizationReadModelRefinements.js.map +1 -0
- package/internal/validators/projectionHistoryRefinements.js +5 -0
- package/internal/validators/projectionHistoryRefinements.js.map +1 -0
- package/internal/validators/realtime/index.js +5 -0
- package/internal/validators/realtime/index.js.map +1 -0
- package/internal/validators/realtime/wsClientDeclarations.js +57 -0
- package/internal/validators/realtime/wsClientDeclarations.js.map +1 -0
- package/internal/validators/realtime/wsInvalidationHints.js +76 -0
- package/internal/validators/realtime/wsInvalidationHints.js.map +1 -0
- package/internal/validators/realtime/wsServerFrames.js +64 -0
- package/internal/validators/realtime/wsServerFrames.js.map +1 -0
- package/internal/validators/realtime/wsShared.js +18 -0
- package/internal/validators/realtime/wsShared.js.map +1 -0
- package/internal/validators/request/auth/challenge.d.ts +12 -0
- package/internal/validators/request/auth/challenge.js +8 -0
- package/internal/validators/request/auth/challenge.js.map +1 -0
- package/internal/validators/request/auth/index.d.ts +2 -0
- package/internal/validators/request/auth/index.js +3 -0
- package/internal/validators/request/auth/index.js.map +1 -0
- package/internal/validators/request/auth/verify.d.ts +16 -0
- package/internal/validators/request/auth/verify.js +10 -0
- package/internal/validators/request/auth/verify.js.map +1 -0
- package/internal/validators/request/blob.d.ts +645 -0
- package/internal/validators/request/blob.js +68 -0
- package/internal/validators/request/blob.js.map +1 -0
- package/internal/validators/request/container.d.ts +598 -0
- package/internal/validators/request/container.js +60 -0
- package/internal/validators/request/container.js.map +1 -0
- package/internal/validators/request/containerMetadata.d.ts +961 -0
- package/internal/validators/request/containerMetadata.js +15 -0
- package/internal/validators/request/containerMetadata.js.map +1 -0
- package/internal/validators/request/containerParentLanes.d.ts +22 -0
- package/internal/validators/request/containerParentLanes.js +52 -0
- package/internal/validators/request/containerParentLanes.js.map +1 -0
- package/internal/validators/request/contentKeyEnvelopeSchema.js +23 -0
- package/internal/validators/request/contentKeyEnvelopeSchema.js.map +1 -0
- package/internal/validators/request/document.d.ts +838 -0
- package/internal/validators/request/document.js +81 -0
- package/internal/validators/request/document.js.map +1 -0
- package/internal/validators/request/documentSyncSchema.d.ts +485 -0
- package/internal/validators/request/documentSyncSchema.js +208 -0
- package/internal/validators/request/documentSyncSchema.js.map +1 -0
- package/internal/validators/request/index.d.ts +14 -0
- package/internal/validators/request/index.js +14 -0
- package/internal/validators/request/index.js.map +1 -0
- package/internal/validators/request/organization.d.ts +1529 -0
- package/internal/validators/request/organization.js +41 -0
- package/internal/validators/request/organization.js.map +1 -0
- package/internal/validators/request/organizationProvisioning.d.ts +18090 -0
- package/internal/validators/request/organizationProvisioning.js +123 -0
- package/internal/validators/request/organizationProvisioning.js.map +1 -0
- package/internal/validators/request/principal.d.ts +1677 -0
- package/internal/validators/request/principal.js +86 -0
- package/internal/validators/request/principal.js.map +1 -0
- package/internal/validators/request/registration.d.ts +5684 -0
- package/internal/validators/request/registration.js +12 -0
- package/internal/validators/request/registration.js.map +1 -0
- package/internal/validators/request/revenuecatWebhook.d.ts +385 -0
- package/internal/validators/request/revenuecatWebhook.js +72 -0
- package/internal/validators/request/revenuecatWebhook.js.map +1 -0
- package/internal/validators/request/stripeCheckout.d.ts +13 -0
- package/internal/validators/request/stripeCheckout.js +12 -0
- package/internal/validators/request/stripeCheckout.js.map +1 -0
- package/internal/validators/request/stripeWebhook.d.ts +5 -0
- package/internal/validators/request/stripeWebhook.js +7 -0
- package/internal/validators/request/stripeWebhook.js.map +1 -0
- package/internal/validators/response/accessLevel.d.ts +4 -0
- package/internal/validators/response/accessLevel.js +6 -0
- package/internal/validators/response/accessLevel.js.map +1 -0
- package/internal/validators/response/auth/challenge.d.ts +24 -0
- package/internal/validators/response/auth/challenge.js +11 -0
- package/internal/validators/response/auth/challenge.js.map +1 -0
- package/internal/validators/response/auth/index.d.ts +6 -0
- package/internal/validators/response/auth/index.js +7 -0
- package/internal/validators/response/auth/index.js.map +1 -0
- package/internal/validators/response/auth/sessionFailure.d.ts +28 -0
- package/internal/validators/response/auth/sessionFailure.js +22 -0
- package/internal/validators/response/auth/sessionFailure.js.map +1 -0
- package/internal/validators/response/auth/sessions.d.ts +90 -0
- package/internal/validators/response/auth/sessions.js +27 -0
- package/internal/validators/response/auth/sessions.js.map +1 -0
- package/internal/validators/response/auth/userIdentity.d.ts +28 -0
- package/internal/validators/response/auth/userIdentity.js +13 -0
- package/internal/validators/response/auth/userIdentity.js.map +1 -0
- package/internal/validators/response/auth/verify.d.ts +71 -0
- package/internal/validators/response/auth/verify.js +26 -0
- package/internal/validators/response/auth/verify.js.map +1 -0
- package/internal/validators/response/auth/wsTicket.d.ts +12 -0
- package/internal/validators/response/auth/wsTicket.js +9 -0
- package/internal/validators/response/auth/wsTicket.js.map +1 -0
- package/internal/validators/response/billingWebhooks.d.ts +31 -0
- package/internal/validators/response/billingWebhooks.js +17 -0
- package/internal/validators/response/billingWebhooks.js.map +1 -0
- package/internal/validators/response/blob.d.ts +854 -0
- package/internal/validators/response/blob.js +121 -0
- package/internal/validators/response/blob.js.map +1 -0
- package/internal/validators/response/blobMutationError.d.ts +17 -0
- package/internal/validators/response/blobMutationError.js +17 -0
- package/internal/validators/response/blobMutationError.js.map +1 -0
- package/internal/validators/response/container.d.ts +2484 -0
- package/internal/validators/response/container.js +188 -0
- package/internal/validators/response/container.js.map +1 -0
- package/internal/validators/response/containerMetadata.d.ts +392 -0
- package/internal/validators/response/containerMetadata.js +12 -0
- package/internal/validators/response/containerMetadata.js.map +1 -0
- package/internal/validators/response/containerMutationError.d.ts +443 -0
- package/internal/validators/response/containerMutationError.js +53 -0
- package/internal/validators/response/containerMutationError.js.map +1 -0
- package/internal/validators/response/containerNotFoundError.d.ts +12 -0
- package/internal/validators/response/containerNotFoundError.js +12 -0
- package/internal/validators/response/containerNotFoundError.js.map +1 -0
- package/internal/validators/response/containerParentLanes.d.ts +80 -0
- package/internal/validators/response/containerParentLanes.js +30 -0
- package/internal/validators/response/containerParentLanes.js.map +1 -0
- package/internal/validators/response/containerUnavailableError.d.ts +11 -0
- package/internal/validators/response/containerUnavailableError.js +11 -0
- package/internal/validators/response/containerUnavailableError.js.map +1 -0
- package/internal/validators/response/descendantRekeysRequiredError.js +9 -0
- package/internal/validators/response/descendantRekeysRequiredError.js.map +1 -0
- package/internal/validators/response/document.d.ts +374 -0
- package/internal/validators/response/document.js +95 -0
- package/internal/validators/response/document.js.map +1 -0
- package/internal/validators/response/documentMutation.d.ts +2585 -0
- package/internal/validators/response/documentMutation.js +100 -0
- package/internal/validators/response/documentMutation.js.map +1 -0
- package/internal/validators/response/documentMutationError.d.ts +17 -0
- package/internal/validators/response/documentMutationError.js +28 -0
- package/internal/validators/response/documentMutationError.js.map +1 -0
- package/internal/validators/response/documentSyncError.d.ts +470 -0
- package/internal/validators/response/documentSyncError.js +91 -0
- package/internal/validators/response/documentSyncError.js.map +1 -0
- package/internal/validators/response/documentSyncSchema.d.ts +477 -0
- package/internal/validators/response/documentSyncSchema.js +107 -0
- package/internal/validators/response/documentSyncSchema.js.map +1 -0
- package/internal/validators/response/error.d.ts +12 -0
- package/internal/validators/response/error.js +9 -0
- package/internal/validators/response/error.js.map +1 -0
- package/internal/validators/response/health.d.ts +12 -0
- package/internal/validators/response/health.js +9 -0
- package/internal/validators/response/health.js.map +1 -0
- package/internal/validators/response/index.d.ts +39 -0
- package/internal/validators/response/index.js +40 -0
- package/internal/validators/response/index.js.map +1 -0
- package/internal/validators/response/multipartBlobStageError.d.ts +37 -0
- package/internal/validators/response/multipartBlobStageError.js +34 -0
- package/internal/validators/response/multipartBlobStageError.js.map +1 -0
- package/internal/validators/response/organization.d.ts +2210 -0
- package/internal/validators/response/organization.js +186 -0
- package/internal/validators/response/organization.js.map +1 -0
- package/internal/validators/response/organizationBilling.d.ts +136 -0
- package/internal/validators/response/organizationBilling.js +104 -0
- package/internal/validators/response/organizationBilling.js.map +1 -0
- package/internal/validators/response/organizationBillingHistory.d.ts +243 -0
- package/internal/validators/response/organizationBillingHistory.js +75 -0
- package/internal/validators/response/organizationBillingHistory.js.map +1 -0
- package/internal/validators/response/organizationBillingManagementUrl.d.ts +28 -0
- package/internal/validators/response/organizationBillingManagementUrl.js +24 -0
- package/internal/validators/response/organizationBillingManagementUrl.js.map +1 -0
- package/internal/validators/response/organizationDataUsage.d.ts +50 -0
- package/internal/validators/response/organizationDataUsage.js +80 -0
- package/internal/validators/response/organizationDataUsage.js.map +1 -0
- package/internal/validators/response/organizationNativePurchaseEligibility.d.ts +36 -0
- package/internal/validators/response/organizationNativePurchaseEligibility.js +31 -0
- package/internal/validators/response/organizationNativePurchaseEligibility.js.map +1 -0
- package/internal/validators/response/organizationPolicyHistory.d.ts +380 -0
- package/internal/validators/response/organizationPolicyHistory.js +10 -0
- package/internal/validators/response/organizationPolicyHistory.js.map +1 -0
- package/internal/validators/response/organizationPresentationError.d.ts +17 -0
- package/internal/validators/response/organizationPresentationError.js +18 -0
- package/internal/validators/response/organizationPresentationError.js.map +1 -0
- package/internal/validators/response/organizationProvisioning.d.ts +4799 -0
- package/internal/validators/response/organizationProvisioning.js +71 -0
- package/internal/validators/response/organizationProvisioning.js.map +1 -0
- package/internal/validators/response/organizationReadModel.d.ts +733 -0
- package/internal/validators/response/organizationReadModel.js +159 -0
- package/internal/validators/response/organizationReadModel.js.map +1 -0
- package/internal/validators/response/organizationReadModelError.d.ts +16 -0
- package/internal/validators/response/organizationReadModelError.js +15 -0
- package/internal/validators/response/organizationReadModelError.js.map +1 -0
- package/internal/validators/response/principal.d.ts +2573 -0
- package/internal/validators/response/principal.js +66 -0
- package/internal/validators/response/principal.js.map +1 -0
- package/internal/validators/response/principalHistoryPreparation.js +9 -0
- package/internal/validators/response/principalHistoryPreparation.js.map +1 -0
- package/internal/validators/response/principalPolicyPage.d.ts +429 -0
- package/internal/validators/response/principalPolicyPage.js +16 -0
- package/internal/validators/response/principalPolicyPage.js.map +1 -0
- package/internal/validators/response/principalReference.d.ts +40 -0
- package/internal/validators/response/principalReference.js +15 -0
- package/internal/validators/response/principalReference.js.map +1 -0
- package/internal/validators/response/principalSnapshot.d.ts +775 -0
- package/internal/validators/response/principalSnapshot.js +88 -0
- package/internal/validators/response/principalSnapshot.js.map +1 -0
- package/internal/validators/response/projectionPolicyEvidence.d.ts +700 -0
- package/internal/validators/response/projectionPolicyEvidence.js +9 -0
- package/internal/validators/response/projectionPolicyEvidence.js.map +1 -0
- package/internal/validators/response/registration.d.ts +1668 -0
- package/internal/validators/response/registration.js +12 -0
- package/internal/validators/response/registration.js.map +1 -0
- package/internal/validators/response/root.d.ts +419 -0
- package/internal/validators/response/root.js +68 -0
- package/internal/validators/response/root.js.map +1 -0
- package/internal/validators/response/rootOrganizations.d.ts +561 -0
- package/internal/validators/response/rootOrganizations.js +64 -0
- package/internal/validators/response/rootOrganizations.js.map +1 -0
- package/internal/validators/response/stripeCheckout.d.ts +143 -0
- package/internal/validators/response/stripeCheckout.js +57 -0
- package/internal/validators/response/stripeCheckout.js.map +1 -0
- package/internal/validators/response/syncWatermark.d.ts +16 -0
- package/internal/validators/response/syncWatermark.js +10 -0
- package/internal/validators/response/syncWatermark.js.map +1 -0
- package/internal/validators/schema.js +158 -0
- package/internal/validators/schema.js.map +1 -0
- package/internal/validators/stripeCheckoutRefinements.js +5 -0
- package/internal/validators/stripeCheckoutRefinements.js.map +1 -0
- package/internal/validators/util/accessManifestBundle.d.ts +84 -0
- package/internal/validators/util/accessManifestBundle.js +34 -0
- package/internal/validators/util/accessManifestBundle.js.map +1 -0
- package/internal/validators/util/blob.d.ts +2 -0
- package/internal/validators/util/blob.js +3 -0
- package/internal/validators/util/blob.js.map +1 -0
- package/internal/validators/util/containerKekKeyringWire.d.ts +105 -0
- package/internal/validators/util/containerKekKeyringWire.js +98 -0
- package/internal/validators/util/containerKekKeyringWire.js.map +1 -0
- package/internal/validators/util/containerLimits.d.ts +2 -0
- package/internal/validators/util/containerLimits.js +3 -0
- package/internal/validators/util/containerLimits.js.map +1 -0
- package/internal/validators/util/documentSyncLimits.d.ts +10 -0
- package/internal/validators/util/documentSyncLimits.js +27 -0
- package/internal/validators/util/documentSyncLimits.js.map +1 -0
- package/internal/validators/util/index.d.ts +14 -0
- package/internal/validators/util/index.js +15 -0
- package/internal/validators/util/index.js.map +1 -0
- package/internal/validators/util/keyEnvelope.d.ts +7 -0
- package/internal/validators/util/keyEnvelope.js +12 -0
- package/internal/validators/util/keyEnvelope.js.map +1 -0
- package/internal/validators/util/organizationReplacement.d.ts +18 -0
- package/internal/validators/util/organizationReplacement.js +21 -0
- package/internal/validators/util/organizationReplacement.js.map +1 -0
- package/internal/validators/util/principalHistoryWire.d.ts +2 -0
- package/internal/validators/util/principalHistoryWire.js +3 -0
- package/internal/validators/util/principalHistoryWire.js.map +1 -0
- package/internal/validators/util/projectionHistoryWire.d.ts +23 -0
- package/internal/validators/util/projectionHistoryWire.js +33 -0
- package/internal/validators/util/projectionHistoryWire.js.map +1 -0
- package/internal/validators/util/properties.d.ts +17 -0
- package/internal/validators/util/properties.js +58 -0
- package/internal/validators/util/properties.js.map +1 -0
- package/internal/validators/util/protocol.d.ts +9 -0
- package/internal/validators/util/protocol.js +26 -0
- package/internal/validators/util/protocol.js.map +1 -0
- package/internal/validators/util/signedAt.d.ts +14 -0
- package/internal/validators/util/signedAt.js +21 -0
- package/internal/validators/util/signedAt.js.map +1 -0
- package/internal/validators/util/uuid.d.ts +2 -0
- package/internal/validators/util/uuid.js +5 -0
- package/internal/validators/util/uuid.js.map +1 -0
- package/internal/validators/util/walLsn.d.ts +3 -0
- package/internal/validators/util/walLsn.js +22 -0
- package/internal/validators/util/walLsn.js.map +1 -0
- package/internal/validators/writerProjectionRefinements.js +10 -0
- package/internal/validators/writerProjectionRefinements.js.map +1 -0
- package/package.json +35 -4
- package/sqlite.d.ts +18 -0
- package/sqlite.js +11 -0
- package/sqlite.js.map +1 -0
- package/stores/container-contents/accessRestorationSweep.js +146 -0
- package/stores/container-contents/accessRestorationSweep.js.map +1 -0
- package/stores/container-contents/backgroundHydration.js +32 -0
- package/stores/container-contents/backgroundHydration.js.map +1 -0
- package/stores/container-contents/containerContentsStore.d.ts +18 -0
- package/stores/container-contents/containerContentsStore.js +190 -0
- package/stores/container-contents/containerContentsStore.js.map +1 -0
- package/stores/container-contents/containerPurgeCore.js +98 -0
- package/stores/container-contents/containerPurgeCore.js.map +1 -0
- package/stores/container-contents/containerStateMap.js +49 -0
- package/stores/container-contents/containerStateMap.js.map +1 -0
- package/stores/container-contents/containerStatePersistence.js +57 -0
- package/stores/container-contents/containerStatePersistence.js.map +1 -0
- package/stores/container-contents/documentRecovery.js +114 -0
- package/stores/container-contents/documentRecovery.js.map +1 -0
- package/stores/container-contents/documentRotation.js +13 -0
- package/stores/container-contents/documentRotation.js.map +1 -0
- package/stores/container-contents/documentWork.js +29 -0
- package/stores/container-contents/documentWork.js.map +1 -0
- package/stores/container-contents/emptyTrashOperation.js +20 -0
- package/stores/container-contents/emptyTrashOperation.js.map +1 -0
- package/stores/container-contents/existingSystemContainer.js +58 -0
- package/stores/container-contents/existingSystemContainer.js.map +1 -0
- package/stores/container-contents/groupRewrapOperation.js +52 -0
- package/stores/container-contents/groupRewrapOperation.js.map +1 -0
- package/stores/container-contents/index.d.ts +6 -0
- package/stores/container-contents/index.js +6 -0
- package/stores/container-contents/index.js.map +1 -0
- package/stores/container-contents/localRefresh.js +189 -0
- package/stores/container-contents/localRefresh.js.map +1 -0
- package/stores/container-contents/logLabel.js +4 -0
- package/stores/container-contents/logLabel.js.map +1 -0
- package/stores/container-contents/metadataSyncSignal.js +37 -0
- package/stores/container-contents/metadataSyncSignal.js.map +1 -0
- package/stores/container-contents/missingContainerState.js +10 -0
- package/stores/container-contents/missingContainerState.js.map +1 -0
- package/stores/container-contents/missingSyncedContainerState.js +10 -0
- package/stores/container-contents/missingSyncedContainerState.js.map +1 -0
- package/stores/container-contents/operations.js +301 -0
- package/stores/container-contents/operations.js.map +1 -0
- package/stores/container-contents/organizationMetadataSystemContainer.js +44 -0
- package/stores/container-contents/organizationMetadataSystemContainer.js.map +1 -0
- package/stores/container-contents/purgeContainerOperation.js +17 -0
- package/stores/container-contents/purgeContainerOperation.js.map +1 -0
- package/stores/container-contents/reconcilableContainer.d.ts +48 -0
- package/stores/container-contents/reconcilableContainer.js +78 -0
- package/stores/container-contents/reconcilableContainer.js.map +1 -0
- package/stores/container-contents/remoteBackedContainerState.js +9 -0
- package/stores/container-contents/remoteBackedContainerState.js.map +1 -0
- package/stores/container-contents/remoteContainerIngestion.js +59 -0
- package/stores/container-contents/remoteContainerIngestion.js.map +1 -0
- package/stores/container-contents/remoteEventProjectionInvalidation.js +36 -0
- package/stores/container-contents/remoteEventProjectionInvalidation.js.map +1 -0
- package/stores/container-contents/remoteEventSync.js +38 -0
- package/stores/container-contents/remoteEventSync.js.map +1 -0
- package/stores/container-contents/remoteHydrationRefresh.js +113 -0
- package/stores/container-contents/remoteHydrationRefresh.js.map +1 -0
- package/stores/container-contents/remoteHydrationRequest.js +245 -0
- package/stores/container-contents/remoteHydrationRequest.js.map +1 -0
- package/stores/container-contents/remoteWriteGuards.js +54 -0
- package/stores/container-contents/remoteWriteGuards.js.map +1 -0
- package/stores/container-contents/remoteWriteQueue.js +51 -0
- package/stores/container-contents/remoteWriteQueue.js.map +1 -0
- package/stores/container-contents/reportShareFailure.js +44 -0
- package/stores/container-contents/reportShareFailure.js.map +1 -0
- package/stores/container-contents/setContainerIconOperation.js +47 -0
- package/stores/container-contents/setContainerIconOperation.js.map +1 -0
- package/stores/container-contents/shareOperations.js +90 -0
- package/stores/container-contents/shareOperations.js.map +1 -0
- package/stores/container-contents/startupHydration.js +110 -0
- package/stores/container-contents/startupHydration.js.map +1 -0
- package/stores/container-contents/state.d.ts +14 -0
- package/stores/container-contents/state.js +224 -0
- package/stores/container-contents/state.js.map +1 -0
- package/stores/container-contents/syncAgent.d.ts +8 -0
- package/stores/container-contents/syncAgent.js +241 -0
- package/stores/container-contents/syncAgent.js.map +1 -0
- package/stores/container-contents/syncAgentTypes.d.ts +81 -0
- package/stores/container-contents/syncAgentTypes.js +2 -0
- package/stores/container-contents/syncAgentTypes.js.map +1 -0
- package/stores/container-contents/syncLaneIteration.js +237 -0
- package/stores/container-contents/syncLaneIteration.js.map +1 -0
- package/stores/container-contents/systemContainerHydration.js +30 -0
- package/stores/container-contents/systemContainerHydration.js.map +1 -0
- package/stores/container-contents/systemContainerIcon.js +42 -0
- package/stores/container-contents/systemContainerIcon.js.map +1 -0
- package/stores/container-contents/systemContainerLookup.js +65 -0
- package/stores/container-contents/systemContainerLookup.js.map +1 -0
- package/stores/container-contents/systemContainerPostCreate.js +109 -0
- package/stores/container-contents/systemContainerPostCreate.js.map +1 -0
- package/stores/container-contents/systemContainerPromotion.js +49 -0
- package/stores/container-contents/systemContainerPromotion.js.map +1 -0
- package/stores/container-contents/types.d.ts +88 -0
- package/stores/container-contents/types.js +2 -0
- package/stores/container-contents/types.js.map +1 -0
- package/stores/container-contents/utils.js +63 -0
- package/stores/container-contents/utils.js.map +1 -0
- package/stores/container-contents/writeGeneration.js +37 -0
- package/stores/container-contents/writeGeneration.js.map +1 -0
- package/stores/documents/documentStore/ancestorRepairPark.js +29 -0
- package/stores/documents/documentStore/ancestorRepairPark.js.map +1 -0
- package/stores/documents/documentStore/attachmentDetachState.js +54 -0
- package/stores/documents/documentStore/attachmentDetachState.js.map +1 -0
- package/stores/documents/documentStore/attachmentHydration.js +54 -0
- package/stores/documents/documentStore/attachmentHydration.js.map +1 -0
- package/stores/documents/documentStore/attachmentHydrationCommit.js +53 -0
- package/stores/documents/documentStore/attachmentHydrationCommit.js.map +1 -0
- package/stores/documents/documentStore/attachmentIntents.js +39 -0
- package/stores/documents/documentStore/attachmentIntents.js.map +1 -0
- package/stores/documents/documentStore/attachmentMutationPersistence.js +37 -0
- package/stores/documents/documentStore/attachmentMutationPersistence.js.map +1 -0
- package/stores/documents/documentStore/attachmentPersistFollowup.js +16 -0
- package/stores/documents/documentStore/attachmentPersistFollowup.js.map +1 -0
- package/stores/documents/documentStore/attachmentPersistence.js +106 -0
- package/stores/documents/documentStore/attachmentPersistence.js.map +1 -0
- package/stores/documents/documentStore/attachmentSnapshot.js +33 -0
- package/stores/documents/documentStore/attachmentSnapshot.js.map +1 -0
- package/stores/documents/documentStore/attachmentSourceUpload.js +39 -0
- package/stores/documents/documentStore/attachmentSourceUpload.js.map +1 -0
- package/stores/documents/documentStore/attachmentStaging.js +73 -0
- package/stores/documents/documentStore/attachmentStaging.js.map +1 -0
- package/stores/documents/documentStore/attachmentUploadAttempt.js +97 -0
- package/stores/documents/documentStore/attachmentUploadAttempt.js.map +1 -0
- package/stores/documents/documentStore/attachmentUploadLane.js +49 -0
- package/stores/documents/documentStore/attachmentUploadLane.js.map +1 -0
- package/stores/documents/documentStore/attachmentUploadResume.js +95 -0
- package/stores/documents/documentStore/attachmentUploadResume.js.map +1 -0
- package/stores/documents/documentStore/attachmentWriteGeneration.js +32 -0
- package/stores/documents/documentStore/attachmentWriteGeneration.js.map +1 -0
- package/stores/documents/documentStore/attachments.js +330 -0
- package/stores/documents/documentStore/attachments.js.map +1 -0
- package/stores/documents/documentStore/discard.js +88 -0
- package/stores/documents/documentStore/discard.js.map +1 -0
- package/stores/documents/documentStore/documentHistoryCompaction.js +67 -0
- package/stores/documents/documentStore/documentHistoryCompaction.js.map +1 -0
- package/stores/documents/documentStore/durableDocumentReload.js +79 -0
- package/stores/documents/documentStore/durableDocumentReload.js.map +1 -0
- package/stores/documents/documentStore/historyRebuild.js +75 -0
- package/stores/documents/documentStore/historyRebuild.js.map +1 -0
- package/stores/documents/documentStore/identityWriteChain.js +20 -0
- package/stores/documents/documentStore/identityWriteChain.js.map +1 -0
- package/stores/documents/documentStore/initialization.js +318 -0
- package/stores/documents/documentStore/initialization.js.map +1 -0
- package/stores/documents/documentStore/initializationAttachments.js +9 -0
- package/stores/documents/documentStore/initializationAttachments.js.map +1 -0
- package/stores/documents/documentStore/initializationHistory.js +33 -0
- package/stores/documents/documentStore/initializationHistory.js.map +1 -0
- package/stores/documents/documentStore/initializationRecovery.js +107 -0
- package/stores/documents/documentStore/initializationRecovery.js.map +1 -0
- package/stores/documents/documentStore/internalRelink.js +12 -0
- package/stores/documents/documentStore/internalRelink.js.map +1 -0
- package/stores/documents/documentStore/mutationIdentityRevalidation.js +8 -0
- package/stores/documents/documentStore/mutationIdentityRevalidation.js.map +1 -0
- package/stores/documents/documentStore/mutations.js +254 -0
- package/stores/documents/documentStore/mutations.js.map +1 -0
- package/stores/documents/documentStore/orphanMaintenance.js +8 -0
- package/stores/documents/documentStore/orphanMaintenance.js.map +1 -0
- package/stores/documents/documentStore/pendingUpdateRefusal.js +15 -0
- package/stores/documents/documentStore/pendingUpdateRefusal.js.map +1 -0
- package/stores/documents/documentStore/persistence.js +268 -0
- package/stores/documents/documentStore/persistence.js.map +1 -0
- package/stores/documents/documentStore/pullContinuationInvalidation.js +61 -0
- package/stores/documents/documentStore/pullContinuationInvalidation.js.map +1 -0
- package/stores/documents/documentStore/remoteRevalidationTelemetry.js +15 -0
- package/stores/documents/documentStore/remoteRevalidationTelemetry.js.map +1 -0
- package/stores/documents/documentStore/remoteWork.js +43 -0
- package/stores/documents/documentStore/remoteWork.js.map +1 -0
- package/stores/documents/documentStore/reportWriteFailure.js +49 -0
- package/stores/documents/documentStore/reportWriteFailure.js.map +1 -0
- package/stores/documents/documentStore/rotation.js +307 -0
- package/stores/documents/documentStore/rotation.js.map +1 -0
- package/stores/documents/documentStore/rotationProvenance.js +52 -0
- package/stores/documents/documentStore/rotationProvenance.js.map +1 -0
- package/stores/documents/documentStore/rotationSettlement.js +222 -0
- package/stores/documents/documentStore/rotationSettlement.js.map +1 -0
- package/stores/documents/documentStore/rows.js +133 -0
- package/stores/documents/documentStore/rows.js.map +1 -0
- package/stores/documents/documentStore/state.js +223 -0
- package/stores/documents/documentStore/state.js.map +1 -0
- package/stores/documents/documentStore/storedDocument.js +29 -0
- package/stores/documents/documentStore/storedDocument.js.map +1 -0
- package/stores/documents/documentStore/sync.js +292 -0
- package/stores/documents/documentStore/sync.js.map +1 -0
- package/stores/documents/documentStore/syncAcceptedUpdateIds.js +35 -0
- package/stores/documents/documentStore/syncAcceptedUpdateIds.js.map +1 -0
- package/stores/documents/documentStore/syncAttachmentSettlement.js +72 -0
- package/stores/documents/documentStore/syncAttachmentSettlement.js.map +1 -0
- package/stores/documents/documentStore/syncAttachments.js +323 -0
- package/stores/documents/documentStore/syncAttachments.js.map +1 -0
- package/stores/documents/documentStore/syncDetachedAttachments.js +125 -0
- package/stores/documents/documentStore/syncDetachedAttachments.js.map +1 -0
- package/stores/documents/documentStore/syncFinalize.js +200 -0
- package/stores/documents/documentStore/syncFinalize.js.map +1 -0
- package/stores/documents/documentStore/syncGeneration.js +193 -0
- package/stores/documents/documentStore/syncGeneration.js.map +1 -0
- package/stores/documents/documentStore/syncOutgoingCoverage.js +96 -0
- package/stores/documents/documentStore/syncOutgoingCoverage.js.map +1 -0
- package/stores/documents/documentStore/syncRemoteSignals.js +67 -0
- package/stores/documents/documentStore/syncRemoteSignals.js.map +1 -0
- package/stores/documents/documentStore/syncRequest.js +158 -0
- package/stores/documents/documentStore/syncRequest.js.map +1 -0
- package/stores/documents/documentStore/syncShared.js +211 -0
- package/stores/documents/documentStore/syncShared.js.map +1 -0
- package/stores/documents/documentStore/syncUpdateImport.js +62 -0
- package/stores/documents/documentStore/syncUpdateImport.js.map +1 -0
- package/stores/documents/documentStore/versionCoverage.js +45 -0
- package/stores/documents/documentStore/versionCoverage.js.map +1 -0
- package/stores/documents/documentStore/writerProjectionGeneration.js +20 -0
- package/stores/documents/documentStore/writerProjectionGeneration.js.map +1 -0
- package/stores/documents/documentStore.d.ts +8 -0
- package/stores/documents/documentStore.js +212 -0
- package/stores/documents/documentStore.js.map +1 -0
- package/stores/documents/index.d.ts +2 -0
- package/stores/documents/index.js +3 -0
- package/stores/documents/index.js.map +1 -0
- package/stores/documents/registry.d.ts +43 -0
- package/stores/documents/registry.js +206 -0
- package/stores/documents/registry.js.map +1 -0
- package/stores/documents/types.d.ts +85 -0
- package/stores/documents/types.js +2 -0
- package/stores/documents/types.js.map +1 -0
- package/stores/local-projection/index.d.ts +3 -0
- package/stores/local-projection/index.js +2 -0
- package/stores/local-projection/index.js.map +1 -0
- package/stores/local-projection/localProjectionStore.d.ts +31 -0
- package/stores/local-projection/localProjectionStore.js +299 -0
- package/stores/local-projection/localProjectionStore.js.map +1 -0
- package/stores/local-projection/registry.d.ts +15 -0
- package/stores/local-projection/registry.js +24 -0
- package/stores/local-projection/registry.js.map +1 -0
- package/stores/local-projection/summaryCache.js +93 -0
- package/stores/local-projection/summaryCache.js.map +1 -0
- package/stores/local-projection/types.d.ts +45 -0
- package/stores/local-projection/types.js +2 -0
- package/stores/local-projection/types.js.map +1 -0
- package/sync/reconciliation/documentContentPull.js +49 -0
- package/sync/reconciliation/documentContentPull.js.map +1 -0
- package/sync/reconciliation/idleBackfill.js +37 -0
- package/sync/reconciliation/idleBackfill.js.map +1 -0
- package/sync/reconciliation/index.d.ts +3 -0
- package/sync/reconciliation/index.js +3 -0
- package/sync/reconciliation/index.js.map +1 -0
- package/sync/reconciliation/initialDocumentProbe.d.ts +37 -0
- package/sync/reconciliation/initialDocumentProbe.js +269 -0
- package/sync/reconciliation/initialDocumentProbe.js.map +1 -0
- package/sync/reconciliation/knownContainerSweep.js +126 -0
- package/sync/reconciliation/knownContainerSweep.js.map +1 -0
- package/sync/reconciliation/laneFailure.js +36 -0
- package/sync/reconciliation/laneFailure.js.map +1 -0
- package/sync/reconciliation/originatedDocuments.js +49 -0
- package/sync/reconciliation/originatedDocuments.js.map +1 -0
- package/sync/reconciliation/queue.d.ts +18 -0
- package/sync/reconciliation/queue.js +32 -0
- package/sync/reconciliation/queue.js.map +1 -0
- package/sync/reconciliation/reconcileContainer.js +31 -0
- package/sync/reconciliation/reconcileContainer.js.map +1 -0
- package/sync/reconciliation/service.d.ts +2 -0
- package/sync/reconciliation/service.js +282 -0
- package/sync/reconciliation/service.js.map +1 -0
- package/sync/reconciliation/serviceTypes.d.ts +66 -0
- package/sync/reconciliation/serviceTypes.js +2 -0
- package/sync/reconciliation/serviceTypes.js.map +1 -0
- package/sync/reconciliation/triggers.d.ts +28 -0
- package/sync/reconciliation/triggers.js +93 -0
- package/sync/reconciliation/triggers.js.map +1 -0
- package/workflows/blobs/attachmentBindingVerification.js +49 -0
- package/workflows/blobs/attachmentBindingVerification.js.map +1 -0
- package/workflows/blobs/attachmentDecryptor.js +41 -0
- package/workflows/blobs/attachmentDecryptor.js.map +1 -0
- package/workflows/blobs/attachmentKeyAuthenticator.js +68 -0
- package/workflows/blobs/attachmentKeyAuthenticator.js.map +1 -0
- package/workflows/blobs/automaticMultipartUpload.js +9 -0
- package/workflows/blobs/automaticMultipartUpload.js.map +1 -0
- package/workflows/blobs/blobChunkDecryption.js +34 -0
- package/workflows/blobs/blobChunkDecryption.js.map +1 -0
- package/workflows/blobs/decrypt.d.ts +12 -0
- package/workflows/blobs/decrypt.js +244 -0
- package/workflows/blobs/decrypt.js.map +1 -0
- package/workflows/blobs/detach.js +57 -0
- package/workflows/blobs/detach.js.map +1 -0
- package/workflows/blobs/hydrate.d.ts +52 -0
- package/workflows/blobs/hydrate.js +174 -0
- package/workflows/blobs/hydrate.js.map +1 -0
- package/workflows/blobs/hydrationResults.js +23 -0
- package/workflows/blobs/hydrationResults.js.map +1 -0
- package/workflows/blobs/index.d.ts +11 -0
- package/workflows/blobs/index.js +9 -0
- package/workflows/blobs/index.js.map +1 -0
- package/workflows/blobs/multipartStageFailures.js +36 -0
- package/workflows/blobs/multipartStageFailures.js.map +1 -0
- package/workflows/blobs/multipartUpload.js +288 -0
- package/workflows/blobs/multipartUpload.js.map +1 -0
- package/workflows/blobs/retainedAttachmentVerification.js +38 -0
- package/workflows/blobs/retainedAttachmentVerification.js.map +1 -0
- package/workflows/blobs/upload.d.ts +10 -0
- package/workflows/blobs/upload.js +243 -0
- package/workflows/blobs/upload.js.map +1 -0
- package/workflows/blobs/verifiedWrapScope.js +20 -0
- package/workflows/blobs/verifiedWrapScope.js.map +1 -0
- package/workflows/blobs/writerProjection.js +29 -0
- package/workflows/blobs/writerProjection.js.map +1 -0
- package/workflows/container-contents/availableDocumentLinkIntent.js +32 -0
- package/workflows/container-contents/availableDocumentLinkIntent.js.map +1 -0
- package/workflows/container-contents/blobInfo.d.ts +6 -0
- package/workflows/container-contents/blobInfo.js +323 -0
- package/workflows/container-contents/blobInfo.js.map +1 -0
- package/workflows/container-contents/blobInfoRows.js +72 -0
- package/workflows/container-contents/blobInfoRows.js.map +1 -0
- package/workflows/container-contents/blobInfoTypes.d.ts +48 -0
- package/workflows/container-contents/blobInfoTypes.js +2 -0
- package/workflows/container-contents/blobInfoTypes.js.map +1 -0
- package/workflows/container-contents/container-state/createAdoption.js +191 -0
- package/workflows/container-contents/container-state/createAdoption.js.map +1 -0
- package/workflows/container-contents/container-state/createChild.js +217 -0
- package/workflows/container-contents/container-state/createChild.js.map +1 -0
- package/workflows/container-contents/container-state/createIntentDepth.js +36 -0
- package/workflows/container-contents/container-state/createIntentDepth.js.map +1 -0
- package/workflows/container-contents/container-state/createIntentSettlement.js +21 -0
- package/workflows/container-contents/container-state/createIntentSettlement.js.map +1 -0
- package/workflows/container-contents/container-state/createIntentSync.js +354 -0
- package/workflows/container-contents/container-state/createIntentSync.js.map +1 -0
- package/workflows/container-contents/container-state/createTerminalFailure.js +19 -0
- package/workflows/container-contents/container-state/createTerminalFailure.js.map +1 -0
- package/workflows/container-contents/container-state/createWithMetadata.js +332 -0
- package/workflows/container-contents/container-state/createWithMetadata.js.map +1 -0
- package/workflows/container-contents/container-state/delete.js +34 -0
- package/workflows/container-contents/container-state/delete.js.map +1 -0
- package/workflows/container-contents/container-state/groupGrantVerification.js +93 -0
- package/workflows/container-contents/container-state/groupGrantVerification.js.map +1 -0
- package/workflows/container-contents/container-state/localPathDepth.js +60 -0
- package/workflows/container-contents/container-state/localPathDepth.js.map +1 -0
- package/workflows/container-contents/container-state/moveIntentSync.js +345 -0
- package/workflows/container-contents/container-state/moveIntentSync.js.map +1 -0
- package/workflows/container-contents/container-state/projectionCache.js +71 -0
- package/workflows/container-contents/container-state/projectionCache.js.map +1 -0
- package/workflows/container-contents/container-state/purgeProgress.d.ts +9 -0
- package/workflows/container-contents/container-state/purgeProgress.js +2 -0
- package/workflows/container-contents/container-state/purgeProgress.js.map +1 -0
- package/workflows/container-contents/container-state/purgeTree.js +251 -0
- package/workflows/container-contents/container-state/purgeTree.js.map +1 -0
- package/workflows/container-contents/container-state/purgeTreeCollection.js +34 -0
- package/workflows/container-contents/container-state/purgeTreeCollection.js.map +1 -0
- package/workflows/container-contents/container-state/purgeTreeContainerDeletion.js +67 -0
- package/workflows/container-contents/container-state/purgeTreeContainerDeletion.js.map +1 -0
- package/workflows/container-contents/container-state/remote.js +156 -0
- package/workflows/container-contents/container-state/remote.js.map +1 -0
- package/workflows/container-contents/container-state/share.js +305 -0
- package/workflows/container-contents/container-state/share.js.map +1 -0
- package/workflows/container-contents/container-state/sharePersistence.js +136 -0
- package/workflows/container-contents/container-state/sharePersistence.js.map +1 -0
- package/workflows/container-contents/container-state/types.js +2 -0
- package/workflows/container-contents/container-state/types.js.map +1 -0
- package/workflows/container-contents/containerDocumentListing.js +52 -0
- package/workflows/container-contents/containerDocumentListing.js.map +1 -0
- package/workflows/container-contents/containerEvents.js +112 -0
- package/workflows/container-contents/containerEvents.js.map +1 -0
- package/workflows/container-contents/containerInfo.d.ts +77 -0
- package/workflows/container-contents/containerInfo.js +200 -0
- package/workflows/container-contents/containerInfo.js.map +1 -0
- package/workflows/container-contents/containerPersistence.d.ts +21 -0
- package/workflows/container-contents/containerPersistence.js +40 -0
- package/workflows/container-contents/containerPersistence.js.map +1 -0
- package/workflows/container-contents/deferredDocumentLinks.js +9 -0
- package/workflows/container-contents/deferredDocumentLinks.js.map +1 -0
- package/workflows/container-contents/documentAttributionRanges.d.ts +26 -0
- package/workflows/container-contents/documentAttributionRanges.js +15 -0
- package/workflows/container-contents/documentAttributionRanges.js.map +1 -0
- package/workflows/container-contents/documentCharacterBlame.js +33 -0
- package/workflows/container-contents/documentCharacterBlame.js.map +1 -0
- package/workflows/container-contents/documentDiscovery.d.ts +12 -0
- package/workflows/container-contents/documentDiscovery.js +255 -0
- package/workflows/container-contents/documentDiscovery.js.map +1 -0
- package/workflows/container-contents/documentDiscoveryCandidates.js +29 -0
- package/workflows/container-contents/documentDiscoveryCandidates.js.map +1 -0
- package/workflows/container-contents/documentDiscoveryEvidence.js +91 -0
- package/workflows/container-contents/documentDiscoveryEvidence.js.map +1 -0
- package/workflows/container-contents/documentDiscoveryInputs.js +85 -0
- package/workflows/container-contents/documentDiscoveryInputs.js.map +1 -0
- package/workflows/container-contents/documentDiscoveryTypes.d.ts +154 -0
- package/workflows/container-contents/documentDiscoveryTypes.js +2 -0
- package/workflows/container-contents/documentDiscoveryTypes.js.map +1 -0
- package/workflows/container-contents/documentFieldBlame.js +26 -0
- package/workflows/container-contents/documentFieldBlame.js.map +1 -0
- package/workflows/container-contents/documentHeadScope.js +9 -0
- package/workflows/container-contents/documentHeadScope.js.map +1 -0
- package/workflows/container-contents/documentHydrationProbe.js +146 -0
- package/workflows/container-contents/documentHydrationProbe.js.map +1 -0
- package/workflows/container-contents/documentInfo.d.ts +18 -0
- package/workflows/container-contents/documentInfo.js +306 -0
- package/workflows/container-contents/documentInfo.js.map +1 -0
- package/workflows/container-contents/documentInfoTypes.d.ts +92 -0
- package/workflows/container-contents/documentInfoTypes.js +2 -0
- package/workflows/container-contents/documentInfoTypes.js.map +1 -0
- package/workflows/container-contents/documentLinkIntent.js +82 -0
- package/workflows/container-contents/documentLinkIntent.js.map +1 -0
- package/workflows/container-contents/documentLinks.d.ts +59 -0
- package/workflows/container-contents/documentLinks.js +262 -0
- package/workflows/container-contents/documentLinks.js.map +1 -0
- package/workflows/container-contents/documentLocalRelink.js +23 -0
- package/workflows/container-contents/documentLocalRelink.js.map +1 -0
- package/workflows/container-contents/documentMoveDeniedReplay.js +20 -0
- package/workflows/container-contents/documentMoveDeniedReplay.js.map +1 -0
- package/workflows/container-contents/documentMoveFailure.js +35 -0
- package/workflows/container-contents/documentMoveFailure.js.map +1 -0
- package/workflows/container-contents/documentMoveIntent.js +77 -0
- package/workflows/container-contents/documentMoveIntent.js.map +1 -0
- package/workflows/container-contents/documentMoveIntentErrors.js +17 -0
- package/workflows/container-contents/documentMoveIntentErrors.js.map +1 -0
- package/workflows/container-contents/documentMoveIntentSettlement.js +25 -0
- package/workflows/container-contents/documentMoveIntentSettlement.js.map +1 -0
- package/workflows/container-contents/documentMoveIntentSync.js +346 -0
- package/workflows/container-contents/documentMoveIntentSync.js.map +1 -0
- package/workflows/container-contents/documentMoveUnlinkIds.js +21 -0
- package/workflows/container-contents/documentMoveUnlinkIds.js.map +1 -0
- package/workflows/container-contents/documentMoveVanishedRefresh.js +100 -0
- package/workflows/container-contents/documentMoveVanishedRefresh.js.map +1 -0
- package/workflows/container-contents/documentPriming.js +248 -0
- package/workflows/container-contents/documentPriming.js.map +1 -0
- package/workflows/container-contents/documentPurge.d.ts +31 -0
- package/workflows/container-contents/documentPurge.js +129 -0
- package/workflows/container-contents/documentPurge.js.map +1 -0
- package/workflows/container-contents/documentQueries/rows.js +113 -0
- package/workflows/container-contents/documentQueries/rows.js.map +1 -0
- package/workflows/container-contents/documentQueries/sql.js +337 -0
- package/workflows/container-contents/documentQueries/sql.js.map +1 -0
- package/workflows/container-contents/documentQueries/types.d.ts +99 -0
- package/workflows/container-contents/documentQueries/types.js +2 -0
- package/workflows/container-contents/documentQueries/types.js.map +1 -0
- package/workflows/container-contents/documentQueries.d.ts +57 -0
- package/workflows/container-contents/documentQueries.js +205 -0
- package/workflows/container-contents/documentQueries.js.map +1 -0
- package/workflows/container-contents/documentRuntimeTargetSync.js +55 -0
- package/workflows/container-contents/documentRuntimeTargetSync.js.map +1 -0
- package/workflows/container-contents/documentStructure.d.ts +53 -0
- package/workflows/container-contents/documentStructure.js +183 -0
- package/workflows/container-contents/documentStructure.js.map +1 -0
- package/workflows/container-contents/documentStructureTypes.d.ts +32 -0
- package/workflows/container-contents/documentStructureTypes.js +2 -0
- package/workflows/container-contents/documentStructureTypes.js.map +1 -0
- package/workflows/container-contents/documentSubtreeQueries.js +169 -0
- package/workflows/container-contents/documentSubtreeQueries.js.map +1 -0
- package/workflows/container-contents/documentTombstoneEvidence.js +162 -0
- package/workflows/container-contents/documentTombstoneEvidence.js.map +1 -0
- package/workflows/container-contents/documentTombstoneGate.js +94 -0
- package/workflows/container-contents/documentTombstoneGate.js.map +1 -0
- package/workflows/container-contents/folderRecovery.d.ts +19 -0
- package/workflows/container-contents/folderRecovery.js +32 -0
- package/workflows/container-contents/folderRecovery.js.map +1 -0
- package/workflows/container-contents/index.d.ts +20 -0
- package/workflows/container-contents/index.js +19 -0
- package/workflows/container-contents/index.js.map +1 -0
- package/workflows/container-contents/localState.js +17 -0
- package/workflows/container-contents/localState.js.map +1 -0
- package/workflows/container-contents/metadata.d.ts +25 -0
- package/workflows/container-contents/metadata.js +217 -0
- package/workflows/container-contents/metadata.js.map +1 -0
- package/workflows/container-contents/metadataEvents.d.ts +7 -0
- package/workflows/container-contents/metadataEvents.js +47 -0
- package/workflows/container-contents/metadataEvents.js.map +1 -0
- package/workflows/container-contents/metadataIncomingUpdateIsolation.js +40 -0
- package/workflows/container-contents/metadataIncomingUpdateIsolation.js.map +1 -0
- package/workflows/container-contents/metadataMutationPreparation.d.ts +75 -0
- package/workflows/container-contents/metadataMutationPreparation.js +177 -0
- package/workflows/container-contents/metadataMutationPreparation.js.map +1 -0
- package/workflows/container-contents/metadataPersistence.d.ts +34 -0
- package/workflows/container-contents/metadataPersistence.js +254 -0
- package/workflows/container-contents/metadataPersistence.js.map +1 -0
- package/workflows/container-contents/metadataPullContinuationInvalidation.js +65 -0
- package/workflows/container-contents/metadataPullContinuationInvalidation.js.map +1 -0
- package/workflows/container-contents/metadataReadState.d.ts +2 -0
- package/workflows/container-contents/metadataReadState.js +11 -0
- package/workflows/container-contents/metadataReadState.js.map +1 -0
- package/workflows/container-contents/metadataRecord.js +43 -0
- package/workflows/container-contents/metadataRecord.js.map +1 -0
- package/workflows/container-contents/metadataRemoteSync.d.ts +38 -0
- package/workflows/container-contents/metadataRemoteSync.js +91 -0
- package/workflows/container-contents/metadataRemoteSync.js.map +1 -0
- package/workflows/container-contents/metadataStateInstallation.d.ts +3 -0
- package/workflows/container-contents/metadataStateInstallation.js +5 -0
- package/workflows/container-contents/metadataStateInstallation.js.map +1 -0
- package/workflows/container-contents/metadataStateIsolation.js +80 -0
- package/workflows/container-contents/metadataStateIsolation.js.map +1 -0
- package/workflows/container-contents/metadataSyncErrors.js +41 -0
- package/workflows/container-contents/metadataSyncErrors.js.map +1 -0
- package/workflows/container-contents/metadataSyncFollowup.js +11 -0
- package/workflows/container-contents/metadataSyncFollowup.js.map +1 -0
- package/workflows/container-contents/metadataSyncRegistrations.d.ts +4 -0
- package/workflows/container-contents/metadataSyncRegistrations.js +35 -0
- package/workflows/container-contents/metadataSyncRegistrations.js.map +1 -0
- package/workflows/container-contents/metadataSyncSettlement.d.ts +13 -0
- package/workflows/container-contents/metadataSyncSettlement.js +27 -0
- package/workflows/container-contents/metadataSyncSettlement.js.map +1 -0
- package/workflows/container-contents/metadataTypes.d.ts +54 -0
- package/workflows/container-contents/metadataTypes.js +2 -0
- package/workflows/container-contents/metadataTypes.js.map +1 -0
- package/workflows/container-contents/orphanedDocumentSql.js +39 -0
- package/workflows/container-contents/orphanedDocumentSql.js.map +1 -0
- package/workflows/container-contents/pendingWrites/aggregation.js +138 -0
- package/workflows/container-contents/pendingWrites/aggregation.js.map +1 -0
- package/workflows/container-contents/pendingWrites/deferredTails.js +213 -0
- package/workflows/container-contents/pendingWrites/deferredTails.js.map +1 -0
- package/workflows/container-contents/pendingWrites/rowReaders.js +12 -0
- package/workflows/container-contents/pendingWrites/rowReaders.js.map +1 -0
- package/workflows/container-contents/pendingWrites/sources.js +437 -0
- package/workflows/container-contents/pendingWrites/sources.js.map +1 -0
- package/workflows/container-contents/pendingWrites.d.ts +26 -0
- package/workflows/container-contents/pendingWrites.js +113 -0
- package/workflows/container-contents/pendingWrites.js.map +1 -0
- package/workflows/container-contents/pendingWritesTypes.d.ts +36 -0
- package/workflows/container-contents/pendingWritesTypes.js +2 -0
- package/workflows/container-contents/pendingWritesTypes.js.map +1 -0
- package/workflows/container-contents/projectionGeneration.js +10 -0
- package/workflows/container-contents/projectionGeneration.js.map +1 -0
- package/workflows/container-contents/projectionKeys.d.ts +15 -0
- package/workflows/container-contents/projectionKeys.js +25 -0
- package/workflows/container-contents/projectionKeys.js.map +1 -0
- package/workflows/container-contents/projectionView.js +25 -0
- package/workflows/container-contents/projectionView.js.map +1 -0
- package/workflows/container-contents/remoteContainerPageHydration.js +244 -0
- package/workflows/container-contents/remoteContainerPageHydration.js.map +1 -0
- package/workflows/container-contents/remoteContainerState.js +260 -0
- package/workflows/container-contents/remoteContainerState.js.map +1 -0
- package/workflows/container-contents/remoteHydration/childIndex.js +36 -0
- package/workflows/container-contents/remoteHydration/childIndex.js.map +1 -0
- package/workflows/container-contents/remoteHydration/completeHydration.js +25 -0
- package/workflows/container-contents/remoteHydration/completeHydration.js.map +1 -0
- package/workflows/container-contents/remoteHydration/containerStateFingerprint.js +14 -0
- package/workflows/container-contents/remoteHydration/containerStateFingerprint.js.map +1 -0
- package/workflows/container-contents/remoteHydration/destinationPrefetch.js +26 -0
- package/workflows/container-contents/remoteHydration/destinationPrefetch.js.map +1 -0
- package/workflows/container-contents/remoteHydration/destinationRoleCache.js +39 -0
- package/workflows/container-contents/remoteHydration/destinationRoleCache.js.map +1 -0
- package/workflows/container-contents/remoteHydration/destinationRootReload.js +10 -0
- package/workflows/container-contents/remoteHydration/destinationRootReload.js.map +1 -0
- package/workflows/container-contents/remoteHydration/heldContainerRebind.js +36 -0
- package/workflows/container-contents/remoteHydration/heldContainerRebind.js.map +1 -0
- package/workflows/container-contents/remoteHydration/insertRemoteContainer.js +135 -0
- package/workflows/container-contents/remoteHydration/insertRemoteContainer.js.map +1 -0
- package/workflows/container-contents/remoteHydration/laneFetchMarkers.js +27 -0
- package/workflows/container-contents/remoteHydration/laneFetchMarkers.js.map +1 -0
- package/workflows/container-contents/remoteHydration/parentLaneFetch.js +61 -0
- package/workflows/container-contents/remoteHydration/parentLaneFetch.js.map +1 -0
- package/workflows/container-contents/remoteHydration/parentLaneQueue.js +30 -0
- package/workflows/container-contents/remoteHydration/parentLaneQueue.js.map +1 -0
- package/workflows/container-contents/remoteHydration/principalPolicyCache.js +26 -0
- package/workflows/container-contents/remoteHydration/principalPolicyCache.js.map +1 -0
- package/workflows/container-contents/remoteHydration/reattachMetadata.js +49 -0
- package/workflows/container-contents/remoteHydration/reattachMetadata.js.map +1 -0
- package/workflows/container-contents/remoteHydration/reconciliation.js +322 -0
- package/workflows/container-contents/remoteHydration/reconciliation.js.map +1 -0
- package/workflows/container-contents/remoteHydration/remoteContainerTimestamps.js +31 -0
- package/workflows/container-contents/remoteHydration/remoteContainerTimestamps.js.map +1 -0
- package/workflows/container-contents/remoteHydration/replacementBinding.js +75 -0
- package/workflows/container-contents/remoteHydration/replacementBinding.js.map +1 -0
- package/workflows/container-contents/remoteHydration/tombstoneApplication.js +149 -0
- package/workflows/container-contents/remoteHydration/tombstoneApplication.js.map +1 -0
- package/workflows/container-contents/remoteHydration/tombstoneReasons.js +108 -0
- package/workflows/container-contents/remoteHydration/tombstoneReasons.js.map +1 -0
- package/workflows/container-contents/remoteHydration/types.d.ts +90 -0
- package/workflows/container-contents/remoteHydration/types.js +2 -0
- package/workflows/container-contents/remoteHydration/types.js.map +1 -0
- package/workflows/container-contents/remoteHydration/verifiedDestination.js +294 -0
- package/workflows/container-contents/remoteHydration/verifiedDestination.js.map +1 -0
- package/workflows/container-contents/remoteHydration.d.ts +28 -0
- package/workflows/container-contents/remoteHydration.js +302 -0
- package/workflows/container-contents/remoteHydration.js.map +1 -0
- package/workflows/container-contents/remoteHydrationLog.js +20 -0
- package/workflows/container-contents/remoteHydrationLog.js.map +1 -0
- package/workflows/container-contents/runtime.d.ts +69 -0
- package/workflows/container-contents/runtime.js +45 -0
- package/workflows/container-contents/runtime.js.map +1 -0
- package/workflows/container-contents/staleRootRecovery.js +111 -0
- package/workflows/container-contents/staleRootRecovery.js.map +1 -0
- package/workflows/container-contents/storedContainerState.js +84 -0
- package/workflows/container-contents/storedContainerState.js.map +1 -0
- package/workflows/container-contents/syncLane.d.ts +12 -0
- package/workflows/container-contents/syncLane.js +20 -0
- package/workflows/container-contents/syncLane.js.map +1 -0
- package/workflows/container-contents/syncState.d.ts +16 -0
- package/workflows/container-contents/syncState.js +28 -0
- package/workflows/container-contents/syncState.js.map +1 -0
- package/workflows/container-contents/systemSlot.d.ts +11 -0
- package/workflows/container-contents/systemSlot.js +19 -0
- package/workflows/container-contents/systemSlot.js.map +1 -0
- package/workflows/containers/child/carriedDescendantRekeys.js +118 -0
- package/workflows/containers/child/carriedDescendantRekeys.js.map +1 -0
- package/workflows/containers/child/create.d.ts +24 -0
- package/workflows/containers/child/create.js +337 -0
- package/workflows/containers/child/create.js.map +1 -0
- package/workflows/containers/child/createProjection.d.ts +6 -0
- package/workflows/containers/child/createProjection.js +43 -0
- package/workflows/containers/child/createProjection.js.map +1 -0
- package/workflows/containers/child/createSubmission.d.ts +58 -0
- package/workflows/containers/child/createSubmission.js +45 -0
- package/workflows/containers/child/createSubmission.js.map +1 -0
- package/workflows/containers/child/keyringOverrideLineage.d.ts +22 -0
- package/workflows/containers/child/keyringOverrideLineage.js +39 -0
- package/workflows/containers/child/keyringOverrideLineage.js.map +1 -0
- package/workflows/containers/child/move.d.ts +23 -0
- package/workflows/containers/child/move.js +268 -0
- package/workflows/containers/child/move.js.map +1 -0
- package/workflows/containers/child/moveArtifacts.js +102 -0
- package/workflows/containers/child/moveArtifacts.js.map +1 -0
- package/workflows/containers/child/moveRotation.js +88 -0
- package/workflows/containers/child/moveRotation.js.map +1 -0
- package/workflows/containers/child/moveWraps.js +49 -0
- package/workflows/containers/child/moveWraps.js.map +1 -0
- package/workflows/containers/child/mutationRequestCore.js +39 -0
- package/workflows/containers/child/mutationRequestCore.js.map +1 -0
- package/workflows/containers/child/mutationSubmit.js +122 -0
- package/workflows/containers/child/mutationSubmit.js.map +1 -0
- package/workflows/containers/child/policyRepair.js +23 -0
- package/workflows/containers/child/policyRepair.js.map +1 -0
- package/workflows/containers/child/recite.js +175 -0
- package/workflows/containers/child/recite.js.map +1 -0
- package/workflows/containers/child/recitePlan.js +80 -0
- package/workflows/containers/child/recitePlan.js.map +1 -0
- package/workflows/containers/child/rekey.d.ts +31 -0
- package/workflows/containers/child/rekey.js +227 -0
- package/workflows/containers/child/rekey.js.map +1 -0
- package/workflows/containers/child/rekeyProjection.d.ts +41 -0
- package/workflows/containers/child/rekeyProjection.js +110 -0
- package/workflows/containers/child/rekeyProjection.js.map +1 -0
- package/workflows/containers/child/rekeyRemote.d.ts +24 -0
- package/workflows/containers/child/rekeyRemote.js +64 -0
- package/workflows/containers/child/rekeyRemote.js.map +1 -0
- package/workflows/containers/child/revoke.d.ts +44 -0
- package/workflows/containers/child/revoke.js +229 -0
- package/workflows/containers/child/revoke.js.map +1 -0
- package/workflows/containers/child/revokeManifest.d.ts +12 -0
- package/workflows/containers/child/revokeManifest.js +48 -0
- package/workflows/containers/child/revokeManifest.js.map +1 -0
- package/workflows/containers/child/rotationContext.js +64 -0
- package/workflows/containers/child/rotationContext.js.map +1 -0
- package/workflows/containers/child/rotationPrincipalPolicies.js +19 -0
- package/workflows/containers/child/rotationPrincipalPolicies.js.map +1 -0
- package/workflows/containers/child/rotationWraps.js +85 -0
- package/workflows/containers/child/rotationWraps.js.map +1 -0
- package/workflows/containers/child/share.d.ts +65 -0
- package/workflows/containers/child/share.js +265 -0
- package/workflows/containers/child/share.js.map +1 -0
- package/workflows/containers/child/shareAncestorRepair.js +95 -0
- package/workflows/containers/child/shareAncestorRepair.js.map +1 -0
- package/workflows/containers/child/shareMaterialization.d.ts +25 -0
- package/workflows/containers/child/shareMaterialization.js +164 -0
- package/workflows/containers/child/shareMaterialization.js.map +1 -0
- package/workflows/containers/child/sharePlanCore.d.ts +81 -0
- package/workflows/containers/child/sharePlanCore.js +191 -0
- package/workflows/containers/child/sharePlanCore.js.map +1 -0
- package/workflows/containers/child/sharePrincipalPolicy.d.ts +50 -0
- package/workflows/containers/child/sharePrincipalPolicy.js +194 -0
- package/workflows/containers/child/sharePrincipalPolicy.js.map +1 -0
- package/workflows/containers/index.d.ts +22 -0
- package/workflows/containers/index.js +27 -0
- package/workflows/containers/index.js.map +1 -0
- package/workflows/containers/mutationResponse.d.ts +13 -0
- package/workflows/containers/mutationResponse.js +29 -0
- package/workflows/containers/mutationResponse.js.map +1 -0
- package/workflows/containers/root/create.d.ts +16 -0
- package/workflows/containers/root/create.js +290 -0
- package/workflows/containers/root/create.js.map +1 -0
- package/workflows/containers/root/initialGroupPolicy.js +35 -0
- package/workflows/containers/root/initialGroupPolicy.js.map +1 -0
- package/workflows/containers/writeRefusal.d.ts +22 -0
- package/workflows/containers/writeRefusal.js +32 -0
- package/workflows/containers/writeRefusal.js.map +1 -0
- package/workflows/documents/attachmentPersistence.d.ts +58 -0
- package/workflows/documents/attachmentPersistence.js +31 -0
- package/workflows/documents/attachmentPersistence.js.map +1 -0
- package/workflows/documents/author.d.ts +15 -0
- package/workflows/documents/author.js +17 -0
- package/workflows/documents/author.js.map +1 -0
- package/workflows/documents/authorAccessFailure.js +14 -0
- package/workflows/documents/authorAccessFailure.js.map +1 -0
- package/workflows/documents/blobMutationLock.d.ts +8 -0
- package/workflows/documents/blobMutationLock.js +35 -0
- package/workflows/documents/blobMutationLock.js.map +1 -0
- package/workflows/documents/create.d.ts +69 -0
- package/workflows/documents/create.js +313 -0
- package/workflows/documents/create.js.map +1 -0
- package/workflows/documents/createAdoption.js +100 -0
- package/workflows/documents/createAdoption.js.map +1 -0
- package/workflows/documents/createProjectionFetch.d.ts +27 -0
- package/workflows/documents/createProjectionFetch.js +26 -0
- package/workflows/documents/createProjectionFetch.js.map +1 -0
- package/workflows/documents/documentCreationPersistence.js +16 -0
- package/workflows/documents/documentCreationPersistence.js.map +1 -0
- package/workflows/documents/documentMutationCommit.d.ts +32 -0
- package/workflows/documents/documentMutationCommit.js +296 -0
- package/workflows/documents/documentMutationCommit.js.map +1 -0
- package/workflows/documents/documentMutationPreparation.d.ts +31 -0
- package/workflows/documents/documentMutationPreparation.js +146 -0
- package/workflows/documents/documentMutationPreparation.js.map +1 -0
- package/workflows/documents/documentPersistGuards.js +15 -0
- package/workflows/documents/documentPersistGuards.js.map +1 -0
- package/workflows/documents/historyContent.d.ts +28 -0
- package/workflows/documents/historyContent.js +56 -0
- package/workflows/documents/historyContent.js.map +1 -0
- package/workflows/documents/index.d.ts +35 -0
- package/workflows/documents/index.js +31 -0
- package/workflows/documents/index.js.map +1 -0
- package/workflows/documents/initialSync.js +65 -0
- package/workflows/documents/initialSync.js.map +1 -0
- package/workflows/documents/linkSet.d.ts +18 -0
- package/workflows/documents/linkSet.js +288 -0
- package/workflows/documents/linkSet.js.map +1 -0
- package/workflows/documents/linkSetAuthority.js +61 -0
- package/workflows/documents/linkSetAuthority.js.map +1 -0
- package/workflows/documents/linkSetBlobRewraps.js +141 -0
- package/workflows/documents/linkSetBlobRewraps.js.map +1 -0
- package/workflows/documents/linkSetProjectionSeed.js +119 -0
- package/workflows/documents/linkSetProjectionSeed.js.map +1 -0
- package/workflows/documents/linkSetRemote.d.ts +20 -0
- package/workflows/documents/linkSetRemote.js +184 -0
- package/workflows/documents/linkSetRemote.js.map +1 -0
- package/workflows/documents/orphanBlobReclaims.d.ts +5 -0
- package/workflows/documents/orphanBlobReclaims.js +141 -0
- package/workflows/documents/orphanBlobReclaims.js.map +1 -0
- package/workflows/documents/pendingUpdatePersistence.d.ts +22 -0
- package/workflows/documents/pendingUpdatePersistence.js +22 -0
- package/workflows/documents/pendingUpdatePersistence.js.map +1 -0
- package/workflows/documents/persistedDocumentRemoval.d.ts +44 -0
- package/workflows/documents/persistedDocumentRemoval.js +70 -0
- package/workflows/documents/persistedDocumentRemoval.js.map +1 -0
- package/workflows/documents/persistence.d.ts +23 -0
- package/workflows/documents/persistence.js +54 -0
- package/workflows/documents/persistence.js.map +1 -0
- package/workflows/documents/projectionKeys.d.ts +14 -0
- package/workflows/documents/projectionKeys.js +22 -0
- package/workflows/documents/projectionKeys.js.map +1 -0
- package/workflows/documents/purge.d.ts +46 -0
- package/workflows/documents/purge.js +184 -0
- package/workflows/documents/purge.js.map +1 -0
- package/workflows/documents/readOnlyProjectionFailure.js +30 -0
- package/workflows/documents/readOnlyProjectionFailure.js.map +1 -0
- package/workflows/documents/readOnlySync.d.ts +71 -0
- package/workflows/documents/readOnlySync.js +269 -0
- package/workflows/documents/readOnlySync.js.map +1 -0
- package/workflows/documents/reportDocumentSyncQuarantine.js +19 -0
- package/workflows/documents/reportDocumentSyncQuarantine.js.map +1 -0
- package/workflows/documents/rotationBaseline.js +76 -0
- package/workflows/documents/rotationBaseline.js.map +1 -0
- package/workflows/documents/runtime.d.ts +38 -0
- package/workflows/documents/runtime.js +19 -0
- package/workflows/documents/runtime.js.map +1 -0
- package/workflows/documents/sync.d.ts +4 -0
- package/workflows/documents/sync.js +285 -0
- package/workflows/documents/sync.js.map +1 -0
- package/workflows/documents/syncAbandon.js +51 -0
- package/workflows/documents/syncAbandon.js.map +1 -0
- package/workflows/documents/syncAttemptPlanning.js +79 -0
- package/workflows/documents/syncAttemptPlanning.js.map +1 -0
- package/workflows/documents/syncAttemptState.d.ts +27 -0
- package/workflows/documents/syncAttemptState.js +2 -0
- package/workflows/documents/syncAttemptState.js.map +1 -0
- package/workflows/documents/syncAutomaticContainerRekeys.js +119 -0
- package/workflows/documents/syncAutomaticContainerRekeys.js.map +1 -0
- package/workflows/documents/syncContainerRekeyPreparation.js +227 -0
- package/workflows/documents/syncContainerRekeyPreparation.js.map +1 -0
- package/workflows/documents/syncContainerRekeyProjection.js +79 -0
- package/workflows/documents/syncContainerRekeyProjection.js.map +1 -0
- package/workflows/documents/syncContainerRekeys.js +72 -0
- package/workflows/documents/syncContainerRekeys.js.map +1 -0
- package/workflows/documents/syncContentKeys.d.ts +39 -0
- package/workflows/documents/syncContentKeys.js +259 -0
- package/workflows/documents/syncContentKeys.js.map +1 -0
- package/workflows/documents/syncFailureClassification.d.ts +74 -0
- package/workflows/documents/syncFailureClassification.js +120 -0
- package/workflows/documents/syncFailureClassification.js.map +1 -0
- package/workflows/documents/syncFailureClearance.d.ts +17 -0
- package/workflows/documents/syncFailureClearance.js +12 -0
- package/workflows/documents/syncFailureClearance.js.map +1 -0
- package/workflows/documents/syncFailures.js +252 -0
- package/workflows/documents/syncFailures.js.map +1 -0
- package/workflows/documents/syncLane.d.ts +19 -0
- package/workflows/documents/syncLane.js +93 -0
- package/workflows/documents/syncLane.js.map +1 -0
- package/workflows/documents/syncPlanIdentity.js +203 -0
- package/workflows/documents/syncPlanIdentity.js.map +1 -0
- package/workflows/documents/syncPlanMaterial.js +306 -0
- package/workflows/documents/syncPlanMaterial.js.map +1 -0
- package/workflows/documents/syncPlanProjection.js +24 -0
- package/workflows/documents/syncPlanProjection.js.map +1 -0
- package/workflows/documents/syncPlanRequestBounds.js +54 -0
- package/workflows/documents/syncPlanRequestBounds.js.map +1 -0
- package/workflows/documents/syncPolicyRepair.js +48 -0
- package/workflows/documents/syncPolicyRepair.js.map +1 -0
- package/workflows/documents/syncRecoveryRekey.d.ts +70 -0
- package/workflows/documents/syncRecoveryRekey.js +120 -0
- package/workflows/documents/syncRecoveryRekey.js.map +1 -0
- package/workflows/documents/syncRekeyCommit.js +18 -0
- package/workflows/documents/syncRekeyCommit.js.map +1 -0
- package/workflows/documents/syncRepairAbandon.js +27 -0
- package/workflows/documents/syncRepairAbandon.js.map +1 -0
- package/workflows/documents/syncRepairAccess.js +42 -0
- package/workflows/documents/syncRepairAccess.js.map +1 -0
- package/workflows/documents/syncResponseResult.js +134 -0
- package/workflows/documents/syncResponseResult.js.map +1 -0
- package/workflows/documents/syncSubmittedResult.js +119 -0
- package/workflows/documents/syncSubmittedResult.js.map +1 -0
- package/workflows/documents/syncTrace.d.ts +75 -0
- package/workflows/documents/syncTrace.js +148 -0
- package/workflows/documents/syncTrace.js.map +1 -0
- package/workflows/documents/writerKeys.d.ts +14 -0
- package/workflows/documents/writerKeys.js +55 -0
- package/workflows/documents/writerKeys.js.map +1 -0
- package/workflows/organizations/billing.d.ts +111 -0
- package/workflows/organizations/billing.js +92 -0
- package/workflows/organizations/billing.js.map +1 -0
- package/workflows/organizations/containerGrantRevocation.d.ts +31 -0
- package/workflows/organizations/containerGrantRevocation.js +37 -0
- package/workflows/organizations/containerGrantRevocation.js.map +1 -0
- package/workflows/organizations/createOrganization.d.ts +59 -0
- package/workflows/organizations/createOrganization.js +127 -0
- package/workflows/organizations/createOrganization.js.map +1 -0
- package/workflows/organizations/dataUsageReadModel.d.ts +19 -0
- package/workflows/organizations/dataUsageReadModel.js +64 -0
- package/workflows/organizations/dataUsageReadModel.js.map +1 -0
- package/workflows/organizations/deleteOrganizationGroup.d.ts +18 -0
- package/workflows/organizations/deleteOrganizationGroup.js +64 -0
- package/workflows/organizations/deleteOrganizationGroup.js.map +1 -0
- package/workflows/organizations/groupCreation.d.ts +20 -0
- package/workflows/organizations/groupCreation.js +59 -0
- package/workflows/organizations/groupCreation.js.map +1 -0
- package/workflows/organizations/groupMembershipName.d.ts +8 -0
- package/workflows/organizations/groupMembershipName.js +18 -0
- package/workflows/organizations/groupMembershipName.js.map +1 -0
- package/workflows/organizations/groupMetadataAccess.d.ts +33 -0
- package/workflows/organizations/groupMetadataAccess.js +114 -0
- package/workflows/organizations/groupMetadataAccess.js.map +1 -0
- package/workflows/organizations/groupMetadataBinding.js +19 -0
- package/workflows/organizations/groupMetadataBinding.js.map +1 -0
- package/workflows/organizations/groupMetadataContainerAuthority.js +86 -0
- package/workflows/organizations/groupMetadataContainerAuthority.js.map +1 -0
- package/workflows/organizations/groupMetadataErrors.js +40 -0
- package/workflows/organizations/groupMetadataErrors.js.map +1 -0
- package/workflows/organizations/groupMetadataRuntime.js +28 -0
- package/workflows/organizations/groupMetadataRuntime.js.map +1 -0
- package/workflows/organizations/groupMutationAuthorization.js +10 -0
- package/workflows/organizations/groupMutationAuthorization.js.map +1 -0
- package/workflows/organizations/groupNameUniqueness.js +151 -0
- package/workflows/organizations/groupNameUniqueness.js.map +1 -0
- package/workflows/organizations/groupPolicyMutationAcknowledgement.js +239 -0
- package/workflows/organizations/groupPolicyMutationAcknowledgement.js.map +1 -0
- package/workflows/organizations/groupPolicyMutationContext.d.ts +95 -0
- package/workflows/organizations/groupPolicyMutationContext.js +228 -0
- package/workflows/organizations/groupPolicyMutationContext.js.map +1 -0
- package/workflows/organizations/groupPolicyMutationHead.js +26 -0
- package/workflows/organizations/groupPolicyMutationHead.js.map +1 -0
- package/workflows/organizations/groupPolicyRequests.js +175 -0
- package/workflows/organizations/groupPolicyRequests.js.map +1 -0
- package/workflows/organizations/groupPolicyVerification.js +74 -0
- package/workflows/organizations/groupPolicyVerification.js.map +1 -0
- package/workflows/organizations/index.d.ts +15 -0
- package/workflows/organizations/index.js +16 -0
- package/workflows/organizations/index.js.map +1 -0
- package/workflows/organizations/listLocalOrganizations.d.ts +20 -0
- package/workflows/organizations/listLocalOrganizations.js +137 -0
- package/workflows/organizations/listLocalOrganizations.js.map +1 -0
- package/workflows/organizations/loadPolicyHistoryDetails.js +79 -0
- package/workflows/organizations/loadPolicyHistoryDetails.js.map +1 -0
- package/workflows/organizations/localReadModelDetails.d.ts +25 -0
- package/workflows/organizations/localReadModelDetails.js +182 -0
- package/workflows/organizations/localReadModelDetails.js.map +1 -0
- package/workflows/organizations/organizationGroupDirectory.js +147 -0
- package/workflows/organizations/organizationGroupDirectory.js.map +1 -0
- package/workflows/organizations/organizationGroupNamePolicies.js +34 -0
- package/workflows/organizations/organizationGroupNamePolicies.js.map +1 -0
- package/workflows/organizations/organizationGroupNames.js +53 -0
- package/workflows/organizations/organizationGroupNames.js.map +1 -0
- package/workflows/organizations/organizationPolicyHistoryDetails.js +88 -0
- package/workflows/organizations/organizationPolicyHistoryDetails.js.map +1 -0
- package/workflows/organizations/organizationPolicyHistoryVerification.js +80 -0
- package/workflows/organizations/organizationPolicyHistoryVerification.js.map +1 -0
- package/workflows/organizations/organizationPresentationAccessState.js +173 -0
- package/workflows/organizations/organizationPresentationAccessState.js.map +1 -0
- package/workflows/organizations/organizationPresentationFailures.js +7 -0
- package/workflows/organizations/organizationPresentationFailures.js.map +1 -0
- package/workflows/organizations/organizationProfile.d.ts +16 -0
- package/workflows/organizations/organizationProfile.js +36 -0
- package/workflows/organizations/organizationProfile.js.map +1 -0
- package/workflows/organizations/organizationProvisioningAttempt.d.ts +36 -0
- package/workflows/organizations/organizationProvisioningAttempt.js +205 -0
- package/workflows/organizations/organizationProvisioningAttempt.js.map +1 -0
- package/workflows/organizations/organizationReplacementVerification.js +26 -0
- package/workflows/organizations/organizationReplacementVerification.js.map +1 -0
- package/workflows/organizations/organizationUserImport.d.ts +8 -0
- package/workflows/organizations/organizationUserImport.js +10 -0
- package/workflows/organizations/organizationUserImport.js.map +1 -0
- package/workflows/organizations/policyHistoryAccessDenial.js +19 -0
- package/workflows/organizations/policyHistoryAccessDenial.js.map +1 -0
- package/workflows/organizations/policyHistoryCache.js +39 -0
- package/workflows/organizations/policyHistoryCache.js.map +1 -0
- package/workflows/organizations/policyHistoryReadModel.d.ts +9 -0
- package/workflows/organizations/policyHistoryReadModel.js +98 -0
- package/workflows/organizations/policyHistoryReadModel.js.map +1 -0
- package/workflows/organizations/policyHistoryTypes.d.ts +54 -0
- package/workflows/organizations/policyHistoryTypes.js +2 -0
- package/workflows/organizations/policyHistoryTypes.js.map +1 -0
- package/workflows/organizations/principalContainerRematerialization.js +279 -0
- package/workflows/organizations/principalContainerRematerialization.js.map +1 -0
- package/workflows/organizations/principalContainerRematerializationPlanning.js +71 -0
- package/workflows/organizations/principalContainerRematerializationPlanning.js.map +1 -0
- package/workflows/organizations/principalContainerRematerializationTargets.js +90 -0
- package/workflows/organizations/principalContainerRematerializationTargets.js.map +1 -0
- package/workflows/organizations/principalPolicy.d.ts +98 -0
- package/workflows/organizations/principalPolicy.js +256 -0
- package/workflows/organizations/principalPolicy.js.map +1 -0
- package/workflows/organizations/principalPolicyRecipients.js +43 -0
- package/workflows/organizations/principalPolicyRecipients.js.map +1 -0
- package/workflows/organizations/principalPolicyRequest.d.ts +67 -0
- package/workflows/organizations/principalPolicyRequest.js +176 -0
- package/workflows/organizations/principalPolicyRequest.js.map +1 -0
- package/workflows/organizations/readModel.d.ts +65 -0
- package/workflows/organizations/readModel.js +10 -0
- package/workflows/organizations/readModel.js.map +1 -0
- package/workflows/organizations/readModelProjection.d.ts +39 -0
- package/workflows/organizations/readModelProjection.js +255 -0
- package/workflows/organizations/readModelProjection.js.map +1 -0
- package/workflows/organizations/rosterProfileContainer.d.ts +23 -0
- package/workflows/organizations/rosterProfileContainer.js +41 -0
- package/workflows/organizations/rosterProfileContainer.js.map +1 -0
- package/workflows/organizations/trustedOrganizationUsers.js +16 -0
- package/workflows/organizations/trustedOrganizationUsers.js.map +1 -0
- package/workflows/principals/externalAdminPolicy.d.ts +29 -0
- package/workflows/principals/externalAdminPolicy.js +176 -0
- package/workflows/principals/externalAdminPolicy.js.map +1 -0
- package/workflows/principals/index.d.ts +3 -0
- package/workflows/principals/index.js +4 -0
- package/workflows/principals/index.js.map +1 -0
- package/workflows/principals/policyCache.d.ts +19 -0
- package/workflows/principals/policyCache.js +242 -0
- package/workflows/principals/policyCache.js.map +1 -0
- package/workflows/principals/policyRepairBudget.d.ts +7 -0
- package/workflows/principals/policyRepairBudget.js +17 -0
- package/workflows/principals/policyRepairBudget.js.map +1 -0
- package/workflows/principals/policyVerification.js +51 -0
- package/workflows/principals/policyVerification.js.map +1 -0
- package/workflows/principals/principalHistoryRecoveryStage.js +25 -0
- package/workflows/principals/principalHistoryRecoveryStage.js.map +1 -0
- package/workflows/principals/principalHistoryRecoveryTypes.d.ts +26 -0
- package/workflows/principals/principalHistoryRecoveryTypes.js +9 -0
- package/workflows/principals/principalHistoryRecoveryTypes.js.map +1 -0
- package/workflows/principals/principalPolicyCacheAdvance.js +39 -0
- package/workflows/principals/principalPolicyCacheAdvance.js.map +1 -0
- package/workflows/principals/principalPolicyCacheScope.js +34 -0
- package/workflows/principals/principalPolicyCacheScope.js.map +1 -0
- package/workflows/principals/principalPolicyCacheValidation.js +149 -0
- package/workflows/principals/principalPolicyCacheValidation.js.map +1 -0
- package/workflows/principals/principalPolicyOrganizationScope.js +67 -0
- package/workflows/principals/principalPolicyOrganizationScope.js.map +1 -0
- package/workflows/principals/recoverPrincipalPolicyHistory.d.ts +6 -0
- package/workflows/principals/recoverPrincipalPolicyHistory.js +173 -0
- package/workflows/principals/recoverPrincipalPolicyHistory.js.map +1 -0
- package/workflows/principals/runtimePolicyWarmer.js +29 -0
- package/workflows/principals/runtimePolicyWarmer.js.map +1 -0
- package/workflows/registration/bootstrapRootContainer.d.ts +7 -0
- package/workflows/registration/bootstrapRootContainer.js +33 -0
- package/workflows/registration/bootstrapRootContainer.js.map +1 -0
- package/workflows/registration/index.d.ts +5 -0
- package/workflows/registration/index.js +6 -0
- package/workflows/registration/index.js.map +1 -0
- package/workflows/registration/organizationProvisioningArtifacts.d.ts +60 -0
- package/workflows/registration/organizationProvisioningArtifacts.js +2 -0
- package/workflows/registration/organizationProvisioningArtifacts.js.map +1 -0
- package/workflows/registration/organizationProvisioningPersistence.d.ts +18 -0
- package/workflows/registration/organizationProvisioningPersistence.js +164 -0
- package/workflows/registration/organizationProvisioningPersistence.js.map +1 -0
- package/workflows/registration/persistRegistrationBootstrap.d.ts +93 -0
- package/workflows/registration/persistRegistrationBootstrap.js +204 -0
- package/workflows/registration/persistRegistrationBootstrap.js.map +1 -0
- package/workflows/registration/profileBootstrapPersistence.js +47 -0
- package/workflows/registration/profileBootstrapPersistence.js.map +1 -0
- package/workflows/registration/provisionedProfileDocument.js +34 -0
- package/workflows/registration/provisionedProfileDocument.js.map +1 -0
- package/workflows/registration/provisioningAcknowledgement.js +85 -0
- package/workflows/registration/provisioningAcknowledgement.js.map +1 -0
- package/workflows/registration/provisioningBootstrapBuilders.d.ts +450 -0
- package/workflows/registration/provisioningBootstrapBuilders.js +275 -0
- package/workflows/registration/provisioningBootstrapBuilders.js.map +1 -0
- package/workflows/registration/registerIdentity.d.ts +83 -0
- package/workflows/registration/registerIdentity.js +272 -0
- package/workflows/registration/registerIdentity.js.map +1 -0
- package/workflows/registration/registrationBootstrapPendingUpdates.js +16 -0
- package/workflows/registration/registrationBootstrapPendingUpdates.js.map +1 -0
- package/workflows/registration/registrationPrincipalPolicyPersistence.d.ts +13 -0
- package/workflows/registration/registrationPrincipalPolicyPersistence.js +74 -0
- package/workflows/registration/registrationPrincipalPolicyPersistence.js.map +1 -0
- package/workflows/registration/rootMetadataBootstrap.d.ts +5 -0
- package/workflows/registration/rootMetadataBootstrap.js +13 -0
- package/workflows/registration/rootMetadataBootstrap.js.map +1 -0
- package/workflows/root/dataUsage.d.ts +11 -0
- package/workflows/root/dataUsage.js +8 -0
- package/workflows/root/dataUsage.js.map +1 -0
- package/workflows/root/identities.d.ts +38 -0
- package/workflows/root/identities.js +19 -0
- package/workflows/root/identities.js.map +1 -0
- package/workflows/root/index.d.ts +3 -0
- package/workflows/root/index.js +4 -0
- package/workflows/root/index.js.map +1 -0
- package/workflows/root/organizations.d.ts +19 -0
- package/workflows/root/organizations.js +11 -0
- package/workflows/root/organizations.js.map +1 -0
- package/workflows/runtimeInput.d.ts +61 -0
- package/workflows/runtimeInput.js +2 -0
- package/workflows/runtimeInput.js.map +1 -0
- package/workflows/sync/index.d.ts +4 -0
- package/workflows/sync/index.js +4 -0
- package/workflows/sync/index.js.map +1 -0
- package/workflows/sync/remoteReset.d.ts +16 -0
- package/workflows/sync/remoteReset.js +293 -0
- package/workflows/sync/remoteReset.js.map +1 -0
- package/workflows/sync/remoteResetAttachments.js +26 -0
- package/workflows/sync/remoteResetAttachments.js.map +1 -0
- package/workflows/sync/remoteResetBatches.js +13 -0
- package/workflows/sync/remoteResetBatches.js.map +1 -0
- package/workflows/sync/remoteResetCursorScope.js +44 -0
- package/workflows/sync/remoteResetCursorScope.js.map +1 -0
- package/workflows/sync/remoteResetPlans.d.ts +26 -0
- package/workflows/sync/remoteResetPlans.js +227 -0
- package/workflows/sync/remoteResetPlans.js.map +1 -0
- package/workflows/sync/remoteResetPrincipalScope.d.ts +22 -0
- package/workflows/sync/remoteResetPrincipalScope.js +88 -0
- package/workflows/sync/remoteResetPrincipalScope.js.map +1 -0
- package/workflows/sync/remoteResetScope.d.ts +33 -0
- package/workflows/sync/remoteResetScope.js +121 -0
- package/workflows/sync/remoteResetScope.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"writeRefusal.js","sourceRoot":"","sources":["writeRefusal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,kDAAkD,CAAC;AAkB1D,SAAS,UAAU,CAAC,KAAc,EAAE,IAAY;IAC9C,OAAO,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC;AACvD,CAAC;AAED,mFAAmF;AACnF,SAAS,iBAAiB,CAAC,KAAc;IACvC,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,aAAa,CAAC,CAAC;IAC9D,OAAO,OAAO,WAAW,KAAK,QAAQ,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC;QAC9D,CAAC,CAAC,WAAW;QACb,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,sEAAsE;AACtE,MAAM,UAAU,6BAA6B,CAC3C,KAAc;IAEd,0EAA0E;IAC1E,IACE,KAAK,YAAY,mCAAmC;QACpD,UAAU,CAAC,KAAK,EAAE,qCAAqC,CAAC,EACxD,CAAC;QACD,MAAM,WAAW,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;QAC7C,OAAO,WAAW,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAC3E,CAAC;IACD,IACE,KAAK,YAAY,+BAA+B;QAChD,UAAU,CAAC,KAAK,EAAE,iCAAiC,CAAC,EACpD,CAAC;QACD,MAAM,WAAW,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;QAC7C,OAAO,WAAW,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IACvE,CAAC;IACD,IACE,KAAK,YAAY,0BAA0B;QAC3C,UAAU,CAAC,KAAK,EAAE,4BAA4B,CAAC,EAC/C,CAAC;QACD,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;IAClC,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["import { ContainerAuthorAccessError } from \"../../data/containers/shared/authorAccess\";\nimport {\n ContainerKekRepairInaccessibleError,\n ContainerKekRepairRequiredError,\n} from \"../../data/documents/shared/containerKekCurrency\";\n\n/**\n * Why the SDK refused to author a container-scoped write before anything was\n * encrypted or sent:\n *\n * - `repair-required`: the path cites a retired ancestor key epoch. Retry; this\n * writer's next document sync pass, or a peer, re-keys it parent-first.\n * - `repair-inaccessible`: the same, but the stale container is one this writer\n * can neither re-key nor be given the key for. Queued changes stay queued and\n * sync once a member with access to `containerId` repairs it.\n * - `unauthorized`: the signed path grants this signer too little access.\n */\nexport type ContainerWriteRefusal =\n | { readonly kind: \"repair-required\"; readonly containerId: string }\n | { readonly kind: \"repair-inaccessible\"; readonly containerId: string }\n | { readonly kind: \"unauthorized\" };\n\nfunction namedError(error: unknown, name: string): error is Error {\n return error instanceof Error && error.name === name;\n}\n\n/** A same-named error from elsewhere may lack the field; never say \"undefined\". */\nfunction repairContainerId(error: unknown): string | null {\n const containerId = Reflect.get(Object(error), \"containerId\");\n return typeof containerId === \"string\" && containerId.length > 0\n ? containerId\n : null;\n}\n\n/** Null for anything else, including keying-verification failures. */\nexport function classifyContainerWriteRefusal(\n error: unknown,\n): ContainerWriteRefusal | null {\n // Match by name as well: a host bundling the SDK twice holds two classes.\n if (\n error instanceof ContainerKekRepairInaccessibleError ||\n namedError(error, \"ContainerKekRepairInaccessibleError\")\n ) {\n const containerId = repairContainerId(error);\n return containerId ? { kind: \"repair-inaccessible\", containerId } : null;\n }\n if (\n error instanceof ContainerKekRepairRequiredError ||\n namedError(error, \"ContainerKekRepairRequiredError\")\n ) {\n const containerId = repairContainerId(error);\n return containerId ? { kind: \"repair-required\", containerId } : null;\n }\n if (\n error instanceof ContainerAuthorAccessError ||\n namedError(error, \"ContainerAuthorAccessError\")\n ) {\n return { kind: \"unauthorized\" };\n }\n return null;\n}\n"]}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Attachment-slot persistence for stored documents.
|
|
3
|
+
*
|
|
4
|
+
* These are the workflow-level seams the document store writes attachment rows
|
|
5
|
+
* through: the pending-upload queue, the local blob projection, and the detach
|
|
6
|
+
* marker that keeps an unlinked slot's row alive for the next sync.
|
|
7
|
+
*/
|
|
8
|
+
import type { DocumentsPersistence, LocalAttachmentRecord, PendingAttachmentRecord } from "../../data/persistence/documents/documentsPersistence.js";
|
|
9
|
+
import type { ExecSql } from "../../data/sqlite/sqlSchema.js";
|
|
10
|
+
export declare function saveLocalDocumentAttachments(input: {
|
|
11
|
+
attachments: ReadonlyArray<LocalAttachmentRecord>;
|
|
12
|
+
execSql: ExecSql;
|
|
13
|
+
persistence: DocumentsPersistence;
|
|
14
|
+
}): Promise<void>;
|
|
15
|
+
export declare function deleteLocalDocumentAttachment(input: {
|
|
16
|
+
execSql: ExecSql;
|
|
17
|
+
localId: string;
|
|
18
|
+
persistence: DocumentsPersistence;
|
|
19
|
+
slotId: string;
|
|
20
|
+
storageKey: string;
|
|
21
|
+
}): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Mark a slot's local blob row detached without dropping it.
|
|
24
|
+
*
|
|
25
|
+
* Unlinking an attachment from a synced document cannot delete the row: it is
|
|
26
|
+
* also the marker `syncDetachedAttachments` needs to detach the remote binding
|
|
27
|
+
* on the next sync (and to survive a restart before that sync runs). Marking it
|
|
28
|
+
* keeps that marker while taking the slot out of the local blob read models
|
|
29
|
+
* right away, so the blob browser stops listing a reference the document no
|
|
30
|
+
* longer has.
|
|
31
|
+
*/
|
|
32
|
+
export declare function markLocalDocumentAttachmentDetached(input: {
|
|
33
|
+
execSql: ExecSql;
|
|
34
|
+
localId: string;
|
|
35
|
+
persistence: DocumentsPersistence;
|
|
36
|
+
slotId: string;
|
|
37
|
+
storageKey: string;
|
|
38
|
+
}): Promise<void>;
|
|
39
|
+
export declare function savePendingDocumentAttachment(input: {
|
|
40
|
+
attachment: PendingAttachmentRecord;
|
|
41
|
+
execSql: ExecSql;
|
|
42
|
+
persistence: DocumentsPersistence;
|
|
43
|
+
}): Promise<void>;
|
|
44
|
+
export declare function deletePendingDocumentAttachment(input: {
|
|
45
|
+
execSql: ExecSql;
|
|
46
|
+
localId: string;
|
|
47
|
+
persistence: DocumentsPersistence;
|
|
48
|
+
slotId: string;
|
|
49
|
+
storageKey: string;
|
|
50
|
+
}): Promise<void>;
|
|
51
|
+
export declare function saveHydratedDocumentAttachment(input: {
|
|
52
|
+
execSql: ExecSql;
|
|
53
|
+
persistence: DocumentsPersistence;
|
|
54
|
+
attachment: LocalAttachmentRecord;
|
|
55
|
+
expectedStorageKey: string | null;
|
|
56
|
+
expectedSnapshotEndVersion: string | null;
|
|
57
|
+
stillCurrent: () => boolean;
|
|
58
|
+
}): Promise<boolean>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export async function saveLocalDocumentAttachments(input) {
|
|
2
|
+
for (const attachment of input.attachments) {
|
|
3
|
+
await input.persistence.saveLocalAttachment(input.execSql, attachment);
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
export async function deleteLocalDocumentAttachment(input) {
|
|
7
|
+
await input.persistence.deleteLocalAttachment(input.execSql, input.localId, input.slotId, input.storageKey);
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Mark a slot's local blob row detached without dropping it.
|
|
11
|
+
*
|
|
12
|
+
* Unlinking an attachment from a synced document cannot delete the row: it is
|
|
13
|
+
* also the marker `syncDetachedAttachments` needs to detach the remote binding
|
|
14
|
+
* on the next sync (and to survive a restart before that sync runs). Marking it
|
|
15
|
+
* keeps that marker while taking the slot out of the local blob read models
|
|
16
|
+
* right away, so the blob browser stops listing a reference the document no
|
|
17
|
+
* longer has.
|
|
18
|
+
*/
|
|
19
|
+
export async function markLocalDocumentAttachmentDetached(input) {
|
|
20
|
+
await input.persistence.markLocalAttachmentDetached(input.execSql, input.localId, input.slotId, input.storageKey);
|
|
21
|
+
}
|
|
22
|
+
export async function savePendingDocumentAttachment(input) {
|
|
23
|
+
await input.persistence.savePendingAttachment(input.execSql, input.attachment);
|
|
24
|
+
}
|
|
25
|
+
export async function deletePendingDocumentAttachment(input) {
|
|
26
|
+
await input.persistence.deletePendingAttachment(input.execSql, input.localId, input.slotId, input.storageKey);
|
|
27
|
+
}
|
|
28
|
+
export function saveHydratedDocumentAttachment(input) {
|
|
29
|
+
return input.persistence.saveHydratedAttachment(input.execSql, input);
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=attachmentPersistence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachmentPersistence.js","sourceRoot":"","sources":["attachmentPersistence.ts"],"names":[],"mappings":"AAcA,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAAC,KAIlD;IACC,KAAK,MAAM,UAAU,IAAI,KAAK,CAAC,WAAW,EAAE,CAAC;QAC3C,MAAM,KAAK,CAAC,WAAW,CAAC,mBAAmB,CAAC,KAAK,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;IACzE,CAAC;AACH,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,6BAA6B,CAAC,KAMnD;IACC,MAAM,KAAK,CAAC,WAAW,CAAC,qBAAqB,CAC3C,KAAK,CAAC,OAAO,EACb,KAAK,CAAC,OAAO,EACb,KAAK,CAAC,MAAM,EACZ,KAAK,CAAC,UAAU,CACjB,CAAC;AACJ,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,mCAAmC,CAAC,KAMzD;IACC,MAAM,KAAK,CAAC,WAAW,CAAC,2BAA2B,CACjD,KAAK,CAAC,OAAO,EACb,KAAK,CAAC,OAAO,EACb,KAAK,CAAC,MAAM,EACZ,KAAK,CAAC,UAAU,CACjB,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,6BAA6B,CAAC,KAInD;IACC,MAAM,KAAK,CAAC,WAAW,CAAC,qBAAqB,CAC3C,KAAK,CAAC,OAAO,EACb,KAAK,CAAC,UAAU,CACjB,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,+BAA+B,CAAC,KAMrD;IACC,MAAM,KAAK,CAAC,WAAW,CAAC,uBAAuB,CAC7C,KAAK,CAAC,OAAO,EACb,KAAK,CAAC,OAAO,EACb,KAAK,CAAC,MAAM,EACZ,KAAK,CAAC,UAAU,CACjB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,KAO9C;IACC,OAAO,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;AACxE,CAAC","sourcesContent":["/**\n * Attachment-slot persistence for stored documents.\n *\n * These are the workflow-level seams the document store writes attachment rows\n * through: the pending-upload queue, the local blob projection, and the detach\n * marker that keeps an unlinked slot's row alive for the next sync.\n */\nimport type {\n DocumentsPersistence,\n LocalAttachmentRecord,\n PendingAttachmentRecord,\n} from \"../../data/persistence/documents/documentsPersistence\";\nimport type { ExecSql } from \"../../data/sqlite/sqlSchema\";\n\nexport async function saveLocalDocumentAttachments(input: {\n attachments: ReadonlyArray<LocalAttachmentRecord>;\n execSql: ExecSql;\n persistence: DocumentsPersistence;\n}): Promise<void> {\n for (const attachment of input.attachments) {\n await input.persistence.saveLocalAttachment(input.execSql, attachment);\n }\n}\n\nexport async function deleteLocalDocumentAttachment(input: {\n execSql: ExecSql;\n localId: string;\n persistence: DocumentsPersistence;\n slotId: string;\n storageKey: string;\n}): Promise<void> {\n await input.persistence.deleteLocalAttachment(\n input.execSql,\n input.localId,\n input.slotId,\n input.storageKey,\n );\n}\n\n/**\n * Mark a slot's local blob row detached without dropping it.\n *\n * Unlinking an attachment from a synced document cannot delete the row: it is\n * also the marker `syncDetachedAttachments` needs to detach the remote binding\n * on the next sync (and to survive a restart before that sync runs). Marking it\n * keeps that marker while taking the slot out of the local blob read models\n * right away, so the blob browser stops listing a reference the document no\n * longer has.\n */\nexport async function markLocalDocumentAttachmentDetached(input: {\n execSql: ExecSql;\n localId: string;\n persistence: DocumentsPersistence;\n slotId: string;\n storageKey: string;\n}): Promise<void> {\n await input.persistence.markLocalAttachmentDetached(\n input.execSql,\n input.localId,\n input.slotId,\n input.storageKey,\n );\n}\n\nexport async function savePendingDocumentAttachment(input: {\n attachment: PendingAttachmentRecord;\n execSql: ExecSql;\n persistence: DocumentsPersistence;\n}): Promise<void> {\n await input.persistence.savePendingAttachment(\n input.execSql,\n input.attachment,\n );\n}\n\nexport async function deletePendingDocumentAttachment(input: {\n execSql: ExecSql;\n localId: string;\n persistence: DocumentsPersistence;\n slotId: string;\n storageKey: string;\n}): Promise<void> {\n await input.persistence.deletePendingAttachment(\n input.execSql,\n input.localId,\n input.slotId,\n input.storageKey,\n );\n}\n\nexport function saveHydratedDocumentAttachment(input: {\n execSql: ExecSql;\n persistence: DocumentsPersistence;\n attachment: LocalAttachmentRecord;\n expectedStorageKey: string | null;\n expectedSnapshotEndVersion: string | null;\n stillCurrent: () => boolean;\n}): Promise<boolean> {\n return input.persistence.saveHydratedAttachment(input.execSql, input);\n}\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DocumentCreateAuthor } from "../../data/documents/shared/types.js";
|
|
2
|
+
interface DocumentAuthorRuntime {
|
|
3
|
+
auth: {
|
|
4
|
+
organizationId?: string | null;
|
|
5
|
+
userId?: string | null;
|
|
6
|
+
};
|
|
7
|
+
crypto: {
|
|
8
|
+
signingFingerprint?: string | null;
|
|
9
|
+
signingKeyPair?: {
|
|
10
|
+
signingPrivateKey: Uint8Array;
|
|
11
|
+
} | null | undefined;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare function resolveDocumentCreateAuthor(runtime: DocumentAuthorRuntime): DocumentCreateAuthor | null;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { createDocumentSignerDeviceId } from "../../data/documents/documentConstants.js";
|
|
2
|
+
export function resolveDocumentCreateAuthor(runtime) {
|
|
3
|
+
if (!runtime.auth.organizationId ||
|
|
4
|
+
!runtime.crypto.signingFingerprint ||
|
|
5
|
+
!runtime.crypto.signingKeyPair ||
|
|
6
|
+
!runtime.auth.userId) {
|
|
7
|
+
return null;
|
|
8
|
+
}
|
|
9
|
+
return {
|
|
10
|
+
organizationId: runtime.auth.organizationId,
|
|
11
|
+
signerDeviceId: createDocumentSignerDeviceId(runtime.crypto.signingFingerprint),
|
|
12
|
+
signerKeyFingerprint: runtime.crypto.signingFingerprint,
|
|
13
|
+
signerPrivateKey: runtime.crypto.signingKeyPair.signingPrivateKey,
|
|
14
|
+
signerUserId: runtime.auth.userId,
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=author.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"author.js","sourceRoot":"","sources":["author.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAmBtF,MAAM,UAAU,2BAA2B,CACzC,OAA8B;IAE9B,IACE,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc;QAC5B,CAAC,OAAO,CAAC,MAAM,CAAC,kBAAkB;QAClC,CAAC,OAAO,CAAC,MAAM,CAAC,cAAc;QAC9B,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,EACpB,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO;QACL,cAAc,EAAE,OAAO,CAAC,IAAI,CAAC,cAAc;QAC3C,cAAc,EAAE,4BAA4B,CAC1C,OAAO,CAAC,MAAM,CAAC,kBAAkB,CAClC;QACD,oBAAoB,EAAE,OAAO,CAAC,MAAM,CAAC,kBAAkB;QACvD,gBAAgB,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC,iBAAiB;QACjE,YAAY,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM;KAClC,CAAC;AACJ,CAAC","sourcesContent":["import { createDocumentSignerDeviceId } from \"../../data/documents/documentConstants\";\nimport type { DocumentCreateAuthor } from \"../../data/documents/shared/types\";\n\ninterface DocumentAuthorRuntime {\n auth: {\n organizationId?: string | null;\n userId?: string | null;\n };\n crypto: {\n signingFingerprint?: string | null;\n signingKeyPair?:\n | {\n signingPrivateKey: Uint8Array;\n }\n | null\n | undefined;\n };\n}\n\nexport function resolveDocumentCreateAuthor(\n runtime: DocumentAuthorRuntime,\n): DocumentCreateAuthor | null {\n if (\n !runtime.auth.organizationId ||\n !runtime.crypto.signingFingerprint ||\n !runtime.crypto.signingKeyPair ||\n !runtime.auth.userId\n ) {\n return null;\n }\n\n return {\n organizationId: runtime.auth.organizationId,\n signerDeviceId: createDocumentSignerDeviceId(\n runtime.crypto.signingFingerprint,\n ),\n signerKeyFingerprint: runtime.crypto.signingFingerprint,\n signerPrivateKey: runtime.crypto.signingKeyPair.signingPrivateKey,\n signerUserId: runtime.auth.userId,\n };\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ContainerAuthorAccessError } from "../../data/containers/shared/authorAccess.js";
|
|
2
|
+
/** A verified read-only path is a local permission refusal, not tampered proof. */
|
|
3
|
+
export async function recordDocumentAuthorAccessFailure(build, onFailure) {
|
|
4
|
+
try {
|
|
5
|
+
return await build();
|
|
6
|
+
}
|
|
7
|
+
catch (error) {
|
|
8
|
+
if (!(error instanceof ContainerAuthorAccessError))
|
|
9
|
+
throw error;
|
|
10
|
+
await onFailure?.({ message: error.message, status: error.status });
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=authorAccessFailure.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorAccessFailure.js","sourceRoot":"","sources":["authorAccessFailure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AAGvF,mFAAmF;AACnF,MAAM,CAAC,KAAK,UAAU,iCAAiC,CACrD,KAAuB,EACvB,SAA2D;IAE3D,IAAI,CAAC;QACH,OAAO,MAAM,KAAK,EAAE,CAAC;IACvB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,CAAC,CAAC,KAAK,YAAY,0BAA0B,CAAC;YAAE,MAAM,KAAK,CAAC;QAChE,MAAM,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;QACpE,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC","sourcesContent":["import { ContainerAuthorAccessError } from \"../../data/containers/shared/authorAccess\";\nimport type { DocumentCreateTerminalFailureHandler } from \"./createProjectionFetch\";\n\n/** A verified read-only path is a local permission refusal, not tampered proof. */\nexport async function recordDocumentAuthorAccessFailure<T>(\n build: () => Promise<T>,\n onFailure: DocumentCreateTerminalFailureHandler | undefined,\n): Promise<T | null> {\n try {\n return await build();\n } catch (error) {\n if (!(error instanceof ContainerAuthorAccessError)) throw error;\n await onFailure?.({ message: error.message, status: error.status });\n return null;\n }\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ExecSql } from "../../data/sqlite/sqlSchema.js";
|
|
2
|
+
/**
|
|
3
|
+
* Serialize byte-store mutations that address the same document blob key.
|
|
4
|
+
*
|
|
5
|
+
* Lock order is blob key, then the connection-wide SQL mutation lock. Callers
|
|
6
|
+
* must not acquire this lock from inside `runSerializedSqlMutation`.
|
|
7
|
+
*/
|
|
8
|
+
export declare function runSerializedDocumentBlobMutation<T>(execSql: ExecSql, storageKey: string, operation: () => Promise<T> | T): Promise<T>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { resolveCanonicalExecSql, } from "../../data/sqlite/sqlSchema.js";
|
|
2
|
+
const mutationQueuesByExecSql = new WeakMap();
|
|
3
|
+
/**
|
|
4
|
+
* Serialize byte-store mutations that address the same document blob key.
|
|
5
|
+
*
|
|
6
|
+
* Lock order is blob key, then the connection-wide SQL mutation lock. Callers
|
|
7
|
+
* must not acquire this lock from inside `runSerializedSqlMutation`.
|
|
8
|
+
*/
|
|
9
|
+
export async function runSerializedDocumentBlobMutation(execSql, storageKey, operation) {
|
|
10
|
+
const canonicalExecSql = resolveCanonicalExecSql(execSql);
|
|
11
|
+
const queues = mutationQueuesByExecSql.get(canonicalExecSql) ?? new Map();
|
|
12
|
+
mutationQueuesByExecSql.set(canonicalExecSql, queues);
|
|
13
|
+
const previous = queues.get(storageKey) ?? Promise.resolve();
|
|
14
|
+
let releaseCurrent = () => undefined;
|
|
15
|
+
const current = new Promise((resolve) => {
|
|
16
|
+
releaseCurrent = resolve;
|
|
17
|
+
});
|
|
18
|
+
const waitForPrevious = previous.catch(() => undefined);
|
|
19
|
+
const queuedCurrent = waitForPrevious.then(() => current);
|
|
20
|
+
queues.set(storageKey, queuedCurrent);
|
|
21
|
+
await waitForPrevious;
|
|
22
|
+
try {
|
|
23
|
+
return await operation();
|
|
24
|
+
}
|
|
25
|
+
finally {
|
|
26
|
+
releaseCurrent();
|
|
27
|
+
if (queues.get(storageKey) === queuedCurrent) {
|
|
28
|
+
queues.delete(storageKey);
|
|
29
|
+
if (queues.size === 0) {
|
|
30
|
+
mutationQueuesByExecSql.delete(canonicalExecSql);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=blobMutationLock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blobMutationLock.js","sourceRoot":"","sources":["blobMutationLock.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,uBAAuB,GACxB,MAAM,6BAA6B,CAAC;AAErC,MAAM,uBAAuB,GAAG,IAAI,OAAO,EAGxC,CAAC;AAEJ;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,iCAAiC,CACrD,OAAgB,EAChB,UAAkB,EAClB,SAA+B;IAE/B,MAAM,gBAAgB,GAAG,uBAAuB,CAAC,OAAO,CAAC,CAAC;IAC1D,MAAM,MAAM,GAAG,uBAAuB,CAAC,GAAG,CAAC,gBAAgB,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;IAC1E,uBAAuB,CAAC,GAAG,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;IAEtD,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;IAC7D,IAAI,cAAc,GAAe,GAAG,EAAE,CAAC,SAAS,CAAC;IACjD,MAAM,OAAO,GAAG,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;QAC5C,cAAc,GAAG,OAAO,CAAC;IAC3B,CAAC,CAAC,CAAC;IACH,MAAM,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC;IACxD,MAAM,aAAa,GAAG,eAAe,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC;IAC1D,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;IACtC,MAAM,eAAe,CAAC;IAEtB,IAAI,CAAC;QACH,OAAO,MAAM,SAAS,EAAE,CAAC;IAC3B,CAAC;YAAS,CAAC;QACT,cAAc,EAAE,CAAC;QACjB,IAAI,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,aAAa,EAAE,CAAC;YAC7C,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;YAC1B,IAAI,MAAM,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;gBACtB,uBAAuB,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;YACnD,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import {\n type ExecSql,\n resolveCanonicalExecSql,\n} from \"../../data/sqlite/sqlSchema\";\n\nconst mutationQueuesByExecSql = new WeakMap<\n ExecSql,\n Map<string, Promise<void>>\n>();\n\n/**\n * Serialize byte-store mutations that address the same document blob key.\n *\n * Lock order is blob key, then the connection-wide SQL mutation lock. Callers\n * must not acquire this lock from inside `runSerializedSqlMutation`.\n */\nexport async function runSerializedDocumentBlobMutation<T>(\n execSql: ExecSql,\n storageKey: string,\n operation: () => Promise<T> | T,\n): Promise<T> {\n const canonicalExecSql = resolveCanonicalExecSql(execSql);\n const queues = mutationQueuesByExecSql.get(canonicalExecSql) ?? new Map();\n mutationQueuesByExecSql.set(canonicalExecSql, queues);\n\n const previous = queues.get(storageKey) ?? Promise.resolve();\n let releaseCurrent: () => void = () => undefined;\n const current = new Promise<void>((resolve) => {\n releaseCurrent = resolve;\n });\n const waitForPrevious = previous.catch(() => undefined);\n const queuedCurrent = waitForPrevious.then(() => current);\n queues.set(storageKey, queuedCurrent);\n await waitForPrevious;\n\n try {\n return await operation();\n } finally {\n releaseCurrent();\n if (queues.get(storageKey) === queuedCurrent) {\n queues.delete(storageKey);\n if (queues.size === 0) {\n mutationQueuesByExecSql.delete(canonicalExecSql);\n }\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type ContainerWriterProjectionResponse, type DocumentCreateResponse, type DocumentWriterProjectionResponse } from "../../internal/validators/response/index.js";
|
|
2
|
+
import type { CreateRemoteDocumentResult, DocumentCreateApi, DocumentCreateAuthor, MaterializedDocumentCreatePlan, ProjectionVerificationOptions } from "../../data/documents/shared/types.js";
|
|
3
|
+
import type { ProjectionUserKeyResolver, ReferencedPrincipalPolicyWarmer } from "../../data/keyingProjectionVerification.js";
|
|
4
|
+
import type { ExecSql } from "../../data/sqlite/sqlSchema.js";
|
|
5
|
+
import type { DocumentCreateTerminalFailureHandler } from "./createProjectionFetch.js";
|
|
6
|
+
export declare function buildMaterializedDocumentCreatePlan(input: {
|
|
7
|
+
author: DocumentCreateAuthor;
|
|
8
|
+
containerProjection: ContainerWriterProjectionResponse;
|
|
9
|
+
contentKey?: Uint8Array | undefined;
|
|
10
|
+
contentKeyEpoch?: number | undefined;
|
|
11
|
+
documentId?: string | undefined;
|
|
12
|
+
eventId?: string | undefined;
|
|
13
|
+
execSql?: ExecSql | undefined;
|
|
14
|
+
knownContainerKeks?: ReadonlyMap<string, Uint8Array> | undefined;
|
|
15
|
+
persistVerificationCheckpoints?: boolean | undefined;
|
|
16
|
+
signedAt?: string | undefined;
|
|
17
|
+
targetSecretKey: Uint8Array;
|
|
18
|
+
} & ProjectionVerificationOptions): Promise<MaterializedDocumentCreatePlan>;
|
|
19
|
+
/**
|
|
20
|
+
* Build the writer projection a document-create response establishes, from the
|
|
21
|
+
* container projection the create was authored against plus the manifest,
|
|
22
|
+
* content-key bundle, and KEK targets the server just returned. This is the
|
|
23
|
+
* same material a cold `GET /documents/:id/writer-projection` would yield, so
|
|
24
|
+
* seeding it lets the first read after a create resolve locally. Shared by the
|
|
25
|
+
* plain document-create path and the container-with-metadata-document path,
|
|
26
|
+
* whose response carries an equivalent `DocumentCreateResponse`.
|
|
27
|
+
*/
|
|
28
|
+
export declare function documentWriterProjectionFromCreateResponse(input: {
|
|
29
|
+
containerProjection: ContainerWriterProjectionResponse;
|
|
30
|
+
response: DocumentCreateResponse;
|
|
31
|
+
}): DocumentWriterProjectionResponse;
|
|
32
|
+
interface RemoteDocumentCreateInput {
|
|
33
|
+
apiClient: DocumentCreateApi;
|
|
34
|
+
author: DocumentCreateAuthor;
|
|
35
|
+
containerId: string;
|
|
36
|
+
containerProjection?: ContainerWriterProjectionResponse | undefined;
|
|
37
|
+
contentKey?: Uint8Array | undefined;
|
|
38
|
+
contentKeyEpoch?: number | undefined;
|
|
39
|
+
documentId?: string | undefined;
|
|
40
|
+
eventId?: string | undefined;
|
|
41
|
+
execSql: ExecSql;
|
|
42
|
+
expectedOrganizationId?: string | undefined;
|
|
43
|
+
isRemoteSyncBlocked?: ((organizationId: string) => boolean) | undefined;
|
|
44
|
+
knownContainerKeks?: ReadonlyMap<string, Uint8Array> | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Invoked when the create submission fails terminally (not a benign
|
|
47
|
+
* adopt/stale-target conflict) — e.g. the server denies the write. Callers
|
|
48
|
+
* persist the failure so the write queue can surface it.
|
|
49
|
+
*/
|
|
50
|
+
onTerminalSubmitFailure?: DocumentCreateTerminalFailureHandler | undefined;
|
|
51
|
+
resolveProjectionUserKey: ProjectionUserKeyResolver;
|
|
52
|
+
signedAt?: string | undefined;
|
|
53
|
+
stillCurrent?: (() => boolean) | undefined;
|
|
54
|
+
targetSecretKey: Uint8Array;
|
|
55
|
+
warmReferencedPrincipalPolicies?: ReferencedPrincipalPolicyWarmer | undefined;
|
|
56
|
+
}
|
|
57
|
+
export declare function createRemoteDocument(input: RemoteDocumentCreateInput): Promise<CreateRemoteDocumentResult | null>;
|
|
58
|
+
type DocumentCreateSubmission = {
|
|
59
|
+
readonly data: DocumentCreateResponse;
|
|
60
|
+
readonly ok: true;
|
|
61
|
+
} | {
|
|
62
|
+
readonly code?: string | undefined;
|
|
63
|
+
readonly message: string;
|
|
64
|
+
readonly ok: false;
|
|
65
|
+
readonly report?: (() => void) | undefined;
|
|
66
|
+
readonly status: number | null;
|
|
67
|
+
};
|
|
68
|
+
export declare function isStaleDocumentCreateTargetConflict(submission: DocumentCreateSubmission): boolean;
|
|
69
|
+
export {};
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
import { DOCUMENT_SYNC_ERROR_CODES, } from "../../internal/validators/response/index.js";
|
|
2
|
+
import { assertContainerAuthorAccess } from "../../data/containers/shared/authorAccess.js";
|
|
3
|
+
import { buildDocumentCreatePlan } from "../../data/documents/shared/events.js";
|
|
4
|
+
import { acknowledgeDocumentMutation } from "../../data/documents/shared/mutationAcknowledgement.js";
|
|
5
|
+
import { assertDocumentWriterProjectionConsistent, wrapDocumentContentKeyForCreate, } from "../../data/documents/shared/projection.js";
|
|
6
|
+
import { persistedDocumentCreateStateFromResponse } from "../../data/documents/shared/responses.js";
|
|
7
|
+
import { projectionVerificationOptions } from "../../data/documents/shared/types.js";
|
|
8
|
+
import { collectContainerWriterProjectionPrincipalPolicies, nullOnProjectionVerificationCancellation, requireProjectionUserKeyResolver, } from "../../data/keyingProjectionVerification.js";
|
|
9
|
+
import { isContainerCreatePending } from "../../data/persistence/container-contents/pendingContainerCreate.js";
|
|
10
|
+
import { recordDocumentAuthorAccessFailure } from "./authorAccessFailure.js";
|
|
11
|
+
import { adoptExistingRemoteDocument } from "./createAdoption.js";
|
|
12
|
+
import { fetchContainerWriterProjectionForCreate } from "./createProjectionFetch.js";
|
|
13
|
+
import { isDocumentManifestAlreadyExistsConflict, shouldRetryWithFreshProjection, } from "./syncFailureClassification.js";
|
|
14
|
+
export async function buildMaterializedDocumentCreatePlan(input) {
|
|
15
|
+
const contentKey = input.contentKey ?? crypto.getRandomValues(new Uint8Array(32));
|
|
16
|
+
if (contentKey.byteLength !== 32) {
|
|
17
|
+
throw new Error("Document content key must be 32 bytes");
|
|
18
|
+
}
|
|
19
|
+
// Resolved before wrapping: each envelope is sealed to its document and
|
|
20
|
+
// content-key epoch.
|
|
21
|
+
const documentId = input.documentId ?? crypto.randomUUID();
|
|
22
|
+
const contentKeyEpoch = input.contentKeyEpoch ?? 1;
|
|
23
|
+
const targetEnvelopes = await wrapDocumentContentKeyForCreate({
|
|
24
|
+
contentKey,
|
|
25
|
+
contentKeyEpoch,
|
|
26
|
+
documentId,
|
|
27
|
+
execSql: input.execSql,
|
|
28
|
+
knownContainerKeks: input.knownContainerKeks,
|
|
29
|
+
persistVerificationCheckpoints: input.persistVerificationCheckpoints,
|
|
30
|
+
projection: input.containerProjection,
|
|
31
|
+
secretKey: input.targetSecretKey,
|
|
32
|
+
...projectionVerificationOptions(input),
|
|
33
|
+
});
|
|
34
|
+
if (input.resolveProjectionUserKey) {
|
|
35
|
+
const principalPolicies = await collectContainerWriterProjectionPrincipalPolicies({
|
|
36
|
+
...projectionVerificationOptions(input),
|
|
37
|
+
execSql: input.execSql,
|
|
38
|
+
projection: input.containerProjection,
|
|
39
|
+
resolveUserKey: input.resolveProjectionUserKey,
|
|
40
|
+
});
|
|
41
|
+
assertContainerAuthorAccess({
|
|
42
|
+
// Document signing derives its organization from the verified target.
|
|
43
|
+
author: {
|
|
44
|
+
...input.author,
|
|
45
|
+
organizationId: input.containerProjection.organizationId,
|
|
46
|
+
},
|
|
47
|
+
projection: input.containerProjection,
|
|
48
|
+
principalPolicies,
|
|
49
|
+
minimumAccess: "write",
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
// The explicit local-trust variant builds provisioning artifacts before
|
|
53
|
+
// their new principal policies exist remotely; remote creates cannot use it.
|
|
54
|
+
const plan = await buildDocumentCreatePlan({
|
|
55
|
+
author: input.author,
|
|
56
|
+
containerProjection: input.containerProjection,
|
|
57
|
+
contentKeyEpoch,
|
|
58
|
+
documentId,
|
|
59
|
+
...(input.eventId === undefined ? {} : { eventId: input.eventId }),
|
|
60
|
+
...(input.signedAt === undefined ? {} : { signedAt: input.signedAt }),
|
|
61
|
+
targetEnvelopes,
|
|
62
|
+
});
|
|
63
|
+
return {
|
|
64
|
+
contentKey,
|
|
65
|
+
plan,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Build the writer projection a document-create response establishes, from the
|
|
70
|
+
* container projection the create was authored against plus the manifest,
|
|
71
|
+
* content-key bundle, and KEK targets the server just returned. This is the
|
|
72
|
+
* same material a cold `GET /documents/:id/writer-projection` would yield, so
|
|
73
|
+
* seeding it lets the first read after a create resolve locally. Shared by the
|
|
74
|
+
* plain document-create path and the container-with-metadata-document path,
|
|
75
|
+
* whose response carries an equivalent `DocumentCreateResponse`.
|
|
76
|
+
*/
|
|
77
|
+
export function documentWriterProjectionFromCreateResponse(input) {
|
|
78
|
+
return {
|
|
79
|
+
policyEvidence: input.containerProjection.policyEvidence,
|
|
80
|
+
authorizingContainerPaths: [input.containerProjection],
|
|
81
|
+
contentKeyBundle: input.response.contentKeyBundle,
|
|
82
|
+
documentContainerManifestHistory: [
|
|
83
|
+
...input.containerProjection.path,
|
|
84
|
+
...input.containerProjection.containerKeks.flatMap((kek) => kek.containerManifestHistory),
|
|
85
|
+
],
|
|
86
|
+
documentId: input.response.id,
|
|
87
|
+
documentKekTargets: input.response.documentKekTargets,
|
|
88
|
+
documentManifest: input.response.accessManifest,
|
|
89
|
+
documentManifestContainerPaths: [[...input.containerProjection.path]],
|
|
90
|
+
documentManifestHistory: [],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
async function buildMaterializedDocumentCreatePlanWithFreshProjection(input) {
|
|
94
|
+
const buildWithProjection = async (containerProjection) => {
|
|
95
|
+
if (containerProjection.containerId !== input.containerId ||
|
|
96
|
+
(input.expectedOrganizationId !== undefined &&
|
|
97
|
+
containerProjection.organizationId !== input.expectedOrganizationId)) {
|
|
98
|
+
throw new Error("Container writer projection belongs to another container or organization");
|
|
99
|
+
}
|
|
100
|
+
return {
|
|
101
|
+
containerProjection,
|
|
102
|
+
materializedPlan: await buildMaterializedDocumentCreatePlan({
|
|
103
|
+
author: input.author,
|
|
104
|
+
containerProjection,
|
|
105
|
+
contentKey: input.contentKey,
|
|
106
|
+
contentKeyEpoch: input.contentKeyEpoch,
|
|
107
|
+
documentId: input.documentId,
|
|
108
|
+
eventId: input.eventId,
|
|
109
|
+
execSql: input.execSql,
|
|
110
|
+
knownContainerKeks: input.knownContainerKeks,
|
|
111
|
+
persistVerificationCheckpoints: input.persistVerificationCheckpoints,
|
|
112
|
+
resolveProjectionUserKey: input.resolveProjectionUserKey,
|
|
113
|
+
signedAt: input.signedAt,
|
|
114
|
+
stillCurrent: input.stillCurrent,
|
|
115
|
+
targetSecretKey: input.targetSecretKey,
|
|
116
|
+
warmReferencedPrincipalPolicies: input.warmReferencedPrincipalPolicies,
|
|
117
|
+
}),
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
const containerProjection = input.containerProjection ??
|
|
121
|
+
(await fetchContainerWriterProjectionForCreate({
|
|
122
|
+
apiClient: input.apiClient,
|
|
123
|
+
containerId: input.containerId,
|
|
124
|
+
onTerminalSubmitFailure: input.onTerminalSubmitFailure,
|
|
125
|
+
}));
|
|
126
|
+
if (!containerProjection) {
|
|
127
|
+
return null;
|
|
128
|
+
}
|
|
129
|
+
try {
|
|
130
|
+
return await buildWithProjection(containerProjection);
|
|
131
|
+
}
|
|
132
|
+
catch (error) {
|
|
133
|
+
if (!shouldRetryWithFreshProjection(error, (message) => message.includes("could not be unwrapped"))) {
|
|
134
|
+
throw error;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
// Only this container's projection was stale; evict just it rather than
|
|
138
|
+
// wiping every cached projection.
|
|
139
|
+
input.apiClient.evictContainerWriterProjection(input.containerId);
|
|
140
|
+
const refreshedProjection = await fetchContainerWriterProjectionForCreate({
|
|
141
|
+
apiClient: input.apiClient,
|
|
142
|
+
containerId: input.containerId,
|
|
143
|
+
onTerminalSubmitFailure: input.onTerminalSubmitFailure,
|
|
144
|
+
});
|
|
145
|
+
return refreshedProjection ? buildWithProjection(refreshedProjection) : null;
|
|
146
|
+
}
|
|
147
|
+
function isRemoteDocumentCreatePlanBlocked(input, createPlan) {
|
|
148
|
+
const organizationId = createPlan.containerProjection.organizationId;
|
|
149
|
+
return input.isRemoteSyncBlocked?.(organizationId) ?? false;
|
|
150
|
+
}
|
|
151
|
+
async function submitPlannedDocumentCreate(input, resolveProjectionUserKey) {
|
|
152
|
+
const verificationOptions = { stillCurrent: input.stillCurrent };
|
|
153
|
+
const warmReferencedPrincipalPolicies = input.warmReferencedPrincipalPolicies;
|
|
154
|
+
let createPlan = await buildMaterializedDocumentCreatePlanWithFreshProjection({
|
|
155
|
+
apiClient: input.apiClient,
|
|
156
|
+
author: input.author,
|
|
157
|
+
containerId: input.containerId,
|
|
158
|
+
containerProjection: input.containerProjection,
|
|
159
|
+
contentKey: input.contentKey,
|
|
160
|
+
contentKeyEpoch: input.contentKeyEpoch,
|
|
161
|
+
documentId: input.documentId,
|
|
162
|
+
eventId: input.eventId,
|
|
163
|
+
execSql: input.execSql,
|
|
164
|
+
expectedOrganizationId: input.expectedOrganizationId,
|
|
165
|
+
knownContainerKeks: input.knownContainerKeks,
|
|
166
|
+
onTerminalSubmitFailure: input.onTerminalSubmitFailure,
|
|
167
|
+
resolveProjectionUserKey,
|
|
168
|
+
signedAt: input.signedAt,
|
|
169
|
+
targetSecretKey: input.targetSecretKey,
|
|
170
|
+
warmReferencedPrincipalPolicies,
|
|
171
|
+
...verificationOptions,
|
|
172
|
+
});
|
|
173
|
+
if (!createPlan) {
|
|
174
|
+
return null;
|
|
175
|
+
}
|
|
176
|
+
if (isRemoteDocumentCreatePlanBlocked(input, createPlan))
|
|
177
|
+
return null;
|
|
178
|
+
if (input.stillCurrent?.() === false)
|
|
179
|
+
return null;
|
|
180
|
+
let submission = await submitDocumentCreate(input.apiClient, createPlan.materializedPlan.plan.request, createPlan.containerProjection.organizationId);
|
|
181
|
+
if (isStaleDocumentCreateTargetConflict(submission)) {
|
|
182
|
+
if (input.stillCurrent?.() === false) {
|
|
183
|
+
return { createPlan, submission };
|
|
184
|
+
}
|
|
185
|
+
input.apiClient.evictContainerWriterProjection(input.containerId);
|
|
186
|
+
const firstPlan = createPlan.materializedPlan;
|
|
187
|
+
const refreshedPlan = await buildMaterializedDocumentCreatePlanWithFreshProjection({
|
|
188
|
+
apiClient: input.apiClient,
|
|
189
|
+
author: input.author,
|
|
190
|
+
containerId: input.containerId,
|
|
191
|
+
contentKey: firstPlan.contentKey,
|
|
192
|
+
contentKeyEpoch: firstPlan.plan.request.contentKeyBundle.contentKeyEpoch,
|
|
193
|
+
documentId: firstPlan.plan.documentId,
|
|
194
|
+
eventId: firstPlan.plan.event.eventId,
|
|
195
|
+
execSql: input.execSql,
|
|
196
|
+
expectedOrganizationId: input.expectedOrganizationId,
|
|
197
|
+
knownContainerKeks: input.knownContainerKeks,
|
|
198
|
+
onTerminalSubmitFailure: input.onTerminalSubmitFailure,
|
|
199
|
+
resolveProjectionUserKey,
|
|
200
|
+
signedAt: firstPlan.plan.event.signedAt,
|
|
201
|
+
targetSecretKey: input.targetSecretKey,
|
|
202
|
+
warmReferencedPrincipalPolicies,
|
|
203
|
+
...verificationOptions,
|
|
204
|
+
});
|
|
205
|
+
if (!refreshedPlan) {
|
|
206
|
+
return null;
|
|
207
|
+
}
|
|
208
|
+
if (isRemoteDocumentCreatePlanBlocked(input, refreshedPlan))
|
|
209
|
+
return null;
|
|
210
|
+
createPlan = refreshedPlan;
|
|
211
|
+
if (input.stillCurrent?.() === false)
|
|
212
|
+
return null;
|
|
213
|
+
submission = await submitDocumentCreate(input.apiClient, createPlan.materializedPlan.plan.request, createPlan.containerProjection.organizationId);
|
|
214
|
+
}
|
|
215
|
+
return { createPlan, submission };
|
|
216
|
+
}
|
|
217
|
+
export async function createRemoteDocument(input) {
|
|
218
|
+
// The store retries once the folder's own create settles.
|
|
219
|
+
if (await isContainerCreatePending(input.execSql, input.containerId)) {
|
|
220
|
+
return null;
|
|
221
|
+
}
|
|
222
|
+
const resolveProjectionUserKey = requireProjectionUserKeyResolver(input.resolveProjectionUserKey, "Remote document create");
|
|
223
|
+
const plannedSubmission = await recordDocumentAuthorAccessFailure(() => nullOnProjectionVerificationCancellation(() => submitPlannedDocumentCreate(input, resolveProjectionUserKey)), input.onTerminalSubmitFailure);
|
|
224
|
+
if (!plannedSubmission) {
|
|
225
|
+
return null;
|
|
226
|
+
}
|
|
227
|
+
const { createPlan, submission } = plannedSubmission;
|
|
228
|
+
if (input.stillCurrent?.() === false)
|
|
229
|
+
return null;
|
|
230
|
+
if (submission.ok) {
|
|
231
|
+
const response = submission.data;
|
|
232
|
+
const persistedState = persistedDocumentCreateStateFromResponse(createPlan.materializedPlan.plan, response);
|
|
233
|
+
await acknowledgeDocumentMutation({
|
|
234
|
+
execSql: input.execSql,
|
|
235
|
+
plan: createPlan.materializedPlan.plan,
|
|
236
|
+
stillCurrent: input.stillCurrent,
|
|
237
|
+
});
|
|
238
|
+
if (input.stillCurrent?.() === false)
|
|
239
|
+
return null;
|
|
240
|
+
const writerProjection = documentWriterProjectionFromCreateResponse({
|
|
241
|
+
containerProjection: createPlan.containerProjection,
|
|
242
|
+
response,
|
|
243
|
+
});
|
|
244
|
+
const verifiedTargets = await nullOnProjectionVerificationCancellation(() => assertDocumentWriterProjectionConsistent(writerProjection, {
|
|
245
|
+
execSql: input.execSql,
|
|
246
|
+
resolveProjectionUserKey,
|
|
247
|
+
stillCurrent: input.stillCurrent,
|
|
248
|
+
warmReferencedPrincipalPolicies: input.warmReferencedPrincipalPolicies,
|
|
249
|
+
}));
|
|
250
|
+
if (!verifiedTargets)
|
|
251
|
+
return null;
|
|
252
|
+
if (input.stillCurrent?.() === false)
|
|
253
|
+
return null;
|
|
254
|
+
// Seed the projection the create response already gave us so the first read
|
|
255
|
+
// after create (sync, blob attach, container-contents hydration) resolves
|
|
256
|
+
// locally instead of a cold GET writer-projection.
|
|
257
|
+
input.apiClient.primeDocumentWriterProjection(response.id, writerProjection);
|
|
258
|
+
return {
|
|
259
|
+
contentKey: createPlan.materializedPlan.contentKey,
|
|
260
|
+
documentId: response.id,
|
|
261
|
+
persistedState,
|
|
262
|
+
plan: createPlan.materializedPlan.plan,
|
|
263
|
+
response,
|
|
264
|
+
writerProjection,
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
// A stable documentId means a retry after a lost create response re-submits
|
|
268
|
+
// the same id; the server then reports the manifest already exists. That is
|
|
269
|
+
// not a failure — the first attempt committed. Adopt the existing remote
|
|
270
|
+
// document instead of leaking a duplicate. Requires the stable id we sent, so
|
|
271
|
+
// we can fetch its projection back.
|
|
272
|
+
const stableDocumentId = input.documentId;
|
|
273
|
+
if (stableDocumentId && isDocumentManifestAlreadyExistsConflict(submission)) {
|
|
274
|
+
if (input.stillCurrent?.() === false)
|
|
275
|
+
return null;
|
|
276
|
+
const adopted = await nullOnProjectionVerificationCancellation(() => adoptExistingRemoteDocument({
|
|
277
|
+
apiClient: input.apiClient,
|
|
278
|
+
documentId: stableDocumentId,
|
|
279
|
+
execSql: input.execSql,
|
|
280
|
+
expectedContainerId: input.containerId,
|
|
281
|
+
expectedOrganizationId: input.expectedOrganizationId ??
|
|
282
|
+
createPlan.containerProjection.organizationId,
|
|
283
|
+
expectedSignerUserId: input.author.signerUserId,
|
|
284
|
+
resolveProjectionUserKey,
|
|
285
|
+
stillCurrent: input.stillCurrent,
|
|
286
|
+
targetSecretKey: input.targetSecretKey,
|
|
287
|
+
warmReferencedPrincipalPolicies: input.warmReferencedPrincipalPolicies,
|
|
288
|
+
}));
|
|
289
|
+
if (adopted) {
|
|
290
|
+
return adopted;
|
|
291
|
+
}
|
|
292
|
+
// A conflict is the expected, benign outcome of an idempotent retry after a
|
|
293
|
+
// lost create response. If adoption cannot complete yet (e.g. the writer
|
|
294
|
+
// projection fetch failed transiently), do not surface the conflict as a UI
|
|
295
|
+
// error — the sync engine retries and adopts it on a later tick.
|
|
296
|
+
return null;
|
|
297
|
+
}
|
|
298
|
+
submission.report?.();
|
|
299
|
+
await input.onTerminalSubmitFailure?.(submission);
|
|
300
|
+
return null;
|
|
301
|
+
}
|
|
302
|
+
export function isStaleDocumentCreateTargetConflict(submission) {
|
|
303
|
+
return (!submission.ok &&
|
|
304
|
+
submission.status === 409 &&
|
|
305
|
+
submission.code === DOCUMENT_SYNC_ERROR_CODES.stateStale);
|
|
306
|
+
}
|
|
307
|
+
async function submitDocumentCreate(apiClient, request, expectedOrganizationId) {
|
|
308
|
+
return apiClient.createDocumentResult(request, {
|
|
309
|
+
expectedPaymentRequiredOrganizationId: expectedOrganizationId,
|
|
310
|
+
reportErrors: false,
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
//# sourceMappingURL=create.js.map
|