@abloatai/transaction 0.56.0 → 0.58.0
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/CONVENTIONS.md +54 -10
- package/README.md +3 -1
- package/dist/ai-sdk/modelTools.d.ts +3 -3
- package/dist/ai-sdk/modelTools.d.ts.map +1 -1
- package/dist/ai-sdk/modelTools.js +1 -1
- package/dist/ai-sdk/modelTools.js.map +1 -1
- package/dist/ai-sdk/updateTool.d.ts +5 -7
- package/dist/ai-sdk/updateTool.d.ts.map +1 -1
- package/dist/ai-sdk/updateTool.js +3 -5
- package/dist/ai-sdk/updateTool.js.map +1 -1
- package/dist/auth/capability.d.ts +5 -0
- package/dist/auth/capability.d.ts.map +1 -1
- package/dist/auth/capability.js +5 -0
- package/dist/auth/capability.js.map +1 -1
- package/dist/auth/capabilityLifecycle.d.ts +1 -1
- package/dist/auth/capabilityLifecycle.d.ts.map +1 -1
- package/dist/auth/credentialPolicy.d.ts +1 -1
- package/dist/auth/credentialPolicy.d.ts.map +1 -1
- package/dist/auth/identity.d.ts +3 -3
- package/dist/auth/identity.d.ts.map +1 -1
- package/dist/auth/identity.js +5 -5
- package/dist/auth/identity.js.map +1 -1
- package/dist/auth/index.d.ts +4 -208
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +4 -330
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/runtime.d.ts +218 -0
- package/dist/auth/runtime.d.ts.map +1 -0
- package/dist/auth/runtime.js +336 -0
- package/dist/auth/runtime.js.map +1 -0
- package/dist/auth/sessionMint.d.ts +1 -1
- package/dist/auth/sessionMint.d.ts.map +1 -1
- package/dist/auth/sessionMint.js +2 -1
- package/dist/auth/sessionMint.js.map +1 -1
- package/dist/branches.d.ts +25 -21
- package/dist/branches.d.ts.map +1 -1
- package/dist/branches.js +3 -0
- package/dist/branches.js.map +1 -1
- package/dist/{coordination/awaitClaimGrant.d.ts → claims/awaitGrant.d.ts} +1 -1
- package/dist/claims/awaitGrant.d.ts.map +1 -0
- package/dist/{coordination/awaitClaimGrant.js → claims/awaitGrant.js} +4 -4
- package/dist/claims/awaitGrant.js.map +1 -0
- package/dist/{wire/claims.d.ts → claims/contract.d.ts} +1 -1
- package/dist/claims/contract.d.ts.map +1 -0
- package/dist/{wire/claims.js → claims/contract.js} +2 -2
- package/dist/claims/contract.js.map +1 -0
- package/dist/{wire/claimEvent.d.ts → claims/eventContract.d.ts} +1 -1
- package/dist/claims/eventContract.d.ts.map +1 -0
- package/dist/{wire/claimEvent.js → claims/eventContract.js} +1 -1
- package/dist/claims/eventContract.js.map +1 -0
- package/dist/{coordination → claims}/events.d.ts +7 -11
- package/dist/claims/events.d.ts.map +1 -0
- package/dist/claims/events.js +8 -0
- package/dist/claims/events.js.map +1 -0
- package/dist/{coordination/claimHeartbeatLoop.d.ts → claims/heartbeat.d.ts} +1 -1
- package/dist/claims/heartbeat.d.ts.map +1 -0
- package/dist/{coordination/claimHeartbeatLoop.js → claims/heartbeat.js} +1 -1
- package/dist/claims/heartbeat.js.map +1 -0
- package/dist/claims/index.d.ts +17 -0
- package/dist/claims/index.d.ts.map +1 -0
- package/dist/claims/index.js +16 -0
- package/dist/claims/index.js.map +1 -0
- package/dist/claims/lifetime.d.ts +26 -0
- package/dist/claims/lifetime.d.ts.map +1 -0
- package/dist/claims/lifetime.js +62 -0
- package/dist/claims/lifetime.js.map +1 -0
- package/dist/{coordination → claims}/locator.d.ts +1 -1
- package/dist/claims/locator.d.ts.map +1 -0
- package/dist/{coordination → claims}/locator.js +2 -2
- package/dist/claims/locator.js.map +1 -0
- package/dist/{coordination/claimMeta.d.ts → claims/meta.d.ts} +1 -1
- package/dist/claims/meta.d.ts.map +1 -0
- package/dist/{coordination/claimMeta.js → claims/meta.js} +1 -1
- package/dist/claims/meta.js.map +1 -0
- package/dist/claims/routes.d.ts +59 -0
- package/dist/claims/routes.d.ts.map +1 -0
- package/dist/claims/routes.js +69 -0
- package/dist/claims/routes.js.map +1 -0
- package/dist/claims/targetConflict.d.ts.map +1 -0
- package/dist/claims/targetConflict.js.map +1 -0
- package/dist/{coordination → claims}/trace.d.ts +2 -2
- package/dist/claims/trace.d.ts.map +1 -0
- package/dist/{coordination → claims}/trace.js +5 -5
- package/dist/claims/trace.js.map +1 -0
- package/dist/{ablo.d.ts → client/ablo.d.ts} +6 -15
- package/dist/client/ablo.d.ts.map +1 -0
- package/dist/{ablo.js → client/ablo.js} +2 -2
- package/dist/client/ablo.js.map +1 -0
- package/dist/{transactionLayer.d.ts → client/contract.d.ts} +12 -14
- package/dist/client/contract.d.ts.map +1 -0
- package/dist/{transactionLayer.js → client/contract.js} +4 -5
- package/dist/client/contract.js.map +1 -0
- package/dist/{headlessClient.d.ts → client/headless.d.ts} +4 -4
- package/dist/client/headless.d.ts.map +1 -0
- package/dist/{headlessClient.js → client/headless.js} +8 -10
- package/dist/{headlessClient.js.map → client/headless.js.map} +1 -1
- package/dist/client/index.d.ts +11 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +11 -0
- package/dist/client/index.js.map +1 -0
- package/dist/{resources → client/resources}/functionalUpdate.d.ts +4 -4
- package/dist/client/resources/functionalUpdate.d.ts.map +1 -0
- package/dist/{resources → client/resources}/functionalUpdate.js +3 -3
- package/dist/client/resources/functionalUpdate.js.map +1 -0
- package/dist/{resources → client/resources}/httpResources.d.ts +92 -77
- package/dist/client/resources/httpResources.d.ts.map +1 -0
- package/dist/client/resources/httpResources.js +94 -0
- package/dist/client/resources/httpResources.js.map +1 -0
- package/dist/client/resources/modelCreate.d.ts +21 -0
- package/dist/client/resources/modelCreate.d.ts.map +1 -0
- package/dist/client/resources/modelCreate.js +49 -0
- package/dist/client/resources/modelCreate.js.map +1 -0
- package/dist/{resources → client/resources}/modelOperations.d.ts +57 -51
- package/dist/client/resources/modelOperations.d.ts.map +1 -0
- package/dist/{resources → client/resources}/modelOperations.js +1 -1
- package/dist/client/resources/modelOperations.js.map +1 -0
- package/dist/{resources → client/resources}/mutationOptions.d.ts +4 -17
- package/dist/client/resources/mutationOptions.d.ts.map +1 -0
- package/dist/client/resources/mutationOptions.js.map +1 -0
- package/dist/client/resources/where.d.ts.map +1 -0
- package/dist/{resources → client/resources}/where.js +1 -1
- package/dist/client/resources/where.js.map +1 -0
- package/dist/{resources → client/resources}/writeOptionsSchema.d.ts +16 -35
- package/dist/client/resources/writeOptionsSchema.d.ts.map +1 -0
- package/dist/{resources → client/resources}/writeOptionsSchema.js +25 -18
- package/dist/client/resources/writeOptionsSchema.js.map +1 -0
- package/dist/{transactions → commit}/confirmation/commitEnvelope.d.ts +1 -37
- package/dist/commit/confirmation/commitEnvelope.d.ts.map +1 -0
- package/dist/{transactions → commit}/confirmation/commitEnvelope.js +2 -7
- package/dist/commit/confirmation/commitEnvelope.js.map +1 -0
- package/dist/commit/confirmation/httpCommitEnvelope.d.ts.map +1 -0
- package/dist/{transactions → commit}/confirmation/httpCommitEnvelope.js +1 -1
- package/dist/commit/confirmation/httpCommitEnvelope.js.map +1 -0
- package/dist/commit/confirmation/idempotencyKey.d.ts.map +1 -0
- package/dist/commit/confirmation/idempotencyKey.js.map +1 -0
- package/dist/{transactions → commit}/confirmation/pendingWrite.d.ts +2 -33
- package/dist/commit/confirmation/pendingWrite.d.ts.map +1 -0
- package/dist/{transactions → commit}/confirmation/pendingWrite.js +1 -1
- package/dist/commit/confirmation/pendingWrite.js.map +1 -0
- package/dist/commit/contract.d.ts +1404 -0
- package/dist/commit/contract.d.ts.map +1 -0
- package/dist/{wire/commit.js → commit/contract.js} +26 -21
- package/dist/commit/contract.js.map +1 -0
- package/dist/{durableWrites.d.ts → commit/durableWrites.d.ts} +6 -6
- package/dist/commit/durableWrites.d.ts.map +1 -0
- package/dist/{durableWrites.js → commit/durableWrites.js} +5 -5
- package/dist/commit/durableWrites.js.map +1 -0
- package/dist/commit/httpRequest.d.ts +45 -0
- package/dist/commit/httpRequest.d.ts.map +1 -0
- package/dist/commit/httpRequest.js +66 -0
- package/dist/commit/httpRequest.js.map +1 -0
- package/dist/commit/index.d.ts +17 -0
- package/dist/commit/index.d.ts.map +1 -0
- package/dist/commit/index.js +17 -0
- package/dist/commit/index.js.map +1 -0
- package/dist/{readSetContext.d.ts → commit/readSetContext.d.ts} +7 -15
- package/dist/commit/readSetContext.d.ts.map +1 -0
- package/dist/{readSetContext.js → commit/readSetContext.js} +18 -28
- package/dist/commit/readSetContext.js.map +1 -0
- package/dist/{commitRecordRuntime.d.ts → commit/recordRuntime.d.ts} +3 -5
- package/dist/commit/recordRuntime.d.ts.map +1 -0
- package/dist/{commitRecordRuntime.js → commit/recordRuntime.js} +13 -54
- package/dist/commit/recordRuntime.js.map +1 -0
- package/dist/coordination/index.d.ts +6 -8
- package/dist/coordination/index.d.ts.map +1 -1
- package/dist/coordination/index.js +3 -9
- package/dist/coordination/index.js.map +1 -1
- package/dist/coordination/schema.d.ts +11 -466
- package/dist/coordination/schema.d.ts.map +1 -1
- package/dist/coordination/schema.js +13 -265
- package/dist/coordination/schema.js.map +1 -1
- package/dist/errorCodes.d.ts +16 -9
- package/dist/errorCodes.d.ts.map +1 -1
- package/dist/errorCodes.js +14 -6
- package/dist/errorCodes.js.map +1 -1
- package/dist/errorObservation.d.ts +2 -2
- package/dist/errors.d.ts +3 -2
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +27 -11
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/internal/read-set.d.ts +3 -3
- package/dist/internal/read-set.d.ts.map +1 -1
- package/dist/internal/read-set.js +2 -2
- package/dist/internal/read-set.js.map +1 -1
- package/dist/observability.d.ts +4 -4
- package/dist/observability.d.ts.map +1 -1
- package/dist/observability.js +2 -2
- package/dist/{wire/delta.d.ts → observation/contract.d.ts} +8 -8
- package/dist/observation/contract.d.ts.map +1 -0
- package/dist/{wire/delta.js → observation/contract.js} +3 -3
- package/dist/observation/contract.js.map +1 -0
- package/dist/{wire/feedCursor.d.ts → observation/cursor.d.ts} +1 -1
- package/dist/observation/cursor.d.ts.map +1 -0
- package/dist/{wire/feedCursor.js → observation/cursor.js} +1 -1
- package/dist/observation/cursor.js.map +1 -0
- package/dist/{wire/deltaDelivery.d.ts → observation/deliveryContract.d.ts} +1 -1
- package/dist/observation/deliveryContract.d.ts.map +1 -0
- package/dist/{wire/deltaDelivery.js → observation/deliveryContract.js} +1 -1
- package/dist/observation/deliveryContract.js.map +1 -0
- package/dist/{wire/feedEvent.d.ts → observation/feedContract.d.ts} +10 -10
- package/dist/observation/feedContract.d.ts.map +1 -0
- package/dist/{wire/feedEvent.js → observation/feedContract.js} +4 -4
- package/dist/observation/feedContract.js.map +1 -0
- package/dist/observation/httpFeed.d.ts +4 -0
- package/dist/observation/httpFeed.d.ts.map +1 -0
- package/dist/{transport → observation}/httpFeed.js +1 -1
- package/dist/{transport → observation}/httpFeed.js.map +1 -1
- package/dist/observation/index.d.ts +13 -0
- package/dist/observation/index.d.ts.map +1 -0
- package/dist/observation/index.js +13 -0
- package/dist/observation/index.js.map +1 -0
- package/dist/{log → observation/persistence}/syncDeltaRow.d.ts +8 -8
- package/dist/observation/persistence/syncDeltaRow.d.ts.map +1 -0
- package/dist/{log → observation/persistence}/syncDeltaRow.js +4 -4
- package/dist/observation/persistence/syncDeltaRow.js.map +1 -0
- package/dist/pricing.d.ts +20 -12
- package/dist/pricing.d.ts.map +1 -1
- package/dist/pricing.js +46 -26
- package/dist/pricing.js.map +1 -1
- package/dist/schema/audit.d.ts +15 -0
- package/dist/schema/audit.d.ts.map +1 -0
- package/dist/schema/audit.js +90 -0
- package/dist/schema/audit.js.map +1 -0
- package/dist/schema/ddl.d.ts.map +1 -1
- package/dist/schema/ddl.js +68 -1
- package/dist/schema/ddl.js.map +1 -1
- package/dist/schema/index.d.ts +7 -6
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/index.js +6 -7
- package/dist/schema/index.js.map +1 -1
- package/dist/schema/model.d.ts +14 -27
- package/dist/schema/model.d.ts.map +1 -1
- package/dist/schema/model.js +2 -2
- package/dist/schema/model.js.map +1 -1
- package/dist/schema/openapi.d.ts.map +1 -1
- package/dist/schema/openapi.js +149 -8
- package/dist/schema/openapi.js.map +1 -1
- package/dist/schema/roles.d.ts +27 -0
- package/dist/schema/roles.d.ts.map +1 -1
- package/dist/schema/roles.js +40 -0
- package/dist/schema/roles.js.map +1 -1
- package/dist/schema/schema.d.ts +34 -7
- package/dist/schema/schema.d.ts.map +1 -1
- package/dist/schema/schema.js +39 -3
- package/dist/schema/schema.js.map +1 -1
- package/dist/schema/serialize.d.ts +5 -5
- package/dist/schema/serialize.d.ts.map +1 -1
- package/dist/schema/serialize.js +5 -5
- package/dist/schema/serialize.js.map +1 -1
- package/dist/schema/subject.d.ts +18 -0
- package/dist/schema/subject.d.ts.map +1 -0
- package/dist/schema/subject.js +27 -0
- package/dist/schema/subject.js.map +1 -0
- package/dist/schema/tenancy.d.ts +1 -1
- package/dist/server/adapter.d.ts +3 -1
- package/dist/server/adapter.d.ts.map +1 -1
- package/dist/server/commit.d.ts +6 -14
- package/dist/server/commit.d.ts.map +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +1 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/readConfig.d.ts +3 -0
- package/dist/server/readConfig.d.ts.map +1 -1
- package/dist/server/readConfig.js +0 -21
- package/dist/server/readConfig.js.map +1 -1
- package/dist/server/storageMode.d.ts +1 -1
- package/dist/source/{adapter.d.ts → adapters/adapter.d.ts} +10 -4
- package/dist/source/adapters/adapter.d.ts.map +1 -0
- package/dist/source/adapters/adapter.js.map +1 -0
- package/dist/source/adapters/adapterFactory.d.ts.map +1 -0
- package/dist/source/{adapterFactory.js → adapters/adapterFactory.js} +1 -1
- package/dist/source/adapters/adapterFactory.js.map +1 -0
- package/dist/source/adapters/adapterProfile.d.ts.map +1 -0
- package/dist/source/adapters/adapterProfile.js.map +1 -0
- package/dist/source/{conformance.d.ts → adapters/conformance.d.ts} +1 -1
- package/dist/source/adapters/conformance.d.ts.map +1 -0
- package/dist/source/{conformance.js → adapters/conformance.js} +1 -1
- package/dist/source/adapters/conformance.js.map +1 -0
- package/dist/source/{contract.d.ts → adapters/contract.d.ts} +20 -75
- package/dist/source/adapters/contract.d.ts.map +1 -0
- package/dist/source/{contract.js → adapters/contract.js} +20 -55
- package/dist/source/adapters/contract.js.map +1 -0
- package/dist/source/adapters/drizzle.d.ts +1 -1
- package/dist/source/adapters/drizzle.d.ts.map +1 -1
- package/dist/source/adapters/drizzle.js +54 -25
- package/dist/source/adapters/drizzle.js.map +1 -1
- package/dist/source/adapters/idempotency.d.ts.map +1 -0
- package/dist/source/{idempotency.js → adapters/idempotency.js} +2 -2
- package/dist/source/adapters/idempotency.js.map +1 -0
- package/dist/source/adapters/index.d.ts +21 -0
- package/dist/source/adapters/index.d.ts.map +1 -0
- package/dist/source/adapters/index.js +21 -0
- package/dist/source/adapters/index.js.map +1 -0
- package/dist/source/adapters/kysely.d.ts +3 -1
- package/dist/source/adapters/kysely.d.ts.map +1 -1
- package/dist/source/adapters/kysely.js +49 -23
- package/dist/source/adapters/kysely.js.map +1 -1
- package/dist/source/adapters/kyselyMutationCore.d.ts +6 -3
- package/dist/source/adapters/kyselyMutationCore.d.ts.map +1 -1
- package/dist/source/adapters/kyselyMutationCore.js +17 -8
- package/dist/source/adapters/kyselyMutationCore.js.map +1 -1
- package/dist/source/adapters/memory.d.ts +3 -3
- package/dist/source/adapters/memory.d.ts.map +1 -1
- package/dist/source/adapters/memory.js +20 -7
- package/dist/source/adapters/memory.js.map +1 -1
- package/dist/source/adapters/migration.d.ts +8 -0
- package/dist/source/adapters/migration.d.ts.map +1 -0
- package/dist/source/adapters/migration.js +9 -0
- package/dist/source/adapters/migration.js.map +1 -0
- package/dist/source/{migrations.d.ts → adapters/migrations.d.ts} +3 -4
- package/dist/source/adapters/migrations.d.ts.map +1 -0
- package/dist/source/{migrations.js → adapters/migrations.js} +4 -31
- package/dist/source/adapters/migrations.js.map +1 -0
- package/dist/source/adapters/prisma.d.ts +1 -1
- package/dist/source/adapters/prisma.d.ts.map +1 -1
- package/dist/source/adapters/prisma.js +75 -30
- package/dist/source/adapters/prisma.js.map +1 -1
- package/dist/source/adapters/subjectAuthorization.d.ts +16 -0
- package/dist/source/adapters/subjectAuthorization.d.ts.map +1 -0
- package/dist/source/adapters/subjectAuthorization.js +126 -0
- package/dist/source/adapters/subjectAuthorization.js.map +1 -0
- package/dist/source/{connector.d.ts → connector/client.d.ts} +6 -1
- package/dist/source/connector/client.d.ts.map +1 -0
- package/dist/source/{connector.js → connector/client.js} +28 -11
- package/dist/source/connector/client.js.map +1 -0
- package/dist/source/connector/index.d.ts +4 -0
- package/dist/source/connector/index.d.ts.map +1 -0
- package/dist/source/connector/index.js +4 -0
- package/dist/source/connector/index.js.map +1 -0
- package/dist/source/{connectorProtocol.d.ts → connector/protocol.d.ts} +8 -1
- package/dist/source/connector/protocol.d.ts.map +1 -0
- package/dist/source/{connectorProtocol.js → connector/protocol.js} +10 -3
- package/dist/source/connector/protocol.js.map +1 -0
- package/dist/source/delivery/index.d.ts +3 -0
- package/dist/source/delivery/index.d.ts.map +1 -0
- package/dist/source/delivery/index.js +3 -0
- package/dist/source/delivery/index.js.map +1 -0
- package/dist/source/{pushQueue.d.ts → delivery/pushQueue.d.ts} +1 -1
- package/dist/source/delivery/pushQueue.d.ts.map +1 -0
- package/dist/source/{pushQueue.js → delivery/pushQueue.js} +1 -1
- package/dist/source/delivery/pushQueue.js.map +1 -0
- package/dist/source/{factory.d.ts → endpoint/factory.d.ts} +9 -3
- package/dist/source/endpoint/factory.d.ts.map +1 -0
- package/dist/source/{factory.js → endpoint/factory.js} +122 -6
- package/dist/source/endpoint/factory.js.map +1 -0
- package/dist/source/endpoint/index.d.ts +5 -0
- package/dist/source/endpoint/index.d.ts.map +1 -0
- package/dist/source/endpoint/index.js +5 -0
- package/dist/source/endpoint/index.js.map +1 -0
- package/dist/source/{next.d.ts → endpoint/next.d.ts} +2 -2
- package/dist/source/endpoint/next.d.ts.map +1 -0
- package/dist/source/{next.js → endpoint/next.js} +1 -1
- package/dist/source/endpoint/next.js.map +1 -0
- package/dist/source/{signing.d.ts → endpoint/signing.d.ts} +1 -1
- package/dist/source/endpoint/signing.d.ts.map +1 -0
- package/dist/source/{signing.js → endpoint/signing.js} +1 -1
- package/dist/source/endpoint/signing.js.map +1 -0
- package/dist/source/index.d.ts +15 -12
- package/dist/source/index.d.ts.map +1 -1
- package/dist/source/index.js +13 -10
- package/dist/source/index.js.map +1 -1
- package/dist/source/outbox/contract.d.ts +50 -0
- package/dist/source/outbox/contract.d.ts.map +1 -0
- package/dist/source/outbox/contract.js +50 -0
- package/dist/source/outbox/contract.js.map +1 -0
- package/dist/source/outbox/envelope.d.ts +9 -0
- package/dist/source/outbox/envelope.d.ts.map +1 -0
- package/dist/source/outbox/envelope.js +36 -0
- package/dist/source/outbox/envelope.js.map +1 -0
- package/dist/source/outbox/index.d.ts +11 -0
- package/dist/source/outbox/index.d.ts.map +1 -0
- package/dist/source/outbox/index.js +11 -0
- package/dist/source/outbox/index.js.map +1 -0
- package/dist/source/outbox/migrations.d.ts +4 -0
- package/dist/source/outbox/migrations.d.ts.map +1 -0
- package/dist/source/outbox/migrations.js +67 -0
- package/dist/source/outbox/migrations.js.map +1 -0
- package/dist/source/outbox/retention.d.ts +3 -0
- package/dist/source/outbox/retention.d.ts.map +1 -0
- package/dist/source/outbox/retention.js +3 -0
- package/dist/source/outbox/retention.js.map +1 -0
- package/dist/source/types.d.ts +59 -10
- package/dist/source/types.d.ts.map +1 -1
- package/dist/source/types.js +2 -0
- package/dist/source/types.js.map +1 -1
- package/dist/syncLog/contract.d.ts +19 -8
- package/dist/syncLog/contract.d.ts.map +1 -1
- package/dist/syncLog/contract.js +19 -6
- package/dist/syncLog/contract.js.map +1 -1
- package/dist/testing/fixtures/httpResponses.d.ts +6 -0
- package/dist/testing/fixtures/httpResponses.d.ts.map +1 -1
- package/dist/testing/fixtures/httpResponses.js +1 -0
- package/dist/testing/fixtures/httpResponses.js.map +1 -1
- package/dist/transport/{credentialLifecycle.d.ts → connection/credentialLifecycle.d.ts} +3 -3
- package/dist/transport/connection/credentialLifecycle.d.ts.map +1 -0
- package/dist/transport/{credentialLifecycle.js → connection/credentialLifecycle.js} +2 -2
- package/dist/transport/connection/credentialLifecycle.js.map +1 -0
- package/dist/transport/connection/index.d.ts +5 -0
- package/dist/transport/connection/index.d.ts.map +1 -0
- package/dist/transport/connection/index.js +5 -0
- package/dist/transport/connection/index.js.map +1 -0
- package/dist/transport/{connectionManager.d.ts → connection/manager.d.ts} +13 -5
- package/dist/transport/connection/manager.d.ts.map +1 -0
- package/dist/transport/{connectionManager.js → connection/manager.js} +6 -4
- package/dist/transport/connection/manager.js.map +1 -0
- package/dist/transport/{networkProbe.d.ts → connection/networkProbe.d.ts} +2 -2
- package/dist/transport/connection/networkProbe.d.ts.map +1 -0
- package/dist/transport/{networkProbe.js → connection/networkProbe.js} +4 -4
- package/dist/transport/connection/networkProbe.js.map +1 -0
- package/dist/transport/{httpClient.d.ts → http/client.d.ts} +32 -44
- package/dist/transport/http/client.d.ts.map +1 -0
- package/dist/transport/{httpClient.js → http/client.js} +96 -105
- package/dist/transport/http/client.js.map +1 -0
- package/dist/transport/http/helpers.d.ts +10 -0
- package/dist/transport/http/helpers.d.ts.map +1 -0
- package/dist/transport/http/helpers.js +46 -0
- package/dist/transport/http/helpers.js.map +1 -0
- package/dist/transport/http/index.d.ts +6 -0
- package/dist/transport/http/index.d.ts.map +1 -0
- package/dist/transport/http/index.js +6 -0
- package/dist/transport/http/index.js.map +1 -0
- package/dist/transport/{httpOptions.d.ts → http/options.d.ts} +7 -7
- package/dist/transport/{httpOptions.d.ts.map → http/options.d.ts.map} +1 -1
- package/dist/transport/{httpOptions.js → http/options.js} +1 -1
- package/dist/transport/http/options.js.map +1 -0
- package/dist/transport/http/subscription.d.ts +16 -0
- package/dist/transport/http/subscription.d.ts.map +1 -0
- package/dist/transport/http/subscription.js +146 -0
- package/dist/transport/http/subscription.js.map +1 -0
- package/dist/transport/{httpTransport.d.ts → http/transport.d.ts} +9 -6
- package/dist/transport/http/transport.d.ts.map +1 -0
- package/dist/transport/{httpTransport.js → http/transport.js} +153 -188
- package/dist/transport/http/transport.js.map +1 -0
- package/dist/transport/index.d.ts +8 -0
- package/dist/transport/index.d.ts.map +1 -0
- package/dist/transport/index.js +8 -0
- package/dist/transport/index.js.map +1 -0
- package/dist/transport/{commitFrames.d.ts → websocket/commitFrames.d.ts} +8 -20
- package/dist/transport/websocket/commitFrames.d.ts.map +1 -0
- package/dist/transport/{commitFrames.js → websocket/commitFrames.js} +6 -25
- package/dist/transport/websocket/commitFrames.js.map +1 -0
- package/dist/transport/{wsFrameHandlers.d.ts → websocket/frameHandlers.d.ts} +5 -5
- package/dist/transport/websocket/frameHandlers.d.ts.map +1 -0
- package/dist/transport/{wsFrameHandlers.js → websocket/frameHandlers.js} +10 -51
- package/dist/transport/websocket/frameHandlers.js.map +1 -0
- package/dist/transport/{heartbeat.d.ts → websocket/heartbeat.d.ts} +1 -1
- package/dist/transport/websocket/heartbeat.d.ts.map +1 -0
- package/dist/transport/{heartbeat.js → websocket/heartbeat.js} +2 -2
- package/dist/transport/websocket/heartbeat.js.map +1 -0
- package/dist/transport/websocket/index.d.ts +6 -0
- package/dist/transport/websocket/index.d.ts.map +1 -0
- package/dist/transport/websocket/index.js +6 -0
- package/dist/transport/websocket/index.js.map +1 -0
- package/dist/transport/{wsTransport.d.ts → websocket/transport.d.ts} +13 -25
- package/dist/transport/websocket/transport.d.ts.map +1 -0
- package/dist/transport/{wsTransport.js → websocket/transport.js} +14 -14
- package/dist/transport/websocket/transport.js.map +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/streams.d.ts +8 -48
- package/dist/types/streams.d.ts.map +1 -1
- package/dist/types/streams.js +2 -2
- package/dist/wire/accountResponses.d.ts +4 -72
- package/dist/wire/accountResponses.d.ts.map +1 -1
- package/dist/wire/accountResponses.js +2 -10
- package/dist/wire/accountResponses.js.map +1 -1
- package/dist/wire/apiLifecycle.d.ts +63 -0
- package/dist/wire/apiLifecycle.d.ts.map +1 -0
- package/dist/wire/apiLifecycle.js +89 -0
- package/dist/wire/apiLifecycle.js.map +1 -0
- package/dist/wire/frames.d.ts +6 -83
- package/dist/wire/frames.d.ts.map +1 -1
- package/dist/wire/frames.js +4 -11
- package/dist/wire/frames.js.map +1 -1
- package/dist/wire/inboundFrames.d.ts +6 -131
- package/dist/wire/inboundFrames.d.ts.map +1 -1
- package/dist/wire/inboundFrames.js +3 -3
- package/dist/wire/inboundFrames.js.map +1 -1
- package/dist/wire/index.d.ts +20 -15
- package/dist/wire/index.d.ts.map +1 -1
- package/dist/wire/index.js +22 -8
- package/dist/wire/index.js.map +1 -1
- package/dist/wire/modelMutations.d.ts +1 -32
- package/dist/wire/modelMutations.d.ts.map +1 -1
- package/dist/wire/modelMutations.js +1 -8
- package/dist/wire/modelMutations.js.map +1 -1
- package/dist/wire/rateLimit.d.ts +82 -0
- package/dist/wire/rateLimit.d.ts.map +1 -0
- package/dist/wire/rateLimit.js +142 -0
- package/dist/wire/rateLimit.js.map +1 -0
- package/package.json +130 -10
- package/src/ai-sdk/modelTools.ts +5 -5
- package/src/ai-sdk/updateTool.ts +5 -7
- package/src/auth/capability.ts +5 -0
- package/src/auth/capabilityLifecycle.ts +1 -1
- package/src/auth/credentialPolicy.ts +1 -1
- package/src/auth/identity.ts +7 -7
- package/src/auth/index.ts +4 -663
- package/src/auth/runtime.ts +669 -0
- package/src/auth/sessionMint.ts +3 -2
- package/src/branches.ts +3 -0
- package/src/{coordination/awaitClaimGrant.ts → claims/awaitGrant.ts} +4 -4
- package/src/{wire/claims.ts → claims/contract.ts} +1 -1
- package/src/{coordination → claims}/events.ts +7 -11
- package/src/claims/index.ts +21 -0
- package/src/claims/lifetime.ts +78 -0
- package/src/{coordination → claims}/locator.ts +3 -3
- package/src/claims/routes.ts +81 -0
- package/src/{coordination → claims}/trace.ts +5 -5
- package/src/{ablo.ts → client/ablo.ts} +8 -20
- package/src/{transactionLayer.ts → client/contract.ts} +11 -13
- package/src/{headlessClient.ts → client/headless.ts} +13 -15
- package/src/client/index.ts +10 -0
- package/src/{resources → client/resources}/functionalUpdate.ts +4 -4
- package/src/{resources → client/resources}/httpResources.ts +163 -92
- package/src/client/resources/modelCreate.ts +73 -0
- package/src/{resources → client/resources}/modelOperations.ts +73 -55
- package/src/{resources → client/resources}/mutationOptions.ts +4 -17
- package/src/{resources → client/resources}/where.ts +1 -1
- package/src/{resources → client/resources}/writeOptionsSchema.ts +35 -27
- package/src/{transactions → commit}/confirmation/commitEnvelope.ts +2 -12
- package/src/{transactions → commit}/confirmation/httpCommitEnvelope.ts +1 -1
- package/src/{transactions → commit}/confirmation/pendingWrite.ts +1 -1
- package/src/{wire/commit.ts → commit/contract.ts} +27 -26
- package/src/{durableWrites.ts → commit/durableWrites.ts} +7 -7
- package/src/commit/httpRequest.ts +103 -0
- package/src/commit/index.ts +16 -0
- package/src/{readSetContext.ts → commit/readSetContext.ts} +24 -43
- package/src/{commitRecordRuntime.ts → commit/recordRuntime.ts} +12 -67
- package/src/coordination/index.ts +4 -54
- package/src/coordination/schema.ts +15 -309
- package/src/errorCodes.ts +62 -10
- package/src/errors.ts +32 -10
- package/src/index.ts +8 -8
- package/src/internal/read-set.ts +3 -6
- package/src/observability.ts +4 -4
- package/src/{wire/delta.ts → observation/contract.ts} +2 -2
- package/src/{wire/feedEvent.ts → observation/feedContract.ts} +3 -4
- package/src/{transport → observation}/httpFeed.ts +3 -3
- package/src/observation/index.ts +12 -0
- package/src/{log → observation/persistence}/syncDeltaRow.ts +6 -7
- package/src/pricing.ts +46 -25
- package/src/schema/audit.ts +121 -0
- package/src/schema/ddl.ts +71 -1
- package/src/schema/index.ts +20 -20
- package/src/schema/model.ts +17 -33
- package/src/schema/openapi.ts +170 -9
- package/src/schema/roles.ts +53 -0
- package/src/schema/schema.ts +91 -6
- package/src/schema/serialize.ts +8 -9
- package/src/schema/subject.ts +43 -0
- package/src/server/adapter.ts +3 -1
- package/src/server/commit.ts +6 -14
- package/src/server/index.ts +1 -1
- package/src/server/readConfig.ts +4 -0
- package/src/source/{adapter.ts → adapters/adapter.ts} +9 -5
- package/src/source/{adapterFactory.ts → adapters/adapterFactory.ts} +1 -1
- package/src/source/{conformance.ts → adapters/conformance.ts} +1 -1
- package/src/source/{contract.ts → adapters/contract.ts} +24 -61
- package/src/source/adapters/drizzle.ts +75 -29
- package/src/source/{idempotency.ts → adapters/idempotency.ts} +2 -2
- package/src/source/adapters/index.ts +20 -0
- package/src/source/adapters/kysely.ts +77 -27
- package/src/source/adapters/kyselyMutationCore.ts +23 -11
- package/src/source/adapters/memory.ts +26 -9
- package/src/source/adapters/migration.ts +11 -0
- package/src/source/{migrations.ts → adapters/migrations.ts} +6 -33
- package/src/source/adapters/prisma.ts +98 -34
- package/src/source/adapters/subjectAuthorization.ts +182 -0
- package/src/source/{connector.ts → connector/client.ts} +35 -12
- package/src/source/connector/index.ts +3 -0
- package/src/source/{connectorProtocol.ts → connector/protocol.ts} +10 -2
- package/src/source/delivery/index.ts +2 -0
- package/src/source/{pushQueue.ts → delivery/pushQueue.ts} +2 -2
- package/src/source/{factory.ts → endpoint/factory.ts} +150 -9
- package/src/source/endpoint/index.ts +4 -0
- package/src/source/{next.ts → endpoint/next.ts} +2 -2
- package/src/source/{signing.ts → endpoint/signing.ts} +1 -1
- package/src/source/index.ts +27 -18
- package/src/source/outbox/contract.ts +56 -0
- package/src/source/outbox/envelope.ts +47 -0
- package/src/source/outbox/index.ts +15 -0
- package/src/source/outbox/migrations.ts +71 -0
- package/src/source/outbox/retention.ts +2 -0
- package/src/source/types.ts +64 -10
- package/src/syncLog/contract.ts +19 -9
- package/src/testing/fixtures/httpResponses.ts +7 -0
- package/src/transport/{credentialLifecycle.ts → connection/credentialLifecycle.ts} +3 -3
- package/src/transport/connection/index.ts +4 -0
- package/src/transport/{connectionManager.ts → connection/manager.ts} +13 -4
- package/src/transport/{networkProbe.ts → connection/networkProbe.ts} +4 -4
- package/src/transport/{httpClient.ts → http/client.ts} +165 -184
- package/src/transport/http/helpers.ts +63 -0
- package/src/transport/http/index.ts +5 -0
- package/src/transport/{httpOptions.ts → http/options.ts} +6 -6
- package/src/transport/http/subscription.ts +174 -0
- package/src/transport/{httpTransport.ts → http/transport.ts} +210 -246
- package/src/transport/index.ts +7 -0
- package/src/transport/{commitFrames.ts → websocket/commitFrames.ts} +14 -46
- package/src/transport/{wsFrameHandlers.ts → websocket/frameHandlers.ts} +11 -54
- package/src/transport/{heartbeat.ts → websocket/heartbeat.ts} +2 -2
- package/src/transport/websocket/index.ts +5 -0
- package/src/transport/{wsTransport.ts → websocket/transport.ts} +16 -30
- package/src/types/index.ts +2 -6
- package/src/types/streams.ts +7 -61
- package/src/webhooks/events.ts +1 -1
- package/src/wire/accountResponses.ts +3 -12
- package/src/wire/apiLifecycle.ts +94 -0
- package/src/wire/frames.ts +5 -15
- package/src/wire/inboundFrames.ts +3 -3
- package/src/wire/index.ts +50 -15
- package/src/wire/modelMutations.ts +1 -14
- package/src/wire/rateLimit.ts +155 -0
- package/dist/ablo.d.ts.map +0 -1
- package/dist/ablo.js.map +0 -1
- package/dist/commitRecordRuntime.d.ts.map +0 -1
- package/dist/commitRecordRuntime.js.map +0 -1
- package/dist/coordination/awaitClaimGrant.d.ts.map +0 -1
- package/dist/coordination/awaitClaimGrant.js.map +0 -1
- package/dist/coordination/claimHeartbeatLoop.d.ts.map +0 -1
- package/dist/coordination/claimHeartbeatLoop.js.map +0 -1
- package/dist/coordination/claimMeta.d.ts.map +0 -1
- package/dist/coordination/claimMeta.js.map +0 -1
- package/dist/coordination/events.d.ts.map +0 -1
- package/dist/coordination/events.js +0 -8
- package/dist/coordination/events.js.map +0 -1
- package/dist/coordination/locator.d.ts.map +0 -1
- package/dist/coordination/locator.js.map +0 -1
- package/dist/coordination/targetConflict.d.ts.map +0 -1
- package/dist/coordination/targetConflict.js.map +0 -1
- package/dist/coordination/trace.d.ts.map +0 -1
- package/dist/coordination/trace.js.map +0 -1
- package/dist/durableWrites.d.ts.map +0 -1
- package/dist/durableWrites.js.map +0 -1
- package/dist/headlessClient.d.ts.map +0 -1
- package/dist/log/syncDeltaRow.d.ts.map +0 -1
- package/dist/log/syncDeltaRow.js.map +0 -1
- package/dist/policy/types.d.ts +0 -226
- package/dist/policy/types.d.ts.map +0 -1
- package/dist/policy/types.js +0 -127
- package/dist/policy/types.js.map +0 -1
- package/dist/readSetContext.d.ts.map +0 -1
- package/dist/readSetContext.js.map +0 -1
- package/dist/resources/functionalUpdate.d.ts.map +0 -1
- package/dist/resources/functionalUpdate.js.map +0 -1
- package/dist/resources/httpResources.d.ts.map +0 -1
- package/dist/resources/httpResources.js +0 -17
- package/dist/resources/httpResources.js.map +0 -1
- package/dist/resources/modelOperations.d.ts.map +0 -1
- package/dist/resources/modelOperations.js.map +0 -1
- package/dist/resources/mutationOptions.d.ts.map +0 -1
- package/dist/resources/mutationOptions.js.map +0 -1
- package/dist/resources/where.d.ts.map +0 -1
- package/dist/resources/where.js.map +0 -1
- package/dist/resources/writeOptionsSchema.d.ts.map +0 -1
- package/dist/resources/writeOptionsSchema.js.map +0 -1
- package/dist/schema/coordination.d.ts +0 -113
- package/dist/schema/coordination.d.ts.map +0 -1
- package/dist/schema/coordination.js +0 -134
- package/dist/schema/coordination.js.map +0 -1
- package/dist/source/adapter.d.ts.map +0 -1
- package/dist/source/adapter.js.map +0 -1
- package/dist/source/adapterFactory.d.ts.map +0 -1
- package/dist/source/adapterFactory.js.map +0 -1
- package/dist/source/adapterProfile.d.ts.map +0 -1
- package/dist/source/adapterProfile.js.map +0 -1
- package/dist/source/conformance.d.ts.map +0 -1
- package/dist/source/conformance.js.map +0 -1
- package/dist/source/connector.d.ts.map +0 -1
- package/dist/source/connector.js.map +0 -1
- package/dist/source/connectorProtocol.d.ts.map +0 -1
- package/dist/source/connectorProtocol.js.map +0 -1
- package/dist/source/contract.d.ts.map +0 -1
- package/dist/source/contract.js.map +0 -1
- package/dist/source/drizzle.d.ts +0 -2
- package/dist/source/drizzle.d.ts.map +0 -1
- package/dist/source/drizzle.js +0 -2
- package/dist/source/drizzle.js.map +0 -1
- package/dist/source/factory.d.ts.map +0 -1
- package/dist/source/factory.js.map +0 -1
- package/dist/source/idempotency.d.ts.map +0 -1
- package/dist/source/idempotency.js.map +0 -1
- package/dist/source/kysely.d.ts +0 -3
- package/dist/source/kysely.d.ts.map +0 -1
- package/dist/source/kysely.js +0 -3
- package/dist/source/kysely.js.map +0 -1
- package/dist/source/migrations.d.ts.map +0 -1
- package/dist/source/migrations.js.map +0 -1
- package/dist/source/next.d.ts.map +0 -1
- package/dist/source/next.js.map +0 -1
- package/dist/source/pushQueue.d.ts.map +0 -1
- package/dist/source/pushQueue.js.map +0 -1
- package/dist/source/signing.d.ts.map +0 -1
- package/dist/source/signing.js.map +0 -1
- package/dist/transactionLayer.d.ts.map +0 -1
- package/dist/transactionLayer.js.map +0 -1
- package/dist/transactions/confirmation/commitEnvelope.d.ts.map +0 -1
- package/dist/transactions/confirmation/commitEnvelope.js.map +0 -1
- package/dist/transactions/confirmation/httpCommitEnvelope.d.ts.map +0 -1
- package/dist/transactions/confirmation/httpCommitEnvelope.js.map +0 -1
- package/dist/transactions/confirmation/idempotencyKey.d.ts.map +0 -1
- package/dist/transactions/confirmation/idempotencyKey.js.map +0 -1
- package/dist/transactions/confirmation/pendingWrite.d.ts.map +0 -1
- package/dist/transactions/confirmation/pendingWrite.js.map +0 -1
- package/dist/transport/commitFrames.d.ts.map +0 -1
- package/dist/transport/commitFrames.js.map +0 -1
- package/dist/transport/connectionManager.d.ts.map +0 -1
- package/dist/transport/connectionManager.js.map +0 -1
- package/dist/transport/credentialLifecycle.d.ts.map +0 -1
- package/dist/transport/credentialLifecycle.js.map +0 -1
- package/dist/transport/heartbeat.d.ts.map +0 -1
- package/dist/transport/heartbeat.js.map +0 -1
- package/dist/transport/httpClient.d.ts.map +0 -1
- package/dist/transport/httpClient.js.map +0 -1
- package/dist/transport/httpFeed.d.ts +0 -4
- package/dist/transport/httpFeed.d.ts.map +0 -1
- package/dist/transport/httpOptions.js.map +0 -1
- package/dist/transport/httpTransport.d.ts.map +0 -1
- package/dist/transport/httpTransport.js.map +0 -1
- package/dist/transport/networkProbe.d.ts.map +0 -1
- package/dist/transport/networkProbe.js.map +0 -1
- package/dist/transport/wsFrameHandlers.d.ts.map +0 -1
- package/dist/transport/wsFrameHandlers.js.map +0 -1
- package/dist/transport/wsTransport.d.ts.map +0 -1
- package/dist/transport/wsTransport.js.map +0 -1
- package/dist/wire/claimEvent.d.ts.map +0 -1
- package/dist/wire/claimEvent.js.map +0 -1
- package/dist/wire/claims.d.ts.map +0 -1
- package/dist/wire/claims.js.map +0 -1
- package/dist/wire/commit.d.ts +0 -2801
- package/dist/wire/commit.d.ts.map +0 -1
- package/dist/wire/commit.js.map +0 -1
- package/dist/wire/delta.d.ts.map +0 -1
- package/dist/wire/delta.js.map +0 -1
- package/dist/wire/deltaDelivery.d.ts.map +0 -1
- package/dist/wire/deltaDelivery.js.map +0 -1
- package/dist/wire/feedCursor.d.ts.map +0 -1
- package/dist/wire/feedCursor.js.map +0 -1
- package/dist/wire/feedEvent.d.ts.map +0 -1
- package/dist/wire/feedEvent.js.map +0 -1
- package/src/policy/types.ts +0 -300
- package/src/schema/coordination.ts +0 -161
- package/src/source/drizzle.ts +0 -1
- package/src/source/kysely.ts +0 -2
- /package/dist/{coordination → claims}/targetConflict.d.ts +0 -0
- /package/dist/{coordination → claims}/targetConflict.js +0 -0
- /package/dist/{resources → client/resources}/mutationOptions.js +0 -0
- /package/dist/{resources → client/resources}/where.d.ts +0 -0
- /package/dist/{transactions → commit}/confirmation/httpCommitEnvelope.d.ts +0 -0
- /package/dist/{transactions → commit}/confirmation/idempotencyKey.d.ts +0 -0
- /package/dist/{transactions → commit}/confirmation/idempotencyKey.js +0 -0
- /package/dist/source/{adapter.js → adapters/adapter.js} +0 -0
- /package/dist/source/{adapterFactory.d.ts → adapters/adapterFactory.d.ts} +0 -0
- /package/dist/source/{adapterProfile.d.ts → adapters/adapterProfile.d.ts} +0 -0
- /package/dist/source/{adapterProfile.js → adapters/adapterProfile.js} +0 -0
- /package/dist/source/{idempotency.d.ts → adapters/idempotency.d.ts} +0 -0
- /package/src/{wire/claimEvent.ts → claims/eventContract.ts} +0 -0
- /package/src/{coordination/claimHeartbeatLoop.ts → claims/heartbeat.ts} +0 -0
- /package/src/{coordination/claimMeta.ts → claims/meta.ts} +0 -0
- /package/src/{coordination → claims}/targetConflict.ts +0 -0
- /package/src/{transactions → commit}/confirmation/idempotencyKey.ts +0 -0
- /package/src/{wire/feedCursor.ts → observation/cursor.ts} +0 -0
- /package/src/{wire/deltaDelivery.ts → observation/deliveryContract.ts} +0 -0
- /package/src/source/{adapterProfile.ts → adapters/adapterProfile.ts} +0 -0
|
@@ -150,7 +150,7 @@ export const targetRefSchema = z.object({
|
|
|
150
150
|
*
|
|
151
151
|
* Declared beside {@link targetRefSchema} because the two are the same shape in
|
|
152
152
|
* two spellings, and a member added to one belongs in the other. Both are read
|
|
153
|
-
* by
|
|
153
|
+
* by the claim family below, so this has to
|
|
154
154
|
* precede them.
|
|
155
155
|
*/
|
|
156
156
|
export const modelTargetSchema = z
|
|
@@ -176,52 +176,15 @@ const streamTargetSchema = targetRefSchema
|
|
|
176
176
|
// ─────────────────────────────────────────────────────────────────────────
|
|
177
177
|
// Layer 3 — optimistic stale-context (the write guard)
|
|
178
178
|
// ─────────────────────────────────────────────────────────────────────────
|
|
179
|
-
/**
|
|
180
|
-
* How the server treats a write whose snapshot watermark (`readAt`) is older
|
|
181
|
-
* than the target row's latest change. There are three dispositions:
|
|
182
|
-
* • `notify` — hold the write and return a {@link StaleNotification}
|
|
183
|
-
* carrying the current value, so the actor (agent or human)
|
|
184
|
-
* can resolve it.
|
|
185
|
-
* • `reject` — throw `AbloStaleContextError`, the default when `readAt`
|
|
186
|
-
* is present.
|
|
187
|
-
* • `overwrite` — apply the write blindly, last write wins, with no signal.
|
|
188
|
-
*/
|
|
189
|
-
export const onStaleModeSchema = z.enum(['reject', 'overwrite', 'notify']);
|
|
190
|
-
/** @deprecated A ReadSet entry retains a {@link logPositionSchema} like every
|
|
191
|
-
* other position; the reader is the owner, and the owner belongs in the field
|
|
192
|
-
* name rather than in a second type. Removed in 0.57.0. */
|
|
193
|
-
export const readSetWatermarkSchema = logPositionSchema;
|
|
194
179
|
/** Maximum decision-input entries one logical commit may ask the server to scan. */
|
|
195
180
|
export const MAX_READ_SET_ENTRIES = 500;
|
|
196
|
-
/** A persisted entry cannot overwrite: it observes future writes, not its own. */
|
|
197
|
-
export const trackOnStaleSchema = onStaleModeSchema.exclude(['overwrite']);
|
|
198
181
|
/**
|
|
199
182
|
* The optimistic guard carried on a commit operation. `readAt` is the
|
|
200
|
-
* snapshot watermark
|
|
201
|
-
* `bypass` is the explicit, recorded override of a *foreign* pessimistic
|
|
202
|
-
* claim — see the claim layer below.
|
|
183
|
+
* snapshot watermark captured by `read` (null/absent ⇒ unguarded write).
|
|
203
184
|
*/
|
|
204
185
|
export const writeGuardSchema = z.object({
|
|
205
186
|
readAt: logPositionSchema.nullish(),
|
|
206
|
-
onStale: onStaleModeSchema.nullish(),
|
|
207
|
-
bypass: z.boolean().optional(),
|
|
208
187
|
});
|
|
209
|
-
/**
|
|
210
|
-
* The advisory returned to a committer whose write hit a stale-context
|
|
211
|
-
* conflict under `onStale: 'notify'` — it reports that the value the committer
|
|
212
|
-
* reasoned against changed while they were away. Rather than throwing, the
|
|
213
|
-
* server hands back the conflicting field's current value as data so the
|
|
214
|
-
* actor — an agent or a human — can reconcile and re-commit. A claim is the
|
|
215
|
-
* prospective form of the same idea (coordinate before acting); this
|
|
216
|
-
* notification is the in-flight form (here is what changed, you resolve). It
|
|
217
|
-
* rides on the commit acknowledgement alongside `lastSyncId`; an empty or
|
|
218
|
-
* absent array means nothing the committer depended on moved.
|
|
219
|
-
*
|
|
220
|
-
* Only `onStale: 'notify'` produces this. The conflicting operation was held,
|
|
221
|
-
* not written, and the actor reconciles against `currentValues` and
|
|
222
|
-
* re-commits. `reject` throws instead, and `overwrite` proceeds silently —
|
|
223
|
-
* neither notifies.
|
|
224
|
-
*/
|
|
225
188
|
/**
|
|
226
189
|
* A log position, as the server reports one.
|
|
227
190
|
*
|
|
@@ -246,239 +209,26 @@ const syncIdSchema = z.number().int().nonnegative();
|
|
|
246
209
|
* • `parent` — it sits one declared containment edge below the root.
|
|
247
210
|
* • `transitive` — the root is ≥2 hops up (`comment → item → project`).
|
|
248
211
|
*/
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
via: z.enum(['self', 'parent', 'transitive']),
|
|
252
|
-
/**
|
|
253
|
-
* The intermediate models walked from the moved row up to the scope root,
|
|
254
|
-
* nearest hop first — the part of the route a reader cannot see from the
|
|
255
|
-
* two endpoints. Empty on `self` and `parent`, which have no intermediate.
|
|
256
|
-
*
|
|
257
|
-
* Model names, not rows: naming the intermediate ROWS would cost a join per
|
|
258
|
-
* notification, and the route is what explains the reach. `target` already
|
|
259
|
-
* identifies the row that moved and `group` the premise it broke.
|
|
260
|
-
*/
|
|
261
|
-
through: z.array(z.string()).readonly(),
|
|
262
|
-
})
|
|
263
|
-
.readonly();
|
|
264
|
-
/**
|
|
265
|
-
* What both notification scopes carry. The arms below derive from it rather
|
|
266
|
-
* than restate it, the same way {@link claimStateSchema} projects the claim
|
|
267
|
-
* record.
|
|
268
|
-
*/
|
|
269
|
-
const staleNotificationBaseSchema = z.object({
|
|
270
|
-
/** Names this object's type; every returned object carries such a tag. */
|
|
271
|
-
object: z.literal('stale_notification'),
|
|
272
|
-
/**
|
|
273
|
-
* The row that moved, and which part of it — `fields` holds the columns whose
|
|
274
|
-
* concurrent change collided (empty ⇒ a whole-entity CREATE/DELETE).
|
|
275
|
-
*
|
|
276
|
-
* The same shape a claim names its subject with, so one reader handles "who
|
|
277
|
-
* holds this row" and "this row moved under you" without learning two
|
|
278
|
-
* vocabularies. In BOTH scopes this is the row that actually changed: a group
|
|
279
|
-
* notification names the moved row here and the fired premise in `group`.
|
|
280
|
-
*/
|
|
281
|
-
target: modelTargetSchema,
|
|
282
|
-
/** The watermark the committer reasoned against (its `readAt`). */
|
|
283
|
-
readAt: syncIdSchema,
|
|
284
|
-
/**
|
|
285
|
-
* Newest delta id on the premise — the committer's new watermark. Re-capture
|
|
286
|
-
* context at/after this id to reconcile.
|
|
287
|
-
*/
|
|
288
|
-
observedSyncId: syncIdSchema,
|
|
289
|
-
/** Who wrote the conflicting delta. */
|
|
290
|
-
writtenBy: z.object({
|
|
291
|
-
kind: participantKindSchema,
|
|
292
|
-
id: z.string(),
|
|
293
|
-
}),
|
|
294
|
-
});
|
|
295
|
-
/** A premise on one row: that row moved. */
|
|
296
|
-
export const rowStaleNotificationSchema = staleNotificationBaseSchema.extend({
|
|
297
|
-
scope: z.literal('row'),
|
|
298
|
-
/**
|
|
299
|
-
* The live values of `target.fields` after the conflict — the piece a plain
|
|
300
|
-
* stale error omits. It lets the actor reconcile without a follow-up read.
|
|
301
|
-
*
|
|
302
|
-
* Row scope only. Reading live values is cheap for one known row and is what
|
|
303
|
-
* a group breach cannot promise, so the group arm omits the field rather than
|
|
304
|
-
* carrying an empty one that reads as "nothing changed".
|
|
305
|
-
*/
|
|
306
|
-
currentValues: z.record(z.string(), z.unknown()),
|
|
307
|
-
});
|
|
308
|
-
/** A premise on a whole sync group: something in it moved. */
|
|
309
|
-
export const groupStaleNotificationSchema = staleNotificationBaseSchema.extend({
|
|
310
|
-
scope: z.literal('group'),
|
|
311
|
-
/**
|
|
312
|
-
* The group premise that fired (`report:abc`, `section:s1`).
|
|
313
|
-
*
|
|
314
|
-
* Same format schema the premise declares, so the value a caller writes into
|
|
315
|
-
* `reads[].group` and the value it gets back name a group identically. The
|
|
316
|
-
* BRANDED view is for values Ablo mints; a notification only echoes the
|
|
317
|
-
* premise it was handed, and re-parsing it to acquire a brand would be a
|
|
318
|
-
* second validation of data the commit boundary already checked.
|
|
319
|
-
*/
|
|
320
|
-
group: syncGroupRefSchema,
|
|
321
|
-
/**
|
|
322
|
-
* How `target` reached `group`. Absent when the schema's record-group spec is
|
|
323
|
-
* unavailable to the commit path, which is the only case where the server
|
|
324
|
-
* knows a group moved without knowing the route.
|
|
325
|
-
*/
|
|
326
|
-
propagation: stalePropagationSchema.optional(),
|
|
327
|
-
/**
|
|
328
|
-
* How much of the group moved — the decision "re-read these rows" versus
|
|
329
|
-
* "give up and take the whole group" needs a size, and a premise that only
|
|
330
|
-
* says *something* changed forces the expensive branch every time.
|
|
331
|
-
*
|
|
332
|
-
* Counts DISTINCT ROWS, not deltas: two writes to one row is one row's worth
|
|
333
|
-
* of re-reading. `sample` names the most recently changed of them and is
|
|
334
|
-
* capped, so `truncated` says whether it tells the whole story.
|
|
335
|
-
*
|
|
336
|
-
* Absent when the commit path did not measure it (a durable `track` fires per
|
|
337
|
-
* commit and does not pay for the extra statement).
|
|
338
|
-
*/
|
|
339
|
-
changed: z
|
|
340
|
-
.object({
|
|
341
|
-
count: z.number().int().nonnegative(),
|
|
342
|
-
sample: z.array(modelTargetSchema).readonly(),
|
|
343
|
-
truncated: z.boolean(),
|
|
344
|
-
})
|
|
345
|
-
.optional(),
|
|
346
|
-
});
|
|
347
|
-
/**
|
|
348
|
-
* One advisory, two scopes, told apart by `scope`.
|
|
349
|
-
*
|
|
350
|
-
* A real discriminated union rather than a flat object with an optional
|
|
351
|
-
* `group`, which is what {@link readDependencySchema} already does for the
|
|
352
|
-
* premise side. While it was flat, the two scopes disagreed about what their
|
|
353
|
-
* fields meant — `model`/`id` held a row in one and the group key in the other,
|
|
354
|
-
* and `conflictingFields`/`currentValues` were empty by construction in the
|
|
355
|
-
* group case — so every consumer had to re-derive the scope from `group`'s
|
|
356
|
-
* presence and read the prose to know which fields were load-bearing.
|
|
357
|
-
*/
|
|
358
|
-
export const staleNotificationSchema = z.discriminatedUnion('scope', [
|
|
359
|
-
rowStaleNotificationSchema,
|
|
360
|
-
groupStaleNotificationSchema,
|
|
361
|
-
]);
|
|
362
|
-
/** One row named by a commit-lifetime ReadSet entry. */
|
|
363
|
-
export const readSetRowTargetSchema = z.object({
|
|
364
|
-
scope: z.literal('row'),
|
|
212
|
+
/** One compact row read carried into a later commit. */
|
|
213
|
+
const readRowDependencySchema = z.object({
|
|
365
214
|
model: z.string(),
|
|
366
215
|
id: z.string(),
|
|
367
216
|
fields: z.array(z.string()).readonly().optional(),
|
|
217
|
+
readAt: logPositionSchema,
|
|
368
218
|
});
|
|
369
|
-
/** One
|
|
370
|
-
|
|
371
|
-
scope: z.literal('group'),
|
|
219
|
+
/** One compact group read carried into a later commit. */
|
|
220
|
+
const readGroupDependencySchema = z.object({
|
|
372
221
|
group: syncGroupRefSchema,
|
|
373
|
-
|
|
374
|
-
export const commitReadSetTargetSchema = z.discriminatedUnion('scope', [
|
|
375
|
-
readSetRowTargetSchema,
|
|
376
|
-
readSetGroupTargetSchema,
|
|
377
|
-
]);
|
|
378
|
-
/** Persisted row tracking is row-grained; it has no field storage axis. */
|
|
379
|
-
export const persistedReadSetRowTargetSchema = readSetRowTargetSchema.omit({ fields: true });
|
|
380
|
-
export const persistedReadSetTargetSchema = z.discriminatedUnion('scope', [
|
|
381
|
-
persistedReadSetRowTargetSchema,
|
|
382
|
-
readSetGroupTargetSchema,
|
|
383
|
-
]);
|
|
384
|
-
/** One exact input to the decision made by this commit. */
|
|
385
|
-
export const commitReadSetEntrySchema = z.object({
|
|
386
|
-
target: commitReadSetTargetSchema,
|
|
387
|
-
watermark: logPositionSchema,
|
|
388
|
-
lifetime: z.literal('commit'),
|
|
389
|
-
onStale: onStaleModeSchema,
|
|
390
|
-
});
|
|
391
|
-
/** One exact input retained after the declaring commit settles. */
|
|
392
|
-
export const persistedReadSetEntrySchema = z.object({
|
|
393
|
-
target: persistedReadSetTargetSchema,
|
|
394
|
-
watermark: logPositionSchema,
|
|
395
|
-
lifetime: z.literal('persisted'),
|
|
396
|
-
onStale: trackOnStaleSchema,
|
|
397
|
-
});
|
|
398
|
-
export const readSetEntrySchema = z.discriminatedUnion('lifetime', [
|
|
399
|
-
commitReadSetEntrySchema,
|
|
400
|
-
persistedReadSetEntrySchema,
|
|
401
|
-
]);
|
|
402
|
-
export const readSetSchema = z
|
|
403
|
-
.array(readSetEntrySchema)
|
|
404
|
-
.max(MAX_READ_SET_ENTRIES)
|
|
405
|
-
.readonly();
|
|
406
|
-
/**
|
|
407
|
-
* Wire projection of a commit-lifetime ReadSet entry. The public field names
|
|
408
|
-
* stay compatible (`readAt`, flat row/group target); every member is selected
|
|
409
|
-
* from the canonical entry rather than restated beside it.
|
|
410
|
-
*/
|
|
411
|
-
const readRowDependencySchema = readSetRowTargetSchema.omit({ scope: true }).extend({
|
|
412
|
-
readAt: commitReadSetEntrySchema.shape.watermark,
|
|
413
|
-
onStale: commitReadSetEntrySchema.shape.onStale.optional(),
|
|
414
|
-
});
|
|
415
|
-
const readGroupDependencySchema = readSetGroupTargetSchema.omit({ scope: true }).extend({
|
|
416
|
-
readAt: commitReadSetEntrySchema.shape.watermark,
|
|
417
|
-
onStale: commitReadSetEntrySchema.shape.onStale.optional(),
|
|
222
|
+
readAt: logPositionSchema,
|
|
418
223
|
});
|
|
419
224
|
export const readDependencySchema = z.union([
|
|
420
225
|
readRowDependencySchema,
|
|
421
226
|
readGroupDependencySchema,
|
|
422
227
|
]);
|
|
423
|
-
/**
|
|
424
|
-
* A durable ReadSet entry — what a participant is watching so that a later
|
|
425
|
-
* change to it opens a {@link StaleNotification}. Where a {@link ReadDependency}
|
|
426
|
-
* is checked once at commit and discarded, a `TrackDependency` is kept and
|
|
427
|
-
* re-checked against every future delta. The row form watches one object; the
|
|
428
|
-
* group form watches a whole sync group ("anything in `report:abc`"). See
|
|
429
|
-
* `packages/ablo/docs/groups.md` for how it drives change propagation.
|
|
430
|
-
*
|
|
431
|
-
* It is a projection of the canonical persisted entry, not a second declaration of the
|
|
432
|
-
* same reference: a track names its target exactly as a read does, and the
|
|
433
|
-
* three ways it differs are stated here as omissions the compiler holds.
|
|
434
|
-
*
|
|
435
|
-
* • `onStale` NARROWED, not dropped — `notify` (the default) reports the
|
|
436
|
-
* change on the tracker's next receipt and lets the commit through;
|
|
437
|
-
* `reject` refuses that commit while the belief is stale, so an agent
|
|
438
|
-
* cannot write on something it has been shown to be out of date about.
|
|
439
|
-
* `overwrite` is excluded because it means "apply my write anyway" and a
|
|
440
|
-
* track guards no write of its own to apply;
|
|
441
|
-
* • no `fields` — a track fires at row grain, because the server keeps one
|
|
442
|
-
* row per tracked target and reports that the target moved, not which
|
|
443
|
-
* column did (`track_dependencies` has no field axis to store one in);
|
|
444
|
-
* • `readAt` optional — it defaults to the watermark of the commit that
|
|
445
|
-
* registered the track, so a caller with nothing to say about when it last
|
|
446
|
-
* looked gets "from here on".
|
|
447
|
-
*
|
|
448
|
-
* A field added to the ReadSet target reaches both halves; a field the durable half
|
|
449
|
-
* genuinely cannot carry has to be omitted here on purpose, in one line, rather
|
|
450
|
-
* than by being quietly left out of a copy.
|
|
451
|
-
*/
|
|
452
|
-
/**
|
|
453
|
-
* What a track does when the caller says nothing — reporting, the behavior every
|
|
454
|
-
* track had before the disposition existed, so an existing registration is
|
|
455
|
-
* unchanged.
|
|
456
|
-
*
|
|
457
|
-
* Declared here because the value has to agree in three places that cannot
|
|
458
|
-
* import each other: this schema, the column DEFAULT, and the server's insert.
|
|
459
|
-
* The two SQL copies are pinned to this one by a test
|
|
460
|
-
* (`trackOnStaleDomain.test.ts`) rather than by anyone remembering.
|
|
461
|
-
*/
|
|
462
|
-
export const DEFAULT_TRACK_ON_STALE = 'notify';
|
|
463
|
-
const trackBaseSchema = {
|
|
464
|
-
readAt: persistedReadSetEntrySchema.shape.watermark.optional(),
|
|
465
|
-
onStale: persistedReadSetEntrySchema.shape.onStale.optional(),
|
|
466
|
-
};
|
|
467
|
-
export const trackDependencySchema = z.union([
|
|
468
|
-
persistedReadSetRowTargetSchema.omit({ scope: true }).extend(trackBaseSchema),
|
|
469
|
-
readSetGroupTargetSchema.omit({ scope: true }).extend(trackBaseSchema),
|
|
470
|
-
]);
|
|
471
|
-
/** Bounded wire projections of the two ReadSet lifetimes. */
|
|
228
|
+
/** Bounded wire projection of one commit's reads. */
|
|
472
229
|
export const readDependencyListSchema = z
|
|
473
230
|
.array(readDependencySchema)
|
|
474
231
|
.max(MAX_READ_SET_ENTRIES);
|
|
475
|
-
export const trackDependencyListSchema = z
|
|
476
|
-
.array(trackDependencySchema)
|
|
477
|
-
.max(MAX_READ_SET_ENTRIES);
|
|
478
|
-
/** Shared combined-cardinality rule for envelopes carrying both projections. */
|
|
479
|
-
export function readSetProjectionEntryCount(value) {
|
|
480
|
-
return (value.reads?.length ?? 0) + (value.track?.length ?? 0);
|
|
481
|
-
}
|
|
482
232
|
// ─────────────────────────────────────────────────────────────────────────
|
|
483
233
|
// Layer 2 — pessimistic claims and leases
|
|
484
234
|
// ─────────────────────────────────────────────────────────────────────────
|
|
@@ -599,8 +349,6 @@ export const claimErrorSchema = z.object({
|
|
|
599
349
|
heldByExpiresAt: z.number().optional(),
|
|
600
350
|
/** Rich holder context for conflict rejections. Additive: older frames omit it. */
|
|
601
351
|
heldByClaim: wireClaimSummarySchema.optional(),
|
|
602
|
-
/** Optional conflict-policy explanation. Additive: older frames omit it. */
|
|
603
|
-
policyReason: z.string().optional(),
|
|
604
352
|
});
|
|
605
353
|
/**
|
|
606
354
|
* Why a claim ended without its holder releasing it, or was refused.
|
|
@@ -650,7 +398,7 @@ export const claimRejectionSchema = z.object({
|
|
|
650
398
|
* there, so this reads the way {@link wireParticipantKindSchema} reads its
|
|
651
399
|
* dialect: a value that parses becomes the typed reason, and one that does
|
|
652
400
|
* not is absent rather than smuggled through as prose. Prose has its own
|
|
653
|
-
* field — `
|
|
401
|
+
* field — `message` below — which is why nothing is lost by refusing to
|
|
654
402
|
* carry it here.
|
|
655
403
|
*
|
|
656
404
|
* The registry code a caller finally sees on `AbloClaimedError`
|
|
@@ -672,7 +420,7 @@ export const claimRejectionSchema = z.object({
|
|
|
672
420
|
heldByClaimId: z.string().optional(),
|
|
673
421
|
heldByExpiresAt: z.number().optional(),
|
|
674
422
|
heldByClaim: wireClaimSummarySchema.optional(),
|
|
675
|
-
|
|
423
|
+
message: z.string().optional(),
|
|
676
424
|
});
|
|
677
425
|
/**
|
|
678
426
|
* The point-to-point notification sent to a holder whose lease ended without
|
|
@@ -798,7 +546,7 @@ export const heldClaimStatusSchema = publicClaimStatusSchema.extract([
|
|
|
798
546
|
*
|
|
799
547
|
* Every caller-facing surface that answers a question about a claim is a
|
|
800
548
|
* PROJECTION of this record, never a second object: {@link modelClaimSchema} is
|
|
801
|
-
* what a peer may see, and `claimStateSchema` (`
|
|
549
|
+
* what a peer may see, and `claimStateSchema` (`claims/contract.ts`) is what a
|
|
802
550
|
* caller polls about a claim of its own. Each is pinned to this record, so a
|
|
803
551
|
* field added here either reaches the people it was declared for or fails to
|
|
804
552
|
* compile.
|
|
@@ -1182,7 +930,7 @@ export const commitOperationTypeSchema = z.enum([
|
|
|
1182
930
|
]);
|
|
1183
931
|
/**
|
|
1184
932
|
* A single mutation in a commit batch, as it arrives on the wire. Extends the
|
|
1185
|
-
* optimistic `writeGuard` (`readAt
|
|
933
|
+
* optimistic `writeGuard` (`readAt`) — the structural link
|
|
1186
934
|
* that makes "every write is stale-guarded" legible in the type, not just in
|
|
1187
935
|
* prose.
|
|
1188
936
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/coordination/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAoB,MAAM,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AAE;IAC3C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B;;;OAGG;IACH,eAAe,EAAE,yBAAyB,CAAC,QAAQ,EAAE;IACrD,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,QAAQ,EAAE;IACjD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;CACpC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;AAGzB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,oBAAoB,CAAC;AAI9D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC;KACzC,MAAM,CAAC;IACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,QAAQ,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IAC3C,yEAAyE;IACzE,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,QAAQ,EAAE;IACjD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC;KACD,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC"}
|
package/dist/errorCodes.d.ts
CHANGED
|
@@ -222,6 +222,7 @@ export declare const ERROR_CODES: {
|
|
|
222
222
|
readonly item_id_missing: ErrorCodeSpec;
|
|
223
223
|
readonly not_null_violation: ErrorCodeSpec;
|
|
224
224
|
readonly foreign_key_violation: ErrorCodeSpec;
|
|
225
|
+
readonly entity_already_exists: ErrorCodeSpec;
|
|
225
226
|
readonly unique_violation: ErrorCodeSpec;
|
|
226
227
|
readonly check_violation: ErrorCodeSpec;
|
|
227
228
|
readonly constraint_violation: ErrorCodeSpec;
|
|
@@ -263,6 +264,14 @@ export declare const ERROR_CODES: {
|
|
|
263
264
|
readonly exchange_network_error: ErrorCodeSpec;
|
|
264
265
|
readonly source_network_error: ErrorCodeSpec;
|
|
265
266
|
readonly source_request_failed: ErrorCodeSpec;
|
|
267
|
+
readonly source_id_missing: ErrorCodeSpec;
|
|
268
|
+
readonly source_api_key_missing: ErrorCodeSpec;
|
|
269
|
+
readonly source_timestamp_missing: ErrorCodeSpec;
|
|
270
|
+
readonly source_timestamp_invalid: ErrorCodeSpec;
|
|
271
|
+
readonly source_timestamp_expired: ErrorCodeSpec;
|
|
272
|
+
readonly source_signature_missing: ErrorCodeSpec;
|
|
273
|
+
readonly source_signature_invalid: ErrorCodeSpec;
|
|
274
|
+
readonly source_forbidden: ErrorCodeSpec;
|
|
266
275
|
readonly source_connector_not_attached: ErrorCodeSpec;
|
|
267
276
|
readonly source_connector_timeout: ErrorCodeSpec;
|
|
268
277
|
readonly source_connector_send_failed: ErrorCodeSpec;
|
|
@@ -414,25 +423,23 @@ export declare const ERROR_CODES: {
|
|
|
414
423
|
readonly replication_reset_required: ErrorCodeSpec;
|
|
415
424
|
};
|
|
416
425
|
/**
|
|
417
|
-
* The type of a valid error code: any key registered in {@link ERROR_CODES}
|
|
418
|
-
*
|
|
419
|
-
* names its reason inline. The {@link AbloError} constructor accepts only this
|
|
426
|
+
* The type of a valid error code: any key registered in {@link ERROR_CODES}.
|
|
427
|
+
* The {@link AbloError} constructor accepts only this
|
|
420
428
|
* type, so a typo or an unregistered code is a compile-time error. Only the
|
|
421
429
|
* boundary that parses an incoming response casts an arbitrary string to this
|
|
422
430
|
* type, which preserves forward compatibility with a newer server.
|
|
423
431
|
*/
|
|
424
|
-
export type ErrorCode = keyof typeof ERROR_CODES
|
|
432
|
+
export type ErrorCode = keyof typeof ERROR_CODES;
|
|
425
433
|
/** The subset of {@link ErrorCode} values that cross the network — the codes
|
|
426
434
|
* that make up the API contract, from which the HTTP and tool-calling
|
|
427
435
|
* boundaries map and the public documentation is generated. */
|
|
428
436
|
export type WireErrorCode = {
|
|
429
437
|
[K in keyof typeof ERROR_CODES]: (typeof ERROR_CODES)[K]['surface'] extends 'wire' ? K : never;
|
|
430
438
|
}[keyof typeof ERROR_CODES];
|
|
431
|
-
/** Looks up the {@link ErrorCodeSpec} for a code. Returns `undefined` for
|
|
432
|
-
*
|
|
433
|
-
* recognize. */
|
|
439
|
+
/** Looks up the {@link ErrorCodeSpec} for a code. Returns `undefined` for a
|
|
440
|
+
* newer code this client does not yet recognize. */
|
|
434
441
|
export declare function errorCodeSpec(code: string): ErrorCodeSpec | undefined;
|
|
435
|
-
/** Reports whether a code is marked retryable. Unknown
|
|
442
|
+
/** Reports whether a code is marked retryable. Unknown codes
|
|
436
443
|
* default to non-retryable, so an unrecognized failure is never retried
|
|
437
444
|
* automatically. */
|
|
438
445
|
export declare function isRetryableCode(code: string): boolean;
|
|
@@ -448,7 +455,7 @@ export declare function isRetryableCode(code: string): boolean;
|
|
|
448
455
|
* - remaining `auth` category → `auth_blocked` (the credential-type 401s)
|
|
449
456
|
* - anything else, or unknown → `none`
|
|
450
457
|
*
|
|
451
|
-
* An unknown code
|
|
458
|
+
* An unknown code or a code this client predates
|
|
452
459
|
* (no spec) defaults to `none`, the same safe default as {@link isRetryableCode}:
|
|
453
460
|
* an unrecognized code is never treated as a credential expiry or a sign-out.
|
|
454
461
|
*/
|
package/dist/errorCodes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errorCodes.d.ts","sourceRoot":"","sources":["../src/errorCodes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,eAAe,CAAC;AAEnD,oFAAoF;AACpF,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,YAAY,GACZ,YAAY,GACZ,O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ED
|
@@ -228,7 +228,7 @@ export const ERROR_CODES = {
|
|
|
228
228
|
precondition_failed: wire('conflict', 409, false, 'A conditional operation did not match the current database row. The complete atomic commit was rejected and no operation in the batch was applied.'),
|
|
229
229
|
idempotency_key_too_long: wire('validation', 400, false, 'The supplied `Idempotency-Key` exceeds the maximum length. Use a shorter key — a UUID works well.'),
|
|
230
230
|
// ── validation (400 / 422) ─────────────────────────────────────────
|
|
231
|
-
write_options_invalid: client('validation', 'The write options (`idempotencyKey` / `label` / `wait` / `readAt` / `
|
|
231
|
+
write_options_invalid: client('validation', 'The write options (`idempotencyKey` / `label` / `wait` / `readAt` / `claim`) failed validation against the write-options schema.'),
|
|
232
232
|
write_payload_invalid: client('validation', 'A write payload contained a value that cannot be represented safely as JSON. Use plain objects, arrays, finite numbers, strings, booleans, null, or valid dates.'),
|
|
233
233
|
source_operation_id_required: client('validation', 'A data-source operation arrived without the entity `id` it targets.'),
|
|
234
234
|
source_adapter_misconfigured: client('validation', 'The data-source ORM adapter could not map a schema model onto the backing client — the client exposes no matching delegate or model. Check that the adapter and schema agree on model names.'),
|
|
@@ -286,6 +286,7 @@ export const ERROR_CODES = {
|
|
|
286
286
|
// table detail in `details` instead of exposing the driver's message text.
|
|
287
287
|
not_null_violation: wire('validation', 400, false, 'The database rejected the write because a required column was left empty — a not-null constraint. The error details name the column; supply a value and retry.'),
|
|
288
288
|
foreign_key_violation: wire('conflict', 409, false, 'The database rejected the write on a foreign-key constraint: a referenced row does not exist, or the row being deleted is still referenced by others. The error details name the constraint.'),
|
|
289
|
+
entity_already_exists: wire('conflict', 409, false, 'A row already exists with this id. CREATE is strict; use UPDATE for an existing row.'),
|
|
289
290
|
unique_violation: wire('conflict', 409, false, 'The write duplicates a value that must be unique — another row already holds it. Choose a different value, or update the existing row.'),
|
|
290
291
|
check_violation: wire('validation', 400, false, 'The database rejected a value that fails one of its check constraints. The error details name the constraint; adjust the value and retry.'),
|
|
291
292
|
constraint_violation: wire('validation', 400, false, 'The database rejected the write on an integrity constraint. The error details identify the specific constraint.'),
|
|
@@ -338,6 +339,14 @@ export const ERROR_CODES = {
|
|
|
338
339
|
exchange_network_error: wire('transport', 503, true, 'A network error interrupted the credential exchange. Check connectivity and retry.'),
|
|
339
340
|
source_network_error: wire('transport', 503, true, 'A network error occurred while talking to the data source. For localhost mode, keep `ablo dev --local` running and check its connector output; for a direct source, check database connectivity and retry.'),
|
|
340
341
|
source_request_failed: wire('transport', 502, true, 'The signed Data Source returned a failure without a more specific code. Inspect the `ablo dev --local` process or deployed endpoint logs, then retry with the same idempotency key.'),
|
|
342
|
+
source_id_missing: wire('auth', 401, false, 'The signed Data Source request did not include its webhook id. Check that the request reaches the handler without an intermediary removing Standard Webhooks headers.'),
|
|
343
|
+
source_api_key_missing: wire('auth', 401, false, 'The Data Source handler has no signing key configured. Configure it with the signing key from the current Data Source registration.'),
|
|
344
|
+
source_timestamp_missing: wire('auth', 401, false, 'The signed Data Source request did not include its webhook timestamp. Check that the request reaches the handler without an intermediary removing Standard Webhooks headers.'),
|
|
345
|
+
source_timestamp_invalid: wire('auth', 401, false, 'The signed Data Source request carried an invalid webhook timestamp.'),
|
|
346
|
+
source_timestamp_expired: wire('auth', 401, false, 'The signed Data Source request fell outside the allowed clock-skew window. Synchronize the endpoint host clock, then retry.'),
|
|
347
|
+
source_signature_missing: wire('auth', 401, false, 'The signed Data Source request did not include its webhook signature. Check that the request reaches the handler without an intermediary removing Standard Webhooks headers.'),
|
|
348
|
+
source_signature_invalid: wire('auth', 401, false, 'The Data Source rejected Ablo\'s signature. Configure the endpoint or localhost connector with the signing key from the current Data Source registration.'),
|
|
349
|
+
source_forbidden: wire('permission', 403, false, 'The Data Source key is not allowed to perform this operation.'),
|
|
341
350
|
source_connector_not_attached: wire('transport', 503, true, 'This branch uses localhost connector-only storage, but no connector is attached. Start or restart `ablo dev --local` and keep that process running.'),
|
|
342
351
|
source_connector_timeout: wire('transport', 504, true, 'The local Data Source handler did not answer before the connector deadline. Check the local Postgres connection and handler logs; the same idempotent request may be retried.'),
|
|
343
352
|
source_connector_send_failed: wire('transport', 502, true, 'The connector socket closed while Ablo was forwarding a signed Data Source request. Keep `ablo dev --local` running; Ablo retries after the connector reconnects.'),
|
|
@@ -505,13 +514,12 @@ export const ERROR_CODES = {
|
|
|
505
514
|
incompatible_change: wire('conflict', 409, false, 'The schema change is incompatible with the schema currently deployed and cannot be applied as-is.'),
|
|
506
515
|
replication_reset_required: wire('conflict', 409, false, 'This branch has live replicated rows for a mapped model that disappeared. Declare a rename or an explicit drop/reset before advancing the schema.'),
|
|
507
516
|
};
|
|
508
|
-
/** Looks up the {@link ErrorCodeSpec} for a code. Returns `undefined` for
|
|
509
|
-
*
|
|
510
|
-
* recognize. */
|
|
517
|
+
/** Looks up the {@link ErrorCodeSpec} for a code. Returns `undefined` for a
|
|
518
|
+
* newer code this client does not yet recognize. */
|
|
511
519
|
export function errorCodeSpec(code) {
|
|
512
520
|
return ERROR_CODES[code];
|
|
513
521
|
}
|
|
514
|
-
/** Reports whether a code is marked retryable. Unknown
|
|
522
|
+
/** Reports whether a code is marked retryable. Unknown codes
|
|
515
523
|
* default to non-retryable, so an unrecognized failure is never retried
|
|
516
524
|
* automatically. */
|
|
517
525
|
export function isRetryableCode(code) {
|
|
@@ -529,7 +537,7 @@ export function isRetryableCode(code) {
|
|
|
529
537
|
* - remaining `auth` category → `auth_blocked` (the credential-type 401s)
|
|
530
538
|
* - anything else, or unknown → `none`
|
|
531
539
|
*
|
|
532
|
-
* An unknown code
|
|
540
|
+
* An unknown code or a code this client predates
|
|
533
541
|
* (no spec) defaults to `none`, the same safe default as {@link isRetryableCode}:
|
|
534
542
|
* an unrecognized code is never treated as a credential expiry or a sign-out.
|
|
535
543
|
*/
|