@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
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a caller can rely on about the HTTP surface not moving under it: where
|
|
3
|
+
* the version is written, what a removal looks like before it happens, and how
|
|
4
|
+
* much warning it comes with.
|
|
5
|
+
*
|
|
6
|
+
* An agent decides whether to integrate against an API partly on whether the
|
|
7
|
+
* API can change without telling it. That decision needs facts, not a promise,
|
|
8
|
+
* so each of these is a value some other surface derives from — the path
|
|
9
|
+
* segment every route is mounted under, the header every response carries, and
|
|
10
|
+
* the two standard fields a withdrawal is announced on. {@link API_LIFECYCLE}
|
|
11
|
+
* is the same set written as prose, and it is what the published OpenAPI
|
|
12
|
+
* document's description carries: the policy and the routes it governs are then
|
|
13
|
+
* one artifact, and a reader who has the spec has the policy.
|
|
14
|
+
*
|
|
15
|
+
* Two axes, deliberately separate:
|
|
16
|
+
*
|
|
17
|
+
* - The PATH version ({@link API_PATH_VERSION}) is the breaking axis. It
|
|
18
|
+
* changes only when a shape a caller sends or reads changes incompatibly,
|
|
19
|
+
* and the old segment keeps serving through the notice window.
|
|
20
|
+
* - The CONTRACT date on {@link API_VERSION_HEADER} is the additive axis. It
|
|
21
|
+
* moves when something observable is added — a new error code, a new field
|
|
22
|
+
* — and a caller pinned to an older reading keeps working. Its value is
|
|
23
|
+
* `ERROR_CONTRACT_VERSION`, stamped by the server on every response.
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* The path segment every route is mounted under: `/api/v1/...`. Callers address
|
|
27
|
+
* this literally, and the OpenAPI document's paths are written from it, so the
|
|
28
|
+
* spec cannot advertise a version the server does not serve.
|
|
29
|
+
*/
|
|
30
|
+
export const API_PATH_VERSION = 'v1';
|
|
31
|
+
/**
|
|
32
|
+
* Carries the date-stamped contract version on every response. A client that
|
|
33
|
+
* records the value it was built against can tell that the server has moved
|
|
34
|
+
* without waiting for a field it does not recognize to break something.
|
|
35
|
+
*/
|
|
36
|
+
export const API_VERSION_HEADER = 'Ablo-Version';
|
|
37
|
+
/**
|
|
38
|
+
* Announces that a route will be withdrawn, as an sf-Date of the moment the
|
|
39
|
+
* deprecation took effect (RFC 9745): `Deprecation: @1774483200`. It appears
|
|
40
|
+
* while the route still works — a deprecated route answers normally.
|
|
41
|
+
*/
|
|
42
|
+
export const API_DEPRECATION_HEADER = 'Deprecation';
|
|
43
|
+
/**
|
|
44
|
+
* The moment the route stops answering, as an HTTP-date (RFC 8594):
|
|
45
|
+
* `Sunset: Tue, 08 Sep 2026 00:00:00 GMT`. Paired with
|
|
46
|
+
* {@link API_DEPRECATION_HEADER}, the two bound the window a caller has.
|
|
47
|
+
*/
|
|
48
|
+
export const API_SUNSET_HEADER = 'Sunset';
|
|
49
|
+
/**
|
|
50
|
+
* The minimum gap between the two headers above. A number rather than a
|
|
51
|
+
* sentence because it is the part a caller plans against, and because the
|
|
52
|
+
* published policy renders it rather than restating it.
|
|
53
|
+
*/
|
|
54
|
+
export const API_DEPRECATION_NOTICE_DAYS = 180;
|
|
55
|
+
/**
|
|
56
|
+
* The policy, in the words it is published in.
|
|
57
|
+
*
|
|
58
|
+
* Written here rather than in the document that shows it because two documents
|
|
59
|
+
* show it — the OpenAPI description and the site's API page — and a policy
|
|
60
|
+
* stated twice is a policy that will eventually say two things.
|
|
61
|
+
*/
|
|
62
|
+
export const API_LIFECYCLE = `## Versioning
|
|
63
|
+
|
|
64
|
+
Every route is mounted under \`/${API_PATH_VERSION}\`, and that segment is part
|
|
65
|
+
of the address you call. A change that would break a caller — a field removed, a
|
|
66
|
+
type narrowed, a status changed — arrives as a new segment beside this one, never
|
|
67
|
+
as a change to this one. Additive changes do land here: a new field on a
|
|
68
|
+
response, a new optional parameter, a new error code. Ignore what you do not
|
|
69
|
+
recognize and you will not be broken by them.
|
|
70
|
+
|
|
71
|
+
Every response carries \`${API_VERSION_HEADER}\`, a date stamp for the contract
|
|
72
|
+
the server is serving. Record the value your integration was built against and
|
|
73
|
+
compare it if behavior surprises you.
|
|
74
|
+
|
|
75
|
+
## Deprecation
|
|
76
|
+
|
|
77
|
+
A route being withdrawn says so on itself, for at least
|
|
78
|
+
${API_DEPRECATION_NOTICE_DAYS} days before it stops answering:
|
|
79
|
+
|
|
80
|
+
- \`${API_DEPRECATION_HEADER}\` — an sf-Date of when the deprecation took effect
|
|
81
|
+
(RFC 9745). The route still answers normally while this is present.
|
|
82
|
+
- \`${API_SUNSET_HEADER}\` — an HTTP-date of when it stops answering (RFC 8594).
|
|
83
|
+
- \`Link\` with \`rel="deprecation"\` pointing at what to read, and
|
|
84
|
+
\`rel="successor-version"\` at what to call instead when there is one.
|
|
85
|
+
|
|
86
|
+
The same operations are marked \`deprecated: true\` in this document. Treating
|
|
87
|
+
either signal as a build failure is the intended use; nothing is removed without
|
|
88
|
+
both.`;
|
|
89
|
+
//# sourceMappingURL=apiLifecycle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apiLifecycle.js","sourceRoot":"","sources":["../../src/wire/apiLifecycle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC;AAErC;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAc,CAAC;AAEjD;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC;AAEpD;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,QAAQ,CAAC;AAE1C;;;;GAIG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;;kCAEK,gBAAgB;;;;;;;2BAOvB,kBAAkB;;;;;;;EAO3C,2BAA2B;;MAEvB,sBAAsB;;MAEtB,iBAAiB;;;;;;MAMjB,CAAC"}
|
package/dist/wire/frames.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* wire contract and requires the client and server to update together.
|
|
12
12
|
*/
|
|
13
13
|
import { z } from 'zod';
|
|
14
|
-
import type { MutationResultMessageWire } from '
|
|
14
|
+
import type { MutationResultMessageWire } from '../commit/contract.js';
|
|
15
15
|
/**
|
|
16
16
|
* A single operation within a commit batch and its authoritative runtime
|
|
17
17
|
* validator. Each operation is the smallest unit the server applies atomically
|
|
@@ -19,17 +19,11 @@ import type { MutationResultMessageWire } from './commit.js';
|
|
|
19
19
|
* Both commit transports — the WebSocket `commit` frame and the HTTP
|
|
20
20
|
* `/v1/commits` endpoint — run this check
|
|
21
21
|
* on every operation before it is applied, so a malformed operation is rejected
|
|
22
|
-
* at the edge.
|
|
23
|
-
*
|
|
24
|
-
* the runtime and compile-time contracts have one definition site.
|
|
22
|
+
* at the edge. The TypeScript type is inferred from the shared coordination
|
|
23
|
+
* schema so runtime and compile-time contracts have one definition site.
|
|
25
24
|
*/
|
|
26
25
|
export declare const wireCommitOperationSchema: z.ZodObject<{
|
|
27
26
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
-
onStale: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
29
|
-
reject: "reject";
|
|
30
|
-
overwrite: "overwrite";
|
|
31
|
-
notify: "notify";
|
|
32
|
-
}>>>;
|
|
33
27
|
type: z.ZodEnum<{
|
|
34
28
|
CREATE: "CREATE";
|
|
35
29
|
UPDATE: "UPDATE";
|
|
@@ -44,7 +38,6 @@ export declare const wireCommitOperationSchema: z.ZodObject<{
|
|
|
44
38
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
39
|
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
40
|
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
-
bypass: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
48
41
|
}, z.core.$strip>;
|
|
49
42
|
export type WireCommitOperation = z.infer<typeof wireCommitOperationSchema>;
|
|
50
43
|
/**
|
|
@@ -56,11 +49,6 @@ export type CommitOperation = WireCommitOperation;
|
|
|
56
49
|
/** @deprecated Renamed to {@link wireCommitOperationSchema}. Removed in 0.36.0. */
|
|
57
50
|
export declare const commitOperationSchema: z.ZodObject<{
|
|
58
51
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
59
|
-
onStale: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
60
|
-
reject: "reject";
|
|
61
|
-
overwrite: "overwrite";
|
|
62
|
-
notify: "notify";
|
|
63
|
-
}>>>;
|
|
64
52
|
type: z.ZodEnum<{
|
|
65
53
|
CREATE: "CREATE";
|
|
66
54
|
UPDATE: "UPDATE";
|
|
@@ -75,7 +63,6 @@ export declare const commitOperationSchema: z.ZodObject<{
|
|
|
75
63
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
64
|
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
65
|
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
78
|
-
bypass: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
79
66
|
}, z.core.$strip>;
|
|
80
67
|
/**
|
|
81
68
|
* The authoritative payload schema for a client-to-server commit frame. It
|
|
@@ -86,11 +73,6 @@ export declare const commitOperationSchema: z.ZodObject<{
|
|
|
86
73
|
export declare const commitPayloadSchema: z.ZodObject<{
|
|
87
74
|
operations: z.ZodArray<z.ZodObject<{
|
|
88
75
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
89
|
-
onStale: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
90
|
-
reject: "reject";
|
|
91
|
-
overwrite: "overwrite";
|
|
92
|
-
notify: "notify";
|
|
93
|
-
}>>>;
|
|
94
76
|
type: z.ZodEnum<{
|
|
95
77
|
CREATE: "CREATE";
|
|
96
78
|
UPDATE: "UPDATE";
|
|
@@ -105,43 +87,16 @@ export declare const commitPayloadSchema: z.ZodObject<{
|
|
|
105
87
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
88
|
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107
89
|
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
108
|
-
bypass: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
109
90
|
}, z.core.$strip>>;
|
|
110
91
|
clientTxId: z.ZodString;
|
|
111
92
|
reads: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
93
|
+
model: z.ZodString;
|
|
112
94
|
id: z.ZodString;
|
|
113
95
|
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
114
|
-
model: z.ZodString;
|
|
115
96
|
readAt: z.ZodNumber;
|
|
116
|
-
onStale: z.ZodOptional<z.ZodEnum<{
|
|
117
|
-
reject: "reject";
|
|
118
|
-
overwrite: "overwrite";
|
|
119
|
-
notify: "notify";
|
|
120
|
-
}>>;
|
|
121
97
|
}, z.core.$strip>, z.ZodObject<{
|
|
122
98
|
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
123
99
|
readAt: z.ZodNumber;
|
|
124
|
-
onStale: z.ZodOptional<z.ZodEnum<{
|
|
125
|
-
reject: "reject";
|
|
126
|
-
overwrite: "overwrite";
|
|
127
|
-
notify: "notify";
|
|
128
|
-
}>>;
|
|
129
|
-
}, z.core.$strip>]>>>>;
|
|
130
|
-
track: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
131
|
-
id: z.ZodString;
|
|
132
|
-
model: z.ZodString;
|
|
133
|
-
readAt: z.ZodOptional<z.ZodNumber>;
|
|
134
|
-
onStale: z.ZodOptional<z.ZodEnum<{
|
|
135
|
-
reject: "reject";
|
|
136
|
-
notify: "notify";
|
|
137
|
-
}>>;
|
|
138
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
139
|
-
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
140
|
-
readAt: z.ZodOptional<z.ZodNumber>;
|
|
141
|
-
onStale: z.ZodOptional<z.ZodEnum<{
|
|
142
|
-
reject: "reject";
|
|
143
|
-
notify: "notify";
|
|
144
|
-
}>>;
|
|
145
100
|
}, z.core.$strip>]>>>>;
|
|
146
101
|
}, z.core.$strip>;
|
|
147
102
|
/** A client-to-server frame that asks the server to commit a batch atomically. */
|
|
@@ -150,11 +105,6 @@ export declare const commitMessageSchema: z.ZodObject<{
|
|
|
150
105
|
payload: z.ZodObject<{
|
|
151
106
|
operations: z.ZodArray<z.ZodObject<{
|
|
152
107
|
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
153
|
-
onStale: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
154
|
-
reject: "reject";
|
|
155
|
-
overwrite: "overwrite";
|
|
156
|
-
notify: "notify";
|
|
157
|
-
}>>>;
|
|
158
108
|
type: z.ZodEnum<{
|
|
159
109
|
CREATE: "CREATE";
|
|
160
110
|
UPDATE: "UPDATE";
|
|
@@ -169,50 +119,23 @@ export declare const commitMessageSchema: z.ZodObject<{
|
|
|
169
119
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
170
120
|
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
121
|
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
172
|
-
bypass: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
173
122
|
}, z.core.$strip>>;
|
|
174
123
|
clientTxId: z.ZodString;
|
|
175
124
|
reads: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
125
|
+
model: z.ZodString;
|
|
176
126
|
id: z.ZodString;
|
|
177
127
|
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
178
|
-
model: z.ZodString;
|
|
179
128
|
readAt: z.ZodNumber;
|
|
180
|
-
onStale: z.ZodOptional<z.ZodEnum<{
|
|
181
|
-
reject: "reject";
|
|
182
|
-
overwrite: "overwrite";
|
|
183
|
-
notify: "notify";
|
|
184
|
-
}>>;
|
|
185
129
|
}, z.core.$strip>, z.ZodObject<{
|
|
186
130
|
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
187
131
|
readAt: z.ZodNumber;
|
|
188
|
-
onStale: z.ZodOptional<z.ZodEnum<{
|
|
189
|
-
reject: "reject";
|
|
190
|
-
overwrite: "overwrite";
|
|
191
|
-
notify: "notify";
|
|
192
|
-
}>>;
|
|
193
|
-
}, z.core.$strip>]>>>>;
|
|
194
|
-
track: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
195
|
-
id: z.ZodString;
|
|
196
|
-
model: z.ZodString;
|
|
197
|
-
readAt: z.ZodOptional<z.ZodNumber>;
|
|
198
|
-
onStale: z.ZodOptional<z.ZodEnum<{
|
|
199
|
-
reject: "reject";
|
|
200
|
-
notify: "notify";
|
|
201
|
-
}>>;
|
|
202
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
203
|
-
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
204
|
-
readAt: z.ZodOptional<z.ZodNumber>;
|
|
205
|
-
onStale: z.ZodOptional<z.ZodEnum<{
|
|
206
|
-
reject: "reject";
|
|
207
|
-
notify: "notify";
|
|
208
|
-
}>>;
|
|
209
132
|
}, z.core.$strip>]>>>>;
|
|
210
133
|
}, z.core.$strip>;
|
|
211
134
|
}, z.core.$strip>;
|
|
212
135
|
export type CommitMessage = z.infer<typeof commitMessageSchema>;
|
|
213
136
|
/**
|
|
214
137
|
* The server's acknowledgement of a {@link CommitMessage}. Runtime shape and
|
|
215
|
-
* TypeScript type are both owned by `
|
|
138
|
+
* TypeScript type are both owned by `commit/contract.ts`; HTTP, WebSocket, and
|
|
216
139
|
* cached replay no longer maintain parallel receipt declarations.
|
|
217
140
|
*/
|
|
218
141
|
export type MutationResultMessage = MutationResultMessageWire;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frames.d.ts","sourceRoot":"","sources":["../../src/wire/frames.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"frames.d.ts","sourceRoot":"","sources":["../../src/wire/frames.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAIvE;;;;;;;;;GASG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;iBAAoC,CAAC;AAC3E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAClD,mFAAmF;AACnF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;iBAA4B,CAAC;AAE/D;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAI9B,CAAC;AAEH,kFAAkF;AAClF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAIhE;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,CAAC"}
|
package/dist/wire/frames.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import { z } from 'zod';
|
|
14
14
|
// The runtime schema primitives are imported straight from the coordination
|
|
15
15
|
// schema module to keep this file's runtime dependencies limited to Zod.
|
|
16
|
-
import { commitOperationSchema as coordinationCommitOperationSchema,
|
|
16
|
+
import { commitOperationSchema as coordinationCommitOperationSchema, readDependencyListSchema, } from '../coordination/schema.js';
|
|
17
17
|
// ── Client → Server ────────────────────────────────────────────────────────
|
|
18
18
|
/**
|
|
19
19
|
* A single operation within a commit batch and its authoritative runtime
|
|
@@ -22,13 +22,10 @@ import { commitOperationSchema as coordinationCommitOperationSchema, MAX_READ_SE
|
|
|
22
22
|
* Both commit transports — the WebSocket `commit` frame and the HTTP
|
|
23
23
|
* `/v1/commits` endpoint — run this check
|
|
24
24
|
* on every operation before it is applied, so a malformed operation is rejected
|
|
25
|
-
* at the edge.
|
|
26
|
-
*
|
|
27
|
-
* the runtime and compile-time contracts have one definition site.
|
|
25
|
+
* at the edge. The TypeScript type is inferred from the shared coordination
|
|
26
|
+
* schema so runtime and compile-time contracts have one definition site.
|
|
28
27
|
*/
|
|
29
|
-
export const wireCommitOperationSchema = coordinationCommitOperationSchema
|
|
30
|
-
bypass: z.boolean().nullish(),
|
|
31
|
-
});
|
|
28
|
+
export const wireCommitOperationSchema = coordinationCommitOperationSchema;
|
|
32
29
|
/** @deprecated Renamed to {@link wireCommitOperationSchema}. Removed in 0.36.0. */
|
|
33
30
|
export const commitOperationSchema = wireCommitOperationSchema;
|
|
34
31
|
/**
|
|
@@ -41,10 +38,6 @@ export const commitPayloadSchema = z.object({
|
|
|
41
38
|
operations: z.array(wireCommitOperationSchema),
|
|
42
39
|
clientTxId: z.string(),
|
|
43
40
|
reads: readDependencyListSchema.nullish(),
|
|
44
|
-
track: trackDependencyListSchema.nullish(),
|
|
45
|
-
}).refine((value) => readSetProjectionEntryCount(value) <= MAX_READ_SET_ENTRIES, {
|
|
46
|
-
path: ['reads'],
|
|
47
|
-
message: `reads and track may contain at most ${MAX_READ_SET_ENTRIES} entries combined`,
|
|
48
41
|
});
|
|
49
42
|
/** A client-to-server frame that asks the server to commit a batch atomically. */
|
|
50
43
|
export const commitMessageSchema = z.object({
|
package/dist/wire/frames.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frames.js","sourceRoot":"","sources":["../../src/wire/frames.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,4EAA4E;AAC5E,yEAAyE;AACzE,OAAO,EACL,qBAAqB,IAAI,iCAAiC,EAC1D,
|
|
1
|
+
{"version":3,"file":"frames.js","sourceRoot":"","sources":["../../src/wire/frames.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,4EAA4E;AAC5E,yEAAyE;AACzE,OAAO,EACL,qBAAqB,IAAI,iCAAiC,EAC1D,wBAAwB,GACzB,MAAM,2BAA2B,CAAC;AAGnC,8EAA8E;AAE9E;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,iCAAiC,CAAC;AAS3E,mFAAmF;AACnF,MAAM,CAAC,MAAM,qBAAqB,GAAG,yBAAyB,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC;IAC9C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,KAAK,EAAE,wBAAwB,CAAC,OAAO,EAAE;CAC1C,CAAC,CAAC;AAEH,kFAAkF;AAClF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;IACzB,OAAO,EAAE,mBAAmB;CAC7B,CAAC,CAAC"}
|
|
@@ -72,10 +72,10 @@ export declare const WS_INBOUND_FRAMES: {
|
|
|
72
72
|
readonly checkedBy: z.ZodObject<{
|
|
73
73
|
id: z.ZodNumber;
|
|
74
74
|
actionType: z.ZodEnum<{
|
|
75
|
+
A: "A";
|
|
75
76
|
I: "I";
|
|
76
77
|
U: "U";
|
|
77
78
|
D: "D";
|
|
78
|
-
A: "A";
|
|
79
79
|
V: "V";
|
|
80
80
|
C: "C";
|
|
81
81
|
G: "G";
|
|
@@ -104,7 +104,7 @@ export declare const WS_INBOUND_FRAMES: {
|
|
|
104
104
|
};
|
|
105
105
|
readonly mutation_result: {
|
|
106
106
|
readonly validation: "handler";
|
|
107
|
-
readonly where: "handleMutationResult — it
|
|
107
|
+
readonly where: "handleMutationResult — it validates missingIds alongside the payload before this can parse";
|
|
108
108
|
readonly checkedBy: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
109
109
|
status: z.ZodLiteral<"queued">;
|
|
110
110
|
statusAt: z.ZodISODateTime;
|
|
@@ -134,75 +134,13 @@ export declare const WS_INBOUND_FRAMES: {
|
|
|
134
134
|
count: z.ZodNumber;
|
|
135
135
|
}, z.core.$strip>>>;
|
|
136
136
|
}, z.core.$strip>;
|
|
137
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
138
|
-
object: z.ZodLiteral<"stale_notification">;
|
|
139
|
-
target: z.ZodReadonly<z.ZodObject<{
|
|
140
|
-
model: z.ZodString;
|
|
141
|
-
id: z.ZodString;
|
|
142
|
-
field: z.ZodOptional<z.ZodString>;
|
|
143
|
-
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
144
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
145
|
-
}, z.core.$strip>>;
|
|
146
|
-
readAt: z.ZodNumber;
|
|
147
|
-
observedSyncId: z.ZodNumber;
|
|
148
|
-
writtenBy: z.ZodObject<{
|
|
149
|
-
kind: z.ZodEnum<{
|
|
150
|
-
user: "user";
|
|
151
|
-
agent: "agent";
|
|
152
|
-
system: "system";
|
|
153
|
-
}>;
|
|
154
|
-
id: z.ZodString;
|
|
155
|
-
}, z.core.$strip>;
|
|
156
|
-
scope: z.ZodLiteral<"row">;
|
|
157
|
-
currentValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
158
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
159
|
-
object: z.ZodLiteral<"stale_notification">;
|
|
160
|
-
target: z.ZodReadonly<z.ZodObject<{
|
|
161
|
-
model: z.ZodString;
|
|
162
|
-
id: z.ZodString;
|
|
163
|
-
field: z.ZodOptional<z.ZodString>;
|
|
164
|
-
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
165
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
166
|
-
}, z.core.$strip>>;
|
|
167
|
-
readAt: z.ZodNumber;
|
|
168
|
-
observedSyncId: z.ZodNumber;
|
|
169
|
-
writtenBy: z.ZodObject<{
|
|
170
|
-
kind: z.ZodEnum<{
|
|
171
|
-
user: "user";
|
|
172
|
-
agent: "agent";
|
|
173
|
-
system: "system";
|
|
174
|
-
}>;
|
|
175
|
-
id: z.ZodString;
|
|
176
|
-
}, z.core.$strip>;
|
|
177
|
-
scope: z.ZodLiteral<"group">;
|
|
178
|
-
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
179
|
-
propagation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
180
|
-
via: z.ZodEnum<{
|
|
181
|
-
self: "self";
|
|
182
|
-
parent: "parent";
|
|
183
|
-
transitive: "transitive";
|
|
184
|
-
}>;
|
|
185
|
-
through: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
186
|
-
}, z.core.$strip>>>;
|
|
187
|
-
changed: z.ZodOptional<z.ZodObject<{
|
|
188
|
-
count: z.ZodNumber;
|
|
189
|
-
sample: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
190
|
-
model: z.ZodString;
|
|
191
|
-
id: z.ZodString;
|
|
192
|
-
field: z.ZodOptional<z.ZodString>;
|
|
193
|
-
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
194
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
195
|
-
}, z.core.$strip>>>>;
|
|
196
|
-
truncated: z.ZodBoolean;
|
|
197
|
-
}, z.core.$strip>>;
|
|
198
|
-
}, z.core.$strip>], "scope">>>;
|
|
199
137
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
200
138
|
operationResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
201
139
|
transactionId: z.ZodString;
|
|
202
140
|
outcome: z.ZodEnum<{
|
|
141
|
+
deleted: "deleted";
|
|
203
142
|
created: "created";
|
|
204
143
|
updated: "updated";
|
|
205
|
-
deleted: "deleted";
|
|
206
144
|
archived: "archived";
|
|
207
145
|
unarchived: "unarchived";
|
|
208
146
|
}>;
|
|
@@ -237,75 +175,13 @@ export declare const WS_INBOUND_FRAMES: {
|
|
|
237
175
|
count: z.ZodNumber;
|
|
238
176
|
}, z.core.$strip>>>;
|
|
239
177
|
}, z.core.$strip>;
|
|
240
|
-
notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
241
|
-
object: z.ZodLiteral<"stale_notification">;
|
|
242
|
-
target: z.ZodReadonly<z.ZodObject<{
|
|
243
|
-
model: z.ZodString;
|
|
244
|
-
id: z.ZodString;
|
|
245
|
-
field: z.ZodOptional<z.ZodString>;
|
|
246
|
-
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
247
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
248
|
-
}, z.core.$strip>>;
|
|
249
|
-
readAt: z.ZodNumber;
|
|
250
|
-
observedSyncId: z.ZodNumber;
|
|
251
|
-
writtenBy: z.ZodObject<{
|
|
252
|
-
kind: z.ZodEnum<{
|
|
253
|
-
user: "user";
|
|
254
|
-
agent: "agent";
|
|
255
|
-
system: "system";
|
|
256
|
-
}>;
|
|
257
|
-
id: z.ZodString;
|
|
258
|
-
}, z.core.$strip>;
|
|
259
|
-
scope: z.ZodLiteral<"row">;
|
|
260
|
-
currentValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
261
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
262
|
-
object: z.ZodLiteral<"stale_notification">;
|
|
263
|
-
target: z.ZodReadonly<z.ZodObject<{
|
|
264
|
-
model: z.ZodString;
|
|
265
|
-
id: z.ZodString;
|
|
266
|
-
field: z.ZodOptional<z.ZodString>;
|
|
267
|
-
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
268
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
269
|
-
}, z.core.$strip>>;
|
|
270
|
-
readAt: z.ZodNumber;
|
|
271
|
-
observedSyncId: z.ZodNumber;
|
|
272
|
-
writtenBy: z.ZodObject<{
|
|
273
|
-
kind: z.ZodEnum<{
|
|
274
|
-
user: "user";
|
|
275
|
-
agent: "agent";
|
|
276
|
-
system: "system";
|
|
277
|
-
}>;
|
|
278
|
-
id: z.ZodString;
|
|
279
|
-
}, z.core.$strip>;
|
|
280
|
-
scope: z.ZodLiteral<"group">;
|
|
281
|
-
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
282
|
-
propagation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
283
|
-
via: z.ZodEnum<{
|
|
284
|
-
self: "self";
|
|
285
|
-
parent: "parent";
|
|
286
|
-
transitive: "transitive";
|
|
287
|
-
}>;
|
|
288
|
-
through: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
289
|
-
}, z.core.$strip>>>;
|
|
290
|
-
changed: z.ZodOptional<z.ZodObject<{
|
|
291
|
-
count: z.ZodNumber;
|
|
292
|
-
sample: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
293
|
-
model: z.ZodString;
|
|
294
|
-
id: z.ZodString;
|
|
295
|
-
field: z.ZodOptional<z.ZodString>;
|
|
296
|
-
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
297
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
298
|
-
}, z.core.$strip>>>>;
|
|
299
|
-
truncated: z.ZodBoolean;
|
|
300
|
-
}, z.core.$strip>>;
|
|
301
|
-
}, z.core.$strip>], "scope">>>;
|
|
302
178
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
303
179
|
operationResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
304
180
|
transactionId: z.ZodString;
|
|
305
181
|
outcome: z.ZodEnum<{
|
|
182
|
+
deleted: "deleted";
|
|
306
183
|
created: "created";
|
|
307
184
|
updated: "updated";
|
|
308
|
-
deleted: "deleted";
|
|
309
185
|
archived: "archived";
|
|
310
186
|
unarchived: "unarchived";
|
|
311
187
|
}>;
|
|
@@ -411,7 +287,6 @@ export declare const WS_INBOUND_FRAMES: {
|
|
|
411
287
|
}>>>>;
|
|
412
288
|
capabilityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
413
289
|
}, z.core.$strip>>;
|
|
414
|
-
policyReason: z.ZodOptional<z.ZodString>;
|
|
415
290
|
}, z.core.$strip>>;
|
|
416
291
|
}, z.core.$strip>>>;
|
|
417
292
|
delegatedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -468,7 +343,7 @@ export declare const WS_INBOUND_FRAMES: {
|
|
|
468
343
|
}>>>>;
|
|
469
344
|
capabilityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
470
345
|
}, z.core.$strip>>;
|
|
471
|
-
|
|
346
|
+
message: z.ZodOptional<z.ZodString>;
|
|
472
347
|
}, z.core.$strip>;
|
|
473
348
|
};
|
|
474
349
|
readonly claim_acquired: {
|
|
@@ -523,7 +398,7 @@ export declare const WS_INBOUND_FRAMES: {
|
|
|
523
398
|
}>>>>;
|
|
524
399
|
capabilityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
525
400
|
}, z.core.$strip>>;
|
|
526
|
-
|
|
401
|
+
message: z.ZodOptional<z.ZodString>;
|
|
527
402
|
position: z.ZodNumber;
|
|
528
403
|
reason: z.ZodOptional<z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
|
|
529
404
|
conflict: "conflict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inboundFrames.d.ts","sourceRoot":"","sources":["../../src/wire/inboundFrames.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;kCAKZ,CAAC;AACzB,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,0CAA0C;AAC1C,MAAM,MAAM,oBAAoB;AAC9B,wDAAwD;AACtD;IAAE,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,CAAA;CAAE;AAChE;;;;;;GAMG;GACD;IACE,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC;IAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC;CAChC,CAAC;AAEN;;;;GAIG;AACH,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"inboundFrames.d.ts","sourceRoot":"","sources":["../../src/wire/inboundFrames.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;kCAKZ,CAAC;AACzB,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,0CAA0C;AAC1C,MAAM,MAAM,oBAAoB;AAC9B,wDAAwD;AACtD;IAAE,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,CAAA;CAAE;AAChE;;;;;;GAMG;GACD;IACE,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC;IAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC;CAChC,CAAC;AAEN;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+D2B,CAAC;AAE1D,8CAA8C;AAC9C,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,iBAAiB,CAAC;AAE9D;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG;KAC/B,CAAC,IAAI,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,SAAS;QAC7D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC;KAC7C,GACG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GACV,KAAK;CACV,CAAC;AAEF,sEAAsE;AACtE,MAAM,MAAM,wBAAwB,GAAG;KACpC,CAAC,IAAI,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,SAAS;QAC7D,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC;KAC/B,GACG,CAAC,GACD,KAAK;CACV,CAAC,gBAAgB,CAAC,CAAC;AAEpB,4DAA4D;AAC5D,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,IAAI,gBAAgB,CAE1E;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,gBAAgB,GACrB,IAAI,IAAI,wBAAwB,CAElC"}
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
* protocol, and are dispatched separately.
|
|
24
24
|
*/
|
|
25
25
|
import { z } from 'zod';
|
|
26
|
-
import { commitReceiptSchema } from '
|
|
27
|
-
import { clientSyncDeltaSchema } from '
|
|
26
|
+
import { commitReceiptSchema } from '../commit/contract.js';
|
|
27
|
+
import { clientSyncDeltaSchema } from '../observation/contract.js';
|
|
28
28
|
import { claimAcquiredSchema, claimExpiredSchema, claimGrantedSchema, claimHeartbeatAckPayloadSchema, claimLostSchema, claimQueuedSchema, claimQueueSchema, claimRejectionSchema, presenceUpdateSchema, subscriptionAckPayloadSchema, } from '../coordination/schema.js';
|
|
29
29
|
/**
|
|
30
30
|
* The envelope itself: a type and a payload. `catchall` keeps the extra keys,
|
|
@@ -72,7 +72,7 @@ export const WS_INBOUND_FRAMES = {
|
|
|
72
72
|
// ── Commit ─────────────────────────────────────────────────────────────
|
|
73
73
|
mutation_result: {
|
|
74
74
|
validation: 'handler',
|
|
75
|
-
where: 'handleMutationResult — it
|
|
75
|
+
where: 'handleMutationResult — it validates missingIds alongside the payload before this can parse',
|
|
76
76
|
checkedBy: commitReceiptSchema,
|
|
77
77
|
},
|
|
78
78
|
// ── Requests we made ───────────────────────────────────────────────────
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inboundFrames.js","sourceRoot":"","sources":["../../src/wire/inboundFrames.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"inboundFrames.js","sourceRoot":"","sources":["../../src/wire/inboundFrames.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,8BAA8B,EAC9B,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,4BAA4B,GAC7B,MAAM,2BAA2B,CAAC;AAEnC;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC;KACD,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;AAoBzB;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,0EAA0E;IAC1E,IAAI,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,uCAAuC,EAAE;IAC/E,IAAI,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,uCAAuC,EAAE;IAE/E,0EAA0E;IAC1E,KAAK,EAAE;QACL,UAAU,EAAE,SAAS;QACrB,2EAA2E;QAC3E,wEAAwE;QACxE,+BAA+B;QAC/B,KAAK,EAAE,qDAAqD;QAC5D,SAAS,EAAE,qBAAqB;KACjC;IACD,aAAa,EAAE;QACb,UAAU,EAAE,SAAS;QACrB,0DAA0D;QAC1D,2EAA2E;QAC3E,0EAA0E;QAC1E,wEAAwE;QACxE,+CAA+C;QAC/C,KAAK,EAAE,oEAAoE;KAC5E;IACD,kBAAkB,EAAE;QAClB,UAAU,EAAE,SAAS;QACrB,gEAAgE;QAChE,KAAK,EAAE,sEAAsE;KAC9E;IAED,0EAA0E;IAC1E,eAAe,EAAE;QACf,UAAU,EAAE,SAAS;QACrB,KAAK,EAAE,4FAA4F;QACnG,SAAS,EAAE,mBAAmB;KAC/B;IAED,0EAA0E;IAC1E,SAAS,EAAE;QACT,UAAU,EAAE,SAAS;QACrB,KAAK,EAAE,mIAAmI;KAC3I;IACD,gBAAgB,EAAE;QAChB,UAAU,EAAE,SAAS;QACrB,yEAAyE;QACzE,yEAAyE;QACzE,4EAA4E;QAC5E,KAAK,EAAE,uBAAuB;QAC9B,SAAS,EAAE,4BAA4B;KACxC;IAED,0EAA0E;IAC1E,eAAe,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,oBAAoB,EAAE;IACxE,aAAa,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,kBAAkB,EAAE;IACpE,cAAc,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,oBAAoB,EAAE;IACvE,cAAc,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,mBAAmB,EAAE;IACtE,YAAY,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,iBAAiB,EAAE;IAClE,aAAa,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,kBAAkB,EAAE;IACpE,UAAU,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,EAAE;IAC9D,WAAW,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,gBAAgB,EAAE;IAChE,mBAAmB,EAAE;QACnB,UAAU,EAAE,QAAQ;QACpB,OAAO,EAAE,8BAA8B;KACxC;CACsD,CAAC;AA4B1D,4DAA4D;AAC5D,MAAM,UAAU,mBAAmB,CAAC,IAAY;IAC9C,OAAO,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC;AACvE,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,sBAAsB,CACpC,IAAsB;IAEtB,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC,UAAU,KAAK,QAAQ,CAAC;AACzD,CAAC"}
|