@qlever-llc/trellis 0.7.0-rc.5 → 0.7.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/README.md +9 -8
- package/esm/_dnt.shims.d.ts +1 -2
- package/esm/_dnt.shims.d.ts.map +1 -1
- package/esm/auth/browser/login.d.ts +10 -2
- package/esm/auth/browser/login.d.ts.map +1 -1
- package/esm/auth/browser/login.js +37 -21
- package/esm/auth/browser.d.ts +4 -3
- package/esm/auth/browser.d.ts.map +1 -1
- package/esm/auth/browser.js +3 -2
- package/esm/auth/device_activation.d.ts +16 -4
- package/esm/auth/device_activation.d.ts.map +1 -1
- package/esm/auth/device_activation.js +37 -13
- package/esm/auth/mod.d.ts +4 -4
- package/esm/auth/mod.d.ts.map +1 -1
- package/esm/auth/mod.js +4 -4
- package/esm/auth/protocol.d.ts +330 -65
- package/esm/auth/protocol.d.ts.map +1 -1
- package/esm/auth/protocol.js +278 -206
- package/esm/auth/schemas.d.ts +67 -2
- package/esm/auth/schemas.d.ts.map +1 -1
- package/esm/auth/schemas.js +30 -5
- package/esm/auth/session_auth.d.ts +2 -3
- package/esm/auth/session_auth.d.ts.map +1 -1
- package/esm/auth/session_auth.js +24 -10
- package/esm/auth.d.ts +3 -0
- package/esm/auth.d.ts.map +1 -0
- package/esm/auth.js +2 -0
- package/esm/browser.d.ts +6 -0
- package/esm/browser.d.ts.map +1 -0
- package/esm/browser.js +5 -0
- package/esm/client.d.ts.map +1 -0
- package/esm/client_connect.d.ts +53 -0
- package/esm/client_connect.d.ts.map +1 -0
- package/esm/client_connect.js +338 -0
- package/esm/codec.d.ts.map +1 -0
- package/esm/contract.d.ts +20 -0
- package/esm/contract.d.ts.map +1 -0
- package/esm/contract.js +1 -0
- package/esm/contract_support/canonical.d.ts.map +1 -0
- package/esm/contract_support/mod.d.ts +622 -0
- package/esm/contract_support/mod.d.ts.map +1 -0
- package/esm/contract_support/mod.js +968 -0
- package/esm/contract_support/protocol.d.ts.map +1 -0
- package/esm/contract_support/protocol.js +145 -0
- package/esm/contract_support/runtime.d.ts +75 -0
- package/esm/contract_support/runtime.d.ts.map +1 -0
- package/esm/contract_support/schema_pointers.d.ts.map +1 -0
- package/esm/contracts.d.ts +5 -0
- package/esm/contracts.d.ts.map +1 -0
- package/esm/contracts.js +3 -0
- package/esm/device.d.ts +48 -0
- package/esm/device.d.ts.map +1 -0
- package/esm/device.js +288 -0
- package/esm/env.d.ts +2 -0
- package/esm/env.d.ts.map +1 -0
- package/esm/env.js +1 -0
- package/esm/errors/AuthError.d.ts +30 -0
- package/esm/errors/AuthError.d.ts.map +1 -0
- package/esm/errors/AuthError.js +76 -0
- package/esm/errors/KVError.d.ts.map +1 -0
- package/esm/errors/RemoteError.d.ts +53 -0
- package/esm/errors/RemoteError.d.ts.map +1 -0
- package/esm/errors/RemoteError.js +80 -0
- package/esm/errors/StoreError.d.ts.map +1 -0
- package/esm/errors/TransferError.d.ts.map +1 -0
- package/esm/errors/TrellisError.d.ts.map +1 -0
- package/esm/errors/ValidationError.d.ts.map +1 -0
- package/esm/errors/index.d.ts +178 -0
- package/esm/errors/index.d.ts.map +1 -0
- package/esm/errors/index.js +118 -0
- package/esm/globals.d.ts.map +1 -0
- package/esm/health.d.ts +5 -0
- package/esm/health.d.ts.map +1 -0
- package/esm/health.js +3 -0
- package/esm/helpers.d.ts +10 -0
- package/esm/helpers.d.ts.map +1 -0
- package/esm/helpers.js +38 -0
- package/esm/host/deno.d.ts +3 -0
- package/esm/host/deno.d.ts.map +1 -0
- package/esm/host/deno.js +2 -0
- package/esm/host/mod.d.ts +3 -0
- package/esm/host/mod.d.ts.map +1 -0
- package/esm/host/mod.js +2 -0
- package/esm/host/node.d.ts +3 -0
- package/esm/host/node.d.ts.map +1 -0
- package/esm/host/node.js +2 -0
- package/esm/index.d.ts +29 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +15 -0
- package/esm/kv.d.ts.map +1 -0
- package/esm/models/trellis/TrellisError.d.ts +20 -0
- package/esm/models/trellis/TrellisError.d.ts.map +1 -0
- package/esm/models/trellis/TrellisError.js +15 -0
- package/esm/operations.d.ts +103 -0
- package/esm/operations.d.ts.map +1 -0
- package/esm/operations.js +229 -0
- package/esm/runtime_transport.d.ts +21 -0
- package/esm/runtime_transport.d.ts.map +1 -0
- package/esm/runtime_transport.js +50 -0
- package/esm/sdk/core.d.ts +3 -0
- package/esm/sdk/core.d.ts.map +1 -0
- package/esm/sdk/core.js +2 -0
- package/esm/server/deno.d.ts +1 -1
- package/esm/server/deno.d.ts.map +1 -1
- package/esm/server/health.d.ts +78 -9
- package/esm/server/health.d.ts.map +1 -1
- package/esm/server/health.js +196 -11
- package/esm/server/health_rpc.d.ts +2 -1
- package/esm/server/health_rpc.d.ts.map +1 -1
- package/esm/server/health_rpc.js +6 -4
- package/esm/server/health_schemas.d.ts +51 -0
- package/esm/server/health_schemas.d.ts.map +1 -1
- package/esm/server/health_schemas.js +39 -3
- package/esm/server/mod.d.ts +7 -10
- package/esm/server/mod.d.ts.map +1 -1
- package/esm/server/mod.js +6 -7
- package/esm/server/node.d.ts +1 -1
- package/esm/server/node.d.ts.map +1 -1
- package/esm/server/service.d.ts +65 -13
- package/esm/server/service.d.ts.map +1 -1
- package/esm/server/service.js +299 -54
- package/esm/server/transfer.d.ts +21 -5
- package/esm/server/transfer.d.ts.map +1 -1
- package/esm/server/transfer.js +210 -25
- package/esm/server.d.ts +40 -0
- package/esm/server.d.ts.map +1 -0
- package/esm/server.js +807 -0
- package/esm/server_logger.d.ts.map +1 -0
- package/esm/store.d.ts +60 -0
- package/esm/store.d.ts.map +1 -0
- package/esm/store.js +371 -0
- package/esm/tasks.d.ts.map +1 -0
- package/esm/tracing.d.ts +5 -0
- package/esm/tracing.d.ts.map +1 -0
- package/esm/tracing.js +7 -0
- package/esm/transfer.d.ts +114 -0
- package/esm/transfer.d.ts.map +1 -0
- package/esm/transfer.js +353 -0
- package/esm/trellis.d.ts +314 -0
- package/esm/trellis.d.ts.map +1 -0
- package/esm/trellis.js +1049 -0
- package/package.json +32 -55
- package/script/generated/js/sdks/trellis-core/api.d.ts.map +1 -0
- package/script/generated/js/sdks/trellis-core/api.js +42 -0
- package/script/generated/js/sdks/trellis-core/contract.d.ts +8 -0
- package/script/generated/js/sdks/trellis-core/contract.d.ts.map +1 -0
- package/script/generated/js/sdks/trellis-core/contract.js +62 -0
- package/script/generated/js/sdks/trellis-core/mod.d.ts +6 -0
- package/script/generated/js/sdks/trellis-core/mod.d.ts.map +1 -0
- package/script/generated/js/sdks/trellis-core/mod.js +29 -0
- package/script/generated/js/sdks/trellis-core/schemas.d.ts +1237 -0
- package/script/generated/js/sdks/trellis-core/schemas.d.ts.map +1 -0
- package/script/generated/js/sdks/trellis-core/schemas.js +32 -0
- package/script/generated/js/sdks/trellis-core/types.d.ts +198 -0
- package/script/generated/js/sdks/trellis-core/types.d.ts.map +1 -0
- package/script/generated/js/sdks/trellis-core/types.js +5 -0
- package/script/js/packages/trellis/auth/browser/login.d.ts +35 -0
- package/script/js/packages/trellis/auth/browser/login.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/browser/login.js +117 -0
- package/script/js/packages/trellis/auth/browser/portal.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/browser/portal.js +40 -0
- package/script/js/packages/trellis/auth/browser/session.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/browser/session.js +79 -0
- package/script/js/packages/trellis/auth/browser/storage.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/browser.d.ts +13 -0
- package/script/js/packages/trellis/auth/browser.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/browser.js +52 -0
- package/script/js/packages/trellis/auth/device_activation.d.ts +206 -0
- package/script/js/packages/trellis/auth/device_activation.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/device_activation.js +357 -0
- package/script/js/packages/trellis/auth/keys.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/keys.js +56 -0
- package/script/js/packages/trellis/auth/mod.d.ts +18 -0
- package/script/js/packages/trellis/auth/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/mod.js +217 -0
- package/script/js/packages/trellis/auth/proof.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/proof.js +48 -0
- package/script/js/packages/trellis/auth/protocol.d.ts +1580 -0
- package/script/js/packages/trellis/auth/protocol.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/protocol.js +808 -0
- package/script/js/packages/trellis/auth/schemas.d.ts +158 -0
- package/script/js/packages/trellis/auth/schemas.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/schemas.js +92 -0
- package/script/js/packages/trellis/auth/session_auth.d.ts +19 -0
- package/script/js/packages/trellis/auth/session_auth.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/session_auth.js +59 -0
- package/script/js/packages/trellis/auth/trellis_id.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/trellis_id.js +8 -0
- package/script/js/packages/trellis/auth/types.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/utils.d.ts.map +1 -0
- package/script/js/packages/trellis/auth.d.ts +2 -0
- package/script/js/packages/trellis/auth.d.ts.map +1 -0
- package/script/js/packages/trellis/auth.js +17 -0
- package/script/js/packages/trellis/client.d.ts.map +1 -0
- package/script/js/packages/trellis/client.js +67 -0
- package/script/js/packages/trellis/client_connect.d.ts +53 -0
- package/script/js/packages/trellis/client_connect.d.ts.map +1 -0
- package/script/js/packages/trellis/client_connect.js +342 -0
- package/script/js/packages/trellis/codec.d.ts.map +1 -0
- package/script/js/packages/trellis/codec.js +80 -0
- package/script/js/packages/trellis/contract.d.ts +20 -0
- package/script/js/packages/trellis/contract.d.ts.map +1 -0
- package/script/js/packages/trellis/contract.js +9 -0
- package/script/js/packages/trellis/contract_support/canonical.d.ts.map +1 -0
- package/script/js/packages/trellis/contract_support/mod.d.ts +622 -0
- package/script/js/packages/trellis/contract_support/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/contract_support/mod.js +1001 -0
- package/script/js/packages/trellis/contract_support/protocol.d.ts.map +1 -0
- package/script/js/packages/trellis/contract_support/protocol.js +151 -0
- package/script/js/packages/trellis/contract_support/runtime.d.ts +75 -0
- package/script/js/packages/trellis/contract_support/runtime.d.ts.map +1 -0
- package/script/js/packages/trellis/contract_support/schema_pointers.d.ts.map +1 -0
- package/script/js/packages/trellis/contracts.d.ts +4 -0
- package/script/js/packages/trellis/contracts.d.ts.map +1 -0
- package/script/js/packages/trellis/contracts.js +24 -0
- package/script/js/packages/trellis/device.d.ts +48 -0
- package/script/js/packages/trellis/device.d.ts.map +1 -0
- package/script/js/packages/trellis/device.js +292 -0
- package/script/js/packages/trellis/errors/AuthError.d.ts +30 -0
- package/script/js/packages/trellis/errors/AuthError.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/AuthError.js +83 -0
- package/script/js/packages/trellis/errors/KVError.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/KVError.js +53 -0
- package/script/js/packages/trellis/errors/RemoteError.d.ts +53 -0
- package/script/js/packages/trellis/errors/RemoteError.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/RemoteError.js +87 -0
- package/script/js/packages/trellis/errors/StoreError.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/StoreError.js +48 -0
- package/script/js/packages/trellis/errors/TransferError.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/TransferError.js +48 -0
- package/script/js/packages/trellis/errors/TrellisError.d.ts +16 -0
- package/script/js/packages/trellis/errors/TrellisError.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/TrellisError.js +19 -0
- package/script/js/packages/trellis/errors/ValidationError.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/ValidationError.js +84 -0
- package/script/js/packages/trellis/errors/index.d.ts +177 -0
- package/script/js/packages/trellis/errors/index.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/index.js +136 -0
- package/script/js/packages/trellis/globals.d.ts.map +1 -0
- package/script/js/packages/trellis/health.d.ts +4 -0
- package/script/js/packages/trellis/health.d.ts.map +1 -0
- package/script/js/packages/trellis/health.js +18 -0
- package/script/js/packages/trellis/helpers.d.ts +10 -0
- package/script/js/packages/trellis/helpers.d.ts.map +1 -0
- package/script/js/packages/trellis/helpers.js +44 -0
- package/script/js/packages/trellis/index.d.ts +28 -0
- package/script/js/packages/trellis/index.d.ts.map +1 -0
- package/script/js/packages/trellis/index.js +81 -0
- package/script/js/packages/trellis/kv.d.ts.map +1 -0
- package/script/js/packages/trellis/kv.js +383 -0
- package/script/js/packages/trellis/models/trellis/TrellisError.d.ts +20 -0
- package/script/js/packages/trellis/models/trellis/TrellisError.d.ts.map +1 -0
- package/script/js/packages/trellis/models/trellis/TrellisError.js +21 -0
- package/script/js/packages/trellis/npm/src/_dnt.polyfills.d.ts +18 -0
- package/script/js/packages/trellis/npm/src/_dnt.polyfills.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/_dnt.shims.d.ts +5 -0
- package/script/js/packages/trellis/npm/src/_dnt.shims.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/_dnt.shims.js +65 -0
- package/script/js/packages/trellis/npm/src/auth/browser/login.d.ts +35 -0
- package/script/js/packages/trellis/npm/src/auth/browser/login.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/browser/login.js +117 -0
- package/script/js/packages/trellis/npm/src/auth/browser/portal.d.ts +11 -0
- package/script/js/packages/trellis/npm/src/auth/browser/portal.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/browser/portal.js +40 -0
- package/script/js/packages/trellis/npm/src/auth/browser/session.d.ts +19 -0
- package/script/js/packages/trellis/npm/src/auth/browser/session.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/browser/session.js +79 -0
- package/script/js/packages/trellis/npm/src/auth/browser/storage.d.ts +12 -0
- package/script/js/packages/trellis/npm/src/auth/browser/storage.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/browser/storage.js +67 -0
- package/script/js/packages/trellis/npm/src/auth/browser.d.ts +14 -0
- package/script/js/packages/trellis/npm/src/auth/browser.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/browser.js +53 -0
- package/script/js/packages/trellis/npm/src/auth/device_activation.d.ts +206 -0
- package/script/js/packages/trellis/npm/src/auth/device_activation.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/device_activation.js +357 -0
- package/script/js/packages/trellis/npm/src/auth/keys.d.ts +5 -0
- package/script/js/packages/trellis/npm/src/auth/keys.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/keys.js +56 -0
- package/script/js/packages/trellis/npm/src/auth/mod.d.ts +18 -0
- package/script/js/packages/trellis/npm/src/auth/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/mod.js +217 -0
- package/script/js/packages/trellis/npm/src/auth/proof.d.ts +9 -0
- package/script/js/packages/trellis/npm/src/auth/proof.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/proof.js +48 -0
- package/script/js/packages/trellis/npm/src/auth/protocol.d.ts +1580 -0
- package/script/js/packages/trellis/npm/src/auth/protocol.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/protocol.js +808 -0
- package/script/js/packages/trellis/npm/src/auth/schemas.d.ts +158 -0
- package/script/js/packages/trellis/npm/src/auth/schemas.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/schemas.js +92 -0
- package/script/js/packages/trellis/npm/src/auth/session_auth.d.ts +19 -0
- package/script/js/packages/trellis/npm/src/auth/session_auth.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/session_auth.js +59 -0
- package/script/js/packages/trellis/npm/src/auth/trellis_id.d.ts +2 -0
- package/script/js/packages/trellis/npm/src/auth/trellis_id.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/trellis_id.js +8 -0
- package/script/js/packages/trellis/npm/src/auth/types.d.ts +8 -0
- package/script/js/packages/trellis/npm/src/auth/types.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/types.js +2 -0
- package/script/js/packages/trellis/npm/src/auth/utils.d.ts +11 -0
- package/script/js/packages/trellis/npm/src/auth/utils.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/utils.js +77 -0
- package/script/js/packages/trellis/npm/src/auth.d.ts +3 -0
- package/script/js/packages/trellis/npm/src/auth.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth.js +18 -0
- package/script/js/packages/trellis/npm/src/browser.d.ts +6 -0
- package/script/js/packages/trellis/npm/src/browser.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/browser.js +21 -0
- package/script/js/packages/trellis/npm/src/client.d.ts +33 -0
- package/script/js/packages/trellis/npm/src/client.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/client.js +67 -0
- package/script/js/packages/trellis/npm/src/client_connect.d.ts +53 -0
- package/script/js/packages/trellis/npm/src/client_connect.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/client_connect.js +366 -0
- package/script/js/packages/trellis/npm/src/codec.d.ts +13 -0
- package/script/js/packages/trellis/npm/src/codec.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/codec.js +80 -0
- package/script/js/packages/trellis/npm/src/contract.d.ts +20 -0
- package/script/js/packages/trellis/npm/src/contract.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/contract.js +9 -0
- package/script/js/packages/trellis/npm/src/contract_support/canonical.d.ts +14 -0
- package/script/js/packages/trellis/npm/src/contract_support/canonical.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/contract_support/canonical.js +144 -0
- package/script/js/packages/trellis/npm/src/contract_support/mod.d.ts +622 -0
- package/script/js/packages/trellis/npm/src/contract_support/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/contract_support/mod.js +1001 -0
- package/script/js/packages/trellis/npm/src/contract_support/protocol.d.ts +335 -0
- package/script/js/packages/trellis/npm/src/contract_support/protocol.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/contract_support/protocol.js +151 -0
- package/script/js/packages/trellis/npm/src/contract_support/runtime.d.ts +75 -0
- package/script/js/packages/trellis/npm/src/contract_support/runtime.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/contract_support/runtime.js +13 -0
- package/script/js/packages/trellis/npm/src/contract_support/schema_pointers.d.ts +18 -0
- package/script/js/packages/trellis/npm/src/contract_support/schema_pointers.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/contract_support/schema_pointers.js +63 -0
- package/script/js/packages/trellis/npm/src/contracts.d.ts +5 -0
- package/script/js/packages/trellis/npm/src/contracts.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/contracts.js +25 -0
- package/script/js/packages/trellis/npm/src/device.d.ts +48 -0
- package/script/js/packages/trellis/npm/src/device.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/device.js +292 -0
- package/script/js/packages/trellis/npm/src/env.d.ts +2 -0
- package/script/js/packages/trellis/npm/src/env.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/env.js +5 -0
- package/script/js/packages/trellis/npm/src/errors/AuthError.d.ts +30 -0
- package/script/js/packages/trellis/npm/src/errors/AuthError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/AuthError.js +83 -0
- package/script/js/packages/trellis/npm/src/errors/KVError.d.ts +31 -0
- package/script/js/packages/trellis/npm/src/errors/KVError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/KVError.js +53 -0
- package/script/js/packages/trellis/npm/src/errors/RemoteError.d.ts +53 -0
- package/script/js/packages/trellis/npm/src/errors/RemoteError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/RemoteError.js +87 -0
- package/script/js/packages/trellis/npm/src/errors/StoreError.d.ts +22 -0
- package/script/js/packages/trellis/npm/src/errors/StoreError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/StoreError.js +48 -0
- package/script/js/packages/trellis/npm/src/errors/TransferError.d.ts +22 -0
- package/script/js/packages/trellis/npm/src/errors/TransferError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/TransferError.js +48 -0
- package/script/js/packages/trellis/npm/src/errors/TrellisError.d.ts +16 -0
- package/script/js/packages/trellis/npm/src/errors/TrellisError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/TrellisError.js +19 -0
- package/script/js/packages/trellis/npm/src/errors/ValidationError.d.ts +51 -0
- package/script/js/packages/trellis/npm/src/errors/ValidationError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/ValidationError.js +84 -0
- package/script/js/packages/trellis/npm/src/errors/index.d.ts +178 -0
- package/script/js/packages/trellis/npm/src/errors/index.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/index.js +137 -0
- package/script/js/packages/trellis/npm/src/globals.d.ts +10 -0
- package/script/js/packages/trellis/npm/src/globals.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/globals.js +19 -0
- package/script/js/packages/trellis/npm/src/health.d.ts +5 -0
- package/script/js/packages/trellis/npm/src/health.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/health.js +19 -0
- package/script/js/packages/trellis/npm/src/helpers.d.ts +10 -0
- package/script/js/packages/trellis/npm/src/helpers.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/helpers.js +44 -0
- package/script/js/packages/trellis/npm/src/host/deno.d.ts +3 -0
- package/script/js/packages/trellis/npm/src/host/deno.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/host/deno.js +18 -0
- package/script/js/packages/trellis/npm/src/host/mod.d.ts +3 -0
- package/script/js/packages/trellis/npm/src/host/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/host/mod.js +18 -0
- package/script/js/packages/trellis/npm/src/host/node.d.ts +3 -0
- package/script/js/packages/trellis/npm/src/host/node.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/host/node.js +18 -0
- package/script/js/packages/trellis/npm/src/index.d.ts +29 -0
- package/script/js/packages/trellis/npm/src/index.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/index.js +82 -0
- package/script/js/packages/trellis/npm/src/kv.d.ts +72 -0
- package/script/js/packages/trellis/npm/src/kv.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/kv.js +383 -0
- package/script/js/packages/trellis/npm/src/models/trellis/TrellisError.d.ts +20 -0
- package/script/js/packages/trellis/npm/src/models/trellis/TrellisError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/models/trellis/TrellisError.js +21 -0
- package/script/js/packages/trellis/npm/src/operations.d.ts +103 -0
- package/script/js/packages/trellis/npm/src/operations.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/operations.js +235 -0
- package/script/js/packages/trellis/npm/src/runtime_transport.d.ts +21 -0
- package/script/js/packages/trellis/npm/src/runtime_transport.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/runtime_transport.js +77 -0
- package/script/js/packages/trellis/npm/src/sdk/core.d.ts +3 -0
- package/script/js/packages/trellis/npm/src/sdk/core.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/sdk/core.js +20 -0
- package/script/js/packages/trellis/npm/src/server/deno.d.ts +2 -0
- package/script/js/packages/trellis/npm/src/server/deno.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/deno.js +6 -0
- package/script/js/packages/trellis/npm/src/server/health.d.ts +161 -0
- package/script/js/packages/trellis/npm/src/server/health.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/health.js +291 -0
- package/script/js/packages/trellis/npm/src/server/health_rpc.d.ts +17 -0
- package/script/js/packages/trellis/npm/src/server/health_rpc.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/health_rpc.js +28 -0
- package/script/js/packages/trellis/npm/src/server/health_schemas.d.ts +71 -0
- package/script/js/packages/trellis/npm/src/server/health_schemas.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/health_schemas.js +57 -0
- package/script/js/packages/trellis/npm/src/server/mod.d.ts +15 -0
- package/script/js/packages/trellis/npm/src/server/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/mod.js +39 -0
- package/script/js/packages/trellis/npm/src/server/node.d.ts +2 -0
- package/script/js/packages/trellis/npm/src/server/node.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/node.js +6 -0
- package/script/js/packages/trellis/npm/src/server/runtime.d.ts +16 -0
- package/script/js/packages/trellis/npm/src/server/runtime.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/runtime.js +2 -0
- package/script/js/packages/trellis/npm/src/server/service.d.ts +205 -0
- package/script/js/packages/trellis/npm/src/server/service.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/service.js +654 -0
- package/script/js/packages/trellis/npm/src/server/subscription.d.ts +99 -0
- package/script/js/packages/trellis/npm/src/server/subscription.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/subscription.js +29 -0
- package/script/js/packages/trellis/npm/src/server/transfer.d.ts +57 -0
- package/script/js/packages/trellis/npm/src/server/transfer.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/transfer.js +607 -0
- package/script/js/packages/trellis/npm/src/server.d.ts +40 -0
- package/script/js/packages/trellis/npm/src/server.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server.js +811 -0
- package/script/js/packages/trellis/npm/src/server_logger.d.ts +3 -0
- package/script/js/packages/trellis/npm/src/server_logger.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server_logger.js +10 -0
- package/script/js/packages/trellis/npm/src/store.d.ts +60 -0
- package/script/js/packages/trellis/npm/src/store.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/store.js +377 -0
- package/script/js/packages/trellis/npm/src/tasks.d.ts +11 -0
- package/script/js/packages/trellis/npm/src/tasks.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/tasks.js +45 -0
- package/script/js/packages/trellis/npm/src/telemetry/carrier.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/core.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/env.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/env.js +36 -0
- package/script/js/packages/trellis/npm/src/telemetry/init.d.ts +4 -0
- package/script/js/packages/trellis/npm/src/telemetry/init.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/init.js +11 -0
- package/script/js/packages/trellis/npm/src/telemetry/mod.d.ts +10 -0
- package/script/js/packages/trellis/npm/src/telemetry/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/mod.js +26 -0
- package/script/js/packages/trellis/npm/src/telemetry/nats.d.ts +7 -0
- package/script/js/packages/trellis/npm/src/telemetry/nats.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/result.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/runtime.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/runtime.js +60 -0
- package/script/js/packages/trellis/npm/src/telemetry/trace.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/trace.js +31 -0
- package/script/js/packages/trellis/npm/src/telemetry/trellis.d.ts +2 -0
- package/script/js/packages/trellis/npm/src/telemetry/trellis.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/trellis.js +7 -0
- package/script/js/packages/trellis/npm/src/tracing.d.ts +5 -0
- package/script/js/packages/trellis/npm/src/tracing.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/tracing.js +49 -0
- package/script/js/packages/trellis/npm/src/transfer.d.ts +114 -0
- package/script/js/packages/trellis/npm/src/transfer.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/transfer.js +363 -0
- package/script/js/packages/trellis/npm/src/trellis.d.ts +314 -0
- package/script/js/packages/trellis/npm/src/trellis.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/trellis.js +1062 -0
- package/script/js/packages/trellis/operations.d.ts +103 -0
- package/script/js/packages/trellis/operations.d.ts.map +1 -0
- package/script/js/packages/trellis/operations.js +235 -0
- package/script/js/packages/trellis/runtime_transport.d.ts +21 -0
- package/script/js/packages/trellis/runtime_transport.d.ts.map +1 -0
- package/script/js/packages/trellis/runtime_transport.js +53 -0
- package/script/js/packages/trellis/sdk/core.d.ts +3 -0
- package/script/js/packages/trellis/sdk/core.d.ts.map +1 -0
- package/script/js/packages/trellis/sdk/core.js +20 -0
- package/script/js/packages/trellis/server/health.d.ts +170 -0
- package/script/js/packages/trellis/server/health.d.ts.map +1 -0
- package/script/js/packages/trellis/server/health.js +267 -0
- package/script/js/packages/trellis/server/health_schemas.d.ts +71 -0
- package/script/js/packages/trellis/server/health_schemas.d.ts.map +1 -0
- package/script/js/packages/trellis/server/health_schemas.js +57 -0
- package/script/js/packages/trellis/store.d.ts +60 -0
- package/script/js/packages/trellis/store.d.ts.map +1 -0
- package/script/js/packages/trellis/store.js +377 -0
- package/script/js/packages/trellis/tasks.d.ts.map +1 -0
- package/script/js/packages/trellis/tasks.js +45 -0
- package/script/js/packages/trellis/telemetry/carrier.d.ts +9 -0
- package/script/js/packages/trellis/telemetry/carrier.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/carrier.js +25 -0
- package/script/js/packages/trellis/telemetry/core.d.ts +8 -0
- package/script/js/packages/trellis/telemetry/core.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/core.js +24 -0
- package/script/js/packages/trellis/telemetry/env.d.ts +2 -0
- package/script/js/packages/trellis/telemetry/env.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/init.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/init.js +11 -0
- package/script/js/packages/trellis/telemetry/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/mod.js +26 -0
- package/script/js/packages/trellis/telemetry/nats.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/nats.js +9 -0
- package/script/js/packages/trellis/telemetry/result.d.ts +2 -0
- package/script/js/packages/trellis/telemetry/result.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/result.js +21 -0
- package/script/js/packages/trellis/telemetry/runtime.d.ts +2 -0
- package/script/js/packages/trellis/telemetry/runtime.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/runtime.js +60 -0
- package/script/js/packages/trellis/telemetry/trace.d.ts +5 -0
- package/script/js/packages/trellis/telemetry/trace.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/trace.js +31 -0
- package/script/js/packages/trellis/telemetry/trellis.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/trellis.js +7 -0
- package/script/js/packages/trellis/tracing.d.ts +4 -0
- package/script/js/packages/trellis/tracing.d.ts.map +1 -0
- package/script/js/packages/trellis/tracing.js +46 -0
- package/script/js/packages/trellis/transfer.d.ts +114 -0
- package/script/js/packages/trellis/transfer.d.ts.map +1 -0
- package/script/js/packages/trellis/transfer.js +363 -0
- package/script/js/packages/trellis/trellis.d.ts +314 -0
- package/script/js/packages/trellis/trellis.d.ts.map +1 -0
- package/script/js/packages/trellis/trellis.js +1062 -0
- package/esm/contracts/canonical.d.ts.map +0 -1
- package/esm/contracts/mod.d.ts +0 -482
- package/esm/contracts/mod.d.ts.map +0 -1
- package/esm/contracts/mod.js +0 -558
- package/esm/contracts/protocol.d.ts.map +0 -1
- package/esm/contracts/protocol.js +0 -145
- package/esm/contracts/runtime.d.ts +0 -48
- package/esm/contracts/runtime.d.ts.map +0 -1
- package/esm/contracts/schema_pointers.d.ts.map +0 -1
- package/esm/trellis/_sdk/activity/_dnt.polyfills.d.ts +0 -12
- package/esm/trellis/_sdk/activity/_dnt.polyfills.d.ts.map +0 -1
- package/esm/trellis/_sdk/activity/_dnt.polyfills.js +0 -15
- package/esm/trellis/_sdk/activity/api.d.ts.map +0 -1
- package/esm/trellis/_sdk/activity/api.js +0 -43
- package/esm/trellis/_sdk/activity/contract.d.ts +0 -8
- package/esm/trellis/_sdk/activity/contract.d.ts.map +0 -1
- package/esm/trellis/_sdk/activity/contract.js +0 -59
- package/esm/trellis/_sdk/activity/mod.d.ts +0 -7
- package/esm/trellis/_sdk/activity/mod.d.ts.map +0 -1
- package/esm/trellis/_sdk/activity/mod.js +0 -5
- package/esm/trellis/_sdk/activity/package.json +0 -3
- package/esm/trellis/_sdk/activity/schemas.d.ts +0 -607
- package/esm/trellis/_sdk/activity/schemas.d.ts.map +0 -1
- package/esm/trellis/_sdk/activity/schemas.js +0 -33
- package/esm/trellis/_sdk/activity/types.d.ts +0 -96
- package/esm/trellis/_sdk/activity/types.d.ts.map +0 -1
- package/esm/trellis/_sdk/activity/types.js +0 -3
- package/esm/trellis/_sdk/auth/_dnt.polyfills.d.ts +0 -12
- package/esm/trellis/_sdk/auth/_dnt.polyfills.d.ts.map +0 -1
- package/esm/trellis/_sdk/auth/_dnt.polyfills.js +0 -15
- package/esm/trellis/_sdk/auth/api.d.ts +0 -10
- package/esm/trellis/_sdk/auth/api.d.ts.map +0 -1
- package/esm/trellis/_sdk/auth/api.js +0 -376
- package/esm/trellis/_sdk/auth/contract.d.ts +0 -28
- package/esm/trellis/_sdk/auth/contract.d.ts.map +0 -1
- package/esm/trellis/_sdk/auth/contract.js +0 -83
- package/esm/trellis/_sdk/auth/mod.d.ts +0 -7
- package/esm/trellis/_sdk/auth/mod.d.ts.map +0 -1
- package/esm/trellis/_sdk/auth/mod.js +0 -5
- package/esm/trellis/_sdk/auth/package.json +0 -3
- package/esm/trellis/_sdk/auth/schemas.d.ts +0 -10110
- package/esm/trellis/_sdk/auth/schemas.d.ts.map +0 -1
- package/esm/trellis/_sdk/auth/schemas.js +0 -325
- package/esm/trellis/_sdk/auth/types.d.ts +0 -1382
- package/esm/trellis/_sdk/auth/types.d.ts.map +0 -1
- package/esm/trellis/_sdk/auth/types.js +0 -3
- package/esm/trellis/_sdk/core/_dnt.polyfills.d.ts +0 -12
- package/esm/trellis/_sdk/core/_dnt.polyfills.d.ts.map +0 -1
- package/esm/trellis/_sdk/core/_dnt.polyfills.js +0 -15
- package/esm/trellis/_sdk/core/api.d.ts +0 -10
- package/esm/trellis/_sdk/core/api.d.ts.map +0 -1
- package/esm/trellis/_sdk/core/api.js +0 -36
- package/esm/trellis/_sdk/core/contract.d.ts +0 -8
- package/esm/trellis/_sdk/core/contract.d.ts.map +0 -1
- package/esm/trellis/_sdk/core/contract.js +0 -59
- package/esm/trellis/_sdk/core/mod.d.ts +0 -7
- package/esm/trellis/_sdk/core/mod.d.ts.map +0 -1
- package/esm/trellis/_sdk/core/mod.js +0 -5
- package/esm/trellis/_sdk/core/package.json +0 -3
- package/esm/trellis/_sdk/core/schemas.d.ts +0 -1266
- package/esm/trellis/_sdk/core/schemas.d.ts.map +0 -1
- package/esm/trellis/_sdk/core/schemas.js +0 -28
- package/esm/trellis/_sdk/core/types.d.ts +0 -193
- package/esm/trellis/_sdk/core/types.d.ts.map +0 -1
- package/esm/trellis/_sdk/core/types.js +0 -3
- package/esm/trellis/_sdk/state/_dnt.polyfills.d.ts +0 -12
- package/esm/trellis/_sdk/state/_dnt.polyfills.d.ts.map +0 -1
- package/esm/trellis/_sdk/state/_dnt.polyfills.js +0 -15
- package/esm/trellis/_sdk/state/api.d.ts +0 -10
- package/esm/trellis/_sdk/state/api.d.ts.map +0 -1
- package/esm/trellis/_sdk/state/api.js +0 -71
- package/esm/trellis/_sdk/state/contract.d.ts +0 -8
- package/esm/trellis/_sdk/state/contract.d.ts.map +0 -1
- package/esm/trellis/_sdk/state/contract.js +0 -59
- package/esm/trellis/_sdk/state/mod.d.ts +0 -7
- package/esm/trellis/_sdk/state/mod.d.ts.map +0 -1
- package/esm/trellis/_sdk/state/mod.js +0 -5
- package/esm/trellis/_sdk/state/package.json +0 -3
- package/esm/trellis/_sdk/state/schemas.d.ts +0 -1437
- package/esm/trellis/_sdk/state/schemas.d.ts.map +0 -1
- package/esm/trellis/_sdk/state/schemas.js +0 -62
- package/esm/trellis/_sdk/state/types.d.ts +0 -206
- package/esm/trellis/_sdk/state/types.d.ts.map +0 -1
- package/esm/trellis/_sdk/state/types.js +0 -3
- package/esm/trellis/auth/browser.d.ts +0 -3
- package/esm/trellis/auth/browser.d.ts.map +0 -1
- package/esm/trellis/auth/browser.js +0 -2
- package/esm/trellis/auth.d.ts +0 -3
- package/esm/trellis/auth.d.ts.map +0 -1
- package/esm/trellis/auth.js +0 -2
- package/esm/trellis/browser.d.ts +0 -6
- package/esm/trellis/browser.d.ts.map +0 -1
- package/esm/trellis/browser.js +0 -5
- package/esm/trellis/client.d.ts.map +0 -1
- package/esm/trellis/client_connect.d.ts +0 -53
- package/esm/trellis/client_connect.d.ts.map +0 -1
- package/esm/trellis/client_connect.js +0 -300
- package/esm/trellis/codec.d.ts.map +0 -1
- package/esm/trellis/contract.d.ts +0 -20
- package/esm/trellis/contract.d.ts.map +0 -1
- package/esm/trellis/contract.js +0 -4
- package/esm/trellis/contracts.d.ts +0 -5
- package/esm/trellis/contracts.d.ts.map +0 -1
- package/esm/trellis/contracts.js +0 -3
- package/esm/trellis/device.d.ts +0 -41
- package/esm/trellis/device.d.ts.map +0 -1
- package/esm/trellis/device.js +0 -209
- package/esm/trellis/env.d.ts +0 -2
- package/esm/trellis/env.d.ts.map +0 -1
- package/esm/trellis/env.js +0 -1
- package/esm/trellis/errors/AuthError.d.ts +0 -30
- package/esm/trellis/errors/AuthError.d.ts.map +0 -1
- package/esm/trellis/errors/AuthError.js +0 -76
- package/esm/trellis/errors/KVError.d.ts.map +0 -1
- package/esm/trellis/errors/RemoteError.d.ts +0 -47
- package/esm/trellis/errors/RemoteError.d.ts.map +0 -1
- package/esm/trellis/errors/RemoteError.js +0 -80
- package/esm/trellis/errors/StoreError.d.ts.map +0 -1
- package/esm/trellis/errors/TransferError.d.ts.map +0 -1
- package/esm/trellis/errors/TrellisError.d.ts.map +0 -1
- package/esm/trellis/errors/ValidationError.d.ts.map +0 -1
- package/esm/trellis/errors/index.d.ts +0 -47
- package/esm/trellis/errors/index.d.ts.map +0 -1
- package/esm/trellis/errors/index.js +0 -35
- package/esm/trellis/globals.d.ts.map +0 -1
- package/esm/trellis/helpers.d.ts +0 -13
- package/esm/trellis/helpers.d.ts.map +0 -1
- package/esm/trellis/helpers.js +0 -48
- package/esm/trellis/index.d.ts +0 -25
- package/esm/trellis/index.d.ts.map +0 -1
- package/esm/trellis/index.js +0 -13
- package/esm/trellis/kv.d.ts.map +0 -1
- package/esm/trellis/models/trellis/TrellisError.d.ts +0 -57
- package/esm/trellis/models/trellis/TrellisError.d.ts.map +0 -1
- package/esm/trellis/models/trellis/TrellisError.js +0 -20
- package/esm/trellis/operations.d.ts +0 -81
- package/esm/trellis/operations.d.ts.map +0 -1
- package/esm/trellis/operations.js +0 -206
- package/esm/trellis/runtime_transport.d.ts +0 -12
- package/esm/trellis/runtime_transport.d.ts.map +0 -1
- package/esm/trellis/runtime_transport.js +0 -35
- package/esm/trellis/sdk/activity.d.ts +0 -3
- package/esm/trellis/sdk/activity.d.ts.map +0 -1
- package/esm/trellis/sdk/activity.js +0 -2
- package/esm/trellis/sdk/auth.d.ts +0 -4
- package/esm/trellis/sdk/auth.d.ts.map +0 -1
- package/esm/trellis/sdk/auth.js +0 -3
- package/esm/trellis/sdk/core.d.ts +0 -4
- package/esm/trellis/sdk/core.d.ts.map +0 -1
- package/esm/trellis/sdk/core.js +0 -3
- package/esm/trellis/sdk/state.d.ts +0 -4
- package/esm/trellis/sdk/state.d.ts.map +0 -1
- package/esm/trellis/sdk/state.js +0 -3
- package/esm/trellis/server/deno.d.ts +0 -3
- package/esm/trellis/server/deno.d.ts.map +0 -1
- package/esm/trellis/server/deno.js +0 -2
- package/esm/trellis/server/health.d.ts +0 -5
- package/esm/trellis/server/health.d.ts.map +0 -1
- package/esm/trellis/server/health.js +0 -3
- package/esm/trellis/server/mod.d.ts +0 -3
- package/esm/trellis/server/mod.d.ts.map +0 -1
- package/esm/trellis/server/mod.js +0 -2
- package/esm/trellis/server/node.d.ts +0 -3
- package/esm/trellis/server/node.d.ts.map +0 -1
- package/esm/trellis/server/node.js +0 -2
- package/esm/trellis/server/runtime.d.ts +0 -4
- package/esm/trellis/server/runtime.d.ts.map +0 -1
- package/esm/trellis/server/runtime.js +0 -2
- package/esm/trellis/server.d.ts +0 -21
- package/esm/trellis/server.d.ts.map +0 -1
- package/esm/trellis/server.js +0 -536
- package/esm/trellis/server_logger.d.ts.map +0 -1
- package/esm/trellis/store.d.ts +0 -51
- package/esm/trellis/store.d.ts.map +0 -1
- package/esm/trellis/store.js +0 -310
- package/esm/trellis/tasks.d.ts.map +0 -1
- package/esm/trellis/tracing.d.ts +0 -5
- package/esm/trellis/tracing.d.ts.map +0 -1
- package/esm/trellis/tracing.js +0 -7
- package/esm/trellis/transfer.d.ts +0 -118
- package/esm/trellis/transfer.d.ts.map +0 -1
- package/esm/trellis/transfer.js +0 -357
- package/esm/trellis/trellis.d.ts +0 -210
- package/esm/trellis/trellis.d.ts.map +0 -1
- package/esm/trellis/trellis.js +0 -935
- package/script/auth/browser/login.d.ts +0 -27
- package/script/auth/browser/login.d.ts.map +0 -1
- package/script/auth/browser/login.js +0 -100
- package/script/auth/browser/portal.d.ts.map +0 -1
- package/script/auth/browser/portal.js +0 -40
- package/script/auth/browser/session.d.ts.map +0 -1
- package/script/auth/browser/session.js +0 -79
- package/script/auth/browser/storage.d.ts.map +0 -1
- package/script/auth/browser.d.ts +0 -13
- package/script/auth/browser.d.ts.map +0 -1
- package/script/auth/browser.js +0 -46
- package/script/auth/device_activation.d.ts +0 -194
- package/script/auth/device_activation.d.ts.map +0 -1
- package/script/auth/device_activation.js +0 -333
- package/script/auth/keys.d.ts.map +0 -1
- package/script/auth/keys.js +0 -56
- package/script/auth/mod.d.ts +0 -18
- package/script/auth/mod.d.ts.map +0 -1
- package/script/auth/mod.js +0 -180
- package/script/auth/proof.d.ts.map +0 -1
- package/script/auth/proof.js +0 -48
- package/script/auth/protocol.d.ts +0 -1315
- package/script/auth/protocol.d.ts.map +0 -1
- package/script/auth/protocol.js +0 -735
- package/script/auth/schemas.d.ts +0 -93
- package/script/auth/schemas.d.ts.map +0 -1
- package/script/auth/schemas.js +0 -67
- package/script/auth/session_auth.d.ts +0 -20
- package/script/auth/session_auth.d.ts.map +0 -1
- package/script/auth/session_auth.js +0 -45
- package/script/auth/trellis_id.d.ts.map +0 -1
- package/script/auth/trellis_id.js +0 -8
- package/script/auth/types.d.ts.map +0 -1
- package/script/auth/utils.d.ts.map +0 -1
- package/script/contracts/canonical.d.ts.map +0 -1
- package/script/contracts/mod.d.ts +0 -482
- package/script/contracts/mod.d.ts.map +0 -1
- package/script/contracts/mod.js +0 -583
- package/script/contracts/protocol.d.ts.map +0 -1
- package/script/contracts/protocol.js +0 -151
- package/script/contracts/runtime.d.ts +0 -48
- package/script/contracts/runtime.d.ts.map +0 -1
- package/script/contracts/schema_pointers.d.ts.map +0 -1
- package/script/telemetry/carrier.d.ts.map +0 -1
- package/script/telemetry/core.d.ts.map +0 -1
- package/script/telemetry/env.d.ts.map +0 -1
- package/script/telemetry/init.d.ts.map +0 -1
- package/script/telemetry/init.js +0 -11
- package/script/telemetry/mod.d.ts.map +0 -1
- package/script/telemetry/mod.js +0 -26
- package/script/telemetry/nats.d.ts.map +0 -1
- package/script/telemetry/result.d.ts.map +0 -1
- package/script/telemetry/runtime.d.ts.map +0 -1
- package/script/telemetry/runtime.js +0 -60
- package/script/telemetry/trace.d.ts.map +0 -1
- package/script/telemetry/trace.js +0 -31
- package/script/telemetry/trellis.d.ts.map +0 -1
- package/script/telemetry/trellis.js +0 -7
- package/script/trellis/_sdk/activity/_dnt.polyfills.d.ts +0 -12
- package/script/trellis/_sdk/activity/_dnt.polyfills.d.ts.map +0 -1
- package/script/trellis/_sdk/activity/api.d.ts +0 -10
- package/script/trellis/_sdk/activity/api.d.ts.map +0 -1
- package/script/trellis/_sdk/activity/api.js +0 -46
- package/script/trellis/_sdk/activity/contract.d.ts +0 -8
- package/script/trellis/_sdk/activity/contract.d.ts.map +0 -1
- package/script/trellis/_sdk/activity/contract.js +0 -62
- package/script/trellis/_sdk/activity/mod.d.ts +0 -7
- package/script/trellis/_sdk/activity/mod.d.ts.map +0 -1
- package/script/trellis/_sdk/activity/mod.js +0 -30
- package/script/trellis/_sdk/activity/package.json +0 -3
- package/script/trellis/_sdk/activity/schemas.d.ts +0 -607
- package/script/trellis/_sdk/activity/schemas.d.ts.map +0 -1
- package/script/trellis/_sdk/activity/schemas.js +0 -36
- package/script/trellis/_sdk/activity/types.d.ts +0 -96
- package/script/trellis/_sdk/activity/types.d.ts.map +0 -1
- package/script/trellis/_sdk/activity/types.js +0 -6
- package/script/trellis/_sdk/auth/_dnt.polyfills.d.ts +0 -12
- package/script/trellis/_sdk/auth/_dnt.polyfills.d.ts.map +0 -1
- package/script/trellis/_sdk/auth/_dnt.polyfills.js +0 -16
- package/script/trellis/_sdk/auth/api.d.ts +0 -10
- package/script/trellis/_sdk/auth/api.d.ts.map +0 -1
- package/script/trellis/_sdk/auth/api.js +0 -379
- package/script/trellis/_sdk/auth/contract.d.ts +0 -28
- package/script/trellis/_sdk/auth/contract.d.ts.map +0 -1
- package/script/trellis/_sdk/auth/contract.js +0 -86
- package/script/trellis/_sdk/auth/mod.d.ts +0 -7
- package/script/trellis/_sdk/auth/mod.d.ts.map +0 -1
- package/script/trellis/_sdk/auth/mod.js +0 -31
- package/script/trellis/_sdk/auth/package.json +0 -3
- package/script/trellis/_sdk/auth/schemas.d.ts +0 -10110
- package/script/trellis/_sdk/auth/schemas.d.ts.map +0 -1
- package/script/trellis/_sdk/auth/schemas.js +0 -328
- package/script/trellis/_sdk/auth/types.d.ts +0 -1382
- package/script/trellis/_sdk/auth/types.d.ts.map +0 -1
- package/script/trellis/_sdk/auth/types.js +0 -6
- package/script/trellis/_sdk/core/_dnt.polyfills.d.ts +0 -12
- package/script/trellis/_sdk/core/_dnt.polyfills.d.ts.map +0 -1
- package/script/trellis/_sdk/core/_dnt.polyfills.js +0 -16
- package/script/trellis/_sdk/core/api.d.ts +0 -10
- package/script/trellis/_sdk/core/api.d.ts.map +0 -1
- package/script/trellis/_sdk/core/api.js +0 -39
- package/script/trellis/_sdk/core/contract.d.ts +0 -8
- package/script/trellis/_sdk/core/contract.d.ts.map +0 -1
- package/script/trellis/_sdk/core/contract.js +0 -62
- package/script/trellis/_sdk/core/mod.d.ts +0 -7
- package/script/trellis/_sdk/core/mod.d.ts.map +0 -1
- package/script/trellis/_sdk/core/mod.js +0 -30
- package/script/trellis/_sdk/core/package.json +0 -3
- package/script/trellis/_sdk/core/schemas.d.ts +0 -1266
- package/script/trellis/_sdk/core/schemas.d.ts.map +0 -1
- package/script/trellis/_sdk/core/schemas.js +0 -31
- package/script/trellis/_sdk/core/types.d.ts +0 -193
- package/script/trellis/_sdk/core/types.d.ts.map +0 -1
- package/script/trellis/_sdk/core/types.js +0 -6
- package/script/trellis/_sdk/state/_dnt.polyfills.d.ts +0 -12
- package/script/trellis/_sdk/state/_dnt.polyfills.d.ts.map +0 -1
- package/script/trellis/_sdk/state/_dnt.polyfills.js +0 -16
- package/script/trellis/_sdk/state/api.d.ts +0 -10
- package/script/trellis/_sdk/state/api.d.ts.map +0 -1
- package/script/trellis/_sdk/state/api.js +0 -74
- package/script/trellis/_sdk/state/contract.d.ts +0 -8
- package/script/trellis/_sdk/state/contract.d.ts.map +0 -1
- package/script/trellis/_sdk/state/contract.js +0 -62
- package/script/trellis/_sdk/state/mod.d.ts +0 -7
- package/script/trellis/_sdk/state/mod.d.ts.map +0 -1
- package/script/trellis/_sdk/state/mod.js +0 -30
- package/script/trellis/_sdk/state/package.json +0 -3
- package/script/trellis/_sdk/state/schemas.d.ts +0 -1437
- package/script/trellis/_sdk/state/schemas.d.ts.map +0 -1
- package/script/trellis/_sdk/state/schemas.js +0 -65
- package/script/trellis/_sdk/state/types.d.ts +0 -206
- package/script/trellis/_sdk/state/types.d.ts.map +0 -1
- package/script/trellis/_sdk/state/types.js +0 -6
- package/script/trellis/auth.d.ts +0 -2
- package/script/trellis/auth.d.ts.map +0 -1
- package/script/trellis/auth.js +0 -17
- package/script/trellis/client.d.ts.map +0 -1
- package/script/trellis/client.js +0 -67
- package/script/trellis/client_connect.d.ts +0 -53
- package/script/trellis/client_connect.d.ts.map +0 -1
- package/script/trellis/client_connect.js +0 -304
- package/script/trellis/codec.d.ts.map +0 -1
- package/script/trellis/codec.js +0 -80
- package/script/trellis/contract.d.ts +0 -20
- package/script/trellis/contract.d.ts.map +0 -1
- package/script/trellis/contract.js +0 -7
- package/script/trellis/contracts.d.ts +0 -4
- package/script/trellis/contracts.d.ts.map +0 -1
- package/script/trellis/contracts.js +0 -20
- package/script/trellis/device.d.ts +0 -41
- package/script/trellis/device.d.ts.map +0 -1
- package/script/trellis/device.js +0 -213
- package/script/trellis/errors/AuthError.d.ts +0 -30
- package/script/trellis/errors/AuthError.d.ts.map +0 -1
- package/script/trellis/errors/AuthError.js +0 -83
- package/script/trellis/errors/KVError.d.ts.map +0 -1
- package/script/trellis/errors/KVError.js +0 -53
- package/script/trellis/errors/RemoteError.d.ts +0 -47
- package/script/trellis/errors/RemoteError.d.ts.map +0 -1
- package/script/trellis/errors/RemoteError.js +0 -87
- package/script/trellis/errors/StoreError.d.ts.map +0 -1
- package/script/trellis/errors/StoreError.js +0 -48
- package/script/trellis/errors/TransferError.d.ts.map +0 -1
- package/script/trellis/errors/TransferError.js +0 -48
- package/script/trellis/errors/TrellisError.d.ts +0 -16
- package/script/trellis/errors/TrellisError.d.ts.map +0 -1
- package/script/trellis/errors/TrellisError.js +0 -19
- package/script/trellis/errors/ValidationError.d.ts.map +0 -1
- package/script/trellis/errors/ValidationError.js +0 -84
- package/script/trellis/errors/index.d.ts +0 -46
- package/script/trellis/errors/index.d.ts.map +0 -1
- package/script/trellis/errors/index.js +0 -52
- package/script/trellis/globals.d.ts.map +0 -1
- package/script/trellis/helpers.d.ts +0 -12
- package/script/trellis/helpers.d.ts.map +0 -1
- package/script/trellis/helpers.js +0 -54
- package/script/trellis/index.d.ts +0 -24
- package/script/trellis/index.d.ts.map +0 -1
- package/script/trellis/index.js +0 -70
- package/script/trellis/kv.d.ts.map +0 -1
- package/script/trellis/kv.js +0 -383
- package/script/trellis/models/trellis/TrellisError.d.ts +0 -57
- package/script/trellis/models/trellis/TrellisError.d.ts.map +0 -1
- package/script/trellis/models/trellis/TrellisError.js +0 -26
- package/script/trellis/operations.d.ts +0 -81
- package/script/trellis/operations.d.ts.map +0 -1
- package/script/trellis/operations.js +0 -212
- package/script/trellis/runtime_transport.d.ts +0 -12
- package/script/trellis/runtime_transport.d.ts.map +0 -1
- package/script/trellis/runtime_transport.js +0 -37
- package/script/trellis/sdk/core.d.ts +0 -3
- package/script/trellis/sdk/core.d.ts.map +0 -1
- package/script/trellis/sdk/core.js +0 -20
- package/script/trellis/store.d.ts +0 -51
- package/script/trellis/store.d.ts.map +0 -1
- package/script/trellis/store.js +0 -316
- package/script/trellis/tasks.d.ts.map +0 -1
- package/script/trellis/tasks.js +0 -45
- package/script/trellis/tracing.d.ts +0 -4
- package/script/trellis/tracing.d.ts.map +0 -1
- package/script/trellis/tracing.js +0 -46
- package/script/trellis/transfer.d.ts +0 -118
- package/script/trellis/transfer.d.ts.map +0 -1
- package/script/trellis/transfer.js +0 -367
- package/script/trellis/trellis.d.ts +0 -210
- package/script/trellis/trellis.d.ts.map +0 -1
- package/script/trellis/trellis.js +0 -948
- /package/esm/{trellis/client.d.ts → client.d.ts} +0 -0
- /package/esm/{trellis/client.js → client.js} +0 -0
- /package/esm/{trellis/codec.d.ts → codec.d.ts} +0 -0
- /package/esm/{trellis/codec.js → codec.js} +0 -0
- /package/esm/{contracts → contract_support}/canonical.d.ts +0 -0
- /package/esm/{contracts → contract_support}/canonical.js +0 -0
- /package/esm/{contracts → contract_support}/protocol.d.ts +0 -0
- /package/esm/{contracts → contract_support}/runtime.js +0 -0
- /package/esm/{contracts → contract_support}/schema_pointers.d.ts +0 -0
- /package/esm/{contracts → contract_support}/schema_pointers.js +0 -0
- /package/esm/{trellis/errors → errors}/KVError.d.ts +0 -0
- /package/esm/{trellis/errors → errors}/KVError.js +0 -0
- /package/esm/{trellis/errors → errors}/StoreError.d.ts +0 -0
- /package/esm/{trellis/errors → errors}/StoreError.js +0 -0
- /package/esm/{trellis/errors → errors}/TransferError.d.ts +0 -0
- /package/esm/{trellis/errors → errors}/TransferError.js +0 -0
- /package/esm/{trellis/errors → errors}/TrellisError.d.ts +0 -0
- /package/esm/{trellis/errors → errors}/TrellisError.js +0 -0
- /package/esm/{trellis/errors → errors}/ValidationError.d.ts +0 -0
- /package/esm/{trellis/errors → errors}/ValidationError.js +0 -0
- /package/esm/{trellis/globals.d.ts → globals.d.ts} +0 -0
- /package/esm/{trellis/globals.js → globals.js} +0 -0
- /package/esm/{trellis/kv.d.ts → kv.d.ts} +0 -0
- /package/esm/{trellis/kv.js → kv.js} +0 -0
- /package/esm/{trellis/server_logger.d.ts → server_logger.d.ts} +0 -0
- /package/esm/{trellis/server_logger.js → server_logger.js} +0 -0
- /package/esm/{trellis/tasks.d.ts → tasks.d.ts} +0 -0
- /package/esm/{trellis/tasks.js → tasks.js} +0 -0
- /package/{esm/trellis/_sdk/activity → script/generated/js/sdks/trellis-core}/api.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/browser/portal.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/browser/session.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/browser/storage.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/browser/storage.js +0 -0
- /package/script/{auth → js/packages/trellis/auth}/keys.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/proof.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/trellis_id.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/types.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/types.js +0 -0
- /package/script/{auth → js/packages/trellis/auth}/utils.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/utils.js +0 -0
- /package/script/{trellis → js/packages/trellis}/client.d.ts +0 -0
- /package/script/{trellis → js/packages/trellis}/codec.d.ts +0 -0
- /package/script/{contracts → js/packages/trellis/contract_support}/canonical.d.ts +0 -0
- /package/script/{contracts → js/packages/trellis/contract_support}/canonical.js +0 -0
- /package/script/{contracts → js/packages/trellis/contract_support}/protocol.d.ts +0 -0
- /package/script/{contracts → js/packages/trellis/contract_support}/runtime.js +0 -0
- /package/script/{contracts → js/packages/trellis/contract_support}/schema_pointers.d.ts +0 -0
- /package/script/{contracts → js/packages/trellis/contract_support}/schema_pointers.js +0 -0
- /package/script/{trellis → js/packages/trellis}/errors/KVError.d.ts +0 -0
- /package/script/{trellis → js/packages/trellis}/errors/StoreError.d.ts +0 -0
- /package/script/{trellis → js/packages/trellis}/errors/TransferError.d.ts +0 -0
- /package/script/{trellis → js/packages/trellis}/errors/ValidationError.d.ts +0 -0
- /package/script/{trellis → js/packages/trellis}/globals.d.ts +0 -0
- /package/script/{trellis → js/packages/trellis}/globals.js +0 -0
- /package/script/{trellis → js/packages/trellis}/kv.d.ts +0 -0
- /package/script/{trellis/_sdk/activity → js/packages/trellis/npm/src}/_dnt.polyfills.js +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/carrier.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/carrier.js +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/core.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/core.js +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/env.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/nats.js +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/result.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/result.js +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/runtime.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/trace.d.ts +0 -0
- /package/script/{trellis → js/packages/trellis}/tasks.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/telemetry}/env.js +0 -0
- /package/script/{telemetry → js/packages/trellis/telemetry}/init.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/telemetry}/mod.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/telemetry}/nats.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/telemetry}/trellis.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BV,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SCHEMAS = void 0;
|
|
4
|
-
// Generated from ./generated/contracts/manifests/trellis.core@v1.json
|
|
5
|
-
exports.SCHEMAS = {
|
|
6
|
-
schemas: {
|
|
7
|
-
"TrellisBindingsGetRequest": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "type": "object" },
|
|
8
|
-
"TrellisBindingsGetResponse": { "additionalProperties": false, "properties": { "binding": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "resources": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["contractId", "digest", "resources"], "type": "object" } }, "type": "object" },
|
|
9
|
-
"TrellisCatalogRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
10
|
-
"TrellisCatalogResponse": { "additionalProperties": false, "properties": { "catalog": { "additionalProperties": false, "properties": { "contracts": { "items": { "additionalProperties": false, "properties": { "description": { "minLength": 1, "type": "string" }, "digest": { "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "type": "string" } }, "required": ["id", "digest", "displayName", "description"], "type": "object" }, "type": "array" }, "format": { "const": "trellis.catalog.v1", "type": "string" } }, "required": ["format", "contracts"], "type": "object" } }, "required": ["catalog"], "type": "object" },
|
|
11
|
-
"TrellisContractGetRequest": { "additionalProperties": false, "properties": { "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "required": ["digest"], "type": "object" },
|
|
12
|
-
"TrellisContractGetResponse": { "additionalProperties": false, "properties": { "contract": { "properties": { "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "errors": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" }, "events": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" }, "format": { "const": "trellis.contract.v1", "type": "string" }, "id": { "minLength": 1, "type": "string" }, "resources": { "properties": { "jobs": { "additionalProperties": false, "properties": { "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" } }, "required": ["payload"], "type": "object" } }, "type": "object" } }, "required": ["queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "history": { "default": 1, "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "ttlMs": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["purpose"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "ttlMs": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["purpose"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "numReplicas": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["purpose", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "rpc": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" }, "schemas": { "patternProperties": { "^.*$": { "anyOf": [{ "type": "object" }, { "type": "boolean" }] } }, "type": "object" }, "subjects": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" }, "uses": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" } }, "required": ["format", "id", "displayName", "description"], "type": "object" } }, "required": ["contract"], "type": "object" },
|
|
13
|
-
},
|
|
14
|
-
rpc: {
|
|
15
|
-
"Trellis.Bindings.Get": {
|
|
16
|
-
input: { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "type": "object" },
|
|
17
|
-
output: { "additionalProperties": false, "properties": { "binding": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "resources": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["contractId", "digest", "resources"], "type": "object" } }, "type": "object" },
|
|
18
|
-
},
|
|
19
|
-
"Trellis.Catalog": {
|
|
20
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
21
|
-
output: { "additionalProperties": false, "properties": { "catalog": { "additionalProperties": false, "properties": { "contracts": { "items": { "additionalProperties": false, "properties": { "description": { "minLength": 1, "type": "string" }, "digest": { "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "type": "string" } }, "required": ["id", "digest", "displayName", "description"], "type": "object" }, "type": "array" }, "format": { "const": "trellis.catalog.v1", "type": "string" } }, "required": ["format", "contracts"], "type": "object" } }, "required": ["catalog"], "type": "object" },
|
|
22
|
-
},
|
|
23
|
-
"Trellis.Contract.Get": {
|
|
24
|
-
input: { "additionalProperties": false, "properties": { "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "required": ["digest"], "type": "object" },
|
|
25
|
-
output: { "additionalProperties": false, "properties": { "contract": { "properties": { "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "errors": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" }, "events": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" }, "format": { "const": "trellis.contract.v1", "type": "string" }, "id": { "minLength": 1, "type": "string" }, "resources": { "properties": { "jobs": { "additionalProperties": false, "properties": { "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" } }, "required": ["payload"], "type": "object" } }, "type": "object" } }, "required": ["queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "history": { "default": 1, "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "ttlMs": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["purpose"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "ttlMs": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["purpose"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "numReplicas": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["purpose", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "rpc": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" }, "schemas": { "patternProperties": { "^.*$": { "anyOf": [{ "type": "object" }, { "type": "boolean" }] } }, "type": "object" }, "subjects": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" }, "uses": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" } }, "required": ["format", "id", "displayName", "description"], "type": "object" } }, "required": ["contract"], "type": "object" },
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
operations: {},
|
|
29
|
-
events: {},
|
|
30
|
-
subjects: {},
|
|
31
|
-
};
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
export declare const CONTRACT_ID: "trellis.core@v1";
|
|
2
|
-
export declare const CONTRACT_DIGEST: "CYttbIsb0NRRBaNzpPRn9E6aT2Dj1RIECmMFNZL0fic";
|
|
3
|
-
export type TrellisBindingsGetInput = {
|
|
4
|
-
contractId?: string;
|
|
5
|
-
digest?: string;
|
|
6
|
-
};
|
|
7
|
-
export type TrellisBindingsGetOutput = {
|
|
8
|
-
binding?: {
|
|
9
|
-
contractId: string;
|
|
10
|
-
digest: string;
|
|
11
|
-
resources: {
|
|
12
|
-
jobs?: {
|
|
13
|
-
namespace: string;
|
|
14
|
-
queues: {
|
|
15
|
-
[k: string]: {
|
|
16
|
-
ackWaitMs: number;
|
|
17
|
-
backoffMs: Array<number>;
|
|
18
|
-
concurrency: number;
|
|
19
|
-
consumerName: string;
|
|
20
|
-
defaultDeadlineMs?: number;
|
|
21
|
-
dlq: boolean;
|
|
22
|
-
logs: boolean;
|
|
23
|
-
maxDeliver: number;
|
|
24
|
-
payload: {
|
|
25
|
-
schema: string;
|
|
26
|
-
};
|
|
27
|
-
progress: boolean;
|
|
28
|
-
publishPrefix: string;
|
|
29
|
-
queueType: string;
|
|
30
|
-
result?: {
|
|
31
|
-
schema: string;
|
|
32
|
-
};
|
|
33
|
-
workSubject: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
kv?: {
|
|
38
|
-
[k: string]: {
|
|
39
|
-
bucket: string;
|
|
40
|
-
history: number;
|
|
41
|
-
maxValueBytes?: number;
|
|
42
|
-
ttlMs: number;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
store?: {
|
|
46
|
-
[k: string]: {
|
|
47
|
-
maxObjectBytes?: number;
|
|
48
|
-
maxTotalBytes?: number;
|
|
49
|
-
name: string;
|
|
50
|
-
ttlMs: number;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
streams?: {
|
|
54
|
-
[k: string]: {
|
|
55
|
-
discard?: string;
|
|
56
|
-
maxAgeMs?: number;
|
|
57
|
-
maxBytes?: number;
|
|
58
|
-
maxMsgs?: number;
|
|
59
|
-
name: string;
|
|
60
|
-
numReplicas?: number;
|
|
61
|
-
retention?: string;
|
|
62
|
-
sources?: Array<{
|
|
63
|
-
filterSubject?: string;
|
|
64
|
-
fromAlias: string;
|
|
65
|
-
streamName: string;
|
|
66
|
-
subjectTransformDest?: string;
|
|
67
|
-
}>;
|
|
68
|
-
storage?: string;
|
|
69
|
-
subjects: Array<string>;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
export type TrellisCatalogInput = {};
|
|
76
|
-
export type TrellisCatalogOutput = {
|
|
77
|
-
catalog: {
|
|
78
|
-
contracts: Array<{
|
|
79
|
-
description: string;
|
|
80
|
-
digest: string;
|
|
81
|
-
displayName: string;
|
|
82
|
-
id: string;
|
|
83
|
-
}>;
|
|
84
|
-
format: "trellis.catalog.v1";
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
export type TrellisContractGetInput = {
|
|
88
|
-
digest: string;
|
|
89
|
-
};
|
|
90
|
-
export type TrellisContractGetOutput = {
|
|
91
|
-
contract: {
|
|
92
|
-
description: string;
|
|
93
|
-
displayName: string;
|
|
94
|
-
errors?: {
|
|
95
|
-
[k: string]: {};
|
|
96
|
-
};
|
|
97
|
-
events?: {
|
|
98
|
-
[k: string]: {};
|
|
99
|
-
};
|
|
100
|
-
format: "trellis.contract.v1";
|
|
101
|
-
id: string;
|
|
102
|
-
resources?: {
|
|
103
|
-
jobs?: {
|
|
104
|
-
queues: {
|
|
105
|
-
[k: string]: {
|
|
106
|
-
ackWaitMs?: number;
|
|
107
|
-
backoffMs?: Array<number>;
|
|
108
|
-
concurrency?: number;
|
|
109
|
-
defaultDeadlineMs?: number;
|
|
110
|
-
dlq?: boolean;
|
|
111
|
-
logs?: boolean;
|
|
112
|
-
maxDeliver?: number;
|
|
113
|
-
payload: {
|
|
114
|
-
schema: string;
|
|
115
|
-
};
|
|
116
|
-
progress?: boolean;
|
|
117
|
-
result?: {
|
|
118
|
-
schema: string;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
kv?: {
|
|
124
|
-
[k: string]: {
|
|
125
|
-
history?: number;
|
|
126
|
-
maxValueBytes?: number;
|
|
127
|
-
purpose: string;
|
|
128
|
-
required?: boolean;
|
|
129
|
-
ttlMs?: number;
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
store?: {
|
|
133
|
-
[k: string]: {
|
|
134
|
-
maxObjectBytes?: number;
|
|
135
|
-
maxTotalBytes?: number;
|
|
136
|
-
purpose: string;
|
|
137
|
-
required?: boolean;
|
|
138
|
-
ttlMs?: number;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
streams?: {
|
|
142
|
-
[k: string]: {
|
|
143
|
-
discard?: string;
|
|
144
|
-
maxAgeMs?: number;
|
|
145
|
-
maxBytes?: number;
|
|
146
|
-
maxMsgs?: number;
|
|
147
|
-
numReplicas?: number;
|
|
148
|
-
purpose: string;
|
|
149
|
-
required?: boolean;
|
|
150
|
-
retention?: string;
|
|
151
|
-
sources?: Array<{
|
|
152
|
-
filterSubject?: string;
|
|
153
|
-
fromAlias: string;
|
|
154
|
-
subjectTransformDest?: string;
|
|
155
|
-
}>;
|
|
156
|
-
storage?: string;
|
|
157
|
-
subjects: Array<string>;
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
rpc?: {
|
|
162
|
-
[k: string]: {};
|
|
163
|
-
};
|
|
164
|
-
schemas?: {
|
|
165
|
-
[k: string]: ({} | boolean);
|
|
166
|
-
};
|
|
167
|
-
subjects?: {
|
|
168
|
-
[k: string]: {};
|
|
169
|
-
};
|
|
170
|
-
uses?: {
|
|
171
|
-
[k: string]: {};
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
export interface RpcMap {
|
|
176
|
-
"Trellis.Bindings.Get": {
|
|
177
|
-
input: TrellisBindingsGetInput;
|
|
178
|
-
output: TrellisBindingsGetOutput;
|
|
179
|
-
};
|
|
180
|
-
"Trellis.Catalog": {
|
|
181
|
-
input: TrellisCatalogInput;
|
|
182
|
-
output: TrellisCatalogOutput;
|
|
183
|
-
};
|
|
184
|
-
"Trellis.Contract.Get": {
|
|
185
|
-
input: TrellisContractGetInput;
|
|
186
|
-
output: TrellisContractGetOutput;
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
export interface EventMap {
|
|
190
|
-
}
|
|
191
|
-
export interface SubjectMap {
|
|
192
|
-
}
|
|
193
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,WAAW,mBAA6B,CAAC;AACtD,eAAO,MAAM,eAAe,+CAAyD,CAAC;AAEtF,MAAM,MAAM,uBAAuB,GAAG;IAAE,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAAE,CAAC;AAChF,MAAM,MAAM,wBAAwB,GAAG;IAAE,OAAO,CAAC,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE;YAAE,IAAI,CAAC,EAAE;gBAAE,SAAS,EAAE,MAAM,CAAC;gBAAC,MAAM,EAAE;oBAAE,CAAC,CAAC,EAAE,MAAM,GAAG;wBAAE,SAAS,EAAE,MAAM,CAAC;wBAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;wBAAC,WAAW,EAAE,MAAM,CAAC;wBAAC,YAAY,EAAE,MAAM,CAAC;wBAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;wBAAC,GAAG,EAAE,OAAO,CAAC;wBAAC,IAAI,EAAE,OAAO,CAAC;wBAAC,UAAU,EAAE,MAAM,CAAC;wBAAC,OAAO,EAAE;4BAAE,MAAM,EAAE,MAAM,CAAC;yBAAE,CAAC;wBAAC,QAAQ,EAAE,OAAO,CAAC;wBAAC,aAAa,EAAE,MAAM,CAAC;wBAAC,SAAS,EAAE,MAAM,CAAC;wBAAC,MAAM,CAAC,EAAE;4BAAE,MAAM,EAAE,MAAM,CAAC;yBAAE,CAAC;wBAAC,WAAW,EAAE,MAAM,CAAC;qBAAE,CAAC;iBAAE,CAAC;aAAE,CAAC;YAAC,EAAE,CAAC,EAAE;gBAAE,CAAC,CAAC,EAAE,MAAM,GAAG;oBAAE,MAAM,EAAE,MAAM,CAAC;oBAAC,OAAO,EAAE,MAAM,CAAC;oBAAC,aAAa,CAAC,EAAE,MAAM,CAAC;oBAAC,KAAK,EAAE,MAAM,CAAC;iBAAE,CAAC;aAAE,CAAC;YAAC,KAAK,CAAC,EAAE;gBAAE,CAAC,CAAC,EAAE,MAAM,GAAG;oBAAE,cAAc,CAAC,EAAE,MAAM,CAAC;oBAAC,aAAa,CAAC,EAAE,MAAM,CAAC;oBAAC,IAAI,EAAE,MAAM,CAAC;oBAAC,KAAK,EAAE,MAAM,CAAC;iBAAE,CAAC;aAAE,CAAC;YAAC,OAAO,CAAC,EAAE;gBAAE,CAAC,CAAC,EAAE,MAAM,GAAG;oBAAE,OAAO,CAAC,EAAE,MAAM,CAAC;oBAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;oBAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;oBAAC,OAAO,CAAC,EAAE,MAAM,CAAC;oBAAC,IAAI,EAAE,MAAM,CAAC;oBAAC,WAAW,CAAC,EAAE,MAAM,CAAC;oBAAC,SAAS,CAAC,EAAE,MAAM,CAAC;oBAAC,OAAO,CAAC,EAAE,KAAK,CAAC;wBAAE,aAAa,CAAC,EAAE,MAAM,CAAC;wBAAC,SAAS,EAAE,MAAM,CAAC;wBAAC,UAAU,EAAE,MAAM,CAAC;wBAAC,oBAAoB,CAAC,EAAE,MAAM,CAAC;qBAAE,CAAC,CAAC;oBAAC,OAAO,CAAC,EAAE,MAAM,CAAC;oBAAC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;iBAAE,CAAC;aAAE,CAAC;SAAE,CAAC;KAAE,CAAC;CAAE,CAAC;AAEl/B,MAAM,MAAM,mBAAmB,GAAG,EAAI,CAAC;AACvC,MAAM,MAAM,oBAAoB,GAAG;IAAE,OAAO,EAAE;QAAE,SAAS,EAAE,KAAK,CAAC;YAAE,WAAW,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,MAAM,CAAC;YAAC,EAAE,EAAE,MAAM,CAAC;SAAE,CAAC,CAAC;QAAC,MAAM,EAAE,oBAAoB,CAAC;KAAE,CAAC;CAAE,CAAC;AAEhL,MAAM,MAAM,uBAAuB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;CAAE,CAAC;AAC1D,MAAM,MAAM,wBAAwB,GAAG;IAAE,QAAQ,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE;YAAE,CAAC,CAAC,EAAE,MAAM,GAAG,EAAI,CAAC;SAAE,CAAC;QAAC,MAAM,CAAC,EAAE;YAAE,CAAC,CAAC,EAAE,MAAM,GAAG,EAAI,CAAC;SAAE,CAAC;QAAC,MAAM,EAAE,qBAAqB,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE;YAAE,IAAI,CAAC,EAAE;gBAAE,MAAM,EAAE;oBAAE,CAAC,CAAC,EAAE,MAAM,GAAG;wBAAE,SAAS,CAAC,EAAE,MAAM,CAAC;wBAAC,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;wBAAC,WAAW,CAAC,EAAE,MAAM,CAAC;wBAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;wBAAC,GAAG,CAAC,EAAE,OAAO,CAAC;wBAAC,IAAI,CAAC,EAAE,OAAO,CAAC;wBAAC,UAAU,CAAC,EAAE,MAAM,CAAC;wBAAC,OAAO,EAAE;4BAAE,MAAM,EAAE,MAAM,CAAC;yBAAE,CAAC;wBAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;wBAAC,MAAM,CAAC,EAAE;4BAAE,MAAM,EAAE,MAAM,CAAC;yBAAE,CAAC;qBAAE,CAAC;iBAAE,CAAC;aAAE,CAAC;YAAC,EAAE,CAAC,EAAE;gBAAE,CAAC,CAAC,EAAE,MAAM,GAAG;oBAAE,OAAO,CAAC,EAAE,MAAM,CAAC;oBAAC,aAAa,CAAC,EAAE,MAAM,CAAC;oBAAC,OAAO,EAAE,MAAM,CAAC;oBAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;oBAAC,KAAK,CAAC,EAAE,MAAM,CAAC;iBAAE,CAAC;aAAE,CAAC;YAAC,KAAK,CAAC,EAAE;gBAAE,CAAC,CAAC,EAAE,MAAM,GAAG;oBAAE,cAAc,CAAC,EAAE,MAAM,CAAC;oBAAC,aAAa,CAAC,EAAE,MAAM,CAAC;oBAAC,OAAO,EAAE,MAAM,CAAC;oBAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;oBAAC,KAAK,CAAC,EAAE,MAAM,CAAC;iBAAE,CAAC;aAAE,CAAC;YAAC,OAAO,CAAC,EAAE;gBAAE,CAAC,CAAC,EAAE,MAAM,GAAG;oBAAE,OAAO,CAAC,EAAE,MAAM,CAAC;oBAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;oBAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;oBAAC,OAAO,CAAC,EAAE,MAAM,CAAC;oBAAC,WAAW,CAAC,EAAE,MAAM,CAAC;oBAAC,OAAO,EAAE,MAAM,CAAC;oBAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;oBAAC,SAAS,CAAC,EAAE,MAAM,CAAC;oBAAC,OAAO,CAAC,EAAE,KAAK,CAAC;wBAAE,aAAa,CAAC,EAAE,MAAM,CAAC;wBAAC,SAAS,EAAE,MAAM,CAAC;wBAAC,oBAAoB,CAAC,EAAE,MAAM,CAAC;qBAAE,CAAC,CAAC;oBAAC,OAAO,CAAC,EAAE,MAAM,CAAC;oBAAC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;iBAAE,CAAC;aAAE,CAAC;SAAE,CAAC;QAAC,GAAG,CAAC,EAAE;YAAE,CAAC,CAAC,EAAE,MAAM,GAAG,EAAI,CAAC;SAAE,CAAC;QAAC,OAAO,CAAC,EAAE;YAAE,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,EAAI,GAAG,OAAO,CAAC,CAAC;SAAE,CAAC;QAAC,QAAQ,CAAC,EAAE;YAAE,CAAC,CAAC,EAAE,MAAM,GAAG,EAAI,CAAC;SAAE,CAAC;QAAC,IAAI,CAAC,EAAE;YAAE,CAAC,CAAC,EAAE,MAAM,GAAG,EAAI,CAAC;SAAE,CAAC;KAAE,CAAC;CAAE,CAAC;AAErsC,MAAM,WAAW,MAAM;IACrB,sBAAsB,EAAE;QAAE,KAAK,EAAE,uBAAuB,CAAC;QAAC,MAAM,EAAE,wBAAwB,CAAC;KAAE,CAAC;IAC9F,iBAAiB,EAAE;QAAE,KAAK,EAAE,mBAAmB,CAAC;QAAC,MAAM,EAAE,oBAAoB,CAAC;KAAE,CAAC;IACjF,sBAAsB,EAAE;QAAE,KAAK,EAAE,uBAAuB,CAAC;QAAC,MAAM,EAAE,wBAAwB,CAAC;KAAE,CAAC;CAC/F;AAED,MAAM,WAAW,QAAQ;CACxB;AAED,MAAM,WAAW,UAAU;CAC1B"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CONTRACT_DIGEST = exports.CONTRACT_ID = void 0;
|
|
4
|
-
// Generated from ./generated/contracts/manifests/trellis.core@v1.json
|
|
5
|
-
exports.CONTRACT_ID = "trellis.core@v1";
|
|
6
|
-
exports.CONTRACT_DIGEST = "CYttbIsb0NRRBaNzpPRn9E6aT2Dj1RIECmMFNZL0fic";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare global {
|
|
2
|
-
interface Object {
|
|
3
|
-
/**
|
|
4
|
-
* Determines whether an object has a property with the specified name.
|
|
5
|
-
* @param o An object.
|
|
6
|
-
* @param v A property name.
|
|
7
|
-
*/
|
|
8
|
-
hasOwn(o: object, v: PropertyKey): boolean;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=_dnt.polyfills.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_dnt.polyfills.d.ts","sourceRoot":"","sources":["../src/_dnt.polyfills.ts"],"names":[],"mappings":"AAeA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd;;;;WAIG;QACH,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC;KAC5C;CACF;AAED,OAAO,EAAE,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// https://github.com/tc39/proposal-accessible-object-hasownproperty/blob/main/polyfill.js
|
|
4
|
-
if (!Object.hasOwn) {
|
|
5
|
-
Object.defineProperty(Object, "hasOwn", {
|
|
6
|
-
value: function (object, property) {
|
|
7
|
-
if (object == null) {
|
|
8
|
-
throw new TypeError("Cannot convert undefined or null to object");
|
|
9
|
-
}
|
|
10
|
-
return Object.prototype.hasOwnProperty.call(Object(object), property);
|
|
11
|
-
},
|
|
12
|
-
configurable: true,
|
|
13
|
-
enumerable: false,
|
|
14
|
-
writable: true,
|
|
15
|
-
});
|
|
16
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const OWNED_API: TrellisAPI;
|
|
2
|
-
export declare const API: {
|
|
3
|
-
readonly owned: TrellisAPI;
|
|
4
|
-
readonly used: TrellisAPI;
|
|
5
|
-
readonly trellis: TrellisAPI;
|
|
6
|
-
};
|
|
7
|
-
export type OwnedApi = typeof API.owned;
|
|
8
|
-
export type Api = typeof API.trellis;
|
|
9
|
-
export type ApiViews = typeof API;
|
|
10
|
-
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS,YAiEA,CAAC;AAIvB,eAAO,MAAM,GAAG;;;;CAIN,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,CAAC,KAAK,CAAC;AACxC,MAAM,MAAM,GAAG,GAAG,OAAO,GAAG,CAAC,OAAO,CAAC;AACrC,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,CAAC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.API = exports.OWNED_API = void 0;
|
|
4
|
-
const trellis_contracts_1 = require("../../../contracts/mod.js");
|
|
5
|
-
const schemas_js_1 = require("./schemas.js");
|
|
6
|
-
exports.OWNED_API = {
|
|
7
|
-
rpc: {
|
|
8
|
-
"State.Admin.Delete": {
|
|
9
|
-
subject: "rpc.v1.State.Admin.Delete",
|
|
10
|
-
input: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.Admin.Delete"].input),
|
|
11
|
-
output: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.Admin.Delete"].output),
|
|
12
|
-
callerCapabilities: ["admin"],
|
|
13
|
-
errors: ["AuthError", "ValidationError", "UnexpectedError"],
|
|
14
|
-
},
|
|
15
|
-
"State.Admin.Get": {
|
|
16
|
-
subject: "rpc.v1.State.Admin.Get",
|
|
17
|
-
input: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.Admin.Get"].input),
|
|
18
|
-
output: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.Admin.Get"].output),
|
|
19
|
-
callerCapabilities: ["admin"],
|
|
20
|
-
errors: ["AuthError", "ValidationError", "UnexpectedError"],
|
|
21
|
-
},
|
|
22
|
-
"State.Admin.List": {
|
|
23
|
-
subject: "rpc.v1.State.Admin.List",
|
|
24
|
-
input: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.Admin.List"].input),
|
|
25
|
-
output: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.Admin.List"].output),
|
|
26
|
-
callerCapabilities: ["admin"],
|
|
27
|
-
errors: ["AuthError", "ValidationError", "UnexpectedError"],
|
|
28
|
-
},
|
|
29
|
-
"State.CompareAndSet": {
|
|
30
|
-
subject: "rpc.v1.State.CompareAndSet",
|
|
31
|
-
input: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.CompareAndSet"].input),
|
|
32
|
-
output: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.CompareAndSet"].output),
|
|
33
|
-
callerCapabilities: [],
|
|
34
|
-
errors: ["AuthError", "ValidationError", "UnexpectedError"],
|
|
35
|
-
},
|
|
36
|
-
"State.Delete": {
|
|
37
|
-
subject: "rpc.v1.State.Delete",
|
|
38
|
-
input: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.Delete"].input),
|
|
39
|
-
output: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.Delete"].output),
|
|
40
|
-
callerCapabilities: [],
|
|
41
|
-
errors: ["AuthError", "ValidationError", "UnexpectedError"],
|
|
42
|
-
},
|
|
43
|
-
"State.Get": {
|
|
44
|
-
subject: "rpc.v1.State.Get",
|
|
45
|
-
input: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.Get"].input),
|
|
46
|
-
output: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.Get"].output),
|
|
47
|
-
callerCapabilities: [],
|
|
48
|
-
errors: ["AuthError", "ValidationError", "UnexpectedError"],
|
|
49
|
-
},
|
|
50
|
-
"State.List": {
|
|
51
|
-
subject: "rpc.v1.State.List",
|
|
52
|
-
input: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.List"].input),
|
|
53
|
-
output: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.List"].output),
|
|
54
|
-
callerCapabilities: [],
|
|
55
|
-
errors: ["AuthError", "ValidationError", "UnexpectedError"],
|
|
56
|
-
},
|
|
57
|
-
"State.Put": {
|
|
58
|
-
subject: "rpc.v1.State.Put",
|
|
59
|
-
input: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.Put"].input),
|
|
60
|
-
output: (0, trellis_contracts_1.schema)(schemas_js_1.SCHEMAS.rpc["State.Put"].output),
|
|
61
|
-
callerCapabilities: [],
|
|
62
|
-
errors: ["AuthError", "ValidationError", "UnexpectedError"],
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
operations: {},
|
|
66
|
-
events: {},
|
|
67
|
-
subjects: {},
|
|
68
|
-
};
|
|
69
|
-
const EMPTY_API = { rpc: {}, operations: {}, events: {}, subjects: {} };
|
|
70
|
-
exports.API = {
|
|
71
|
-
owned: exports.OWNED_API,
|
|
72
|
-
used: EMPTY_API,
|
|
73
|
-
trellis: exports.OWNED_API,
|
|
74
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { SdkContractModule, TrellisContractV1 } from "../../../contracts/mod.js";
|
|
2
|
-
import { API } from "./api.js";
|
|
3
|
-
export declare const CONTRACT_ID: "trellis.state@v1";
|
|
4
|
-
export declare const CONTRACT_DIGEST: "LP8W0VuB24C0lzYO-s_J1c3xMf35qnvX491K27Ww4lU";
|
|
5
|
-
export declare const CONTRACT: TrellisContractV1;
|
|
6
|
-
export declare const state: SdkContractModule<typeof CONTRACT_ID, typeof API.owned>;
|
|
7
|
-
export declare const use: any;
|
|
8
|
-
//# sourceMappingURL=contract.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAW,MAAM,+BAA+B,CAAC;AACnG,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAI/B,eAAO,MAAM,WAAW,oBAA8B,CAAC;AACvD,eAAO,MAAM,eAAe,+CAAyD,CAAC;AACtF,eAAO,MAAM,QAAQ,EAAkiW,iBAAiB,CAAC;AA2BzkW,eAAO,MAAM,KAAK,EAAE,iBAAiB,CAAC,OAAO,WAAW,EAAE,OAAO,GAAG,CAAC,KAAK,CAqCzE,CAAC;AAEF,eAAO,MAAM,GAAG,KAAY,CAAC"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.use = exports.state = exports.CONTRACT = exports.CONTRACT_DIGEST = exports.CONTRACT_ID = void 0;
|
|
4
|
-
const api_js_1 = require("./api.js");
|
|
5
|
-
const CONTRACT_MODULE_METADATA = Symbol.for("../../../contracts/mod.js/contract-module");
|
|
6
|
-
exports.CONTRACT_ID = "trellis.state@v1";
|
|
7
|
-
exports.CONTRACT_DIGEST = "LP8W0VuB24C0lzYO-s_J1c3xMf35qnvX491K27Ww4lU";
|
|
8
|
-
exports.CONTRACT = { "description": "Trellis-managed app state for authenticated app and device participants.", "displayName": "Trellis State", "format": "trellis.contract.v1", "id": "trellis.state@v1", "kind": "service", "rpc": { "State.Admin.Delete": { "capabilities": { "call": ["admin"] }, "errors": [{ "type": "AuthError" }, { "type": "ValidationError" }, { "type": "UnexpectedError" }], "input": { "schema": "StateAdminDeleteRequest" }, "output": { "schema": "StateAdminDeleteResponse" }, "subject": "rpc.v1.State.Admin.Delete", "version": "v1" }, "State.Admin.Get": { "capabilities": { "call": ["admin"] }, "errors": [{ "type": "AuthError" }, { "type": "ValidationError" }, { "type": "UnexpectedError" }], "input": { "schema": "StateAdminGetRequest" }, "output": { "schema": "StateAdminGetResponse" }, "subject": "rpc.v1.State.Admin.Get", "version": "v1" }, "State.Admin.List": { "capabilities": { "call": ["admin"] }, "errors": [{ "type": "AuthError" }, { "type": "ValidationError" }, { "type": "UnexpectedError" }], "input": { "schema": "StateAdminListRequest" }, "output": { "schema": "StateAdminListResponse" }, "subject": "rpc.v1.State.Admin.List", "version": "v1" }, "State.CompareAndSet": { "errors": [{ "type": "AuthError" }, { "type": "ValidationError" }, { "type": "UnexpectedError" }], "input": { "schema": "StateCompareAndSetRequest" }, "output": { "schema": "StateCompareAndSetResponse" }, "subject": "rpc.v1.State.CompareAndSet", "version": "v1" }, "State.Delete": { "errors": [{ "type": "AuthError" }, { "type": "ValidationError" }, { "type": "UnexpectedError" }], "input": { "schema": "StateDeleteRequest" }, "output": { "schema": "StateDeleteResponse" }, "subject": "rpc.v1.State.Delete", "version": "v1" }, "State.Get": { "errors": [{ "type": "AuthError" }, { "type": "ValidationError" }, { "type": "UnexpectedError" }], "input": { "schema": "StateGetRequest" }, "output": { "schema": "StateGetResponse" }, "subject": "rpc.v1.State.Get", "version": "v1" }, "State.List": { "errors": [{ "type": "AuthError" }, { "type": "ValidationError" }, { "type": "UnexpectedError" }], "input": { "schema": "StateListRequest" }, "output": { "schema": "StateListResponse" }, "subject": "rpc.v1.State.List", "version": "v1" }, "State.Put": { "errors": [{ "type": "AuthError" }, { "type": "ValidationError" }, { "type": "UnexpectedError" }], "input": { "schema": "StatePutRequest" }, "output": { "schema": "StatePutResponse" }, "subject": "rpc.v1.State.Put", "version": "v1" } }, "schemas": { "JsonValue": {}, "StateAdminDeleteRequest": { "anyOf": [{ "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "expectedRevision": { "minLength": 1, "type": "string" }, "key": { "minLength": 1, "type": "string" }, "scope": { "const": "userApp", "type": "string" }, "user": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["scope", "contractId", "user", "key"], "type": "object" }, { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "deviceId": { "minLength": 1, "type": "string" }, "expectedRevision": { "minLength": 1, "type": "string" }, "key": { "minLength": 1, "type": "string" }, "scope": { "const": "deviceApp", "type": "string" } }, "required": ["scope", "contractId", "deviceId", "key"], "type": "object" }] }, "StateAdminDeleteResponse": { "additionalProperties": false, "properties": { "deleted": { "type": "boolean" } }, "required": ["deleted"], "type": "object" }, "StateAdminGetRequest": { "anyOf": [{ "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "key": { "minLength": 1, "type": "string" }, "scope": { "const": "userApp", "type": "string" }, "user": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["scope", "contractId", "user", "key"], "type": "object" }, { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "deviceId": { "minLength": 1, "type": "string" }, "key": { "minLength": 1, "type": "string" }, "scope": { "const": "deviceApp", "type": "string" } }, "required": ["scope", "contractId", "deviceId", "key"], "type": "object" }] }, "StateAdminGetResponse": { "anyOf": [{ "additionalProperties": false, "properties": { "found": { "const": false, "type": "boolean" } }, "required": ["found"], "type": "object" }, { "additionalProperties": false, "properties": { "entry": { "additionalProperties": false, "properties": { "expiresAt": { "format": "date-time", "type": "string" }, "key": { "minLength": 1, "type": "string" }, "revision": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" }, "value": {} }, "required": ["key", "value", "revision", "updatedAt"], "type": "object" }, "found": { "const": true, "type": "boolean" } }, "required": ["found", "entry"], "type": "object" }] }, "StateAdminListRequest": { "allOf": [{ "properties": { "limit": { "default": 10, "minimum": 0, "type": "integer" }, "offset": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["offset", "limit"], "type": "object" }, { "anyOf": [{ "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "prefix": { "minLength": 1, "type": "string" }, "scope": { "const": "userApp", "type": "string" }, "user": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["scope", "contractId", "user"], "type": "object" }, { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "deviceId": { "minLength": 1, "type": "string" }, "prefix": { "minLength": 1, "type": "string" }, "scope": { "const": "deviceApp", "type": "string" } }, "required": ["scope", "contractId", "deviceId"], "type": "object" }] }] }, "StateAdminListResponse": { "allOf": [{ "properties": { "count": { "minimum": 0, "type": "integer" }, "limit": { "minimum": 0, "type": "integer" }, "next": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "prev": { "minimum": 0, "type": "integer" } }, "required": ["count", "offset", "limit"], "type": "object" }, { "additionalProperties": false, "properties": { "entries": { "default": [], "items": { "additionalProperties": false, "properties": { "expiresAt": { "format": "date-time", "type": "string" }, "key": { "minLength": 1, "type": "string" }, "revision": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" }, "value": {} }, "required": ["key", "value", "revision", "updatedAt"], "type": "object" }, "type": "array" } }, "required": ["entries"], "type": "object" }] }, "StateCompareAndSetRequest": { "additionalProperties": false, "properties": { "expectedRevision": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "key": { "minLength": 1, "type": "string" }, "scope": { "anyOf": [{ "const": "userApp", "type": "string" }, { "const": "deviceApp", "type": "string" }] }, "ttlMs": { "minimum": 1, "type": "integer" }, "value": {} }, "required": ["scope", "key", "expectedRevision", "value"], "type": "object" }, "StateCompareAndSetResponse": { "anyOf": [{ "additionalProperties": false, "properties": { "applied": { "const": true, "type": "boolean" }, "entry": { "additionalProperties": false, "properties": { "expiresAt": { "format": "date-time", "type": "string" }, "key": { "minLength": 1, "type": "string" }, "revision": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" }, "value": {} }, "required": ["key", "value", "revision", "updatedAt"], "type": "object" } }, "required": ["applied", "entry"], "type": "object" }, { "additionalProperties": false, "properties": { "applied": { "const": false, "type": "boolean" }, "entry": { "additionalProperties": false, "properties": { "expiresAt": { "format": "date-time", "type": "string" }, "key": { "minLength": 1, "type": "string" }, "revision": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" }, "value": {} }, "required": ["key", "value", "revision", "updatedAt"], "type": "object" }, "found": { "type": "boolean" } }, "required": ["applied", "found"], "type": "object" }] }, "StateDeleteRequest": { "additionalProperties": false, "properties": { "expectedRevision": { "minLength": 1, "type": "string" }, "key": { "minLength": 1, "type": "string" }, "scope": { "anyOf": [{ "const": "userApp", "type": "string" }, { "const": "deviceApp", "type": "string" }] } }, "required": ["scope", "key"], "type": "object" }, "StateDeleteResponse": { "additionalProperties": false, "properties": { "deleted": { "type": "boolean" } }, "required": ["deleted"], "type": "object" }, "StateEntry": { "additionalProperties": false, "properties": { "expiresAt": { "format": "date-time", "type": "string" }, "key": { "minLength": 1, "type": "string" }, "revision": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" }, "value": {} }, "required": ["key", "value", "revision", "updatedAt"], "type": "object" }, "StateGetRequest": { "additionalProperties": false, "properties": { "key": { "minLength": 1, "type": "string" }, "scope": { "anyOf": [{ "const": "userApp", "type": "string" }, { "const": "deviceApp", "type": "string" }] } }, "required": ["scope", "key"], "type": "object" }, "StateGetResponse": { "anyOf": [{ "additionalProperties": false, "properties": { "found": { "const": false, "type": "boolean" } }, "required": ["found"], "type": "object" }, { "additionalProperties": false, "properties": { "entry": { "additionalProperties": false, "properties": { "expiresAt": { "format": "date-time", "type": "string" }, "key": { "minLength": 1, "type": "string" }, "revision": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" }, "value": {} }, "required": ["key", "value", "revision", "updatedAt"], "type": "object" }, "found": { "const": true, "type": "boolean" } }, "required": ["found", "entry"], "type": "object" }] }, "StateListRequest": { "allOf": [{ "properties": { "limit": { "default": 10, "minimum": 0, "type": "integer" }, "offset": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["offset", "limit"], "type": "object" }, { "additionalProperties": false, "properties": { "prefix": { "minLength": 1, "type": "string" }, "scope": { "anyOf": [{ "const": "userApp", "type": "string" }, { "const": "deviceApp", "type": "string" }] } }, "required": ["scope"], "type": "object" }] }, "StateListResponse": { "allOf": [{ "properties": { "count": { "minimum": 0, "type": "integer" }, "limit": { "minimum": 0, "type": "integer" }, "next": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "prev": { "minimum": 0, "type": "integer" } }, "required": ["count", "offset", "limit"], "type": "object" }, { "additionalProperties": false, "properties": { "entries": { "default": [], "items": { "additionalProperties": false, "properties": { "expiresAt": { "format": "date-time", "type": "string" }, "key": { "minLength": 1, "type": "string" }, "revision": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" }, "value": {} }, "required": ["key", "value", "revision", "updatedAt"], "type": "object" }, "type": "array" } }, "required": ["entries"], "type": "object" }] }, "StatePutRequest": { "additionalProperties": false, "properties": { "key": { "minLength": 1, "type": "string" }, "scope": { "anyOf": [{ "const": "userApp", "type": "string" }, { "const": "deviceApp", "type": "string" }] }, "ttlMs": { "minimum": 1, "type": "integer" }, "value": {} }, "required": ["scope", "key", "value"], "type": "object" }, "StatePutResponse": { "additionalProperties": false, "properties": { "entry": { "additionalProperties": false, "properties": { "expiresAt": { "format": "date-time", "type": "string" }, "key": { "minLength": 1, "type": "string" }, "revision": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" }, "value": {} }, "required": ["key", "value", "revision", "updatedAt"], "type": "object" } }, "required": ["entry"], "type": "object" }, "StateScope": { "anyOf": [{ "const": "userApp", "type": "string" }, { "const": "deviceApp", "type": "string" }] }, "StateUserTarget": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } } };
|
|
9
|
-
function assertSelectedKeysExist(kind, keys, api) {
|
|
10
|
-
if (!keys) {
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
for (const key of keys) {
|
|
14
|
-
if (!Object.hasOwn(api, key)) {
|
|
15
|
-
throw new Error(`Contract '${exports.CONTRACT_ID}' does not expose ${kind} key '${key}'`);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
function assertValidUseSpec(spec) {
|
|
20
|
-
assertSelectedKeysExist("rpc", spec.rpc?.call, api_js_1.API.owned.rpc);
|
|
21
|
-
assertSelectedKeysExist("operations", spec.operations?.call, api_js_1.API.owned.operations);
|
|
22
|
-
assertSelectedKeysExist("events", spec.events?.publish, api_js_1.API.owned.events);
|
|
23
|
-
assertSelectedKeysExist("events", spec.events?.subscribe, api_js_1.API.owned.events);
|
|
24
|
-
assertSelectedKeysExist("subjects", spec.subjects?.publish, api_js_1.API.owned.subjects);
|
|
25
|
-
assertSelectedKeysExist("subjects", spec.subjects?.subscribe, api_js_1.API.owned.subjects);
|
|
26
|
-
}
|
|
27
|
-
exports.state = {
|
|
28
|
-
CONTRACT_ID: exports.CONTRACT_ID,
|
|
29
|
-
CONTRACT_DIGEST: exports.CONTRACT_DIGEST,
|
|
30
|
-
CONTRACT: exports.CONTRACT,
|
|
31
|
-
API: api_js_1.API,
|
|
32
|
-
use: ((spec) => {
|
|
33
|
-
assertValidUseSpec(spec);
|
|
34
|
-
const dependencyUse = {
|
|
35
|
-
contract: exports.CONTRACT_ID,
|
|
36
|
-
...(spec.rpc?.call ? { rpc: { call: [...spec.rpc.call] } } : {}),
|
|
37
|
-
...(spec.operations?.call ? { operations: { call: [...spec.operations.call] } } : {}),
|
|
38
|
-
...((spec.events?.publish || spec.events?.subscribe)
|
|
39
|
-
? {
|
|
40
|
-
events: {
|
|
41
|
-
...(spec.events.publish ? { publish: [...spec.events.publish] } : {}),
|
|
42
|
-
...(spec.events.subscribe ? { subscribe: [...spec.events.subscribe] } : {}),
|
|
43
|
-
},
|
|
44
|
-
}
|
|
45
|
-
: {}),
|
|
46
|
-
...((spec.subjects?.publish || spec.subjects?.subscribe)
|
|
47
|
-
? {
|
|
48
|
-
subjects: {
|
|
49
|
-
...(spec.subjects.publish ? { publish: [...spec.subjects.publish] } : {}),
|
|
50
|
-
...(spec.subjects.subscribe ? { subscribe: [...spec.subjects.subscribe] } : {}),
|
|
51
|
-
},
|
|
52
|
-
}
|
|
53
|
-
: {}),
|
|
54
|
-
};
|
|
55
|
-
Object.defineProperty(dependencyUse, CONTRACT_MODULE_METADATA, {
|
|
56
|
-
value: exports.state,
|
|
57
|
-
enumerable: false,
|
|
58
|
-
});
|
|
59
|
-
return dependencyUse;
|
|
60
|
-
}),
|
|
61
|
-
};
|
|
62
|
-
exports.use = exports.state.use;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./_dnt.polyfills.js";
|
|
2
|
-
export { API, OWNED_API } from "./api.js";
|
|
3
|
-
export type { Api, ApiViews, OwnedApi } from "./api.js";
|
|
4
|
-
export * from "./types.js";
|
|
5
|
-
export { SCHEMAS } from "./schemas.js";
|
|
6
|
-
export { CONTRACT, CONTRACT_DIGEST, CONTRACT_ID, use, state } from "./contract.js";
|
|
7
|
-
//# sourceMappingURL=mod.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,YAAY,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACxD,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.state = exports.use = exports.CONTRACT_ID = exports.CONTRACT_DIGEST = exports.CONTRACT = exports.SCHEMAS = exports.OWNED_API = exports.API = void 0;
|
|
18
|
-
require("./_dnt.polyfills.js");
|
|
19
|
-
var api_js_1 = require("./api.js");
|
|
20
|
-
Object.defineProperty(exports, "API", { enumerable: true, get: function () { return api_js_1.API; } });
|
|
21
|
-
Object.defineProperty(exports, "OWNED_API", { enumerable: true, get: function () { return api_js_1.OWNED_API; } });
|
|
22
|
-
__exportStar(require("./types.js"), exports);
|
|
23
|
-
var schemas_js_1 = require("./schemas.js");
|
|
24
|
-
Object.defineProperty(exports, "SCHEMAS", { enumerable: true, get: function () { return schemas_js_1.SCHEMAS; } });
|
|
25
|
-
var contract_js_1 = require("./contract.js");
|
|
26
|
-
Object.defineProperty(exports, "CONTRACT", { enumerable: true, get: function () { return contract_js_1.CONTRACT; } });
|
|
27
|
-
Object.defineProperty(exports, "CONTRACT_DIGEST", { enumerable: true, get: function () { return contract_js_1.CONTRACT_DIGEST; } });
|
|
28
|
-
Object.defineProperty(exports, "CONTRACT_ID", { enumerable: true, get: function () { return contract_js_1.CONTRACT_ID; } });
|
|
29
|
-
Object.defineProperty(exports, "use", { enumerable: true, get: function () { return contract_js_1.use; } });
|
|
30
|
-
Object.defineProperty(exports, "state", { enumerable: true, get: function () { return contract_js_1.state; } });
|