@tearleads/client-sdk 0.1.243 → 0.1.246
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/client/organizations/principalMutations.d.ts +5 -0
- package/data/containers/shared/mutationAcknowledgement.d.ts +1 -1
- package/data/containers/shared/mutationAcknowledgement.js +3 -8
- package/data/containers/shared/mutationAcknowledgement.js.map +1 -1
- package/data/documents/shared/sync/mutationAcknowledgement.js +11 -2
- package/data/documents/shared/sync/mutationAcknowledgement.js.map +1 -1
- package/data/keyingProjectionVerification/checkpoints/heldBundleRecovery.d.ts +26 -0
- package/data/keyingProjectionVerification/checkpoints/heldBundleRecovery.js +46 -0
- package/data/keyingProjectionVerification/checkpoints/heldBundleRecovery.js.map +1 -0
- package/data/keyingProjectionVerification/container/containerDestinationVerification.d.ts +7 -4
- package/data/keyingProjectionVerification/container/containerDestinationVerification.js +5 -1
- package/data/keyingProjectionVerification/container/containerDestinationVerification.js.map +1 -1
- package/data/keyingProjectionVerification/container/containerProjectionVerification.js +9 -2
- package/data/keyingProjectionVerification/container/containerProjectionVerification.js.map +1 -1
- package/data/keyingProjectionVerification/document/documentContainerProjections.js +2 -1
- package/data/keyingProjectionVerification/document/documentContainerProjections.js.map +1 -1
- package/data/keyingProjectionVerification/document/documentProjectionVerification.js +9 -2
- package/data/keyingProjectionVerification/document/documentProjectionVerification.js.map +1 -1
- package/data/keyingProjectionVerification/index.d.ts +1 -0
- package/data/keyingProjectionVerification/index.js +1 -0
- package/data/keyingProjectionVerification/index.js.map +1 -1
- package/data/persistence/container-contents/containerContentsPersistence.js +2 -0
- package/data/persistence/container-contents/containerContentsPersistence.js.map +1 -1
- package/data/persistence/container-contents/containerContentsPersistenceTypes.d.ts +2 -1
- package/data/persistence/container-contents/containerContentsPersistenceTypes.js.map +1 -1
- package/data/persistence/container-contents/containerMetadataRevalidations.d.ts +22 -0
- package/data/persistence/container-contents/containerMetadataRevalidations.js +52 -0
- package/data/persistence/container-contents/containerMetadataRevalidations.js.map +1 -0
- package/data/persistence/keyingCheckpoints/keyingCheckpointRepository.js +16 -4
- package/data/persistence/keyingCheckpoints/keyingCheckpointRepository.js.map +1 -1
- package/data/persistence/keyingCheckpoints/locallyAcknowledgedCheckpointPersistence.d.ts +13 -0
- package/data/persistence/keyingCheckpoints/locallyAcknowledgedCheckpointPersistence.js +11 -0
- package/data/persistence/keyingCheckpoints/locallyAcknowledgedCheckpointPersistence.js.map +1 -1
- package/data/persistence/verifiedCitations/authoredBundleCitation.d.ts +20 -0
- package/data/persistence/verifiedCitations/authoredBundleCitation.js +32 -0
- package/data/persistence/verifiedCitations/authoredBundleCitation.js.map +1 -0
- package/data/persistence/verifiedManifestBundlePersistence.d.ts +10 -0
- package/data/persistence/verifiedManifestBundlePersistence.js +95 -9
- package/data/persistence/verifiedManifestBundlePersistence.js.map +1 -1
- package/data/sqlite/schema/containerSchema.d.ts +173 -0
- package/data/sqlite/schema/containerSchema.js +18 -0
- package/data/sqlite/schema/containerSchema.js.map +1 -1
- package/data/sqlite/schema/index.d.ts +84 -1
- package/data/sqlite/schema/index.js +1 -1
- package/data/sqlite/schema/index.js.map +1 -1
- package/internal/api-client/ApiClient.d.ts +56 -8
- package/internal/api-client/client/apiClientContext.d.ts +1 -0
- package/internal/api-client/client/containerMutations.d.ts +11 -0
- package/internal/api-client/client/containerReads.d.ts +1 -0
- package/internal/api-client/client/documents.d.ts +5 -0
- package/internal/api-client/client/organizations.d.ts +20 -0
- package/internal/api-client/client/principalPolicies.d.ts +9 -0
- package/internal/api-client/client/session.d.ts +10 -0
- package/internal/api-client/principalPolicyRequests.d.ts +7 -0
- package/internal/api-client/writerProjectionCitations.d.ts +3 -0
- package/internal/api-client/writerProjectionCitations.js +12 -0
- package/internal/api-client/writerProjectionCitations.js.map +1 -1
- package/internal/crypto/index.d.ts +1 -1
- package/internal/crypto/index.js +1 -1
- package/internal/crypto/index.js.map +1 -1
- package/internal/crypto/keying/accessManifestVerificationTypes.d.ts +8 -2
- package/internal/crypto/keying/accessManifestVerificationTypes.js.map +1 -1
- package/internal/crypto/keying/canonicalJsonGuard.d.ts +13 -0
- package/internal/crypto/keying/canonicalJsonGuard.js +23 -0
- package/internal/crypto/keying/canonicalJsonGuard.js.map +1 -1
- package/internal/crypto/keying/containerAccess.js +1 -1
- package/internal/crypto/keying/containerAccess.js.map +1 -1
- package/internal/crypto/keying/documentAccess.js +1 -1
- package/internal/crypto/keying/documentAccess.js.map +1 -1
- package/internal/crypto/keying/index.d.ts +1 -1
- package/internal/crypto/keying/index.js +1 -1
- package/internal/crypto/keying/index.js.map +1 -1
- package/internal/crypto/keying/keyingHashDomains.d.ts +1 -1
- package/internal/crypto/keying/keyingHashDomains.js.map +1 -1
- package/internal/crypto/organizationReplacement.js +5 -6
- package/internal/crypto/organizationReplacement.js.map +1 -1
- package/internal/loro/document.d.ts +5 -0
- package/internal/loro/document.js +17 -0
- package/internal/loro/document.js.map +1 -1
- package/internal/loro/index.d.ts +1 -1
- package/internal/loro/index.js +1 -1
- package/internal/loro/index.js.map +1 -1
- package/internal/validators/operation/attachments.d.ts +0 -12
- package/internal/validators/operation/auth.d.ts +40 -76
- package/internal/validators/operation/containerMutations.d.ts +45 -49
- package/internal/validators/operation/containerMutations.js +1 -1
- package/internal/validators/operation/containerMutations.js.map +1 -1
- package/internal/validators/operation/containerReads.d.ts +2 -0
- package/internal/validators/operation/documentMutations.d.ts +12 -24
- package/internal/validators/operation/documentSync.d.ts +0 -4
- package/internal/validators/operation/organizations.d.ts +48 -88
- package/internal/validators/operation/principals.d.ts +16 -16
- package/internal/validators/request/blob.d.ts +0 -12
- package/internal/validators/request/container.d.ts +0 -16
- package/internal/validators/request/container.js +0 -2
- package/internal/validators/request/container.js.map +1 -1
- package/internal/validators/request/containerMetadata.d.ts +0 -20
- package/internal/validators/request/document.d.ts +0 -22
- package/internal/validators/request/document.js +0 -1
- package/internal/validators/request/document.js.map +1 -1
- package/internal/validators/request/documentSyncSchema.d.ts +0 -4
- package/internal/validators/request/documentSyncSchema.js +0 -1
- package/internal/validators/request/documentSyncSchema.js.map +1 -1
- package/internal/validators/request/organization.d.ts +0 -16
- package/internal/validators/request/organizationProvisioning.d.ts +0 -242
- package/internal/validators/request/principal.d.ts +0 -20
- package/internal/validators/request/registration.d.ts +0 -76
- package/internal/validators/response/areas/containers.d.ts +1 -1
- package/internal/validators/response/areas/containers.js +1 -1
- package/internal/validators/response/areas/containers.js.map +1 -1
- package/internal/validators/response/container.d.ts +24 -0
- package/internal/validators/response/container.js +4 -0
- package/internal/validators/response/container.js.map +1 -1
- package/internal/validators/response/containerMetadata.d.ts +8 -0
- package/internal/validators/response/containerParentLanes.d.ts +2 -0
- package/internal/validators/response/documentMutation.d.ts +8 -0
- package/internal/validators/response/documentMutation.js +2 -1
- package/internal/validators/response/documentMutation.js.map +1 -1
- package/internal/validators/response/organization.d.ts +8 -0
- package/internal/validators/response/organizationProvisioning.d.ts +113 -0
- package/internal/validators/response/organizationProvisioning.js +2 -1
- package/internal/validators/response/organizationProvisioning.js.map +1 -1
- package/internal/validators/response/principal.d.ts +16 -0
- package/internal/validators/response/registration.d.ts +40 -0
- package/internal/validators/response/writerProjectionWire.d.ts +25 -0
- package/internal/validators/response/writerProjectionWire.js +109 -3
- package/internal/validators/response/writerProjectionWire.js.map +1 -1
- package/package.json +1 -1
- package/stores/container-contents/containerContentsStore.js +2 -0
- package/stores/container-contents/containerContentsStore.js.map +1 -1
- package/stores/container-contents/hydration/startupHydration.js +6 -2
- package/stores/container-contents/hydration/startupHydration.js.map +1 -1
- package/stores/container-contents/state.js +5 -1
- package/stores/container-contents/state.js.map +1 -1
- package/stores/container-contents/syncAgent/metadataRevalidation.js +79 -0
- package/stores/container-contents/syncAgent/metadataRevalidation.js.map +1 -0
- package/stores/container-contents/syncAgent/syncAgentTypes.d.ts +6 -0
- package/stores/container-contents/syncAgent/syncAgentTypes.js.map +1 -1
- package/stores/container-contents/syncAgent/syncLaneIteration.js +110 -23
- package/stores/container-contents/syncAgent/syncLaneIteration.js.map +1 -1
- package/stores/documents/documentStore/rotation/index.js +3 -1
- package/stores/documents/documentStore/rotation/index.js.map +1 -1
- package/stores/documents/documentStore/sync/syncAttachments.js +4 -1
- package/stores/documents/documentStore/sync/syncAttachments.js.map +1 -1
- package/stores/documents/documentStore/sync/syncDetachedAttachments.js +3 -1
- package/stores/documents/documentStore/sync/syncDetachedAttachments.js.map +1 -1
- package/stores/documents/documentStore/sync/syncRequest.js +3 -1
- package/stores/documents/documentStore/sync/syncRequest.js.map +1 -1
- package/workflows/container-contents/container-state/create/createAdoption.js +11 -3
- package/workflows/container-contents/container-state/create/createAdoption.js.map +1 -1
- package/workflows/container-contents/container-state/create/createWithMetadata.js +2 -2
- package/workflows/container-contents/container-state/create/createWithMetadata.js.map +1 -1
- package/workflows/container-contents/container-state/move/acceptedMoveSettlement.js +3 -0
- package/workflows/container-contents/container-state/move/acceptedMoveSettlement.js.map +1 -1
- package/workflows/container-contents/container-state/projectionCache.js +3 -0
- package/workflows/container-contents/container-state/projectionCache.js.map +1 -1
- package/workflows/container-contents/container-state/remote.js +3 -0
- package/workflows/container-contents/container-state/remote.js.map +1 -1
- package/workflows/container-contents/containerPersistence.d.ts +1 -0
- package/workflows/container-contents/containerPersistence.js.map +1 -1
- package/workflows/container-contents/metadata/index.js +9 -3
- package/workflows/container-contents/metadata/index.js.map +1 -1
- package/workflows/container-contents/metadata/metadataSyncFollowup.js +9 -0
- package/workflows/container-contents/metadata/metadataSyncFollowup.js.map +1 -1
- package/workflows/container-contents/metadata/metadataTypes.d.ts +2 -0
- package/workflows/container-contents/metadata/metadataTypes.js.map +1 -1
- package/workflows/container-contents/remoteHydration/index.js +9 -0
- package/workflows/container-contents/remoteHydration/index.js.map +1 -1
- package/workflows/container-contents/remoteHydration/remoteContainers/remoteContainerState.js +31 -0
- package/workflows/container-contents/remoteHydration/remoteContainers/remoteContainerState.js.map +1 -1
- package/workflows/container-contents/remoteHydration/types.d.ts +9 -1
- package/workflows/container-contents/remoteHydration/types.js.map +1 -1
- package/workflows/containers/child/mutationRequestCore.js +1 -1
- package/workflows/containers/child/mutationRequestCore.js.map +1 -1
- package/workflows/containers/child/recite.js +4 -2
- package/workflows/containers/child/recite.js.map +1 -1
- package/workflows/containers/child/recitePlan.js +0 -1
- package/workflows/containers/child/recitePlan.js.map +1 -1
- package/workflows/containers/root/create.js +0 -1
- package/workflows/containers/root/create.js.map +1 -1
- package/workflows/documents/create/createAdoption.js +11 -2
- package/workflows/documents/create/createAdoption.js.map +1 -1
- package/workflows/documents/create/createResponse.js +1 -0
- package/workflows/documents/create/createResponse.js.map +1 -1
- package/workflows/documents/linkSet/index.js +0 -1
- package/workflows/documents/linkSet/index.js.map +1 -1
- package/workflows/documents/linkSet/linkSetRemote.js +1 -0
- package/workflows/documents/linkSet/linkSetRemote.js.map +1 -1
- package/workflows/documents/sync/syncAttemptPlanning.js +8 -2
- package/workflows/documents/sync/syncAttemptPlanning.js.map +1 -1
- package/workflows/documents/syncRekeys/syncAutomaticContainerRekeys.js +3 -2
- package/workflows/documents/syncRekeys/syncAutomaticContainerRekeys.js.map +1 -1
- package/workflows/documents/syncRekeys/syncContainerRekeyProjection.js +3 -2
- package/workflows/documents/syncRekeys/syncContainerRekeyProjection.js.map +1 -1
- package/workflows/organizations/principalPolicy/principalPolicyReceiptArtifacts.js +17 -10
- package/workflows/organizations/principalPolicy/principalPolicyReceiptArtifacts.js.map +1 -1
- package/workflows/registration/organizationCreation/organizationCreationIntent.d.ts +10 -0
- package/workflows/registration/provisioningAcknowledgement.js +16 -11
- package/workflows/registration/provisioningAcknowledgement.js.map +1 -1
- package/workflows/registration/provisioningBootstrapBuilders.d.ts +0 -2
|
@@ -867,7 +867,6 @@ export declare const putPrincipalPolicyOperation: Omit<{
|
|
|
867
867
|
expectedManifestHash: string;
|
|
868
868
|
keyEpoch: Record<string, unknown>;
|
|
869
869
|
keyring: Record<string, unknown> | null;
|
|
870
|
-
manifest: Record<string, unknown>;
|
|
871
870
|
predecessorBridge: Record<string, unknown> | null;
|
|
872
871
|
principalPolicyRefs: {
|
|
873
872
|
principalType: "group" | "organization";
|
|
@@ -959,7 +958,6 @@ export declare const putPrincipalPolicyOperation: Omit<{
|
|
|
959
958
|
expectedManifestHash: string;
|
|
960
959
|
keyEpoch: Record<string, unknown>;
|
|
961
960
|
keyring: Record<string, unknown> | null;
|
|
962
|
-
manifest: Record<string, unknown>;
|
|
963
961
|
predecessorBridge: Record<string, unknown> | null;
|
|
964
962
|
principalPolicyRefs: {
|
|
965
963
|
principalType: "group" | "organization";
|
|
@@ -1051,7 +1049,6 @@ export declare const putPrincipalPolicyOperation: Omit<{
|
|
|
1051
1049
|
expectedManifestHash: string;
|
|
1052
1050
|
keyEpoch: Record<string, unknown>;
|
|
1053
1051
|
keyring: Record<string, unknown> | null;
|
|
1054
|
-
manifest: Record<string, unknown>;
|
|
1055
1052
|
predecessorBridge: Record<string, unknown> | null;
|
|
1056
1053
|
principalPolicyRefs: {
|
|
1057
1054
|
principalType: "group" | "organization";
|
|
@@ -1143,7 +1140,6 @@ export declare const putPrincipalPolicyOperation: Omit<{
|
|
|
1143
1140
|
expectedManifestHash: string;
|
|
1144
1141
|
keyEpoch: Record<string, unknown>;
|
|
1145
1142
|
keyring: Record<string, unknown> | null;
|
|
1146
|
-
manifest: Record<string, unknown>;
|
|
1147
1143
|
predecessorBridge: Record<string, unknown> | null;
|
|
1148
1144
|
principalPolicyRefs: {
|
|
1149
1145
|
principalType: "group" | "organization";
|
|
@@ -1314,6 +1310,7 @@ export declare const putPrincipalPolicyOperation: Omit<{
|
|
|
1314
1310
|
keyTargetHash: string;
|
|
1315
1311
|
parentContainerKeyEpochId: string | null;
|
|
1316
1312
|
};
|
|
1313
|
+
bundleDigest: string;
|
|
1317
1314
|
containerId: string;
|
|
1318
1315
|
createdAt: string;
|
|
1319
1316
|
eventHash: string;
|
|
@@ -1345,6 +1342,7 @@ export declare const putPrincipalPolicyOperation: Omit<{
|
|
|
1345
1342
|
keyTargetHash: string;
|
|
1346
1343
|
parentContainerKeyEpochId: string | null;
|
|
1347
1344
|
};
|
|
1345
|
+
bundleDigest: string;
|
|
1348
1346
|
containerId: string;
|
|
1349
1347
|
createdAt: string;
|
|
1350
1348
|
eventHash: string;
|
|
@@ -1376,6 +1374,7 @@ export declare const putPrincipalPolicyOperation: Omit<{
|
|
|
1376
1374
|
keyTargetHash: string;
|
|
1377
1375
|
parentContainerKeyEpochId: string | null;
|
|
1378
1376
|
};
|
|
1377
|
+
bundleDigest: string;
|
|
1379
1378
|
containerId: string;
|
|
1380
1379
|
createdAt: string;
|
|
1381
1380
|
eventHash: string;
|
|
@@ -1407,6 +1406,7 @@ export declare const putPrincipalPolicyOperation: Omit<{
|
|
|
1407
1406
|
keyTargetHash: string;
|
|
1408
1407
|
parentContainerKeyEpochId: string | null;
|
|
1409
1408
|
};
|
|
1409
|
+
bundleDigest: string;
|
|
1410
1410
|
containerId: string;
|
|
1411
1411
|
createdAt: string;
|
|
1412
1412
|
eventHash: string;
|
|
@@ -1616,7 +1616,6 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
1616
1616
|
expectedManifestHash: string;
|
|
1617
1617
|
keyEpoch: Record<string, unknown>;
|
|
1618
1618
|
keyring: Record<string, unknown> | null;
|
|
1619
|
-
manifest: Record<string, unknown>;
|
|
1620
1619
|
predecessorBridge: Record<string, unknown> | null;
|
|
1621
1620
|
principalPolicyRefs: {
|
|
1622
1621
|
principalType: "group" | "organization";
|
|
@@ -1709,7 +1708,6 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
1709
1708
|
expectedManifestHash: string;
|
|
1710
1709
|
keyEpoch: Record<string, unknown>;
|
|
1711
1710
|
keyring: Record<string, unknown> | null;
|
|
1712
|
-
manifest: Record<string, unknown>;
|
|
1713
1711
|
predecessorBridge: Record<string, unknown> | null;
|
|
1714
1712
|
principalPolicyRefs: {
|
|
1715
1713
|
principalType: "group" | "organization";
|
|
@@ -1802,7 +1800,6 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
1802
1800
|
expectedManifestHash: string;
|
|
1803
1801
|
keyEpoch: Record<string, unknown>;
|
|
1804
1802
|
keyring: Record<string, unknown> | null;
|
|
1805
|
-
manifest: Record<string, unknown>;
|
|
1806
1803
|
predecessorBridge: Record<string, unknown> | null;
|
|
1807
1804
|
principalPolicyRefs: {
|
|
1808
1805
|
principalType: "group" | "organization";
|
|
@@ -1896,7 +1893,6 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
1896
1893
|
expectedManifestHash: string;
|
|
1897
1894
|
keyEpoch: Record<string, unknown>;
|
|
1898
1895
|
keyring: Record<string, unknown> | null;
|
|
1899
|
-
manifest: Record<string, unknown>;
|
|
1900
1896
|
predecessorBridge: Record<string, unknown> | null;
|
|
1901
1897
|
principalPolicyRefs: {
|
|
1902
1898
|
principalType: "group" | "organization";
|
|
@@ -1989,7 +1985,6 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
1989
1985
|
expectedManifestHash: string;
|
|
1990
1986
|
keyEpoch: Record<string, unknown>;
|
|
1991
1987
|
keyring: Record<string, unknown> | null;
|
|
1992
|
-
manifest: Record<string, unknown>;
|
|
1993
1988
|
predecessorBridge: Record<string, unknown> | null;
|
|
1994
1989
|
principalPolicyRefs: {
|
|
1995
1990
|
principalType: "group" | "organization";
|
|
@@ -2082,7 +2077,6 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2082
2077
|
expectedManifestHash: string;
|
|
2083
2078
|
keyEpoch: Record<string, unknown>;
|
|
2084
2079
|
keyring: Record<string, unknown> | null;
|
|
2085
|
-
manifest: Record<string, unknown>;
|
|
2086
2080
|
predecessorBridge: Record<string, unknown> | null;
|
|
2087
2081
|
principalPolicyRefs: {
|
|
2088
2082
|
principalType: "group" | "organization";
|
|
@@ -2176,7 +2170,6 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2176
2170
|
expectedManifestHash: string;
|
|
2177
2171
|
keyEpoch: Record<string, unknown>;
|
|
2178
2172
|
keyring: Record<string, unknown> | null;
|
|
2179
|
-
manifest: Record<string, unknown>;
|
|
2180
2173
|
predecessorBridge: Record<string, unknown> | null;
|
|
2181
2174
|
principalPolicyRefs: {
|
|
2182
2175
|
principalType: "group" | "organization";
|
|
@@ -2269,7 +2262,6 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2269
2262
|
expectedManifestHash: string;
|
|
2270
2263
|
keyEpoch: Record<string, unknown>;
|
|
2271
2264
|
keyring: Record<string, unknown> | null;
|
|
2272
|
-
manifest: Record<string, unknown>;
|
|
2273
2265
|
predecessorBridge: Record<string, unknown> | null;
|
|
2274
2266
|
principalPolicyRefs: {
|
|
2275
2267
|
principalType: "group" | "organization";
|
|
@@ -2362,7 +2354,6 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2362
2354
|
expectedManifestHash: string;
|
|
2363
2355
|
keyEpoch: Record<string, unknown>;
|
|
2364
2356
|
keyring: Record<string, unknown> | null;
|
|
2365
|
-
manifest: Record<string, unknown>;
|
|
2366
2357
|
predecessorBridge: Record<string, unknown> | null;
|
|
2367
2358
|
principalPolicyRefs: {
|
|
2368
2359
|
principalType: "group" | "organization";
|
|
@@ -2456,7 +2447,6 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2456
2447
|
expectedManifestHash: string;
|
|
2457
2448
|
keyEpoch: Record<string, unknown>;
|
|
2458
2449
|
keyring: Record<string, unknown> | null;
|
|
2459
|
-
manifest: Record<string, unknown>;
|
|
2460
2450
|
predecessorBridge: Record<string, unknown> | null;
|
|
2461
2451
|
principalPolicyRefs: {
|
|
2462
2452
|
principalType: "group" | "organization";
|
|
@@ -2549,7 +2539,6 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2549
2539
|
expectedManifestHash: string;
|
|
2550
2540
|
keyEpoch: Record<string, unknown>;
|
|
2551
2541
|
keyring: Record<string, unknown> | null;
|
|
2552
|
-
manifest: Record<string, unknown>;
|
|
2553
2542
|
predecessorBridge: Record<string, unknown> | null;
|
|
2554
2543
|
principalPolicyRefs: {
|
|
2555
2544
|
principalType: "group" | "organization";
|
|
@@ -2642,7 +2631,6 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2642
2631
|
expectedManifestHash: string;
|
|
2643
2632
|
keyEpoch: Record<string, unknown>;
|
|
2644
2633
|
keyring: Record<string, unknown> | null;
|
|
2645
|
-
manifest: Record<string, unknown>;
|
|
2646
2634
|
predecessorBridge: Record<string, unknown> | null;
|
|
2647
2635
|
principalPolicyRefs: {
|
|
2648
2636
|
principalType: "group" | "organization";
|
|
@@ -2843,6 +2831,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2843
2831
|
keyTargetHash: string;
|
|
2844
2832
|
parentContainerKeyEpochId: string | null;
|
|
2845
2833
|
};
|
|
2834
|
+
bundleDigest: string;
|
|
2846
2835
|
containerId: string;
|
|
2847
2836
|
createdAt: string;
|
|
2848
2837
|
eventHash: string;
|
|
@@ -2875,6 +2864,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2875
2864
|
keyTargetHash: string;
|
|
2876
2865
|
parentContainerKeyEpochId: string | null;
|
|
2877
2866
|
};
|
|
2867
|
+
bundleDigest: string;
|
|
2878
2868
|
containerId: string;
|
|
2879
2869
|
createdAt: string;
|
|
2880
2870
|
eventHash: string;
|
|
@@ -2907,6 +2897,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2907
2897
|
keyTargetHash: string;
|
|
2908
2898
|
parentContainerKeyEpochId: string | null;
|
|
2909
2899
|
};
|
|
2900
|
+
bundleDigest: string;
|
|
2910
2901
|
containerId: string;
|
|
2911
2902
|
createdAt: string;
|
|
2912
2903
|
eventHash: string;
|
|
@@ -2940,6 +2931,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2940
2931
|
keyTargetHash: string;
|
|
2941
2932
|
parentContainerKeyEpochId: string | null;
|
|
2942
2933
|
};
|
|
2934
|
+
bundleDigest: string;
|
|
2943
2935
|
containerId: string;
|
|
2944
2936
|
createdAt: string;
|
|
2945
2937
|
eventHash: string;
|
|
@@ -2972,6 +2964,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2972
2964
|
keyTargetHash: string;
|
|
2973
2965
|
parentContainerKeyEpochId: string | null;
|
|
2974
2966
|
};
|
|
2967
|
+
bundleDigest: string;
|
|
2975
2968
|
containerId: string;
|
|
2976
2969
|
createdAt: string;
|
|
2977
2970
|
eventHash: string;
|
|
@@ -3004,6 +2997,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
3004
2997
|
keyTargetHash: string;
|
|
3005
2998
|
parentContainerKeyEpochId: string | null;
|
|
3006
2999
|
};
|
|
3000
|
+
bundleDigest: string;
|
|
3007
3001
|
containerId: string;
|
|
3008
3002
|
createdAt: string;
|
|
3009
3003
|
eventHash: string;
|
|
@@ -3037,6 +3031,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
3037
3031
|
keyTargetHash: string;
|
|
3038
3032
|
parentContainerKeyEpochId: string | null;
|
|
3039
3033
|
};
|
|
3034
|
+
bundleDigest: string;
|
|
3040
3035
|
containerId: string;
|
|
3041
3036
|
createdAt: string;
|
|
3042
3037
|
eventHash: string;
|
|
@@ -3069,6 +3064,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
3069
3064
|
keyTargetHash: string;
|
|
3070
3065
|
parentContainerKeyEpochId: string | null;
|
|
3071
3066
|
};
|
|
3067
|
+
bundleDigest: string;
|
|
3072
3068
|
containerId: string;
|
|
3073
3069
|
createdAt: string;
|
|
3074
3070
|
eventHash: string;
|
|
@@ -3101,6 +3097,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
3101
3097
|
keyTargetHash: string;
|
|
3102
3098
|
parentContainerKeyEpochId: string | null;
|
|
3103
3099
|
};
|
|
3100
|
+
bundleDigest: string;
|
|
3104
3101
|
containerId: string;
|
|
3105
3102
|
createdAt: string;
|
|
3106
3103
|
eventHash: string;
|
|
@@ -3134,6 +3131,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
3134
3131
|
keyTargetHash: string;
|
|
3135
3132
|
parentContainerKeyEpochId: string | null;
|
|
3136
3133
|
};
|
|
3134
|
+
bundleDigest: string;
|
|
3137
3135
|
containerId: string;
|
|
3138
3136
|
createdAt: string;
|
|
3139
3137
|
eventHash: string;
|
|
@@ -3166,6 +3164,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
3166
3164
|
keyTargetHash: string;
|
|
3167
3165
|
parentContainerKeyEpochId: string | null;
|
|
3168
3166
|
};
|
|
3167
|
+
bundleDigest: string;
|
|
3169
3168
|
containerId: string;
|
|
3170
3169
|
createdAt: string;
|
|
3171
3170
|
eventHash: string;
|
|
@@ -3198,6 +3197,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
3198
3197
|
keyTargetHash: string;
|
|
3199
3198
|
parentContainerKeyEpochId: string | null;
|
|
3200
3199
|
};
|
|
3200
|
+
bundleDigest: string;
|
|
3201
3201
|
containerId: string;
|
|
3202
3202
|
createdAt: string;
|
|
3203
3203
|
eventHash: string;
|
|
@@ -176,7 +176,6 @@ export declare const BlobAttachmentBindRequestSchema: z.ZodType<{
|
|
|
176
176
|
expectedManifestHash: string;
|
|
177
177
|
keyEpoch: Record<string, unknown>;
|
|
178
178
|
keyring: Record<string, unknown> | null;
|
|
179
|
-
manifest: Record<string, unknown>;
|
|
180
179
|
predecessorBridge: Record<string, unknown> | null;
|
|
181
180
|
principalPolicyRefs: {
|
|
182
181
|
principalType: "group" | "organization";
|
|
@@ -239,7 +238,6 @@ export declare const BlobAttachmentBindRequestSchema: z.ZodType<{
|
|
|
239
238
|
expectedManifestHash: string;
|
|
240
239
|
keyEpoch: Record<string, unknown>;
|
|
241
240
|
keyring: Record<string, unknown> | null;
|
|
242
|
-
manifest: Record<string, unknown>;
|
|
243
241
|
predecessorBridge: Record<string, unknown> | null;
|
|
244
242
|
principalPolicyRefs: {
|
|
245
243
|
principalType: "group" | "organization";
|
|
@@ -324,7 +322,6 @@ export declare const BlobAttachmentBindRequestSchema: z.ZodType<{
|
|
|
324
322
|
expectedManifestHash: string;
|
|
325
323
|
keyEpoch: Record<string, unknown>;
|
|
326
324
|
keyring: Record<string, unknown> | null;
|
|
327
|
-
manifest: Record<string, unknown>;
|
|
328
325
|
predecessorBridge: Record<string, unknown> | null;
|
|
329
326
|
principalPolicyRefs: {
|
|
330
327
|
principalType: "group" | "organization";
|
|
@@ -387,7 +384,6 @@ export declare const BlobAttachmentBindRequestSchema: z.ZodType<{
|
|
|
387
384
|
expectedManifestHash: string;
|
|
388
385
|
keyEpoch: Record<string, unknown>;
|
|
389
386
|
keyring: Record<string, unknown> | null;
|
|
390
|
-
manifest: Record<string, unknown>;
|
|
391
387
|
predecessorBridge: Record<string, unknown> | null;
|
|
392
388
|
principalPolicyRefs: {
|
|
393
389
|
principalType: "group" | "organization";
|
|
@@ -472,7 +468,6 @@ export declare const BlobAttachmentBindRequestSchema: z.ZodType<{
|
|
|
472
468
|
expectedManifestHash: string;
|
|
473
469
|
keyEpoch: Record<string, unknown>;
|
|
474
470
|
keyring: Record<string, unknown> | null;
|
|
475
|
-
manifest: Record<string, unknown>;
|
|
476
471
|
predecessorBridge: Record<string, unknown> | null;
|
|
477
472
|
principalPolicyRefs: {
|
|
478
473
|
principalType: "group" | "organization";
|
|
@@ -535,7 +530,6 @@ export declare const BlobAttachmentBindRequestSchema: z.ZodType<{
|
|
|
535
530
|
expectedManifestHash: string;
|
|
536
531
|
keyEpoch: Record<string, unknown>;
|
|
537
532
|
keyring: Record<string, unknown> | null;
|
|
538
|
-
manifest: Record<string, unknown>;
|
|
539
533
|
predecessorBridge: Record<string, unknown> | null;
|
|
540
534
|
principalPolicyRefs: {
|
|
541
535
|
principalType: "group" | "organization";
|
|
@@ -620,7 +614,6 @@ export declare const BlobAttachmentBindRequestSchema: z.ZodType<{
|
|
|
620
614
|
expectedManifestHash: string;
|
|
621
615
|
keyEpoch: Record<string, unknown>;
|
|
622
616
|
keyring: Record<string, unknown> | null;
|
|
623
|
-
manifest: Record<string, unknown>;
|
|
624
617
|
predecessorBridge: Record<string, unknown> | null;
|
|
625
618
|
principalPolicyRefs: {
|
|
626
619
|
principalType: "group" | "organization";
|
|
@@ -683,7 +676,6 @@ export declare const BlobAttachmentBindRequestSchema: z.ZodType<{
|
|
|
683
676
|
expectedManifestHash: string;
|
|
684
677
|
keyEpoch: Record<string, unknown>;
|
|
685
678
|
keyring: Record<string, unknown> | null;
|
|
686
|
-
manifest: Record<string, unknown>;
|
|
687
679
|
predecessorBridge: Record<string, unknown> | null;
|
|
688
680
|
principalPolicyRefs: {
|
|
689
681
|
principalType: "group" | "organization";
|
|
@@ -756,7 +748,6 @@ export declare const BlobAttachmentDetachRequestSchema: z.ZodType<{
|
|
|
756
748
|
expectedManifestHash: string;
|
|
757
749
|
keyEpoch: Record<string, unknown>;
|
|
758
750
|
keyring: Record<string, unknown> | null;
|
|
759
|
-
manifest: Record<string, unknown>;
|
|
760
751
|
predecessorBridge: Record<string, unknown> | null;
|
|
761
752
|
principalPolicyRefs: {
|
|
762
753
|
principalType: "group" | "organization";
|
|
@@ -805,7 +796,6 @@ export declare const BlobAttachmentDetachRequestSchema: z.ZodType<{
|
|
|
805
796
|
expectedManifestHash: string;
|
|
806
797
|
keyEpoch: Record<string, unknown>;
|
|
807
798
|
keyring: Record<string, unknown> | null;
|
|
808
|
-
manifest: Record<string, unknown>;
|
|
809
799
|
predecessorBridge: Record<string, unknown> | null;
|
|
810
800
|
principalPolicyRefs: {
|
|
811
801
|
principalType: "group" | "organization";
|
|
@@ -854,7 +844,6 @@ export declare const BlobAttachmentDetachRequestSchema: z.ZodType<{
|
|
|
854
844
|
expectedManifestHash: string;
|
|
855
845
|
keyEpoch: Record<string, unknown>;
|
|
856
846
|
keyring: Record<string, unknown> | null;
|
|
857
|
-
manifest: Record<string, unknown>;
|
|
858
847
|
predecessorBridge: Record<string, unknown> | null;
|
|
859
848
|
principalPolicyRefs: {
|
|
860
849
|
principalType: "group" | "organization";
|
|
@@ -903,7 +892,6 @@ export declare const BlobAttachmentDetachRequestSchema: z.ZodType<{
|
|
|
903
892
|
expectedManifestHash: string;
|
|
904
893
|
keyEpoch: Record<string, unknown>;
|
|
905
894
|
keyring: Record<string, unknown> | null;
|
|
906
|
-
manifest: Record<string, unknown>;
|
|
907
895
|
predecessorBridge: Record<string, unknown> | null;
|
|
908
896
|
principalPolicyRefs: {
|
|
909
897
|
principalType: "group" | "organization";
|
|
@@ -5,7 +5,6 @@ export declare const ContainerMutationRequestSchema: z.ZodType<{
|
|
|
5
5
|
expectedManifestHash: string;
|
|
6
6
|
keyEpoch: Record<string, unknown>;
|
|
7
7
|
keyring: Record<string, unknown> | null;
|
|
8
|
-
manifest: Record<string, unknown>;
|
|
9
8
|
predecessorBridge: Record<string, unknown> | null;
|
|
10
9
|
principalPolicyRefs: {
|
|
11
10
|
principalType: "group" | "organization";
|
|
@@ -46,7 +45,6 @@ export declare const ContainerMutationRequestSchema: z.ZodType<{
|
|
|
46
45
|
expectedManifestHash: string;
|
|
47
46
|
keyEpoch: Record<string, unknown>;
|
|
48
47
|
keyring: Record<string, unknown> | null;
|
|
49
|
-
manifest: Record<string, unknown>;
|
|
50
48
|
predecessorBridge: Record<string, unknown> | null;
|
|
51
49
|
principalPolicyRefs: {
|
|
52
50
|
principalType: "group" | "organization";
|
|
@@ -87,7 +85,6 @@ export declare const ContainerMutationRequestSchema: z.ZodType<{
|
|
|
87
85
|
expectedManifestHash: string;
|
|
88
86
|
keyEpoch: Record<string, unknown>;
|
|
89
87
|
keyring: Record<string, unknown> | null;
|
|
90
|
-
manifest: Record<string, unknown>;
|
|
91
88
|
predecessorBridge: Record<string, unknown> | null;
|
|
92
89
|
principalPolicyRefs: {
|
|
93
90
|
principalType: "group" | "organization";
|
|
@@ -128,7 +125,6 @@ export declare const ContainerMutationRequestSchema: z.ZodType<{
|
|
|
128
125
|
expectedManifestHash: string;
|
|
129
126
|
keyEpoch: Record<string, unknown>;
|
|
130
127
|
keyring: Record<string, unknown> | null;
|
|
131
|
-
manifest: Record<string, unknown>;
|
|
132
128
|
predecessorBridge: Record<string, unknown> | null;
|
|
133
129
|
principalPolicyRefs: {
|
|
134
130
|
principalType: "group" | "organization";
|
|
@@ -178,7 +174,6 @@ export declare const ContainerRotationRequestSchema: z.ZodType<{
|
|
|
178
174
|
expectedManifestHash: string;
|
|
179
175
|
keyEpoch: Record<string, unknown>;
|
|
180
176
|
keyring: Record<string, unknown> | null;
|
|
181
|
-
manifest: Record<string, unknown>;
|
|
182
177
|
predecessorBridge: Record<string, unknown> | null;
|
|
183
178
|
principalPolicyRefs: {
|
|
184
179
|
principalType: "group" | "organization";
|
|
@@ -193,7 +188,6 @@ export declare const ContainerRotationRequestSchema: z.ZodType<{
|
|
|
193
188
|
expectedManifestHash: string;
|
|
194
189
|
keyEpoch: Record<string, unknown>;
|
|
195
190
|
keyring: Record<string, unknown> | null;
|
|
196
|
-
manifest: Record<string, unknown>;
|
|
197
191
|
predecessorBridge: Record<string, unknown> | null;
|
|
198
192
|
principalPolicyRefs: {
|
|
199
193
|
principalType: "group" | "organization";
|
|
@@ -261,7 +255,6 @@ export declare const ContainerRotationRequestSchema: z.ZodType<{
|
|
|
261
255
|
expectedManifestHash: string;
|
|
262
256
|
keyEpoch: Record<string, unknown>;
|
|
263
257
|
keyring: Record<string, unknown> | null;
|
|
264
|
-
manifest: Record<string, unknown>;
|
|
265
258
|
predecessorBridge: Record<string, unknown> | null;
|
|
266
259
|
principalPolicyRefs: {
|
|
267
260
|
principalType: "group" | "organization";
|
|
@@ -276,7 +269,6 @@ export declare const ContainerRotationRequestSchema: z.ZodType<{
|
|
|
276
269
|
expectedManifestHash: string;
|
|
277
270
|
keyEpoch: Record<string, unknown>;
|
|
278
271
|
keyring: Record<string, unknown> | null;
|
|
279
|
-
manifest: Record<string, unknown>;
|
|
280
272
|
predecessorBridge: Record<string, unknown> | null;
|
|
281
273
|
principalPolicyRefs: {
|
|
282
274
|
principalType: "group" | "organization";
|
|
@@ -344,7 +336,6 @@ export declare const ContainerRotationRequestSchema: z.ZodType<{
|
|
|
344
336
|
expectedManifestHash: string;
|
|
345
337
|
keyEpoch: Record<string, unknown>;
|
|
346
338
|
keyring: Record<string, unknown> | null;
|
|
347
|
-
manifest: Record<string, unknown>;
|
|
348
339
|
predecessorBridge: Record<string, unknown> | null;
|
|
349
340
|
principalPolicyRefs: {
|
|
350
341
|
principalType: "group" | "organization";
|
|
@@ -359,7 +350,6 @@ export declare const ContainerRotationRequestSchema: z.ZodType<{
|
|
|
359
350
|
expectedManifestHash: string;
|
|
360
351
|
keyEpoch: Record<string, unknown>;
|
|
361
352
|
keyring: Record<string, unknown> | null;
|
|
362
|
-
manifest: Record<string, unknown>;
|
|
363
353
|
predecessorBridge: Record<string, unknown> | null;
|
|
364
354
|
principalPolicyRefs: {
|
|
365
355
|
principalType: "group" | "organization";
|
|
@@ -427,7 +417,6 @@ export declare const ContainerRotationRequestSchema: z.ZodType<{
|
|
|
427
417
|
expectedManifestHash: string;
|
|
428
418
|
keyEpoch: Record<string, unknown>;
|
|
429
419
|
keyring: Record<string, unknown> | null;
|
|
430
|
-
manifest: Record<string, unknown>;
|
|
431
420
|
predecessorBridge: Record<string, unknown> | null;
|
|
432
421
|
principalPolicyRefs: {
|
|
433
422
|
principalType: "group" | "organization";
|
|
@@ -442,7 +431,6 @@ export declare const ContainerRotationRequestSchema: z.ZodType<{
|
|
|
442
431
|
expectedManifestHash: string;
|
|
443
432
|
keyEpoch: Record<string, unknown>;
|
|
444
433
|
keyring: Record<string, unknown> | null;
|
|
445
|
-
manifest: Record<string, unknown>;
|
|
446
434
|
predecessorBridge: Record<string, unknown> | null;
|
|
447
435
|
principalPolicyRefs: {
|
|
448
436
|
principalType: "group" | "organization";
|
|
@@ -510,7 +498,6 @@ export declare const ContainerReciteRequestSchema: z.ZodType<{
|
|
|
510
498
|
body: unknown;
|
|
511
499
|
event: Record<string, unknown>;
|
|
512
500
|
expectedManifestHash: string;
|
|
513
|
-
manifest: Record<string, unknown>;
|
|
514
501
|
previousContainerPathRefs: {
|
|
515
502
|
containerId: string;
|
|
516
503
|
manifestHash: string;
|
|
@@ -529,7 +516,6 @@ export declare const ContainerReciteRequestSchema: z.ZodType<{
|
|
|
529
516
|
body: unknown;
|
|
530
517
|
event: Record<string, unknown>;
|
|
531
518
|
expectedManifestHash: string;
|
|
532
|
-
manifest: Record<string, unknown>;
|
|
533
519
|
previousContainerPathRefs: {
|
|
534
520
|
containerId: string;
|
|
535
521
|
manifestHash: string;
|
|
@@ -548,7 +534,6 @@ export declare const ContainerReciteRequestSchema: z.ZodType<{
|
|
|
548
534
|
body: unknown;
|
|
549
535
|
event: Record<string, unknown>;
|
|
550
536
|
expectedManifestHash: string;
|
|
551
|
-
manifest: Record<string, unknown>;
|
|
552
537
|
previousContainerPathRefs: {
|
|
553
538
|
containerId: string;
|
|
554
539
|
manifestHash: string;
|
|
@@ -567,7 +552,6 @@ export declare const ContainerReciteRequestSchema: z.ZodType<{
|
|
|
567
552
|
body: unknown;
|
|
568
553
|
event: Record<string, unknown>;
|
|
569
554
|
expectedManifestHash: string;
|
|
570
|
-
manifest: Record<string, unknown>;
|
|
571
555
|
previousContainerPathRefs: {
|
|
572
556
|
containerId: string;
|
|
573
557
|
manifestHash: string;
|
|
@@ -21,7 +21,6 @@ const containerMutationRequestShape = {
|
|
|
21
21
|
expectedManifestHash: nonEmptyStringSchema,
|
|
22
22
|
keyEpoch: plainObjectSchema,
|
|
23
23
|
keyring: ContainerMutationKeyringSchema.nullable(),
|
|
24
|
-
manifest: plainObjectSchema,
|
|
25
24
|
parentContainerPathRefs: OptionalContainerManifestPathSchema.optional(),
|
|
26
25
|
parentKekRef: ContainerKekParentRefSchema.nullable().optional(),
|
|
27
26
|
predecessorBridge: plainObjectSchema.nullable(),
|
|
@@ -47,7 +46,6 @@ export const ContainerReciteRequestSchema = loosePlainObject({
|
|
|
47
46
|
body: requiredUnknownSchema,
|
|
48
47
|
event: plainObjectSchema,
|
|
49
48
|
expectedManifestHash: nonEmptyStringSchema,
|
|
50
|
-
manifest: plainObjectSchema,
|
|
51
49
|
previousContainerPathRefs: ContainerManifestPathSchema,
|
|
52
50
|
previousManifestRef: ContainerManifestRefSchema,
|
|
53
51
|
principalPolicyRefs: PrincipalPolicyRefListSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.js","sourceRoot":"","sources":["container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,mCAAmC,EACnC,6BAA6B,GAC9B,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,8BAA8B,EAC9B,0BAA0B,EAC1B,mCAAmC,GACpC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAEpE,MAAM,8BAA8B,GAAG,sBAAsB,CAC3D,CAAC,CAAC,MAAM,CACN,CAAC,KAAK,EAAE,EAAE,CAAC,mCAAmC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CACxE,EACD,mCAAmC,CACpC,CAAC;AAEF,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,+EAA+E;AAC/E,4EAA4E;AAC5E,4EAA4E;AAC5E,0DAA0D;AAC1D,+BAA+B;AAC/B,MAAM,6BAA6B,GAAG;IACpC,IAAI,EAAE,qBAAqB;IAC3B,4BAA4B,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IACvE,kCAAkC,EAChC,mCAAmC,CAAC,QAAQ,EAAE;IAChD,KAAK,EAAE,iBAAiB;IACxB,oBAAoB,EAAE,oBAAoB;IAC1C,QAAQ,EAAE,iBAAiB;IAC3B,OAAO,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IAClD,
|
|
1
|
+
{"version":3,"file":"container.js","sourceRoot":"","sources":["container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,mCAAmC,EACnC,6BAA6B,GAC9B,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,8BAA8B,EAC9B,0BAA0B,EAC1B,mCAAmC,GACpC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAEpE,MAAM,8BAA8B,GAAG,sBAAsB,CAC3D,CAAC,CAAC,MAAM,CACN,CAAC,KAAK,EAAE,EAAE,CAAC,mCAAmC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CACxE,EACD,mCAAmC,CACpC,CAAC;AAEF,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,+EAA+E;AAC/E,4EAA4E;AAC5E,4EAA4E;AAC5E,0DAA0D;AAC1D,+BAA+B;AAC/B,MAAM,6BAA6B,GAAG;IACpC,IAAI,EAAE,qBAAqB;IAC3B,4BAA4B,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IACvE,kCAAkC,EAChC,mCAAmC,CAAC,QAAQ,EAAE;IAChD,KAAK,EAAE,iBAAiB;IACxB,oBAAoB,EAAE,oBAAoB;IAC1C,QAAQ,EAAE,iBAAiB;IAC3B,OAAO,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IAClD,uBAAuB,EAAE,mCAAmC,CAAC,QAAQ,EAAE;IACvE,YAAY,EAAE,2BAA2B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC/D,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,EAAE;IAC/C,yBAAyB,EAAE,mCAAmC,CAAC,QAAQ,EAAE;IACzE,mBAAmB,EAAE,0BAA0B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACrE,mBAAmB,EAAE,4BAA4B;IACjD,iBAAiB,EAAE,WAAW,CAAC,iBAAiB,CAAC,CAAC,QAAQ,EAAE;IAC5D,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC;CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,gBAAgB,CAC5D,6BAA6B,CAC9B,CAAC;AAMF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,gBAAgB,CAAC;IAC7D,GAAG,6BAA6B;IAChC,eAAe,EAAE,WAAW,CAC1B,8BAA8B,EAC9B,6BAA6B,CAC9B,CAAC,QAAQ,EAAE;CACb,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,4BAA4B,GAAG,gBAAgB,CAAC;IAC3D,IAAI,EAAE,qBAAqB;IAC3B,KAAK,EAAE,iBAAiB;IACxB,oBAAoB,EAAE,oBAAoB;IAC1C,yBAAyB,EAAE,2BAA2B;IACtD,mBAAmB,EAAE,0BAA0B;IAC/C,mBAAmB,EAAE,4BAA4B;CAClD,CAAC,CAAC;AAMH,MAAM,UAAU,wBAAwB,CACtC,KAAc;IAEd,OAAO,4BAA4B,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AAC/D,CAAC;AAED,MAAM,UAAU,0BAA0B,CACxC,KAAc;IAEd,OAAO,8BAA8B,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AACjE,CAAC;AAED,MAAM,UAAU,0BAA0B,CACxC,KAAc;IAEd,OAAO,8BAA8B,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AACjE,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { registerJsonSchemaView } from \"../jsonSchema\";\nimport {\n arraySchema,\n loosePlainObject,\n nonEmptyStringSchema,\n plainObjectSchema,\n requiredUnknownSchema,\n} from \"../schema\";\nimport {\n ContainerKekKeyringWireRecordSchema,\n MAX_ROTATION_CONTAINER_REKEYS,\n} from \"../util\";\nimport {\n ContainerKekParentRefSchema,\n ContainerManifestPathSchema,\n ContainerManifestRefListSchema,\n ContainerManifestRefSchema,\n OptionalContainerManifestPathSchema,\n} from \"./containerManifestRef\";\nimport { PrincipalPolicyRefListSchema } from \"./principalPolicyRef\";\n\nconst ContainerMutationKeyringSchema = registerJsonSchemaView(\n z.custom<Record<string, unknown>>(\n (value) => ContainerKekKeyringWireRecordSchema.safeParse(value).success,\n ),\n ContainerKekKeyringWireRecordSchema,\n);\n\n// Every manifest a mutation cites that the server already stores travels as a\n// {containerId, manifestHash} reference. The server resolves each one from its\n// own verified store (or from an earlier mutation of the same batch) and pins\n// paths and the previous manifest to current heads; the signed event binds the\n// same hashes as its dependencies, so no request copy of a stored bundle is\n// ever needed. Only the new manifest this mutation commits travels in full.\n// Principal policies are cited the same way, by head (see\n// `PrincipalPolicyRefSchema`).\nconst containerMutationRequestShape = {\n body: requiredUnknownSchema,\n containerManifestHistoryRefs: ContainerManifestRefListSchema.optional(),\n destinationParentContainerPathRefs:\n OptionalContainerManifestPathSchema.optional(),\n event: plainObjectSchema,\n expectedManifestHash: nonEmptyStringSchema,\n keyEpoch: plainObjectSchema,\n keyring: ContainerMutationKeyringSchema.nullable(),\n parentContainerPathRefs: OptionalContainerManifestPathSchema.optional(),\n parentKekRef: ContainerKekParentRefSchema.nullable().optional(),\n predecessorBridge: plainObjectSchema.nullable(),\n previousContainerPathRefs: OptionalContainerManifestPathSchema.optional(),\n previousManifestRef: ContainerManifestRefSchema.nullable().optional(),\n principalPolicyRefs: PrincipalPolicyRefListSchema,\n userRecipientKeys: arraySchema(plainObjectSchema).optional(),\n wraps: arraySchema(plainObjectSchema),\n};\n\nexport const ContainerMutationRequestSchema = loosePlainObject(\n containerMutationRequestShape,\n);\n\nexport type ContainerMutationRequest = z.infer<\n typeof ContainerMutationRequestSchema\n>;\n\n/**\n * A rekey, revoke, or move: the rotation plus the descendant rekeys it must\n * commit with. `containerRekeys` names, parent-first, the descendants above a\n * directly granted container; they commit with the rotation or not at all.\n * Only these three routes take it, so the carriers that already hold a flat\n * rekey list (document and blob writes) stay as they are.\n */\nexport const ContainerRotationRequestSchema = loosePlainObject({\n ...containerMutationRequestShape,\n containerRekeys: arraySchema(\n ContainerMutationRequestSchema,\n MAX_ROTATION_CONTAINER_REKEYS,\n ).optional(),\n});\n\nexport type ContainerRotationRequest = z.infer<\n typeof ContainerRotationRequestSchema\n>;\n\nexport const ContainerReciteRequestSchema = loosePlainObject({\n body: requiredUnknownSchema,\n event: plainObjectSchema,\n expectedManifestHash: nonEmptyStringSchema,\n previousContainerPathRefs: ContainerManifestPathSchema,\n previousManifestRef: ContainerManifestRefSchema,\n principalPolicyRefs: PrincipalPolicyRefListSchema,\n});\n\nexport type ContainerReciteRequest = z.infer<\n typeof ContainerReciteRequestSchema\n>;\n\nexport function isContainerReciteRequest(\n value: unknown,\n): value is ContainerReciteRequest {\n return ContainerReciteRequestSchema.safeParse(value).success;\n}\n\nexport function isContainerRotationRequest(\n value: unknown,\n): value is ContainerRotationRequest {\n return ContainerRotationRequestSchema.safeParse(value).success;\n}\n\nexport function isContainerMutationRequest(\n value: unknown,\n): value is ContainerMutationRequest {\n return ContainerMutationRequestSchema.safeParse(value).success;\n}\n"]}
|
|
@@ -6,7 +6,6 @@ export declare const containerCreateWithMetadataDocumentRequestShape: {
|
|
|
6
6
|
expectedManifestHash: string;
|
|
7
7
|
keyEpoch: Record<string, unknown>;
|
|
8
8
|
keyring: Record<string, unknown> | null;
|
|
9
|
-
manifest: Record<string, unknown>;
|
|
10
9
|
predecessorBridge: Record<string, unknown> | null;
|
|
11
10
|
principalPolicyRefs: {
|
|
12
11
|
principalType: "group" | "organization";
|
|
@@ -47,7 +46,6 @@ export declare const containerCreateWithMetadataDocumentRequestShape: {
|
|
|
47
46
|
expectedManifestHash: string;
|
|
48
47
|
keyEpoch: Record<string, unknown>;
|
|
49
48
|
keyring: Record<string, unknown> | null;
|
|
50
|
-
manifest: Record<string, unknown>;
|
|
51
49
|
predecessorBridge: Record<string, unknown> | null;
|
|
52
50
|
principalPolicyRefs: {
|
|
53
51
|
principalType: "group" | "organization";
|
|
@@ -88,7 +86,6 @@ export declare const containerCreateWithMetadataDocumentRequestShape: {
|
|
|
88
86
|
expectedManifestHash: string;
|
|
89
87
|
keyEpoch: Record<string, unknown>;
|
|
90
88
|
keyring: Record<string, unknown> | null;
|
|
91
|
-
manifest: Record<string, unknown>;
|
|
92
89
|
predecessorBridge: Record<string, unknown> | null;
|
|
93
90
|
principalPolicyRefs: {
|
|
94
91
|
principalType: "group" | "organization";
|
|
@@ -129,7 +126,6 @@ export declare const containerCreateWithMetadataDocumentRequestShape: {
|
|
|
129
126
|
expectedManifestHash: string;
|
|
130
127
|
keyEpoch: Record<string, unknown>;
|
|
131
128
|
keyring: Record<string, unknown> | null;
|
|
132
|
-
manifest: Record<string, unknown>;
|
|
133
129
|
predecessorBridge: Record<string, unknown> | null;
|
|
134
130
|
principalPolicyRefs: {
|
|
135
131
|
principalType: "group" | "organization";
|
|
@@ -193,7 +189,6 @@ export declare const containerCreateWithMetadataDocumentRequestShape: {
|
|
|
193
189
|
expectedManifestHash: string;
|
|
194
190
|
keyEpoch: Record<string, unknown>;
|
|
195
191
|
keyring: Record<string, unknown> | null;
|
|
196
|
-
manifest: Record<string, unknown>;
|
|
197
192
|
predecessorBridge: Record<string, unknown> | null;
|
|
198
193
|
principalPolicyRefs: {
|
|
199
194
|
principalType: "group" | "organization";
|
|
@@ -261,7 +256,6 @@ export declare const containerCreateWithMetadataDocumentRequestShape: {
|
|
|
261
256
|
expectedManifestHash: string;
|
|
262
257
|
keyEpoch: Record<string, unknown>;
|
|
263
258
|
keyring: Record<string, unknown> | null;
|
|
264
|
-
manifest: Record<string, unknown>;
|
|
265
259
|
predecessorBridge: Record<string, unknown> | null;
|
|
266
260
|
principalPolicyRefs: {
|
|
267
261
|
principalType: "group" | "organization";
|
|
@@ -329,7 +323,6 @@ export declare const containerCreateWithMetadataDocumentRequestShape: {
|
|
|
329
323
|
expectedManifestHash: string;
|
|
330
324
|
keyEpoch: Record<string, unknown>;
|
|
331
325
|
keyring: Record<string, unknown> | null;
|
|
332
|
-
manifest: Record<string, unknown>;
|
|
333
326
|
predecessorBridge: Record<string, unknown> | null;
|
|
334
327
|
principalPolicyRefs: {
|
|
335
328
|
principalType: "group" | "organization";
|
|
@@ -397,7 +390,6 @@ export declare const containerCreateWithMetadataDocumentRequestShape: {
|
|
|
397
390
|
expectedManifestHash: string;
|
|
398
391
|
keyEpoch: Record<string, unknown>;
|
|
399
392
|
keyring: Record<string, unknown> | null;
|
|
400
|
-
manifest: Record<string, unknown>;
|
|
401
393
|
predecessorBridge: Record<string, unknown> | null;
|
|
402
394
|
principalPolicyRefs: {
|
|
403
395
|
principalType: "group" | "organization";
|
|
@@ -452,7 +444,6 @@ export declare const ContainerCreateWithMetadataDocumentRequestSchema: z.ZodType
|
|
|
452
444
|
expectedManifestHash: string;
|
|
453
445
|
keyEpoch: Record<string, unknown>;
|
|
454
446
|
keyring: Record<string, unknown> | null;
|
|
455
|
-
manifest: Record<string, unknown>;
|
|
456
447
|
predecessorBridge: Record<string, unknown> | null;
|
|
457
448
|
principalPolicyRefs: {
|
|
458
449
|
principalType: "group" | "organization";
|
|
@@ -516,7 +507,6 @@ export declare const ContainerCreateWithMetadataDocumentRequestSchema: z.ZodType
|
|
|
516
507
|
expectedManifestHash: string;
|
|
517
508
|
keyEpoch: Record<string, unknown>;
|
|
518
509
|
keyring: Record<string, unknown> | null;
|
|
519
|
-
manifest: Record<string, unknown>;
|
|
520
510
|
predecessorBridge: Record<string, unknown> | null;
|
|
521
511
|
principalPolicyRefs: {
|
|
522
512
|
principalType: "group" | "organization";
|
|
@@ -584,7 +574,6 @@ export declare const ContainerCreateWithMetadataDocumentRequestSchema: z.ZodType
|
|
|
584
574
|
expectedManifestHash: string;
|
|
585
575
|
keyEpoch: Record<string, unknown>;
|
|
586
576
|
keyring: Record<string, unknown> | null;
|
|
587
|
-
manifest: Record<string, unknown>;
|
|
588
577
|
predecessorBridge: Record<string, unknown> | null;
|
|
589
578
|
principalPolicyRefs: {
|
|
590
579
|
principalType: "group" | "organization";
|
|
@@ -646,7 +635,6 @@ export declare const ContainerCreateWithMetadataDocumentRequestSchema: z.ZodType
|
|
|
646
635
|
expectedManifestHash: string;
|
|
647
636
|
keyEpoch: Record<string, unknown>;
|
|
648
637
|
keyring: Record<string, unknown> | null;
|
|
649
|
-
manifest: Record<string, unknown>;
|
|
650
638
|
predecessorBridge: Record<string, unknown> | null;
|
|
651
639
|
principalPolicyRefs: {
|
|
652
640
|
principalType: "group" | "organization";
|
|
@@ -710,7 +698,6 @@ export declare const ContainerCreateWithMetadataDocumentRequestSchema: z.ZodType
|
|
|
710
698
|
expectedManifestHash: string;
|
|
711
699
|
keyEpoch: Record<string, unknown>;
|
|
712
700
|
keyring: Record<string, unknown> | null;
|
|
713
|
-
manifest: Record<string, unknown>;
|
|
714
701
|
predecessorBridge: Record<string, unknown> | null;
|
|
715
702
|
principalPolicyRefs: {
|
|
716
703
|
principalType: "group" | "organization";
|
|
@@ -778,7 +765,6 @@ export declare const ContainerCreateWithMetadataDocumentRequestSchema: z.ZodType
|
|
|
778
765
|
expectedManifestHash: string;
|
|
779
766
|
keyEpoch: Record<string, unknown>;
|
|
780
767
|
keyring: Record<string, unknown> | null;
|
|
781
|
-
manifest: Record<string, unknown>;
|
|
782
768
|
predecessorBridge: Record<string, unknown> | null;
|
|
783
769
|
principalPolicyRefs: {
|
|
784
770
|
principalType: "group" | "organization";
|
|
@@ -840,7 +826,6 @@ export declare const ContainerCreateWithMetadataDocumentRequestSchema: z.ZodType
|
|
|
840
826
|
expectedManifestHash: string;
|
|
841
827
|
keyEpoch: Record<string, unknown>;
|
|
842
828
|
keyring: Record<string, unknown> | null;
|
|
843
|
-
manifest: Record<string, unknown>;
|
|
844
829
|
predecessorBridge: Record<string, unknown> | null;
|
|
845
830
|
principalPolicyRefs: {
|
|
846
831
|
principalType: "group" | "organization";
|
|
@@ -904,7 +889,6 @@ export declare const ContainerCreateWithMetadataDocumentRequestSchema: z.ZodType
|
|
|
904
889
|
expectedManifestHash: string;
|
|
905
890
|
keyEpoch: Record<string, unknown>;
|
|
906
891
|
keyring: Record<string, unknown> | null;
|
|
907
|
-
manifest: Record<string, unknown>;
|
|
908
892
|
predecessorBridge: Record<string, unknown> | null;
|
|
909
893
|
principalPolicyRefs: {
|
|
910
894
|
principalType: "group" | "organization";
|
|
@@ -972,7 +956,6 @@ export declare const ContainerCreateWithMetadataDocumentRequestSchema: z.ZodType
|
|
|
972
956
|
expectedManifestHash: string;
|
|
973
957
|
keyEpoch: Record<string, unknown>;
|
|
974
958
|
keyring: Record<string, unknown> | null;
|
|
975
|
-
manifest: Record<string, unknown>;
|
|
976
959
|
predecessorBridge: Record<string, unknown> | null;
|
|
977
960
|
principalPolicyRefs: {
|
|
978
961
|
principalType: "group" | "organization";
|
|
@@ -1034,7 +1017,6 @@ export declare const ContainerCreateWithMetadataDocumentRequestSchema: z.ZodType
|
|
|
1034
1017
|
expectedManifestHash: string;
|
|
1035
1018
|
keyEpoch: Record<string, unknown>;
|
|
1036
1019
|
keyring: Record<string, unknown> | null;
|
|
1037
|
-
manifest: Record<string, unknown>;
|
|
1038
1020
|
predecessorBridge: Record<string, unknown> | null;
|
|
1039
1021
|
principalPolicyRefs: {
|
|
1040
1022
|
principalType: "group" | "organization";
|
|
@@ -1098,7 +1080,6 @@ export declare const ContainerCreateWithMetadataDocumentRequestSchema: z.ZodType
|
|
|
1098
1080
|
expectedManifestHash: string;
|
|
1099
1081
|
keyEpoch: Record<string, unknown>;
|
|
1100
1082
|
keyring: Record<string, unknown> | null;
|
|
1101
|
-
manifest: Record<string, unknown>;
|
|
1102
1083
|
predecessorBridge: Record<string, unknown> | null;
|
|
1103
1084
|
principalPolicyRefs: {
|
|
1104
1085
|
principalType: "group" | "organization";
|
|
@@ -1166,7 +1147,6 @@ export declare const ContainerCreateWithMetadataDocumentRequestSchema: z.ZodType
|
|
|
1166
1147
|
expectedManifestHash: string;
|
|
1167
1148
|
keyEpoch: Record<string, unknown>;
|
|
1168
1149
|
keyring: Record<string, unknown> | null;
|
|
1169
|
-
manifest: Record<string, unknown>;
|
|
1170
1150
|
predecessorBridge: Record<string, unknown> | null;
|
|
1171
1151
|
principalPolicyRefs: {
|
|
1172
1152
|
principalType: "group" | "organization";
|